Pull request #1451 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-sdk-go Loading trusted files from base branch main at c2fb876fcd1e0284408ad645a921007a1ace85f5 rather than b59395b0709fa704ce533723f4b2417739148ac5 Obtained Jenkinsfile from c2fb876fcd1e0284408ad645a921007a1ace85f5 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-ssh3536472367624938582.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh17656342910725439246.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-1451/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-1451/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15380029859142411848.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh15732902956156335473.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-1451/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-1451/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9638252622392470064.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/v3]] ========================================================= [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.20 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/v3 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-14512 in /w/workspace/gexfoundry_device-sdk-go_PR-1451 [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-1451 # 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 Merging remotes/origin/main commit c2fb876fcd1e0284408ad645a921007a1ace85f5 into PR head commit b59395b0709fa704ce533723f4b2417739148ac5 Merge succeeded, producing 3e6f0ad0f0401723a2cd25b0f1e0e241f833e232 Checking out Revision 3e6f0ad0f0401723a2cd25b0f1e0e241f833e232 (PR-1451) > 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/1451/head:refs/remotes/origin/PR-1451 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b59395b0709fa704ce533723f4b2417739148ac5 # 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 c2fb876fcd1e0284408ad645a921007a1ace85f5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e6f0ad0f0401723a2cd25b0f1e0e241f833e232 # timeout=10 Commit message: "Merge commit 'c2fb876fcd1e0284408ad645a921007a1ace85f5' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-08T17:27:18.567Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-08T17:27:18.637Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-08T17:27:18.658Z] ========================================================= [2023-05-08T17:27:18.658Z] EdgeX Global Pipelines Version Info [2023-05-08T17:27:18.658Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 79d26926faeb9b11702bfe5e9c8e5d85d1043430 # timeout=10 [2023-05-08T17:27:19.381Z] ------------------- [2023-05-08T17:27:19.381Z] stable info: [2023-05-08T17:27:19.381Z] ------------------- [2023-05-08T17:27:19.381Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-08T17:27:19.381Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-08T17:27:19.381Z] Message: update stable to v1.0.249 [2023-05-08T17:27:19.952Z] ------------------- [2023-05-08T17:27:19.952Z] experimental info: [2023-05-08T17:27:19.952Z] ------------------- [2023-05-08T17:27:19.952Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-08T17:27:19.952Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-08T17:27:19.952Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-08T17:27:20.170Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-05-08T17:27:20.187Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-05-08T17:27:20.206Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-08T17:27:20.225Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-08T17:27:20.244Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-08T17:27:20.263Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-08T17:27:20.284Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-08T17:27:20.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-05-08T17:27:20.320Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-08T17:27:20.340Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-08T17:27:20.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-08T17:27:20.379Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-05-08T17:27:20.399Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-08T17:27:20.421Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-08T17:27:20.439Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-08T17:27:20.461Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T17:27:20.481Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T17:27:20.499Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T17:27:20.522Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-08T17:27:20.545Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-08T17:27:20.559Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-08T17:27:20.579Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-05-08T17:27:20.598Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-08T17:27:20.619Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-08T17:27:20.643Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-08T17:27:20.662Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-08T17:27:20.682Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-08T17:27:20.701Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1451 [Pipeline] echo [2023-05-08T17:27:20.720Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1451 [Pipeline] echo [2023-05-08T17:27:20.740Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1451 [Pipeline] echo [2023-05-08T17:27:20.758Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3e6f0ad0f0401723a2cd25b0f1e0e241f833e232 [Pipeline] echo [2023-05-08T17:27:20.776Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3e6f0ad [Pipeline] echo [2023-05-08T17:27:20.793Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T17:27:20.857Z] provisioning config files... [2023-05-08T17:27:20.870Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/config13642154718234920715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T17:27:21.179Z] ---> docker-login.sh [2023-05-08T17:27:21.179Z] nexus3.edgexfoundry.org:10001 [2023-05-08T17:27:21.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:27:21.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:27:21.700Z] Configure a credential helper to remove this warning. See [2023-05-08T17:27:21.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:27:21.700Z] [2023-05-08T17:27:21.700Z] Login Succeeded [2023-05-08T17:27:21.700Z] nexus3.edgexfoundry.org:10002 [2023-05-08T17:27:21.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:27:21.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:27:21.700Z] Configure a credential helper to remove this warning. See [2023-05-08T17:27:21.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:27:21.700Z] [2023-05-08T17:27:21.700Z] Login Succeeded [2023-05-08T17:27:21.700Z] nexus3.edgexfoundry.org:10003 [2023-05-08T17:27:21.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:27:21.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:27:21.959Z] Configure a credential helper to remove this warning. See [2023-05-08T17:27:21.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:27:21.959Z] [2023-05-08T17:27:21.959Z] Login Succeeded [2023-05-08T17:27:21.959Z] nexus3.edgexfoundry.org:10004 [2023-05-08T17:27:21.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:27:21.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:27:21.959Z] Configure a credential helper to remove this warning. See [2023-05-08T17:27:21.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:27:21.959Z] [2023-05-08T17:27:21.959Z] Login Succeeded [2023-05-08T17:27:21.959Z] docker.io [2023-05-08T17:27:21.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:27:22.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:27:22.220Z] Configure a credential helper to remove this warning. See [2023-05-08T17:27:22.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:27:22.220Z] [2023-05-08T17:27:22.220Z] Login Succeeded [2023-05-08T17:27:22.220Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T17:27:22.227Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-08T17:27:22.629Z] + git rev-list -1 --merges 3e6f0ad0f0401723a2cd25b0f1e0e241f833e232~1..3e6f0ad0f0401723a2cd25b0f1e0e241f833e232 [Pipeline] echo [2023-05-08T17:27:22.676Z] -----------> git rev-list -1 --merges 3e6f0ad0f0401723a2cd25b0f1e0e241f833e232~1..3e6f0ad0f0401723a2cd25b0f1e0e241f833e232 3e6f0ad0f0401723a2cd25b0f1e0e241f833e232 [2023-05-08T17:27:22.676Z] 3e6f0ad0f0401723a2cd25b0f1e0e241f833e232 [false] [Pipeline] sh [2023-05-08T17:27:23.097Z] + git log --format=format:%s -1 3e6f0ad0f0401723a2cd25b0f1e0e241f833e232 [Pipeline] echo [2023-05-08T17:27:23.126Z] ========================================================= [2023-05-08T17:27:23.126Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-08T17:27:23.126Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T17:27:23.476Z] + git log --format=format:%s -1 3e6f0ad0f0401723a2cd25b0f1e0e241f833e232 [Pipeline] echo [2023-05-08T17:27:23.490Z] [semverPrep] GIT_COMMIT: 3e6f0ad0f0401723a2cd25b0f1e0e241f833e232, Commit Message: Merge commit 'c2fb876fcd1e0284408ad645a921007a1ace85f5' into HEAD [Pipeline] echo [2023-05-08T17:27:23.500Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-08T17:27:23.920Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-08T17:27:23.920Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-08T17:27:23.920Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-08T17:27:23.920Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-08T17:27:23.920Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-08T17:27:23.920Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-08T17:27:23.920Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:27:24.434Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T17:27:24.434Z] [2023-05-08T17:27:24.434Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:27:24.745Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T17:27:24.745Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-08T17:27:24.745Z] b85a868b505f: Pulling fs layer [2023-05-08T17:27:24.745Z] e2be974225ed: Pulling fs layer [2023-05-08T17:27:24.745Z] 339a4e72a1f5: Pulling fs layer [2023-05-08T17:27:24.745Z] 988bab9f4d93: Pulling fs layer [2023-05-08T17:27:24.745Z] 1469e6f7b9e6: Pulling fs layer [2023-05-08T17:27:24.745Z] eaf3925da568: Pulling fs layer [2023-05-08T17:27:24.745Z] bab4dde63d76: Pulling fs layer [2023-05-08T17:27:24.745Z] bde34c3a00c8: Pulling fs layer [2023-05-08T17:27:24.745Z] b352a97aabf1: Pulling fs layer [2023-05-08T17:27:24.745Z] 4872d77fe225: Pulling fs layer [2023-05-08T17:27:24.745Z] 5851b861e8e6: Pulling fs layer [2023-05-08T17:27:24.745Z] b352a97aabf1: Waiting [2023-05-08T17:27:24.745Z] bab4dde63d76: Waiting [2023-05-08T17:27:24.745Z] bde34c3a00c8: Waiting [2023-05-08T17:27:24.745Z] eaf3925da568: Waiting [2023-05-08T17:27:24.745Z] 5851b861e8e6: Waiting [2023-05-08T17:27:24.745Z] 4872d77fe225: Waiting [2023-05-08T17:27:24.745Z] 1469e6f7b9e6: Waiting [2023-05-08T17:27:24.745Z] 988bab9f4d93: Waiting [2023-05-08T17:27:24.745Z] e2be974225ed: Download complete [2023-05-08T17:27:24.745Z] 988bab9f4d93: Verifying Checksum [2023-05-08T17:27:24.745Z] 988bab9f4d93: Download complete [2023-05-08T17:27:24.745Z] 339a4e72a1f5: Verifying Checksum [2023-05-08T17:27:24.745Z] 339a4e72a1f5: Download complete [2023-05-08T17:27:25.004Z] eaf3925da568: Download complete [2023-05-08T17:27:25.004Z] 1469e6f7b9e6: Verifying Checksum [2023-05-08T17:27:25.004Z] 1469e6f7b9e6: Download complete [2023-05-08T17:27:25.004Z] bde34c3a00c8: Download complete [2023-05-08T17:27:25.004Z] b352a97aabf1: Verifying Checksum [2023-05-08T17:27:25.004Z] b352a97aabf1: Download complete [2023-05-08T17:27:25.004Z] 4872d77fe225: Verifying Checksum [2023-05-08T17:27:25.004Z] 4872d77fe225: Download complete [2023-05-08T17:27:25.004Z] 5851b861e8e6: Download complete [2023-05-08T17:27:25.004Z] b85a868b505f: Verifying Checksum [2023-05-08T17:27:25.004Z] b85a868b505f: Download complete [2023-05-08T17:27:25.274Z] bab4dde63d76: Verifying Checksum [2023-05-08T17:27:25.274Z] bab4dde63d76: Download complete [2023-05-08T17:27:26.211Z] b85a868b505f: Pull complete [2023-05-08T17:27:26.211Z] e2be974225ed: Pull complete [2023-05-08T17:27:26.779Z] 339a4e72a1f5: Pull complete [2023-05-08T17:27:26.779Z] 988bab9f4d93: Pull complete [2023-05-08T17:27:27.042Z] 1469e6f7b9e6: Pull complete [2023-05-08T17:27:27.042Z] eaf3925da568: Pull complete [2023-05-08T17:27:28.944Z] bab4dde63d76: Pull complete [2023-05-08T17:27:28.944Z] bde34c3a00c8: Pull complete [2023-05-08T17:27:29.202Z] b352a97aabf1: Pull complete [2023-05-08T17:27:29.202Z] 4872d77fe225: Pull complete [2023-05-08T17:27:29.202Z] 5851b861e8e6: Pull complete [2023-05-08T17:27:29.202Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-08T17:27:29.202Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T17:27:29.202Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T17:27:29.306Z] prd-ubuntu20.04-docker-8c-8g-14512 does not seem to be running inside a container [2023-05-08T17:27:29.337Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1451 -v /w/workspace/gexfoundry_device-sdk-go_PR-1451:/w/workspace/gexfoundry_device-sdk-go_PR-1451:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1451@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-devops/py-git-semver:0.1.4 cat [2023-05-08T17:27:31.800Z] $ docker top 9aecf229cb64e15f5fd65996009ad7ab028dd6b3aa2d0c740d59d0d197f13a1a -eo pid,comm [2023-05-08T17:27:31.852Z] 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-05-08T17:27:31.852Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-08T17:27:31.889Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T17:27:31.889Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T17:27:32.018Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T17:27:32.024Z] $ docker exec 9aecf229cb64e15f5fd65996009ad7ab028dd6b3aa2d0c740d59d0d197f13a1a ssh-agent [2023-05-08T17:27:32.120Z] SSH_AUTH_SOCK=/tmp/ssh-D1g8m21pR8cZ/agent.32 [2023-05-08T17:27:32.120Z] SSH_AGENT_PID=38 [2023-05-08T17:27:32.127Z] Running ssh-add (command line suppressed) [2023-05-08T17:27:32.229Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/private_key_246960915035807974.key (/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/private_key_246960915035807974.key) [2023-05-08T17:27:32.239Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T17:27:32.522Z] + git tag --points-at HEAD [Pipeline] } [2023-05-08T17:27:32.557Z] $ docker exec --env ******** --env ******** 9aecf229cb64e15f5fd65996009ad7ab028dd6b3aa2d0c740d59d0d197f13a1a ssh-agent -k [2023-05-08T17:27:32.658Z] unset SSH_AUTH_SOCK; [2023-05-08T17:27:32.658Z] unset SSH_AGENT_PID; [2023-05-08T17:27:32.658Z] echo Agent pid 38 killed; [2023-05-08T17:27:32.666Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-08T17:27:32.689Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T17:27:32.689Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T17:27:32.801Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T17:27:32.807Z] $ docker exec 9aecf229cb64e15f5fd65996009ad7ab028dd6b3aa2d0c740d59d0d197f13a1a ssh-agent [2023-05-08T17:27:32.914Z] SSH_AUTH_SOCK=/tmp/ssh-e0jscUpdbv21/agent.71 [2023-05-08T17:27:32.914Z] SSH_AGENT_PID=77 [2023-05-08T17:27:32.920Z] Running ssh-add (command line suppressed) [2023-05-08T17:27:33.015Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/private_key_12546926601588544340.key (/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/private_key_12546926601588544340.key) [2023-05-08T17:27:33.028Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T17:27:33.314Z] + git semver init [2023-05-08T17:27:33.572Z] 2023-05-08 17:27:33,506 [run_init] DEBUG init version:0.0.0 force:False [2023-05-08T17:27:33.572Z] 2023-05-08 17:27:33,506 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver [2023-05-08T17:27:33.572Z] 2023-05-08 17:27:33,507 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver [2023-05-08T17:27:33.572Z] 2023-05-08 17:27:33,507 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1451, universal_newlines=False, shell=None, istream=None) [2023-05-08T17:27:34.507Z] 2023-05-08 17:27:34,387 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1451/.git/info/exclude [2023-05-08T17:27:34.507Z] 2023-05-08 17:27:34,388 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver/PR-1451 with force:False [2023-05-08T17:27:34.507Z] 2023-05-08 17:27:34,388 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver/PR-1451 [2023-05-08T17:27:34.507Z] 2023-05-08 17:27:34,392 [execute] INFO git cat-file --batch-check [2023-05-08T17:27:34.507Z] 2023-05-08 17:27:34,393 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver, universal_newlines=False, shell=None, istream=) [2023-05-08T17:27:34.507Z] 2023-05-08 17:27:34,399 [execute] INFO git cat-file --batch [2023-05-08T17:27:34.507Z] 2023-05-08 17:27:34,399 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver, universal_newlines=False, shell=None, istream=) [2023-05-08T17:27:34.507Z] 2023-05-08 17:27:34,404 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver/PR-1451 [2023-05-08T17:27:34.507Z] 0.0.0 [Pipeline] } [2023-05-08T17:27:34.518Z] $ docker exec --env ******** --env ******** 9aecf229cb64e15f5fd65996009ad7ab028dd6b3aa2d0c740d59d0d197f13a1a ssh-agent -k [2023-05-08T17:27:34.615Z] unset SSH_AUTH_SOCK; [2023-05-08T17:27:34.615Z] unset SSH_AGENT_PID; [2023-05-08T17:27:34.616Z] echo Agent pid 77 killed; [2023-05-08T17:27:34.632Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-08T17:27:34.943Z] + git semver [Pipeline] } [2023-05-08T17:27:35.219Z] $ docker stop --time=1 9aecf229cb64e15f5fd65996009ad7ab028dd6b3aa2d0c740d59d0d197f13a1a [2023-05-08T17:27:36.563Z] $ docker rm -f --volumes 9aecf229cb64e15f5fd65996009ad7ab028dd6b3aa2d0c740d59d0d197f13a1a [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T17:27:36.929Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-08T17:27:37.173Z] Stashed 1 file(s) [Pipeline] echo [2023-05-08T17:27:37.176Z] [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-05-08T17:27:37.366Z] provisioning config files... [2023-05-08T17:27:37.376Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/config13987534084418287573tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T17:27:37.683Z] ---> docker-login.sh [2023-05-08T17:27:37.683Z] nexus3.edgexfoundry.org:10001 [2023-05-08T17:27:37.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:27:37.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:27:37.683Z] Configure a credential helper to remove this warning. See [2023-05-08T17:27:37.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:27:37.683Z] [2023-05-08T17:27:37.683Z] Login Succeeded [2023-05-08T17:27:37.683Z] nexus3.edgexfoundry.org:10002 [2023-05-08T17:27:37.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:27:37.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:27:37.683Z] Configure a credential helper to remove this warning. See [2023-05-08T17:27:37.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:27:37.683Z] [2023-05-08T17:27:37.683Z] Login Succeeded [2023-05-08T17:27:37.683Z] nexus3.edgexfoundry.org:10003 [2023-05-08T17:27:37.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:27:37.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:27:37.943Z] Configure a credential helper to remove this warning. See [2023-05-08T17:27:37.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:27:37.943Z] [2023-05-08T17:27:37.943Z] Login Succeeded [2023-05-08T17:27:37.943Z] nexus3.edgexfoundry.org:10004 [2023-05-08T17:27:37.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:27:37.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:27:37.943Z] Configure a credential helper to remove this warning. See [2023-05-08T17:27:37.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:27:37.943Z] [2023-05-08T17:27:37.943Z] Login Succeeded [2023-05-08T17:27:37.943Z] docker.io [2023-05-08T17:27:38.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:27:38.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:27:38.203Z] Configure a credential helper to remove this warning. See [2023-05-08T17:27:38.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:27:38.203Z] [2023-05-08T17:27:38.203Z] Login Succeeded [2023-05-08T17:27:38.203Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T17:27:38.211Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-08T17:27:38.280Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T17:27:38.297Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T17:27:38.309Z] ========================================================= [2023-05-08T17:27:38.309Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-08T17:27:38.309Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:27:38.632Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-08T17:27:38.633Z] Sending build context to Docker daemon 11.09MB [2023-05-08T17:27:38.633Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T17:27:38.633Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-08T17:27:38.633Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-08T17:27:38.633Z] f56be85fc22e: Pulling fs layer [2023-05-08T17:27:38.633Z] 85791d961cd3: Pulling fs layer [2023-05-08T17:27:38.633Z] d694b5ae8c79: Pulling fs layer [2023-05-08T17:27:38.633Z] 9f32a84ed3da: Pulling fs layer [2023-05-08T17:27:38.633Z] 4d19c01a9841: Pulling fs layer [2023-05-08T17:27:38.633Z] 9325e15d5711: Pulling fs layer [2023-05-08T17:27:38.633Z] 556b6ee489ea: Pulling fs layer [2023-05-08T17:27:38.633Z] c5a4b2cf53e6: Pulling fs layer [2023-05-08T17:27:38.633Z] 9f32a84ed3da: Waiting [2023-05-08T17:27:38.633Z] 4d19c01a9841: Waiting [2023-05-08T17:27:38.633Z] 9325e15d5711: Waiting [2023-05-08T17:27:38.633Z] 556b6ee489ea: Waiting [2023-05-08T17:27:38.633Z] c5a4b2cf53e6: Waiting [2023-05-08T17:27:38.893Z] 85791d961cd3: Verifying Checksum [2023-05-08T17:27:38.893Z] 85791d961cd3: Download complete [2023-05-08T17:27:38.893Z] 9f32a84ed3da: Verifying Checksum [2023-05-08T17:27:38.893Z] 9f32a84ed3da: Download complete [2023-05-08T17:27:38.893Z] 4d19c01a9841: Download complete [2023-05-08T17:27:38.893Z] f56be85fc22e: Download complete [2023-05-08T17:27:38.893Z] 9325e15d5711: Verifying Checksum [2023-05-08T17:27:38.893Z] 9325e15d5711: Download complete [2023-05-08T17:27:39.153Z] f56be85fc22e: Pull complete [2023-05-08T17:27:39.153Z] 85791d961cd3: Pull complete [2023-05-08T17:27:39.414Z] d694b5ae8c79: Verifying Checksum [2023-05-08T17:27:39.414Z] d694b5ae8c79: Download complete [2023-05-08T17:27:39.677Z] c5a4b2cf53e6: Verifying Checksum [2023-05-08T17:27:39.677Z] c5a4b2cf53e6: Download complete [2023-05-08T17:27:39.936Z] 556b6ee489ea: Verifying Checksum [2023-05-08T17:27:39.936Z] 556b6ee489ea: Download complete [2023-05-08T17:27:43.237Z] d694b5ae8c79: Pull complete [2023-05-08T17:27:43.237Z] 9f32a84ed3da: Pull complete [2023-05-08T17:27:43.237Z] 4d19c01a9841: Pull complete [2023-05-08T17:27:43.237Z] 9325e15d5711: Pull complete [2023-05-08T17:27:45.138Z] 556b6ee489ea: Pull complete [2023-05-08T17:27:46.074Z] c5a4b2cf53e6: Pull complete [2023-05-08T17:27:46.074Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-08T17:27:46.074Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-08T17:27:46.074Z] ---> c4be618373d6 [2023-05-08T17:27:46.074Z] Step 3/10 : ARG MAKE=make build [2023-05-08T17:27:49.373Z] ---> Running in b486ba5c15c9 [2023-05-08T17:27:49.632Z] Removing intermediate container b486ba5c15c9 [2023-05-08T17:27:49.632Z] ---> 82fa420a3414 [2023-05-08T17:27:49.632Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-08T17:27:49.632Z] ---> Running in 2582ba77a189 [2023-05-08T17:27:49.632Z] Removing intermediate container 2582ba77a189 [2023-05-08T17:27:49.632Z] ---> 9da53974b1be [2023-05-08T17:27:49.632Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-08T17:27:49.632Z] ---> Running in 54e8abd68873 [2023-05-08T17:27:49.891Z] Removing intermediate container 54e8abd68873 [2023-05-08T17:27:49.891Z] ---> bd88d2f2c77a [2023-05-08T17:27:49.891Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-08T17:27:49.891Z] ---> Running in 090a71fdf134 [2023-05-08T17:27:50.150Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T17:27:50.409Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T17:27:50.409Z] OK: 265 MiB in 53 packages [2023-05-08T17:27:50.668Z] Removing intermediate container 090a71fdf134 [2023-05-08T17:27:50.668Z] ---> 002a742062e7 [2023-05-08T17:27:50.668Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-08T17:27:50.926Z] ---> 211640c1e7ed [2023-05-08T17:27:50.926Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T17:27:50.926Z] ---> Running in ab72f4e23fb2 [2023-05-08T17:27:52.313Z] Still waiting to schedule task [2023-05-08T17:27:52.313Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-08T17:28:17.494Z] Removing intermediate container ab72f4e23fb2 [2023-05-08T17:28:17.494Z] ---> 9372adc190c8 [2023-05-08T17:28:17.494Z] Step 9/10 : COPY . . [2023-05-08T17:28:18.069Z] ---> c0e318c3e36a [2023-05-08T17:28:18.069Z] Step 10/10 : RUN ${MAKE} [2023-05-08T17:28:18.069Z] ---> Running in 0f2100177ea7 [2023-05-08T17:28:18.328Z] noop [2023-05-08T17:28:18.586Z] Removing intermediate container 0f2100177ea7 [2023-05-08T17:28:18.586Z] ---> 2d0fc0180045 [2023-05-08T17:28:18.586Z] Successfully built 2d0fc0180045 [2023-05-08T17:28:18.586Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:28:18.906Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-08T17:28:18.906Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T17:28:18.978Z] prd-ubuntu20.04-docker-8c-8g-14512 does not seem to be running inside a container [2023-05-08T17:28:19.013Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1451 -v /w/workspace/gexfoundry_device-sdk-go_PR-1451:/w/workspace/gexfoundry_device-sdk-go_PR-1451:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-08T17:28:19.358Z] $ docker top e9e210d74302aa48f78a36e5431eaaebd9c37ddede9d3b51b4207c81ffedc19a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T17:28:19.691Z] + go version [2023-05-08T17:28:19.692Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-08T17:28:19.706Z] $ docker stop --time=1 e9e210d74302aa48f78a36e5431eaaebd9c37ddede9d3b51b4207c81ffedc19a [2023-05-08T17:28:21.020Z] $ docker rm -f --volumes e9e210d74302aa48f78a36e5431eaaebd9c37ddede9d3b51b4207c81ffedc19a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:28:21.426Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-08T17:28:21.426Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T17:28:21.503Z] prd-ubuntu20.04-docker-8c-8g-14512 does not seem to be running inside a container [2023-05-08T17:28:21.538Z] $ 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-1451 -v /w/workspace/gexfoundry_device-sdk-go_PR-1451:/w/workspace/gexfoundry_device-sdk-go_PR-1451:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-08T17:28:21.879Z] $ docker top ee6ce417d8342fc7eb0860a7e8fbf8ce8d1df566aa5d29138651e1da0f6a61ad -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T17:28:22.216Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1451 [Pipeline] fileExists [Pipeline] sh [2023-05-08T17:28:22.514Z] + make test [2023-05-08T17:28:22.514Z] go test -race -coverprofile=coverage.out ./... [2023-05-08T17:28:29.083Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-08T17:28:41.274Z] # github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [2023-05-08T17:28:41.274Z] pkg/startup/bootstrap.go:25:16: service.Run undefined (type "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK has no field or method Run) [2023-05-08T17:28:42.648Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-08T17:28:42.648Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-08T17:28:42.648Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-08T17:28:42.648Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-08T17:28:43.216Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.064s coverage: 27.6% of statements [2023-05-08T17:28:43.216Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-08T17:28:43.216Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-08T17:28:43.216Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.066s coverage: 80.2% of statements [2023-05-08T17:28:43.474Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.079s coverage: 86.0% of statements [2023-05-08T17:28:44.408Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-08T17:28:44.408Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-08T17:28:44.408Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.099s coverage: 77.5% of statements [2023-05-08T17:28:44.408Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-08T17:28:44.408Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-08T17:28:47.699Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.076s coverage: 14.6% of statements [2023-05-08T17:28:47.699Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.069s coverage: 68.5% of statements [2023-05-08T17:28:47.699Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.101s coverage: 89.2% of statements [2023-05-08T17:28:47.699Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.049s coverage: 5.7% of statements [2023-05-08T17:28:47.699Z] FAIL [2023-05-08T17:28:47.699Z] make: *** [Makefile:35: unittest] Error 1 [Pipeline] } [2023-05-08T17:28:47.717Z] $ docker stop --time=1 ee6ce417d8342fc7eb0860a7e8fbf8ce8d1df566aa5d29138651e1da0f6a61ad [2023-05-08T17:28:50.627Z] $ docker rm -f --volumes ee6ce417d8342fc7eb0860a7e8fbf8ce8d1df566aa5d29138651e1da0f6a61ad [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-05-08T17:28:51.185Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T17:28:51.185Z] [2023-05-08T17:28:51.185Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:28:51.490Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T17:28:51.490Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-08T17:28:51.490Z] 5eb5b503b376: Pulling fs layer [2023-05-08T17:28:51.490Z] 5c69ac0246d0: Pulling fs layer [2023-05-08T17:28:51.490Z] ec43610c2a17: Pulling fs layer [2023-05-08T17:28:51.490Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-08T17:28:51.490Z] 33b1e0a273af: Pulling fs layer [2023-05-08T17:28:51.490Z] 5d3b04190fa2: Pulling fs layer [2023-05-08T17:28:51.490Z] 2f39f015ded8: Pulling fs layer [2023-05-08T17:28:51.490Z] 33b1e0a273af: Waiting [2023-05-08T17:28:51.490Z] 2f39f015ded8: Waiting [2023-05-08T17:28:51.490Z] 3a2ae6a8a46f: Waiting [2023-05-08T17:28:51.490Z] 5c69ac0246d0: Download complete [2023-05-08T17:28:51.490Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-08T17:28:51.490Z] 3a2ae6a8a46f: Download complete [2023-05-08T17:28:51.490Z] 33b1e0a273af: Verifying Checksum [2023-05-08T17:28:51.490Z] 33b1e0a273af: Download complete [2023-05-08T17:28:51.490Z] ec43610c2a17: Verifying Checksum [2023-05-08T17:28:51.490Z] ec43610c2a17: Download complete [2023-05-08T17:28:51.490Z] 5d3b04190fa2: Download complete [2023-05-08T17:28:51.748Z] 5eb5b503b376: Verifying Checksum [2023-05-08T17:28:51.748Z] 5eb5b503b376: Download complete [2023-05-08T17:28:52.314Z] 2f39f015ded8: Download complete [2023-05-08T17:28:52.881Z] 5eb5b503b376: Pull complete [2023-05-08T17:28:52.882Z] 5c69ac0246d0: Pull complete [2023-05-08T17:28:53.140Z] ec43610c2a17: Pull complete [2023-05-08T17:28:53.400Z] 3a2ae6a8a46f: Pull complete [2023-05-08T17:28:53.400Z] 33b1e0a273af: Pull complete [2023-05-08T17:28:53.659Z] 5d3b04190fa2: Pull complete [2023-05-08T17:28:57.846Z] 2f39f015ded8: Pull complete [2023-05-08T17:28:57.846Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-08T17:28:57.846Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T17:28:57.846Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T17:28:57.932Z] prd-ubuntu20.04-docker-8c-8g-14512 does not seem to be running inside a container [2023-05-08T17:28:57.968Z] $ 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-1451 -v /w/workspace/gexfoundry_device-sdk-go_PR-1451:/w/workspace/gexfoundry_device-sdk-go_PR-1451:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-08T17:29:01.343Z] $ docker top 40da0a34652db4be448e727049bcbe4cb979ad60208a6d428dbc45165c466e13 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T17:29:01.770Z] ---> job-cost.sh [2023-05-08T17:29:01.770Z] lf-activate-venv: SKIPPING [2023-05-08T17:29:01.770Z] INFO: No Stack... [2023-05-08T17:29:02.029Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-08T17:29:02.288Z] INFO: Archiving Costs [Pipeline] sh [2023-05-08T17:29:02.587Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives/cost.csv [2023-05-08T17:29:02.587Z] + cut -d, -f6 [Pipeline] lock [2023-05-08T17:29:02.602Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1451-2-stack-cost] [2023-05-08T17:29:02.609Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1451-2-stack-cost] did not exist. Created. [2023-05-08T17:29:02.609Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1451-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-08T17:29:02.917Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-08T17:29:02.954Z] Stashed 1 file(s) [Pipeline] } [2023-05-08T17:29:02.964Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1451-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-08T17:29:02.988Z] $ docker stop --time=1 40da0a34652db4be448e727049bcbe4cb979ad60208a6d428dbc45165c466e13 [2023-05-08T17:29:04.128Z] $ docker rm -f --volumes 40da0a34652db4be448e727049bcbe4cb979ad60208a6d428dbc45165c466e13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-08T17:29:04.232Z] Failed in branch amd64 [2023-05-08T17:29:26.223Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14513 in /w/workspace/gexfoundry_device-sdk-go_PR-1451 [Pipeline] { [Pipeline] ws [2023-05-08T17:29:26.238Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-05-08T17:29:26.282Z] The recommended git tool is: git [2023-05-08T17:29:31.860Z] using credential edgex-jenkins-ssh [2023-05-08T17:29:31.879Z] Cloning the remote Git repository [2023-05-08T17:29:31.930Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-05-08T17:29:32.029Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-05-08T17:29:32.181Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-08T17:29:32.183Z] > git --version # timeout=10 [2023-05-08T17:29:32.201Z] > git --version # 'git version 2.25.1' [2023-05-08T17:29:32.204Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T17:29:32.353Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-08T17:29:36.214Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-08T17:29:36.238Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-08T17:29:37.860Z] Merging remotes/origin/main commit c2fb876fcd1e0284408ad645a921007a1ace85f5 into PR head commit b59395b0709fa704ce533723f4b2417739148ac5 [2023-05-08T17:29:37.122Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-08T17:29:37.175Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-08T17:29:37.176Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T17:29:37.195Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1451/head:refs/remotes/origin/PR-1451 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-08T17:29:37.879Z] > git config core.sparsecheckout # timeout=10 [2023-05-08T17:29:38.201Z] Merge succeeded, producing e3047ea549b81d3106582eed00ee6983e01fb69a [2023-05-08T17:29:38.202Z] Checking out Revision e3047ea549b81d3106582eed00ee6983e01fb69a (PR-1451) [2023-05-08T17:29:37.949Z] > git checkout -f b59395b0709fa704ce533723f4b2417739148ac5 # timeout=10 [2023-05-08T17:29:38.053Z] > git remote # timeout=10 [2023-05-08T17:29:38.073Z] > git config --get remote.origin.url # timeout=10 [2023-05-08T17:29:38.096Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T17:29:38.109Z] > git merge c2fb876fcd1e0284408ad645a921007a1ace85f5 # timeout=10 [2023-05-08T17:29:38.180Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-08T17:29:38.211Z] > git config core.sparsecheckout # timeout=10 [2023-05-08T17:29:38.225Z] > git checkout -f e3047ea549b81d3106582eed00ee6983e01fb69a # timeout=10 [2023-05-08T17:29:41.687Z] Commit message: "Merge commit 'c2fb876fcd1e0284408ad645a921007a1ace85f5' into HEAD" [2023-05-08T17:29:41.714Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T17:29:41.699Z] > git rev-list --no-walk 79d26926faeb9b11702bfe5e9c8e5d85d1043430 # timeout=10 [2023-05-08T17:29:42.851Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-08T17:29:42.851Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T17:29:42.851Z] Dload Upload Total Spent Left Speed [2023-05-08T17:29:42.851Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh [2023-05-08T17:29:43.535Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-08T17:29:43.871Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-08T17:29:43.871Z] + sudo tee /etc/docker/daemon.new [2023-05-08T17:29:43.871Z] { [2023-05-08T17:29:43.871Z] "registry-mirrors": [ [2023-05-08T17:29:43.871Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-08T17:29:43.871Z] ], [2023-05-08T17:29:43.871Z] "bip": "10.250.0.254/24", [2023-05-08T17:29:43.871Z] "hosts": [ [2023-05-08T17:29:43.871Z] "tcp://0.0.0.0:5555", [2023-05-08T17:29:43.871Z] "unix:///var/run/docker.sock" [2023-05-08T17:29:43.871Z] ], [2023-05-08T17:29:43.871Z] "mtu": 1458, [2023-05-08T17:29:43.871Z] "selinux-enabled": true, [2023-05-08T17:29:43.871Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-08T17:29:43.871Z] } [Pipeline] sh [2023-05-08T17:29:44.207Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-08T17:29:44.538Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T17:30:06.690Z] provisioning config files... [2023-05-08T17:30:06.716Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config17298639099338323177tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T17:30:07.070Z] ---> docker-login.sh [2023-05-08T17:30:07.070Z] nexus3.edgexfoundry.org:10001 [2023-05-08T17:30:07.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:30:07.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:30:07.614Z] Configure a credential helper to remove this warning. See [2023-05-08T17:30:07.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:30:07.614Z] [2023-05-08T17:30:07.614Z] Login Succeeded [2023-05-08T17:30:07.614Z] nexus3.edgexfoundry.org:10002 [2023-05-08T17:30:07.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:30:08.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:30:08.146Z] Configure a credential helper to remove this warning. See [2023-05-08T17:30:08.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:30:08.146Z] [2023-05-08T17:30:08.146Z] Login Succeeded [2023-05-08T17:30:08.146Z] nexus3.edgexfoundry.org:10003 [2023-05-08T17:30:08.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:30:08.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:30:08.415Z] Configure a credential helper to remove this warning. See [2023-05-08T17:30:08.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:30:08.415Z] [2023-05-08T17:30:08.415Z] Login Succeeded [2023-05-08T17:30:08.415Z] nexus3.edgexfoundry.org:10004 [2023-05-08T17:30:08.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:30:08.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:30:08.685Z] Configure a credential helper to remove this warning. See [2023-05-08T17:30:08.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:30:08.685Z] [2023-05-08T17:30:08.685Z] Login Succeeded [2023-05-08T17:30:08.685Z] docker.io [2023-05-08T17:30:08.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:30:09.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:30:09.217Z] Configure a credential helper to remove this warning. See [2023-05-08T17:30:09.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:30:09.217Z] [2023-05-08T17:30:09.217Z] Login Succeeded [2023-05-08T17:30:09.217Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T17:30:09.229Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-08T17:30:09.454Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T17:30:09.466Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T17:30:09.476Z] ========================================================= [2023-05-08T17:30:09.476Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-08T17:30:09.476Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:30:09.811Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-08T17:30:10.079Z] Sending build context to Docker daemon 5.967MB [2023-05-08T17:30:10.079Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T17:30:10.079Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-08T17:30:10.347Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-08T17:30:10.347Z] c41833b44d91: Pulling fs layer [2023-05-08T17:30:10.347Z] ed15518f5707: Pulling fs layer [2023-05-08T17:30:10.347Z] feae8fd75edb: Pulling fs layer [2023-05-08T17:30:10.347Z] 242c74f7c9fa: Pulling fs layer [2023-05-08T17:30:10.347Z] 3cdef696dda3: Pulling fs layer [2023-05-08T17:30:10.347Z] 2ced38df9373: Pulling fs layer [2023-05-08T17:30:10.347Z] 58f1dce35555: Pulling fs layer [2023-05-08T17:30:10.347Z] 3cdef696dda3: Waiting [2023-05-08T17:30:10.347Z] 2ced38df9373: Waiting [2023-05-08T17:30:10.347Z] 58f1dce35555: Waiting [2023-05-08T17:30:10.347Z] 242c74f7c9fa: Waiting [2023-05-08T17:30:10.347Z] ed15518f5707: Download complete [2023-05-08T17:30:10.347Z] 242c74f7c9fa: Verifying Checksum [2023-05-08T17:30:10.347Z] 242c74f7c9fa: Download complete [2023-05-08T17:30:10.347Z] 3cdef696dda3: Verifying Checksum [2023-05-08T17:30:10.347Z] 3cdef696dda3: Download complete [2023-05-08T17:30:10.614Z] c41833b44d91: Verifying Checksum [2023-05-08T17:30:11.577Z] c41833b44d91: Pull complete [2023-05-08T17:30:11.847Z] 58f1dce35555: Verifying Checksum [2023-05-08T17:30:11.847Z] 58f1dce35555: Download complete [2023-05-08T17:30:12.115Z] ed15518f5707: Pull complete [2023-05-08T17:30:13.090Z] feae8fd75edb: Verifying Checksum [2023-05-08T17:30:13.090Z] feae8fd75edb: Download complete [2023-05-08T17:30:13.090Z] 2ced38df9373: Download complete [2023-05-08T17:30:25.449Z] feae8fd75edb: Pull complete [2023-05-08T17:30:25.449Z] 242c74f7c9fa: Pull complete [2023-05-08T17:30:25.449Z] 3cdef696dda3: Pull complete [2023-05-08T17:30:30.816Z] 2ced38df9373: Pull complete [2023-05-08T17:30:33.429Z] 58f1dce35555: Pull complete [2023-05-08T17:30:33.429Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-08T17:30:33.429Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-08T17:30:33.429Z] ---> fadd8f120f05 [2023-05-08T17:30:33.429Z] Step 3/10 : ARG MAKE=make build [2023-05-08T17:30:34.844Z] ---> Running in 89a8993dec82 [2023-05-08T17:30:35.112Z] Removing intermediate container 89a8993dec82 [2023-05-08T17:30:35.112Z] ---> 9e3b2fd01100 [2023-05-08T17:30:35.112Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-08T17:30:35.112Z] ---> Running in 3576b1dea587 [2023-05-08T17:30:35.383Z] Removing intermediate container 3576b1dea587 [2023-05-08T17:30:35.383Z] ---> c91fa18c85fd [2023-05-08T17:30:35.383Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-08T17:30:35.651Z] ---> Running in 5b302be506a2 [2023-05-08T17:30:35.922Z] Removing intermediate container 5b302be506a2 [2023-05-08T17:30:35.922Z] ---> d904e8b7d7f0 [2023-05-08T17:30:35.922Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-08T17:30:35.922Z] ---> Running in 333c34d80102 [2023-05-08T17:30:37.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T17:30:37.616Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T17:30:38.579Z] OK: 263 MiB in 53 packages [2023-05-08T17:30:39.547Z] Removing intermediate container 333c34d80102 [2023-05-08T17:30:39.547Z] ---> 9a9e84584434 [2023-05-08T17:30:39.547Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-08T17:30:40.135Z] ---> 258984f829ff [2023-05-08T17:30:40.135Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T17:30:40.135Z] ---> Running in 2522c434e748 [2023-05-08T17:31:48.018Z] Removing intermediate container 2522c434e748 [2023-05-08T17:31:48.018Z] ---> 37974136f2d2 [2023-05-08T17:31:48.018Z] Step 9/10 : COPY . . [2023-05-08T17:31:48.018Z] ---> 201746da2b2a [2023-05-08T17:31:48.018Z] Step 10/10 : RUN ${MAKE} [2023-05-08T17:31:48.018Z] ---> Running in b662f01e5e46 [2023-05-08T17:31:48.018Z] noop [2023-05-08T17:31:48.018Z] Removing intermediate container b662f01e5e46 [2023-05-08T17:31:48.018Z] ---> 673c0ca0be14 [2023-05-08T17:31:48.018Z] Successfully built 673c0ca0be14 [2023-05-08T17:31:48.018Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:31:48.378Z] + docker inspect -f . ci-base-image-arm64 [2023-05-08T17:31:48.378Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T17:31:48.591Z] prd-ubuntu20.04-docker-arm64-4c-16g-14513 does not seem to be running inside a container [2023-05-08T17:31:48.654Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-08T17:31:49.838Z] $ docker top eba631649b6552984a25674240fb3e970d110dedf5e35a6443c71c9fec522be3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T17:31:50.676Z] + go version [2023-05-08T17:31:50.676Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-08T17:31:50.693Z] $ docker stop --time=1 eba631649b6552984a25674240fb3e970d110dedf5e35a6443c71c9fec522be3 [2023-05-08T17:31:52.285Z] $ docker rm -f --volumes eba631649b6552984a25674240fb3e970d110dedf5e35a6443c71c9fec522be3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:31:52.809Z] + docker inspect -f . ci-base-image-arm64 [2023-05-08T17:31:52.809Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T17:31:52.979Z] prd-ubuntu20.04-docker-arm64-4c-16g-14513 does not seem to be running inside a container [2023-05-08T17:31:53.044Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-08T17:31:54.202Z] $ docker top f97dbfce3e43c0ca66294d8b4d35c3a38a3dd5ba9efa335a3d49f86cc2a11983 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T17:31:55.027Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-05-08T17:31:55.357Z] + make test [2023-05-08T17:31:55.628Z] go test -race -coverprofile=coverage.out ./... [2023-05-08T17:32:34.506Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-08T17:34:26.218Z] # github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [2023-05-08T17:34:26.218Z] pkg/startup/bootstrap.go:25:16: service.Run undefined (type "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK has no field or method Run) [2023-05-08T17:34:27.178Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-08T17:34:27.178Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-08T17:34:27.178Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-08T17:34:27.178Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-08T17:34:39.552Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.207s coverage: 27.6% of statements [2023-05-08T17:34:43.822Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.248s coverage: 80.2% of statements [2023-05-08T17:34:56.140Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-08T17:34:56.140Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-08T17:34:56.140Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.335s coverage: 86.0% of statements [2023-05-08T17:35:01.493Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-08T17:35:01.881Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.438s coverage: 77.5% of statements [2023-05-08T17:35:05.434Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-08T17:35:07.460Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-08T17:35:07.460Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-08T17:35:08.868Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.291s coverage: 14.6% of statements [2023-05-08T17:35:08.868Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.423s coverage: 68.5% of statements [2023-05-08T17:35:11.456Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.566s coverage: 89.2% of statements [2023-05-08T17:35:12.871Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.250s coverage: 5.7% of statements [2023-05-08T17:35:12.871Z] FAIL [2023-05-08T17:35:13.472Z] make: *** [Makefile:35: unittest] Error 1 [Pipeline] } [2023-05-08T17:35:13.491Z] $ docker stop --time=1 f97dbfce3e43c0ca66294d8b4d35c3a38a3dd5ba9efa335a3d49f86cc2a11983 [2023-05-08T17:35:15.339Z] $ docker rm -f --volumes f97dbfce3e43c0ca66294d8b4d35c3a38a3dd5ba9efa335a3d49f86cc2a11983 [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-05-08T17:35:16.601Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T17:35:16.601Z] [2023-05-08T17:35:16.601Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:35:16.941Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T17:35:16.941Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-08T17:35:16.941Z] 8998bd30e6a1: Pulling fs layer [2023-05-08T17:35:16.941Z] 04944245beec: Pulling fs layer [2023-05-08T17:35:16.941Z] 699f458cf7ca: Pulling fs layer [2023-05-08T17:35:16.941Z] 765212b225bb: Pulling fs layer [2023-05-08T17:35:16.941Z] f23df028b6ca: Pulling fs layer [2023-05-08T17:35:16.941Z] d65c8cfc05b1: Pulling fs layer [2023-05-08T17:35:16.941Z] 2437ff75d9bd: Pulling fs layer [2023-05-08T17:35:16.941Z] 765212b225bb: Waiting [2023-05-08T17:35:16.941Z] f23df028b6ca: Waiting [2023-05-08T17:35:16.941Z] d65c8cfc05b1: Waiting [2023-05-08T17:35:16.941Z] 2437ff75d9bd: Waiting [2023-05-08T17:35:17.217Z] 04944245beec: Verifying Checksum [2023-05-08T17:35:17.217Z] 04944245beec: Download complete [2023-05-08T17:35:17.217Z] 765212b225bb: Verifying Checksum [2023-05-08T17:35:17.217Z] 765212b225bb: Download complete [2023-05-08T17:35:17.217Z] f23df028b6ca: Download complete [2023-05-08T17:35:17.217Z] d65c8cfc05b1: Verifying Checksum [2023-05-08T17:35:17.217Z] d65c8cfc05b1: Download complete [2023-05-08T17:35:17.489Z] 699f458cf7ca: Verifying Checksum [2023-05-08T17:35:17.489Z] 699f458cf7ca: Download complete [2023-05-08T17:35:17.755Z] 8998bd30e6a1: Verifying Checksum [2023-05-08T17:35:17.755Z] 8998bd30e6a1: Download complete [2023-05-08T17:35:20.352Z] 2437ff75d9bd: Verifying Checksum [2023-05-08T17:35:20.352Z] 2437ff75d9bd: Download complete [2023-05-08T17:35:23.700Z] 8998bd30e6a1: Pull complete [2023-05-08T17:35:23.969Z] 04944245beec: Pull complete [2023-05-08T17:35:25.382Z] 699f458cf7ca: Pull complete [2023-05-08T17:35:25.382Z] 765212b225bb: Pull complete [2023-05-08T17:35:26.344Z] f23df028b6ca: Pull complete [2023-05-08T17:35:26.344Z] d65c8cfc05b1: Pull complete [2023-05-08T17:35:41.364Z] 2437ff75d9bd: Pull complete [2023-05-08T17:35:41.364Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-08T17:35:41.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T17:35:41.364Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T17:35:41.554Z] prd-ubuntu20.04-docker-arm64-4c-16g-14513 does not seem to be running inside a container [2023-05-08T17:35:41.614Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-08T17:35:44.067Z] $ docker top a7c1821c68b2f68187e392f1a67a200fa365a6e730e7aa8bba09b57631324958 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T17:35:44.878Z] ---> job-cost.sh [2023-05-08T17:35:44.878Z] lf-activate-venv: SKIPPING [2023-05-08T17:35:44.878Z] INFO: No Stack... [2023-05-08T17:35:45.145Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-08T17:35:46.098Z] INFO: Archiving Costs [Pipeline] sh [2023-05-08T17:35:46.442Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-05-08T17:35:46.442Z] + cut -d, -f6 [Pipeline] lock [2023-05-08T17:35:46.500Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1451-2-stack-cost] [2023-05-08T17:35:46.532Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1451-2-stack-cost] did not exist. Created. [2023-05-08T17:35:46.532Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1451-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-08T17:35:46.872Z] /w/workspace/device-sdk-go/2@tmp/durable-5dca0e6d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-08T17:35:47.201Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-08T17:35:47.221Z] Warning: overwriting stash ‘stack-cost’ [2023-05-08T17:35:47.592Z] Stashed 1 file(s) [Pipeline] } [2023-05-08T17:35:47.600Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1451-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-08T17:35:47.616Z] $ docker stop --time=1 a7c1821c68b2f68187e392f1a67a200fa365a6e730e7aa8bba09b57631324958 [2023-05-08T17:35:50.515Z] $ docker rm -f --volumes a7c1821c68b2f68187e392f1a67a200fa365a6e730e7aa8bba09b57631324958 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-08T17:35:50.776Z] 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-05-08T17:35:51.526Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives ] [2023-05-08T17:35:51.526Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives [2023-05-08T17:35:51.526Z] total 16 [2023-05-08T17:35:51.526Z] drwxr-xr-x 3 root root 4096 May 8 17:29 . [2023-05-08T17:35:51.526Z] drwxrwxr-x 12 jenkins jenkins 4096 May 8 17:29 .. [2023-05-08T17:35:51.526Z] drwxr-xr-x 2 root root 4096 May 8 17:29 cost [2023-05-08T17:35:51.526Z] -rw-r--r-- 1 root root 86 May 8 17:29 cost.csv [2023-05-08T17:35:51.526Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives [2023-05-08T17:35:51.526Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives [2023-05-08T17:35:51.526Z] total 16 [2023-05-08T17:35:51.526Z] drwxr-xr-x 3 jenkins jenkins 4096 May 8 17:29 . [2023-05-08T17:35:51.526Z] drwxrwxr-x 12 jenkins jenkins 4096 May 8 17:29 .. [2023-05-08T17:35:51.526Z] drwxr-xr-x 2 jenkins jenkins 4096 May 8 17:29 cost [2023-05-08T17:35:51.526Z] -rw-r--r-- 1 jenkins jenkins 86 May 8 17:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-08T17:35:51.862Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T17:35:52.789Z] ---> package-listing.sh [2023-05-08T17:35:52.789Z] ++ facter osfamily [2023-05-08T17:35:52.789Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-08T17:35:52.789Z] + OS_FAMILY=debian [2023-05-08T17:35:52.789Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1451 [2023-05-08T17:35:52.789Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-08T17:35:52.789Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-08T17:35:52.789Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-08T17:35:52.789Z] + PACKAGES=/tmp/packages_start.txt [2023-05-08T17:35:52.789Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1451 ']' [2023-05-08T17:35:52.789Z] + PACKAGES=/tmp/packages_end.txt [2023-05-08T17:35:52.789Z] + case "${OS_FAMILY}" in [2023-05-08T17:35:52.789Z] + dpkg -l [2023-05-08T17:35:52.789Z] + grep '^ii' [2023-05-08T17:35:52.789Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-08T17:35:52.789Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-08T17:35:52.789Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-08T17:35:52.789Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1451 ']' [2023-05-08T17:35:52.789Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives/ [2023-05-08T17:35:52.789Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives/ [Pipeline] echo [2023-05-08T17:35:52.826Z] 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-1451/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-08T17:35:53.104Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:35:53.664Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T17:35:53.664Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T17:35:53.737Z] prd-ubuntu20.04-docker-8c-8g-14512 does not seem to be running inside a container [2023-05-08T17:35:53.776Z] $ 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-1451/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-1451 -v /w/workspace/gexfoundry_device-sdk-go_PR-1451:/w/workspace/gexfoundry_device-sdk-go_PR-1451:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-08T17:35:53.965Z] $ docker top 7ecadbf73a17f09c5486789122ab3baee2b3a2c2973d618fe3ebfb2a3b39d833 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T17:35:54.300Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-08T17:35:54.584Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-08T17:35:54.863Z] + ls /var/log/sa-host [2023-05-08T17:35:54.863Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T17:35:55.038Z] provisioning config files... [2023-05-08T17:35:55.045Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/config7754645086426842913tmp [Pipeline] { [Pipeline] echo [2023-05-08T17:35:55.057Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T17:35:55.340Z] ---> create-netrc.sh [Pipeline] } [2023-05-08T17:35:55.347Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-08T17:35:55.708Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-08T17:35:55.714Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T17:35:55.999Z] ---> sudo-logs.sh [2023-05-08T17:35:55.999Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-08T17:35:56.021Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T17:35:56.312Z] ---> job-cost.sh [2023-05-08T17:35:56.312Z] lf-activate-venv: SKIPPING [2023-05-08T17:35:56.312Z] DEBUG: total: 0.2199999988079071 [2023-05-08T17:35:56.312Z] INFO: Retrieving Stack Cost... [2023-05-08T17:35:56.573Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-08T17:35:57.141Z] INFO: Archiving Costs [Pipeline] echo [2023-05-08T17:35:57.151Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T17:35:57.434Z] ---> logs-deploy.sh [2023-05-08T17:35:57.435Z] lf-activate-venv: SKIPPING [2023-05-08T17:35:57.435Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1451/2 [2023-05-08T17:35:57.435Z] INFO: archiving workspace using pattern(s): [2023-05-08T17:35:58.371Z] Archives upload complete. [2023-05-08T17:35:58.371Z] INFO: archiving logs to Nexus