Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 18e7bb25e5c1186e1a8dc6ace39812f248c961e4+7610f6dc338b87754f939bb9ede04e880837a002 (a9798ac0e47ab477e79e9be7e577df2126041e31) 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-ssh10011457748169429863.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh15463324082005332327.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1280/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1280/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13405855346098708063.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7550143727542252528.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1280/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1280/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6409141583485807679.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 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-2664 in /w/workspace/gexfoundry_device-sdk-go_PR-1280 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1280 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1280/head:refs/remotes/origin/PR-1280 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7610f6dc338b87754f939bb9ede04e880837a002 into PR head commit 18e7bb25e5c1186e1a8dc6ace39812f248c961e4 Merge succeeded, producing e634e761db0b5edd994dcc866d989beb0efcb97c Checking out Revision e634e761db0b5edd994dcc866d989beb0efcb97c (PR-1280) > git config core.sparsecheckout # timeout=10 > git checkout -f 18e7bb25e5c1186e1a8dc6ace39812f248c961e4 # 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 7610f6dc338b87754f939bb9ede04e880837a002 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e634e761db0b5edd994dcc866d989beb0efcb97c # timeout=10 Commit message: "Merge commit '7610f6dc338b87754f939bb9ede04e880837a002' into HEAD" > git rev-list --no-walk 18e7bb25e5c1186e1a8dc6ace39812f248c961e4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-16T19:09:30.997Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-16T19:09:31.059Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-16T19:09:31.078Z] ========================================================= [2023-01-16T19:09:31.078Z] EdgeX Global Pipelines Version Info [2023-01-16T19:09:31.078Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-16T19:09:31.777Z] ------------------- [2023-01-16T19:09:31.777Z] stable info: [2023-01-16T19:09:31.777Z] ------------------- [2023-01-16T19:09:31.777Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-16T19:09:31.777Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-16T19:09:31.777Z] Message: update stable to v1.0.244 [2023-01-16T19:09:32.350Z] ------------------- [2023-01-16T19:09:32.350Z] experimental info: [2023-01-16T19:09:32.350Z] ------------------- [2023-01-16T19:09:32.350Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-16T19:09:32.350Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-16T19:09:32.350Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-16T19:09:32.531Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-01-16T19:09:32.549Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-01-16T19:09:32.562Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-16T19:09:32.571Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-16T19:09:32.581Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-16T19:09:32.592Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-16T19:09:32.602Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-16T19:09:32.612Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-01-16T19:09:32.622Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-16T19:09:32.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-16T19:09:32.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-16T19:09:32.666Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-01-16T19:09:32.681Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-16T19:09:32.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-16T19:09:32.708Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-16T19:09:32.721Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-01-16T19:09:32.733Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-16T19:09:32.744Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-16T19:09:32.759Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-16T19:09:32.770Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-16T19:09:32.781Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-16T19:09:32.793Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-01-16T19:09:32.805Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-16T19:09:32.816Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-16T19:09:32.827Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-16T19:09:32.837Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-16T19:09:32.848Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-16T19:09:32.859Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1280 [Pipeline] echo [2023-01-16T19:09:32.870Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1280 [Pipeline] echo [2023-01-16T19:09:32.881Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1280 [Pipeline] echo [2023-01-16T19:09:32.892Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e634e761db0b5edd994dcc866d989beb0efcb97c [Pipeline] echo [2023-01-16T19:09:32.904Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e634e76 [Pipeline] echo [2023-01-16T19:09:32.920Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-16T19:09:32.959Z] provisioning config files... [2023-01-16T19:09:32.972Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1280@tmp/config647545348905185822tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T19:09:33.274Z] ---> docker-login.sh [2023-01-16T19:09:33.274Z] nexus3.edgexfoundry.org:10001 [2023-01-16T19:09:33.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T19:09:33.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T19:09:33.534Z] Configure a credential helper to remove this warning. See [2023-01-16T19:09:33.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T19:09:33.534Z] [2023-01-16T19:09:33.534Z] Login Succeeded [2023-01-16T19:09:33.534Z] nexus3.edgexfoundry.org:10002 [2023-01-16T19:09:33.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T19:09:33.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T19:09:33.794Z] Configure a credential helper to remove this warning. See [2023-01-16T19:09:33.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T19:09:33.794Z] [2023-01-16T19:09:33.794Z] Login Succeeded [2023-01-16T19:09:33.794Z] nexus3.edgexfoundry.org:10003 [2023-01-16T19:09:33.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T19:09:33.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T19:09:33.794Z] Configure a credential helper to remove this warning. See [2023-01-16T19:09:33.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T19:09:33.794Z] [2023-01-16T19:09:33.794Z] Login Succeeded [2023-01-16T19:09:33.794Z] nexus3.edgexfoundry.org:10004 [2023-01-16T19:09:34.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T19:09:34.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T19:09:34.149Z] Configure a credential helper to remove this warning. See [2023-01-16T19:09:34.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T19:09:34.149Z] [2023-01-16T19:09:34.149Z] Login Succeeded [2023-01-16T19:09:34.149Z] docker.io [2023-01-16T19:09:34.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T19:09:34.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T19:09:34.407Z] Configure a credential helper to remove this warning. See [2023-01-16T19:09:34.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T19:09:34.407Z] [2023-01-16T19:09:34.407Z] Login Succeeded [2023-01-16T19:09:34.407Z] ---> docker-login.sh ends [Pipeline] } [2023-01-16T19:09:34.414Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-16T19:09:34.784Z] + git rev-list -1 --merges e634e761db0b5edd994dcc866d989beb0efcb97c~1..e634e761db0b5edd994dcc866d989beb0efcb97c [Pipeline] echo [2023-01-16T19:09:34.822Z] -----------> git rev-list -1 --merges e634e761db0b5edd994dcc866d989beb0efcb97c~1..e634e761db0b5edd994dcc866d989beb0efcb97c e634e761db0b5edd994dcc866d989beb0efcb97c [2023-01-16T19:09:34.822Z] e634e761db0b5edd994dcc866d989beb0efcb97c [false] [Pipeline] sh [2023-01-16T19:09:35.108Z] + git log --format=format:%s -1 e634e761db0b5edd994dcc866d989beb0efcb97c [Pipeline] echo [2023-01-16T19:09:35.122Z] ========================================================= [2023-01-16T19:09:35.122Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-16T19:09:35.122Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-16T19:09:35.461Z] + git log --format=format:%s -1 e634e761db0b5edd994dcc866d989beb0efcb97c [Pipeline] echo [2023-01-16T19:09:35.472Z] [semverPrep] GIT_COMMIT: e634e761db0b5edd994dcc866d989beb0efcb97c, Commit Message: Merge commit '7610f6dc338b87754f939bb9ede04e880837a002' into HEAD [Pipeline] echo [2023-01-16T19:09:35.483Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-16T19:09:35.842Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-16T19:09:35.842Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-16T19:09:35.842Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-16T19:09:35.842Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-16T19:09:35.842Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-16T19:09:35.842Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-16T19:09:35.842Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T19:09:36.251Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-16T19:09:36.251Z] [2023-01-16T19:09:36.251Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T19:09:36.560Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-16T19:09:36.560Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-16T19:09:36.560Z] b85a868b505f: Pulling fs layer [2023-01-16T19:09:36.560Z] e2be974225ed: Pulling fs layer [2023-01-16T19:09:36.560Z] 339a4e72a1f5: Pulling fs layer [2023-01-16T19:09:36.560Z] 988bab9f4d93: Pulling fs layer [2023-01-16T19:09:36.560Z] 1469e6f7b9e6: Pulling fs layer [2023-01-16T19:09:36.560Z] eaf3925da568: Pulling fs layer [2023-01-16T19:09:36.560Z] bab4dde63d76: Pulling fs layer [2023-01-16T19:09:36.560Z] bde34c3a00c8: Pulling fs layer [2023-01-16T19:09:36.560Z] b352a97aabf1: Pulling fs layer [2023-01-16T19:09:36.560Z] 4872d77fe225: Pulling fs layer [2023-01-16T19:09:36.560Z] 5851b861e8e6: Pulling fs layer [2023-01-16T19:09:36.560Z] 988bab9f4d93: Waiting [2023-01-16T19:09:36.560Z] 1469e6f7b9e6: Waiting [2023-01-16T19:09:36.560Z] eaf3925da568: Waiting [2023-01-16T19:09:36.560Z] bab4dde63d76: Waiting [2023-01-16T19:09:36.560Z] bde34c3a00c8: Waiting [2023-01-16T19:09:36.560Z] b352a97aabf1: Waiting [2023-01-16T19:09:36.560Z] 4872d77fe225: Waiting [2023-01-16T19:09:36.560Z] 5851b861e8e6: Waiting [2023-01-16T19:09:36.560Z] e2be974225ed: Verifying Checksum [2023-01-16T19:09:36.560Z] e2be974225ed: Download complete [2023-01-16T19:09:36.835Z] 988bab9f4d93: Download complete [2023-01-16T19:09:36.835Z] 339a4e72a1f5: Verifying Checksum [2023-01-16T19:09:36.835Z] 339a4e72a1f5: Download complete [2023-01-16T19:09:36.835Z] eaf3925da568: Verifying Checksum [2023-01-16T19:09:36.835Z] eaf3925da568: Download complete [2023-01-16T19:09:36.835Z] 1469e6f7b9e6: Verifying Checksum [2023-01-16T19:09:36.835Z] 1469e6f7b9e6: Download complete [2023-01-16T19:09:36.835Z] bde34c3a00c8: Download complete [2023-01-16T19:09:37.103Z] b352a97aabf1: Download complete [2023-01-16T19:09:37.103Z] 4872d77fe225: Verifying Checksum [2023-01-16T19:09:37.103Z] 4872d77fe225: Download complete [2023-01-16T19:09:37.103Z] 5851b861e8e6: Download complete [2023-01-16T19:09:37.366Z] b85a868b505f: Verifying Checksum [2023-01-16T19:09:37.366Z] b85a868b505f: Download complete [2023-01-16T19:09:37.625Z] bab4dde63d76: Verifying Checksum [2023-01-16T19:09:37.625Z] bab4dde63d76: Download complete [2023-01-16T19:09:38.567Z] b85a868b505f: Pull complete [2023-01-16T19:09:38.567Z] e2be974225ed: Pull complete [2023-01-16T19:09:39.133Z] 339a4e72a1f5: Pull complete [2023-01-16T19:09:39.392Z] 988bab9f4d93: Pull complete [2023-01-16T19:09:39.650Z] 1469e6f7b9e6: Pull complete [2023-01-16T19:09:39.650Z] eaf3925da568: Pull complete [2023-01-16T19:09:41.554Z] bab4dde63d76: Pull complete [2023-01-16T19:09:41.554Z] bde34c3a00c8: Pull complete [2023-01-16T19:09:41.811Z] b352a97aabf1: Pull complete [2023-01-16T19:09:41.811Z] 4872d77fe225: Pull complete [2023-01-16T19:09:41.811Z] 5851b861e8e6: Pull complete [2023-01-16T19:09:41.811Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-16T19:09:41.811Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-16T19:09:41.811Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T19:09:41.933Z] prd-ubuntu20.04-docker-8c-8g-2664 does not seem to be running inside a container [2023-01-16T19:09:41.970Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1280 -v /w/workspace/gexfoundry_device-sdk-go_PR-1280:/w/workspace/gexfoundry_device-sdk-go_PR-1280:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1280@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1280@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-devops/py-git-semver:0.1.4 cat [2023-01-16T19:09:44.211Z] $ docker top 9dbc1001cbdb39090e291574bd9cc6725852ea057c8300e52e51003d9b2b7640 -eo pid,comm [2023-01-16T19:09:44.287Z] 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). [2023-01-16T19:09:44.287Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-16T19:09:44.321Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-16T19:09:44.321Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-16T19:09:44.435Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-16T19:09:44.428Z] $ docker exec 9dbc1001cbdb39090e291574bd9cc6725852ea057c8300e52e51003d9b2b7640 ssh-agent [2023-01-16T19:09:44.563Z] SSH_AUTH_SOCK=/tmp/ssh-VB04eP8DEkk9/agent.32 [2023-01-16T19:09:44.563Z] SSH_AGENT_PID=38 [2023-01-16T19:09:44.568Z] Running ssh-add (command line suppressed) [2023-01-16T19:09:44.657Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1280@tmp/private_key_17974698182087383550.key (/w/workspace/gexfoundry_device-sdk-go_PR-1280@tmp/private_key_17974698182087383550.key) [2023-01-16T19:09:44.681Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-16T19:09:44.964Z] + git tag --points-at HEAD [Pipeline] } [2023-01-16T19:09:44.974Z] $ docker exec --env ******** --env ******** 9dbc1001cbdb39090e291574bd9cc6725852ea057c8300e52e51003d9b2b7640 ssh-agent -k [2023-01-16T19:09:45.088Z] unset SSH_AUTH_SOCK; [2023-01-16T19:09:45.088Z] unset SSH_AGENT_PID; [2023-01-16T19:09:45.088Z] echo Agent pid 38 killed; [2023-01-16T19:09:45.109Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-16T19:09:45.135Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-16T19:09:45.135Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-16T19:09:45.253Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-16T19:09:45.246Z] $ docker exec 9dbc1001cbdb39090e291574bd9cc6725852ea057c8300e52e51003d9b2b7640 ssh-agent [2023-01-16T19:09:45.367Z] SSH_AUTH_SOCK=/tmp/ssh-AHw3xZ3urthJ/agent.70 [2023-01-16T19:09:45.367Z] SSH_AGENT_PID=76 [2023-01-16T19:09:45.371Z] Running ssh-add (command line suppressed) [2023-01-16T19:09:45.472Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1280@tmp/private_key_324134618111927172.key (/w/workspace/gexfoundry_device-sdk-go_PR-1280@tmp/private_key_324134618111927172.key) [2023-01-16T19:09:45.495Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-16T19:09:45.779Z] + git semver init [2023-01-16T19:09:46.038Z] 2023-01-16 19:09:45,992 [run_init] DEBUG init version:0.0.0 force:False [2023-01-16T19:09:46.038Z] 2023-01-16 19:09:45,993 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1280/.semver [2023-01-16T19:09:46.038Z] 2023-01-16 19:09:45,993 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1280/.semver [2023-01-16T19:09:46.038Z] 2023-01-16 19:09:45,993 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1280/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1280, universal_newlines=False, shell=None, istream=None) [2023-01-16T19:09:46.976Z] 2023-01-16 19:09:46,950 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1280/.git/info/exclude [2023-01-16T19:09:46.976Z] 2023-01-16 19:09:46,950 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1280/.semver/PR-1280 with force:False [2023-01-16T19:09:46.976Z] 2023-01-16 19:09:46,950 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1280/.semver/PR-1280 [2023-01-16T19:09:46.976Z] 2023-01-16 19:09:46,953 [execute] INFO git cat-file --batch-check [2023-01-16T19:09:46.976Z] 2023-01-16 19:09:46,953 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1280/.semver, universal_newlines=False, shell=None, istream=) [2023-01-16T19:09:46.976Z] 2023-01-16 19:09:46,957 [execute] INFO git cat-file --batch [2023-01-16T19:09:46.976Z] 2023-01-16 19:09:46,958 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1280/.semver, universal_newlines=False, shell=None, istream=) [2023-01-16T19:09:46.976Z] 2023-01-16 19:09:46,961 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1280/.semver/PR-1280 [2023-01-16T19:09:46.976Z] 0.0.0 [Pipeline] } [2023-01-16T19:09:47.249Z] $ docker exec --env ******** --env ******** 9dbc1001cbdb39090e291574bd9cc6725852ea057c8300e52e51003d9b2b7640 ssh-agent -k [2023-01-16T19:09:47.369Z] unset SSH_AUTH_SOCK; [2023-01-16T19:09:47.369Z] unset SSH_AGENT_PID; [2023-01-16T19:09:47.369Z] echo Agent pid 76 killed; [2023-01-16T19:09:47.391Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-16T19:09:47.705Z] + git semver [Pipeline] } [2023-01-16T19:09:47.971Z] $ docker stop --time=1 9dbc1001cbdb39090e291574bd9cc6725852ea057c8300e52e51003d9b2b7640 [2023-01-16T19:09:49.314Z] $ docker rm -f --volumes 9dbc1001cbdb39090e291574bd9cc6725852ea057c8300e52e51003d9b2b7640 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-16T19:09:49.664Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-16T19:09:50.011Z] Stashed 1 file(s) [Pipeline] echo [2023-01-16T19:09:50.014Z] [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 [2023-01-16T19:09:50.190Z] provisioning config files... [2023-01-16T19:09:50.198Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1280@tmp/config12449635068032242168tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T19:09:50.500Z] ---> docker-login.sh [2023-01-16T19:09:50.500Z] nexus3.edgexfoundry.org:10001 [2023-01-16T19:09:50.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T19:09:50.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T19:09:50.500Z] Configure a credential helper to remove this warning. See [2023-01-16T19:09:50.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T19:09:50.500Z] [2023-01-16T19:09:50.500Z] Login Succeeded [2023-01-16T19:09:50.500Z] nexus3.edgexfoundry.org:10002 [2023-01-16T19:09:50.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T19:09:50.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T19:09:50.500Z] Configure a credential helper to remove this warning. See [2023-01-16T19:09:50.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T19:09:50.500Z] [2023-01-16T19:09:50.500Z] Login Succeeded [2023-01-16T19:09:50.500Z] nexus3.edgexfoundry.org:10003 [2023-01-16T19:09:50.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T19:09:50.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T19:09:50.763Z] Configure a credential helper to remove this warning. See [2023-01-16T19:09:50.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T19:09:50.763Z] [2023-01-16T19:09:50.763Z] Login Succeeded [2023-01-16T19:09:50.763Z] nexus3.edgexfoundry.org:10004 [2023-01-16T19:09:50.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T19:09:50.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T19:09:50.763Z] Configure a credential helper to remove this warning. See [2023-01-16T19:09:50.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T19:09:50.763Z] [2023-01-16T19:09:50.763Z] Login Succeeded [2023-01-16T19:09:50.763Z] docker.io [2023-01-16T19:09:51.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T19:09:51.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T19:09:51.022Z] Configure a credential helper to remove this warning. See [2023-01-16T19:09:51.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T19:09:51.022Z] [2023-01-16T19:09:51.022Z] Login Succeeded [2023-01-16T19:09:51.022Z] ---> docker-login.sh ends [Pipeline] } [2023-01-16T19:09:51.288Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-16T19:09:51.350Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T19:09:51.368Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T19:09:51.377Z] ========================================================= [2023-01-16T19:09:51.377Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-16T19:09:51.377Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T19:09:51.698Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-16T19:09:51.698Z] Sending build context to Docker daemon 10.44MB [2023-01-16T19:09:51.698Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-16T19:09:51.698Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-16T19:09:51.964Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-16T19:09:51.964Z] 213ec9aee27d: Pulling fs layer [2023-01-16T19:09:51.964Z] 4583459ba037: Pulling fs layer [2023-01-16T19:09:51.964Z] 93c1e223e6f2: Pulling fs layer [2023-01-16T19:09:51.964Z] 53926ce57604: Pulling fs layer [2023-01-16T19:09:51.964Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-16T19:09:51.964Z] 22ff95d597cd: Pulling fs layer [2023-01-16T19:09:51.964Z] 12d6caf4c0d1: Pulling fs layer [2023-01-16T19:09:51.964Z] 53926ce57604: Waiting [2023-01-16T19:09:51.964Z] 21b2b0c7a3f4: Waiting [2023-01-16T19:09:51.964Z] 12d6caf4c0d1: Waiting [2023-01-16T19:09:51.964Z] 96b7cbca73a9: Pulling fs layer [2023-01-16T19:09:51.964Z] a7acece74701: Pulling fs layer [2023-01-16T19:09:51.964Z] 96b7cbca73a9: Waiting [2023-01-16T19:09:51.964Z] a7acece74701: Waiting [2023-01-16T19:09:51.964Z] 93c1e223e6f2: Download complete [2023-01-16T19:09:51.964Z] 4583459ba037: Verifying Checksum [2023-01-16T19:09:51.964Z] 4583459ba037: Download complete [2023-01-16T19:09:51.964Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-16T19:09:51.964Z] 21b2b0c7a3f4: Download complete [2023-01-16T19:09:51.964Z] 22ff95d597cd: Verifying Checksum [2023-01-16T19:09:51.964Z] 22ff95d597cd: Download complete [2023-01-16T19:09:51.964Z] 213ec9aee27d: Verifying Checksum [2023-01-16T19:09:51.964Z] 213ec9aee27d: Download complete [2023-01-16T19:09:51.964Z] 12d6caf4c0d1: Verifying Checksum [2023-01-16T19:09:51.964Z] 12d6caf4c0d1: Download complete [2023-01-16T19:09:52.228Z] 213ec9aee27d: Pull complete [2023-01-16T19:09:52.228Z] 4583459ba037: Pull complete [2023-01-16T19:09:52.522Z] 93c1e223e6f2: Pull complete [2023-01-16T19:09:53.106Z] 53926ce57604: Verifying Checksum [2023-01-16T19:09:53.106Z] 53926ce57604: Download complete [2023-01-16T19:09:53.106Z] a7acece74701: Verifying Checksum [2023-01-16T19:09:53.106Z] a7acece74701: Download complete [2023-01-16T19:09:53.365Z] 96b7cbca73a9: Download complete [2023-01-16T19:09:57.553Z] 53926ce57604: Pull complete [2023-01-16T19:09:57.553Z] 21b2b0c7a3f4: Pull complete [2023-01-16T19:09:57.553Z] 22ff95d597cd: Pull complete [2023-01-16T19:09:57.553Z] 12d6caf4c0d1: Pull complete [2023-01-16T19:09:59.488Z] 96b7cbca73a9: Pull complete [2023-01-16T19:10:00.427Z] a7acece74701: Pull complete [2023-01-16T19:10:00.427Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-16T19:10:00.427Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-16T19:10:00.427Z] ---> db6d94c90886 [2023-01-16T19:10:00.427Z] Step 3/10 : ARG MAKE=make build [2023-01-16T19:10:03.719Z] ---> Running in e7fced2c080b [2023-01-16T19:10:03.979Z] Removing intermediate container e7fced2c080b [2023-01-16T19:10:03.979Z] ---> d16be937e0c0 [2023-01-16T19:10:03.979Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-16T19:10:03.979Z] ---> Running in 674a3cfa059e [2023-01-16T19:10:03.979Z] Removing intermediate container 674a3cfa059e [2023-01-16T19:10:03.979Z] ---> 171419bbe246 [2023-01-16T19:10:03.979Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-16T19:10:03.979Z] ---> Running in a4e23fdef647 [2023-01-16T19:10:04.238Z] Removing intermediate container a4e23fdef647 [2023-01-16T19:10:04.238Z] ---> 053cb424f766 [2023-01-16T19:10:04.238Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-16T19:10:04.238Z] ---> Running in b5975700bfc3 [2023-01-16T19:10:04.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-16T19:10:04.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-16T19:10:04.756Z] OK: 211 MiB in 51 packages [2023-01-16T19:10:05.018Z] Removing intermediate container b5975700bfc3 [2023-01-16T19:10:05.018Z] ---> 059cda4bc105 [2023-01-16T19:10:05.018Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-16T19:10:05.130Z] Still waiting to schedule task [2023-01-16T19:10:05.130Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-16T19:10:05.280Z] ---> 01c774309a1f [2023-01-16T19:10:05.280Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-16T19:10:05.280Z] ---> Running in 3f86edb2b714 [2023-01-16T19:10:37.529Z] Removing intermediate container 3f86edb2b714 [2023-01-16T19:10:37.529Z] ---> f505187f22d4 [2023-01-16T19:10:37.529Z] Step 9/10 : COPY . . [2023-01-16T19:10:37.529Z] ---> 11a7d49c49ac [2023-01-16T19:10:37.529Z] Step 10/10 : RUN ${MAKE} [2023-01-16T19:10:37.529Z] ---> Running in a9bc4b4ce52f [2023-01-16T19:10:37.529Z] noop [2023-01-16T19:10:37.529Z] Removing intermediate container a9bc4b4ce52f [2023-01-16T19:10:37.529Z] ---> 6ec5008ab0c8 [2023-01-16T19:10:37.529Z] Successfully built 6ec5008ab0c8 [2023-01-16T19:10:37.529Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T19:10:37.832Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-16T19:10:37.833Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T19:10:37.930Z] prd-ubuntu20.04-docker-8c-8g-2664 does not seem to be running inside a container [2023-01-16T19:10:37.968Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1280 -v /w/workspace/gexfoundry_device-sdk-go_PR-1280:/w/workspace/gexfoundry_device-sdk-go_PR-1280:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1280@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1280@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-16T19:10:38.342Z] $ docker top ca7ba00ebc116e18597938369ed874773cd534e185c7cf44513d2d1867f90ba6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T19:10:38.693Z] + go version [2023-01-16T19:10:38.693Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-16T19:10:38.716Z] $ docker stop --time=1 ca7ba00ebc116e18597938369ed874773cd534e185c7cf44513d2d1867f90ba6 [2023-01-16T19:10:40.001Z] $ docker rm -f --volumes ca7ba00ebc116e18597938369ed874773cd534e185c7cf44513d2d1867f90ba6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T19:10:40.394Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-16T19:10:40.394Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T19:10:40.468Z] prd-ubuntu20.04-docker-8c-8g-2664 does not seem to be running inside a container [2023-01-16T19:10:40.509Z] $ 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-sdk-go_PR-1280 -v /w/workspace/gexfoundry_device-sdk-go_PR-1280:/w/workspace/gexfoundry_device-sdk-go_PR-1280:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1280@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1280@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-16T19:10:40.878Z] $ docker top 2f03d41b1917bb1db323eb7ba20b60071a4550147e568d4e56cc25aef64ffc3c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T19:10:41.216Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1280 [Pipeline] fileExists [Pipeline] sh [2023-01-16T19:10:41.521Z] + make test [2023-01-16T19:10:41.521Z] go test -race -coverprofile=coverage.out ./... [2023-01-16T19:10:48.104Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-16T19:10:58.071Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-01-16T19:10:58.071Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: [2023-01-16T19:10:58.071Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-01-16T19:10:58.071Z] have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-16T19:10:58.071Z] want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-16T19:10:58.071Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-01-16T19:10:59.974Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-01-16T19:10:59.974Z] internal/controller/http/command.go:49:71: undefined: common.ValueYes [2023-01-16T19:10:59.974Z] internal/controller/http/command.go:54:74: undefined: common.ValueYes [2023-01-16T19:10:59.974Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-01-16T19:10:59.974Z] internal/controller/messaging/command.go:219:43: undefined: common.ValueYes [2023-01-16T19:10:59.974Z] internal/controller/messaging/command.go:223:45: undefined: common.ValueNo [2023-01-16T19:11:00.539Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.055s coverage: 27.6% of statements [2023-01-16T19:11:00.539Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.066s coverage: 78.9% of statements [2023-01-16T19:11:00.539Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.089s coverage: 73.6% of statements [2023-01-16T19:11:00.539Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [build failed] [2023-01-16T19:11:00.797Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.099s coverage: 65.1% of statements [2023-01-16T19:11:00.797Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.765s coverage: 89.2% of statements [2023-01-16T19:11:00.797Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] [2023-01-16T19:11:00.797Z] make: *** [Makefile:35: unittest] Error 2 [Pipeline] } [2023-01-16T19:11:00.817Z] $ docker stop --time=1 2f03d41b1917bb1db323eb7ba20b60071a4550147e568d4e56cc25aef64ffc3c [2023-01-16T19:11:03.439Z] $ docker rm -f --volumes 2f03d41b1917bb1db323eb7ba20b60071a4550147e568d4e56cc25aef64ffc3c [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 [2023-01-16T19:11:03.988Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T19:11:03.988Z] [2023-01-16T19:11:03.988Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T19:11:04.310Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T19:11:04.310Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-16T19:11:04.311Z] 5eb5b503b376: Pulling fs layer [2023-01-16T19:11:04.311Z] 5c69ac0246d0: Pulling fs layer [2023-01-16T19:11:04.311Z] ec43610c2a17: Pulling fs layer [2023-01-16T19:11:04.311Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-16T19:11:04.311Z] 33b1e0a273af: Pulling fs layer [2023-01-16T19:11:04.311Z] 5d3b04190fa2: Pulling fs layer [2023-01-16T19:11:04.311Z] 2f39f015ded8: Pulling fs layer [2023-01-16T19:11:04.311Z] 3a2ae6a8a46f: Waiting [2023-01-16T19:11:04.311Z] 33b1e0a273af: Waiting [2023-01-16T19:11:04.311Z] 5d3b04190fa2: Waiting [2023-01-16T19:11:04.311Z] 2f39f015ded8: Waiting [2023-01-16T19:11:04.311Z] 5c69ac0246d0: Verifying Checksum [2023-01-16T19:11:04.311Z] 5c69ac0246d0: Download complete [2023-01-16T19:11:04.311Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-16T19:11:04.311Z] 3a2ae6a8a46f: Download complete [2023-01-16T19:11:04.582Z] 33b1e0a273af: Verifying Checksum [2023-01-16T19:11:04.582Z] 33b1e0a273af: Download complete [2023-01-16T19:11:04.582Z] 5d3b04190fa2: Verifying Checksum [2023-01-16T19:11:04.582Z] 5d3b04190fa2: Download complete [2023-01-16T19:11:04.582Z] ec43610c2a17: Download complete [2023-01-16T19:11:04.848Z] 5eb5b503b376: Verifying Checksum [2023-01-16T19:11:04.848Z] 5eb5b503b376: Download complete [2023-01-16T19:11:05.414Z] 2f39f015ded8: Download complete [2023-01-16T19:11:05.979Z] 5eb5b503b376: Pull complete [2023-01-16T19:11:05.979Z] 5c69ac0246d0: Pull complete [2023-01-16T19:11:06.544Z] ec43610c2a17: Pull complete [2023-01-16T19:11:06.544Z] 3a2ae6a8a46f: Pull complete [2023-01-16T19:11:06.801Z] 33b1e0a273af: Pull complete [2023-01-16T19:11:06.801Z] 5d3b04190fa2: Pull complete [2023-01-16T19:11:10.991Z] 2f39f015ded8: Pull complete [2023-01-16T19:11:10.991Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-16T19:11:10.991Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T19:11:10.991Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T19:11:11.070Z] prd-ubuntu20.04-docker-8c-8g-2664 does not seem to be running inside a container [2023-01-16T19:11:11.111Z] $ 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-sdk-go_PR-1280 -v /w/workspace/gexfoundry_device-sdk-go_PR-1280:/w/workspace/gexfoundry_device-sdk-go_PR-1280:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1280@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1280@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-16T19:11:13.261Z] $ docker top 95e05d5c5c68bf189eb651be1ab3660b731172a352774180c240951cdc1727e9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T19:11:13.672Z] ---> job-cost.sh [2023-01-16T19:11:13.672Z] lf-activate-venv: SKIPPING [2023-01-16T19:11:13.672Z] INFO: No Stack... [2023-01-16T19:11:13.936Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-16T19:11:14.526Z] INFO: Archiving Costs [Pipeline] sh [2023-01-16T19:11:14.816Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1280/archives/cost.csv [2023-01-16T19:11:14.816Z] + cut -d, -f6 [Pipeline] lock [2023-01-16T19:11:14.831Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1280-2-stack-cost] [2023-01-16T19:11:14.841Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1280-2-stack-cost] did not exist. Created. [2023-01-16T19:11:14.841Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1280-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-16T19:11:15.160Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-16T19:11:15.194Z] Stashed 1 file(s) [Pipeline] } [2023-01-16T19:11:15.200Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1280-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-16T19:11:15.226Z] $ docker stop --time=1 95e05d5c5c68bf189eb651be1ab3660b731172a352774180c240951cdc1727e9 [2023-01-16T19:11:16.380Z] $ docker rm -f --volumes 95e05d5c5c68bf189eb651be1ab3660b731172a352774180c240951cdc1727e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-16T19:11:16.465Z] Failed in branch amd64 [2023-01-16T19:11:34.379Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2672 in /w/workspace/gexfoundry_device-sdk-go_PR-1280 [Pipeline] { [Pipeline] ws [2023-01-16T19:11:34.396Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-01-16T19:11:34.453Z] The recommended git tool is: git [2023-01-16T19:11:43.405Z] using credential edgex-jenkins-ssh [2023-01-16T19:11:43.444Z] Cloning the remote Git repository [2023-01-16T19:11:43.522Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-01-16T19:11:43.655Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-01-16T19:11:43.981Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-16T19:11:43.992Z] > git --version # timeout=10 [2023-01-16T19:11:44.056Z] > git --version # 'git version 2.25.1' [2023-01-16T19:11:44.059Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-16T19:11:44.185Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-16T19:11:46.094Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-16T19:11:46.157Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-16T19:11:47.555Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-16T19:11:47.642Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-16T19:11:47.647Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-16T19:11:47.686Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1280/head:refs/remotes/origin/PR-1280 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-16T19:11:48.456Z] Merging remotes/origin/main commit 7610f6dc338b87754f939bb9ede04e880837a002 into PR head commit 18e7bb25e5c1186e1a8dc6ace39812f248c961e4 [2023-01-16T19:11:49.287Z] Merge succeeded, producing 4f3eb5c4602b28acbf559e2a1715b99257ac189b [2023-01-16T19:11:49.287Z] Checking out Revision 4f3eb5c4602b28acbf559e2a1715b99257ac189b (PR-1280) [2023-01-16T19:11:48.490Z] > git config core.sparsecheckout # timeout=10 [2023-01-16T19:11:48.586Z] > git checkout -f 18e7bb25e5c1186e1a8dc6ace39812f248c961e4 # timeout=10 [2023-01-16T19:11:48.775Z] > git remote # timeout=10 [2023-01-16T19:11:48.868Z] > git config --get remote.origin.url # timeout=10 [2023-01-16T19:11:48.925Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-16T19:11:48.946Z] > git merge 7610f6dc338b87754f939bb9ede04e880837a002 # timeout=10 [2023-01-16T19:11:49.227Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-16T19:11:49.301Z] > git config core.sparsecheckout # timeout=10 [2023-01-16T19:11:49.344Z] > git checkout -f 4f3eb5c4602b28acbf559e2a1715b99257ac189b # timeout=10 [2023-01-16T19:11:53.320Z] Commit message: "Merge commit '7610f6dc338b87754f939bb9ede04e880837a002' into HEAD" [2023-01-16T19:11:53.333Z] > git rev-list --no-walk 18e7bb25e5c1186e1a8dc6ace39812f248c961e4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-16T19:11:54.367Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-16T19:11:54.367Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-16T19:11:54.367Z] Dload Upload Total Spent Left Speed [2023-01-16T19:11:54.367Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 135k 0 --:--:-- --:--:-- --:--:-- 135k [Pipeline] sh [2023-01-16T19:11:55.219Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-16T19:11:55.684Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-16T19:11:55.685Z] + sudo tee /etc/docker/daemon.new [2023-01-16T19:11:55.685Z] { [2023-01-16T19:11:55.685Z] "registry-mirrors": [ [2023-01-16T19:11:55.685Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-16T19:11:55.685Z] ], [2023-01-16T19:11:55.685Z] "bip": "10.250.0.254/24", [2023-01-16T19:11:55.685Z] "hosts": [ [2023-01-16T19:11:55.685Z] "tcp://0.0.0.0:5555", [2023-01-16T19:11:55.685Z] "unix:///var/run/docker.sock" [2023-01-16T19:11:55.685Z] ], [2023-01-16T19:11:55.685Z] "mtu": 1458, [2023-01-16T19:11:55.685Z] "selinux-enabled": true, [2023-01-16T19:11:55.685Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-16T19:11:55.685Z] } [Pipeline] sh [2023-01-16T19:11:56.050Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-16T19:11:56.416Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-16T19:12:14.745Z] provisioning config files... [2023-01-16T19:12:14.783Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2859967951423235325tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T19:12:15.168Z] ---> docker-login.sh [2023-01-16T19:12:15.168Z] nexus3.edgexfoundry.org:10001 [2023-01-16T19:12:15.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T19:12:16.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T19:12:16.043Z] Configure a credential helper to remove this warning. See [2023-01-16T19:12:16.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T19:12:16.043Z] [2023-01-16T19:12:16.043Z] Login Succeeded [2023-01-16T19:12:16.043Z] nexus3.edgexfoundry.org:10002 [2023-01-16T19:12:16.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T19:12:16.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T19:12:16.317Z] Configure a credential helper to remove this warning. See [2023-01-16T19:12:16.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T19:12:16.317Z] [2023-01-16T19:12:16.317Z] Login Succeeded [2023-01-16T19:12:16.317Z] nexus3.edgexfoundry.org:10003 [2023-01-16T19:12:16.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T19:12:16.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T19:12:16.868Z] Configure a credential helper to remove this warning. See [2023-01-16T19:12:16.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T19:12:16.868Z] [2023-01-16T19:12:16.868Z] Login Succeeded [2023-01-16T19:12:16.868Z] nexus3.edgexfoundry.org:10004 [2023-01-16T19:12:17.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T19:12:17.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T19:12:17.143Z] Configure a credential helper to remove this warning. See [2023-01-16T19:12:17.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T19:12:17.143Z] [2023-01-16T19:12:17.143Z] Login Succeeded [2023-01-16T19:12:17.143Z] docker.io [2023-01-16T19:12:17.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T19:12:17.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T19:12:17.708Z] Configure a credential helper to remove this warning. See [2023-01-16T19:12:17.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T19:12:17.708Z] [2023-01-16T19:12:17.708Z] Login Succeeded [2023-01-16T19:12:17.708Z] ---> docker-login.sh ends [Pipeline] } [2023-01-16T19:12:17.727Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-16T19:12:18.051Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T19:12:18.069Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T19:12:18.078Z] ========================================================= [2023-01-16T19:12:18.078Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-16T19:12:18.078Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T19:12:18.438Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-16T19:12:18.707Z] Sending build context to Docker daemon 5.62MB [2023-01-16T19:12:18.979Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-16T19:12:18.979Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-16T19:12:18.979Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-16T19:12:18.979Z] 9b18e9b68314: Pulling fs layer [2023-01-16T19:12:18.979Z] 35d82f9e3411: Pulling fs layer [2023-01-16T19:12:18.979Z] e16973657156: Pulling fs layer [2023-01-16T19:12:18.979Z] fc693d55d65f: Pulling fs layer [2023-01-16T19:12:18.979Z] 7e9fc2657dce: Pulling fs layer [2023-01-16T19:12:18.979Z] dda99020689f: Pulling fs layer [2023-01-16T19:12:18.979Z] db1c61fa0a46: Pulling fs layer [2023-01-16T19:12:18.979Z] 891c053d2c06: Pulling fs layer [2023-01-16T19:12:18.979Z] dda99020689f: Waiting [2023-01-16T19:12:18.979Z] 891c053d2c06: Waiting [2023-01-16T19:12:18.979Z] db1c61fa0a46: Waiting [2023-01-16T19:12:18.979Z] fc693d55d65f: Waiting [2023-01-16T19:12:18.979Z] 7e9fc2657dce: Waiting [2023-01-16T19:12:18.979Z] e16973657156: Download complete [2023-01-16T19:12:18.979Z] 35d82f9e3411: Verifying Checksum [2023-01-16T19:12:18.979Z] 35d82f9e3411: Download complete [2023-01-16T19:12:18.979Z] 7e9fc2657dce: Verifying Checksum [2023-01-16T19:12:18.979Z] 7e9fc2657dce: Download complete [2023-01-16T19:12:19.257Z] dda99020689f: Verifying Checksum [2023-01-16T19:12:19.257Z] dda99020689f: Download complete [2023-01-16T19:12:19.257Z] 9b18e9b68314: Verifying Checksum [2023-01-16T19:12:19.257Z] 9b18e9b68314: Download complete [2023-01-16T19:12:20.244Z] 9b18e9b68314: Pull complete [2023-01-16T19:12:20.244Z] 891c053d2c06: Verifying Checksum [2023-01-16T19:12:20.244Z] 891c053d2c06: Download complete [2023-01-16T19:12:20.843Z] 35d82f9e3411: Pull complete [2023-01-16T19:12:21.113Z] e16973657156: Pull complete [2023-01-16T19:12:21.704Z] db1c61fa0a46: Verifying Checksum [2023-01-16T19:12:21.704Z] db1c61fa0a46: Download complete [2023-01-16T19:12:22.299Z] fc693d55d65f: Verifying Checksum [2023-01-16T19:12:22.299Z] fc693d55d65f: Download complete [2023-01-16T19:12:34.638Z] fc693d55d65f: Pull complete [2023-01-16T19:12:34.638Z] 7e9fc2657dce: Pull complete [2023-01-16T19:12:34.638Z] dda99020689f: Pull complete [2023-01-16T19:12:40.018Z] db1c61fa0a46: Pull complete [2023-01-16T19:12:41.448Z] 891c053d2c06: Pull complete [2023-01-16T19:12:41.448Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-16T19:12:41.448Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-16T19:12:41.448Z] ---> f96f9c87975a [2023-01-16T19:12:41.448Z] Step 3/10 : ARG MAKE=make build [2023-01-16T19:12:44.058Z] ---> Running in c43fc2a5c11d [2023-01-16T19:12:44.058Z] Removing intermediate container c43fc2a5c11d [2023-01-16T19:12:44.058Z] ---> 0069948b3197 [2023-01-16T19:12:44.058Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-16T19:12:44.058Z] ---> Running in 3e6d4cadfaec [2023-01-16T19:12:44.329Z] Removing intermediate container 3e6d4cadfaec [2023-01-16T19:12:44.329Z] ---> 767fcd9d6f0b [2023-01-16T19:12:44.329Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-16T19:12:44.599Z] ---> Running in 31aeb86efcbe [2023-01-16T19:12:44.870Z] Removing intermediate container 31aeb86efcbe [2023-01-16T19:12:44.870Z] ---> ee1d191ab497 [2023-01-16T19:12:44.870Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-16T19:12:44.870Z] ---> Running in c3561fe1d95e [2023-01-16T19:12:46.297Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-16T19:12:46.566Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-16T19:12:47.531Z] OK: 221 MiB in 51 packages [2023-01-16T19:12:48.947Z] Removing intermediate container c3561fe1d95e [2023-01-16T19:12:48.947Z] ---> 49d37bd4b14b [2023-01-16T19:12:48.947Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-16T19:12:49.915Z] ---> f27debf7a968 [2023-01-16T19:12:49.915Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-16T19:12:49.915Z] ---> Running in 9143ea4c0080 [2023-01-16T19:13:57.895Z] Removing intermediate container 9143ea4c0080 [2023-01-16T19:13:57.895Z] ---> 03edcca7654f [2023-01-16T19:13:57.895Z] Step 9/10 : COPY . . [2023-01-16T19:13:57.895Z] ---> 89c7c7862667 [2023-01-16T19:13:57.895Z] Step 10/10 : RUN ${MAKE} [2023-01-16T19:13:57.895Z] ---> Running in b1e7eee24db4 [2023-01-16T19:13:57.895Z] noop [2023-01-16T19:13:57.895Z] Removing intermediate container b1e7eee24db4 [2023-01-16T19:13:57.895Z] ---> ad57be06b479 [2023-01-16T19:13:57.895Z] Successfully built ad57be06b479 [2023-01-16T19:13:57.895Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T19:13:58.253Z] + docker inspect -f . ci-base-image-arm64 [2023-01-16T19:13:58.253Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T19:13:58.485Z] prd-ubuntu20.04-docker-arm64-4c-16g-2672 does not seem to be running inside a container [2023-01-16T19:13:58.572Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-16T19:13:59.988Z] $ docker top b33af6c4a58069f49604505776a22716d7efb63cba5034cdfab5ec6d9ad4824b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T19:14:00.853Z] + go version [2023-01-16T19:14:00.853Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-16T19:14:00.878Z] $ docker stop --time=1 b33af6c4a58069f49604505776a22716d7efb63cba5034cdfab5ec6d9ad4824b [2023-01-16T19:14:02.539Z] $ docker rm -f --volumes b33af6c4a58069f49604505776a22716d7efb63cba5034cdfab5ec6d9ad4824b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T19:14:03.096Z] + docker inspect -f . ci-base-image-arm64 [2023-01-16T19:14:03.096Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T19:14:03.308Z] prd-ubuntu20.04-docker-arm64-4c-16g-2672 does not seem to be running inside a container [2023-01-16T19:14:03.396Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-16T19:14:04.709Z] $ docker top 2b2efa1aedbd8c7e44a70d4524ed7d7cd227aeb027cb3f2fb47422b1682f177f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T19:14:05.559Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-01-16T19:14:06.220Z] + make test [2023-01-16T19:14:06.220Z] go test -race -coverprofile=coverage.out ./... [2023-01-16T19:14:53.104Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-16T19:16:29.856Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-01-16T19:16:29.856Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: [2023-01-16T19:16:29.856Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-01-16T19:16:29.856Z] have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-16T19:16:29.856Z] want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-16T19:16:29.856Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-01-16T19:16:56.614Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-01-16T19:16:56.614Z] internal/controller/http/command.go:49:71: undefined: common.ValueYes [2023-01-16T19:16:56.614Z] internal/controller/http/command.go:54:74: undefined: common.ValueYes [2023-01-16T19:16:56.887Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-01-16T19:16:56.887Z] internal/controller/messaging/command.go:219:43: undefined: common.ValueYes [2023-01-16T19:16:56.887Z] internal/controller/messaging/command.go:223:45: undefined: common.ValueNo [2023-01-16T19:17:11.940Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.340s coverage: 27.6% of statements [2023-01-16T19:17:11.940Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.391s coverage: 78.9% of statements [2023-01-16T19:17:16.215Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.376s coverage: 73.6% of statements [2023-01-16T19:17:16.215Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [build failed] [2023-01-16T19:17:18.805Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.440s coverage: 65.1% of statements [2023-01-16T19:17:18.805Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.701s coverage: 89.2% of statements [2023-01-16T19:17:18.805Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] [2023-01-16T19:17:19.073Z] make: *** [Makefile:35: unittest] Error 2 [Pipeline] } [2023-01-16T19:17:19.090Z] $ docker stop --time=1 2b2efa1aedbd8c7e44a70d4524ed7d7cd227aeb027cb3f2fb47422b1682f177f [2023-01-16T19:17:21.007Z] $ docker rm -f --volumes 2b2efa1aedbd8c7e44a70d4524ed7d7cd227aeb027cb3f2fb47422b1682f177f [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 [2023-01-16T19:17:22.297Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-16T19:17:22.297Z] [2023-01-16T19:17:22.297Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T19:17:22.654Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-16T19:17:22.926Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-16T19:17:22.926Z] 8998bd30e6a1: Pulling fs layer [2023-01-16T19:17:22.926Z] 04944245beec: Pulling fs layer [2023-01-16T19:17:22.926Z] 699f458cf7ca: Pulling fs layer [2023-01-16T19:17:22.926Z] 765212b225bb: Pulling fs layer [2023-01-16T19:17:22.926Z] f23df028b6ca: Pulling fs layer [2023-01-16T19:17:22.926Z] d65c8cfc05b1: Pulling fs layer [2023-01-16T19:17:22.926Z] 2437ff75d9bd: Pulling fs layer [2023-01-16T19:17:22.926Z] 765212b225bb: Waiting [2023-01-16T19:17:22.926Z] f23df028b6ca: Waiting [2023-01-16T19:17:22.926Z] d65c8cfc05b1: Waiting [2023-01-16T19:17:22.926Z] 2437ff75d9bd: Waiting [2023-01-16T19:17:22.926Z] 04944245beec: Verifying Checksum [2023-01-16T19:17:22.926Z] 04944245beec: Download complete [2023-01-16T19:17:22.926Z] 765212b225bb: Verifying Checksum [2023-01-16T19:17:22.926Z] f23df028b6ca: Verifying Checksum [2023-01-16T19:17:22.926Z] f23df028b6ca: Download complete [2023-01-16T19:17:23.199Z] d65c8cfc05b1: Verifying Checksum [2023-01-16T19:17:23.199Z] d65c8cfc05b1: Download complete [2023-01-16T19:17:23.199Z] 699f458cf7ca: Verifying Checksum [2023-01-16T19:17:23.199Z] 699f458cf7ca: Download complete [2023-01-16T19:17:23.790Z] 8998bd30e6a1: Verifying Checksum [2023-01-16T19:17:23.790Z] 8998bd30e6a1: Download complete [2023-01-16T19:17:26.402Z] 2437ff75d9bd: Verifying Checksum [2023-01-16T19:17:26.402Z] 2437ff75d9bd: Download complete [2023-01-16T19:17:27.829Z] 8998bd30e6a1: Pull complete [2023-01-16T19:17:28.417Z] 04944245beec: Pull complete [2023-01-16T19:17:29.837Z] 699f458cf7ca: Pull complete [2023-01-16T19:17:30.108Z] 765212b225bb: Pull complete [2023-01-16T19:17:30.697Z] f23df028b6ca: Pull complete [2023-01-16T19:17:30.967Z] d65c8cfc05b1: Pull complete [2023-01-16T19:17:45.986Z] 2437ff75d9bd: Pull complete [2023-01-16T19:17:45.986Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-16T19:17:45.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-16T19:17:45.986Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T19:17:46.207Z] prd-ubuntu20.04-docker-arm64-4c-16g-2672 does not seem to be running inside a container [2023-01-16T19:17:46.368Z] $ 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-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-16T19:17:49.403Z] $ docker top 497bc6483d774cbd5985503896b8b97ec2d289f03c3a6c6e8b1a353e67064bd0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T19:17:50.338Z] ---> job-cost.sh [2023-01-16T19:17:50.338Z] lf-activate-venv: SKIPPING [2023-01-16T19:17:50.338Z] INFO: No Stack... [2023-01-16T19:17:50.947Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-16T19:17:51.543Z] INFO: Archiving Costs [Pipeline] sh [2023-01-16T19:17:52.224Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-01-16T19:17:52.224Z] + cut -d, -f6 [Pipeline] lock [2023-01-16T19:17:52.311Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1280-2-stack-cost] [2023-01-16T19:17:52.321Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1280-2-stack-cost] did not exist. Created. [2023-01-16T19:17:52.321Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1280-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-16T19:17:52.992Z] /w/workspace/device-sdk-go/2@tmp/durable-e7231a4b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-16T19:17:53.674Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-16T19:17:53.694Z] Warning: overwriting stash ‘stack-cost’ [2023-01-16T19:17:54.271Z] Stashed 1 file(s) [Pipeline] } [2023-01-16T19:17:54.281Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1280-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-16T19:17:54.300Z] $ docker stop --time=1 497bc6483d774cbd5985503896b8b97ec2d289f03c3a6c6e8b1a353e67064bd0 [2023-01-16T19:17:55.898Z] $ docker rm -f --volumes 497bc6483d774cbd5985503896b8b97ec2d289f03c3a6c6e8b1a353e67064bd0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-16T19:17:56.197Z] 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 [2023-01-16T19:17:56.873Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1280/archives ] [2023-01-16T19:17:56.873Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1280/archives [2023-01-16T19:17:56.873Z] total 16 [2023-01-16T19:17:56.873Z] drwxr-xr-x 3 root root 4096 Jan 16 19:11 . [2023-01-16T19:17:56.873Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 16 19:11 .. [2023-01-16T19:17:56.873Z] drwxr-xr-x 2 root root 4096 Jan 16 19:11 cost [2023-01-16T19:17:56.873Z] -rw-r--r-- 1 root root 86 Jan 16 19:11 cost.csv [2023-01-16T19:17:56.873Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1280/archives [2023-01-16T19:17:56.873Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1280/archives [2023-01-16T19:17:56.873Z] total 16 [2023-01-16T19:17:56.873Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 16 19:11 . [2023-01-16T19:17:56.873Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 16 19:11 .. [2023-01-16T19:17:56.873Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 16 19:11 cost [2023-01-16T19:17:56.873Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 16 19:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-16T19:17:57.166Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T19:17:58.027Z] ---> package-listing.sh [2023-01-16T19:17:58.027Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-16T19:17:58.027Z] ++ facter osfamily [2023-01-16T19:17:58.027Z] + OS_FAMILY=debian [2023-01-16T19:17:58.027Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1280 [2023-01-16T19:17:58.027Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-16T19:17:58.027Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-16T19:17:58.027Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-16T19:17:58.027Z] + PACKAGES=/tmp/packages_start.txt [2023-01-16T19:17:58.027Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1280 ']' [2023-01-16T19:17:58.027Z] + PACKAGES=/tmp/packages_end.txt [2023-01-16T19:17:58.027Z] + case "${OS_FAMILY}" in [2023-01-16T19:17:58.027Z] + dpkg -l [2023-01-16T19:17:58.027Z] + grep '^ii' [2023-01-16T19:17:58.287Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-16T19:17:58.287Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-16T19:17:58.287Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-16T19:17:58.287Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1280 ']' [2023-01-16T19:17:58.287Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1280/archives/ [2023-01-16T19:17:58.287Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1280/archives/ [Pipeline] echo [2023-01-16T19:17:58.296Z] 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-sdk-go_PR-1280/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-16T19:17:58.573Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T19:17:59.134Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T19:17:59.134Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T19:17:59.203Z] prd-ubuntu20.04-docker-8c-8g-2664 does not seem to be running inside a container [2023-01-16T19:17:59.253Z] $ 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-sdk-go_PR-1280/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-sdk-go_PR-1280 -v /w/workspace/gexfoundry_device-sdk-go_PR-1280:/w/workspace/gexfoundry_device-sdk-go_PR-1280:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1280@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1280@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-16T19:17:59.437Z] $ docker top e445e5e21af5cd0b439a120bbc9d88b60f3efd22dd3b6b8e0308ebc45f543177 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T19:17:59.763Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-16T19:18:00.055Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-16T19:18:00.340Z] + ls /var/log/sa-host [2023-01-16T19:18:00.340Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-16T19:18:00.414Z] provisioning config files... [2023-01-16T19:18:00.422Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1280@tmp/config7498631395751156831tmp [Pipeline] { [Pipeline] echo [2023-01-16T19:18:00.437Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T19:18:00.719Z] ---> create-netrc.sh [Pipeline] } [2023-01-16T19:18:00.727Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-16T19:18:01.055Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-16T19:18:01.064Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T19:18:01.350Z] ---> sudo-logs.sh [2023-01-16T19:18:01.350Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-16T19:18:01.382Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T19:18:01.667Z] ---> job-cost.sh [2023-01-16T19:18:01.667Z] lf-activate-venv: SKIPPING [2023-01-16T19:18:01.667Z] DEBUG: total: 0.2199999988079071 [2023-01-16T19:18:01.667Z] INFO: Retrieving Stack Cost... [2023-01-16T19:18:01.927Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-16T19:18:02.494Z] INFO: Archiving Costs [Pipeline] echo [2023-01-16T19:18:02.508Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T19:18:02.791Z] ---> logs-deploy.sh [2023-01-16T19:18:02.791Z] lf-activate-venv: SKIPPING [2023-01-16T19:18:02.791Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1280/2 [2023-01-16T19:18:02.791Z] INFO: archiving workspace using pattern(s): [2023-01-16T19:18:03.727Z] Archives upload complete. [2023-01-16T19:18:03.727Z] INFO: archiving logs to Nexus