Pull request #252 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0937508ea80633282a6a09db3809f46657c728a6+7f746f51e1ef244c01c4206344cb741c614a79d6 (ce98921b2f67597b8ff93bd679ee20647cfbd763) 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-ssh2949520964254511408.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8235293930907916340.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-252/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-rest-go/branches/PR-252/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12922167885160629694.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4337247050454794188.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-rest-go/branches/PR-252/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-rest-go/branches/PR-252/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14758351644355925065.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-rest-go] ========================================================= [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-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-5385’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-6115’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-6167’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6168’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6173’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-6170’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-6171’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6178 in /w/workspace/gexfoundry_device-rest-go_PR-252 [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-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-252 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Merging remotes/origin/main commit 7f746f51e1ef244c01c4206344cb741c614a79d6 into PR head commit 0937508ea80633282a6a09db3809f46657c728a6 Merge succeeded, producing 0937508ea80633282a6a09db3809f46657c728a6 Checking out Revision 0937508ea80633282a6a09db3809f46657c728a6 (PR-252) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/252/head:refs/remotes/origin/PR-252 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0937508ea80633282a6a09db3809f46657c728a6 # 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 7f746f51e1ef244c01c4206344cb741c614a79d6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0937508ea80633282a6a09db3809f46657c728a6 # timeout=10 > git rev-list --no-walk 0e2c797ab16015500a912b345b179ce5b22bdaf3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-15T18:41:55.022Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-15T18:41:55.083Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-15T18:41:55.103Z] ========================================================= [2023-02-15T18:41:55.103Z] EdgeX Global Pipelines Version Info [2023-02-15T18:41:55.103Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:41:55.807Z] ------------------- [2023-02-15T18:41:55.807Z] stable info: [2023-02-15T18:41:55.807Z] ------------------- [2023-02-15T18:41:55.807Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-15T18:41:55.807Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T18:41:55.807Z] Message: update stable to v1.0.244 [2023-02-15T18:41:56.375Z] ------------------- [2023-02-15T18:41:56.375Z] experimental info: [2023-02-15T18:41:56.375Z] ------------------- [2023-02-15T18:41:56.375Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-15T18:41:56.375Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T18:41:56.375Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-15T18:41:56.523Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-02-15T18:41:56.536Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-02-15T18:41:56.546Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-15T18:41:56.560Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-15T18:41:56.572Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-15T18:41:56.584Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-15T18:41:56.600Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-15T18:41:56.619Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-15T18:41:56.638Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-15T18:41:56.656Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-15T18:41:56.668Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-15T18:41:56.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-02-15T18:41:56.691Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-15T18:41:56.703Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-15T18:41:56.714Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T18:41:56.724Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T18:41:56.736Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T18:41:56.747Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T18:41:56.758Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-15T18:41:56.768Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-15T18:41:56.780Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-15T18:41:56.793Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-15T18:41:56.804Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-15T18:41:56.814Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-15T18:41:56.827Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-15T18:41:56.840Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-15T18:41:56.855Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-15T18:41:56.869Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-252 [Pipeline] echo [2023-02-15T18:41:56.881Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-252 [Pipeline] echo [2023-02-15T18:41:56.894Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-252 [Pipeline] echo [2023-02-15T18:41:56.905Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0937508ea80633282a6a09db3809f46657c728a6 [Pipeline] echo [2023-02-15T18:41:56.916Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0937508 [Pipeline] echo [2023-02-15T18:41:56.928Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T18:41:56.965Z] provisioning config files... [2023-02-15T18:41:56.987Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-252@tmp/config9082561221331383651tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:41:57.292Z] ---> docker-login.sh [2023-02-15T18:41:57.292Z] nexus3.edgexfoundry.org:10001 [2023-02-15T18:41:57.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:41:57.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:41:57.549Z] Configure a credential helper to remove this warning. See [2023-02-15T18:41:57.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:41:57.549Z] [2023-02-15T18:41:57.549Z] Login Succeeded [2023-02-15T18:41:57.549Z] nexus3.edgexfoundry.org:10002 [2023-02-15T18:41:57.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:41:57.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:41:57.550Z] Configure a credential helper to remove this warning. See [2023-02-15T18:41:57.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:41:57.550Z] [2023-02-15T18:41:57.550Z] Login Succeeded [2023-02-15T18:41:57.550Z] nexus3.edgexfoundry.org:10003 [2023-02-15T18:41:57.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:41:57.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:41:57.809Z] Configure a credential helper to remove this warning. See [2023-02-15T18:41:57.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:41:57.809Z] [2023-02-15T18:41:57.809Z] Login Succeeded [2023-02-15T18:41:57.809Z] nexus3.edgexfoundry.org:10004 [2023-02-15T18:41:57.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:41:57.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:41:57.809Z] Configure a credential helper to remove this warning. See [2023-02-15T18:41:57.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:41:57.809Z] [2023-02-15T18:41:57.809Z] Login Succeeded [2023-02-15T18:41:57.809Z] docker.io [2023-02-15T18:41:58.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:41:58.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:41:58.068Z] Configure a credential helper to remove this warning. See [2023-02-15T18:41:58.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:41:58.068Z] [2023-02-15T18:41:58.068Z] Login Succeeded [2023-02-15T18:41:58.068Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T18:41:58.075Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-15T18:41:58.445Z] + git rev-list -1 --merges 0937508ea80633282a6a09db3809f46657c728a6~1..0937508ea80633282a6a09db3809f46657c728a6 [Pipeline] echo [2023-02-15T18:41:58.498Z] -----------> git rev-list -1 --merges 0937508ea80633282a6a09db3809f46657c728a6~1..0937508ea80633282a6a09db3809f46657c728a6 0937508ea80633282a6a09db3809f46657c728a6 [false] [Pipeline] sh [2023-02-15T18:41:58.800Z] + git log --format=format:%s -1 0937508ea80633282a6a09db3809f46657c728a6 [Pipeline] echo [2023-02-15T18:41:58.814Z] ========================================================= [2023-02-15T18:41:58.814Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-15T18:41:58.814Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T18:41:59.127Z] + git log --format=format:%s -1 0937508ea80633282a6a09db3809f46657c728a6 [Pipeline] echo [2023-02-15T18:41:59.139Z] [semverPrep] GIT_COMMIT: 0937508ea80633282a6a09db3809f46657c728a6, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-02-15T18:41:59.148Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-15T18:41:59.489Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T18:41:59.489Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-15T18:41:59.489Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-15T18:41:59.489Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-15T18:41:59.489Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-15T18:41:59.489Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-15T18:41:59.489Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:41:59.838Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T18:41:59.838Z] [2023-02-15T18:41:59.838Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:42:00.138Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T18:42:00.138Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-15T18:42:00.138Z] b85a868b505f: Pulling fs layer [2023-02-15T18:42:00.138Z] e2be974225ed: Pulling fs layer [2023-02-15T18:42:00.138Z] 339a4e72a1f5: Pulling fs layer [2023-02-15T18:42:00.138Z] 988bab9f4d93: Pulling fs layer [2023-02-15T18:42:00.138Z] 1469e6f7b9e6: Pulling fs layer [2023-02-15T18:42:00.138Z] eaf3925da568: Pulling fs layer [2023-02-15T18:42:00.138Z] bab4dde63d76: Pulling fs layer [2023-02-15T18:42:00.138Z] bde34c3a00c8: Pulling fs layer [2023-02-15T18:42:00.138Z] b352a97aabf1: Pulling fs layer [2023-02-15T18:42:00.138Z] 4872d77fe225: Pulling fs layer [2023-02-15T18:42:00.138Z] 5851b861e8e6: Pulling fs layer [2023-02-15T18:42:00.138Z] bab4dde63d76: Waiting [2023-02-15T18:42:00.138Z] b352a97aabf1: Waiting [2023-02-15T18:42:00.138Z] 1469e6f7b9e6: Waiting [2023-02-15T18:42:00.138Z] 4872d77fe225: Waiting [2023-02-15T18:42:00.138Z] eaf3925da568: Waiting [2023-02-15T18:42:00.138Z] e2be974225ed: Verifying Checksum [2023-02-15T18:42:00.138Z] e2be974225ed: Download complete [2023-02-15T18:42:00.138Z] 988bab9f4d93: Verifying Checksum [2023-02-15T18:42:00.138Z] 988bab9f4d93: Download complete [2023-02-15T18:42:00.399Z] 1469e6f7b9e6: Verifying Checksum [2023-02-15T18:42:00.400Z] 1469e6f7b9e6: Download complete [2023-02-15T18:42:00.400Z] 339a4e72a1f5: Verifying Checksum [2023-02-15T18:42:00.400Z] 339a4e72a1f5: Download complete [2023-02-15T18:42:00.400Z] eaf3925da568: Verifying Checksum [2023-02-15T18:42:00.400Z] eaf3925da568: Download complete [2023-02-15T18:42:00.400Z] bde34c3a00c8: Verifying Checksum [2023-02-15T18:42:00.400Z] bde34c3a00c8: Download complete [2023-02-15T18:42:00.400Z] b352a97aabf1: Verifying Checksum [2023-02-15T18:42:00.400Z] b352a97aabf1: Download complete [2023-02-15T18:42:00.659Z] 4872d77fe225: Download complete [2023-02-15T18:42:00.659Z] 5851b861e8e6: Verifying Checksum [2023-02-15T18:42:00.659Z] 5851b861e8e6: Download complete [2023-02-15T18:42:00.659Z] b85a868b505f: Verifying Checksum [2023-02-15T18:42:00.659Z] b85a868b505f: Download complete [2023-02-15T18:42:00.916Z] bab4dde63d76: Verifying Checksum [2023-02-15T18:42:00.916Z] bab4dde63d76: Download complete [2023-02-15T18:42:01.854Z] b85a868b505f: Pull complete [2023-02-15T18:42:01.854Z] e2be974225ed: Pull complete [2023-02-15T18:42:02.421Z] 339a4e72a1f5: Pull complete [2023-02-15T18:42:02.421Z] 988bab9f4d93: Pull complete [2023-02-15T18:42:02.678Z] 1469e6f7b9e6: Pull complete [2023-02-15T18:42:02.678Z] eaf3925da568: Pull complete [2023-02-15T18:42:04.578Z] bab4dde63d76: Pull complete [2023-02-15T18:42:04.578Z] bde34c3a00c8: Pull complete [2023-02-15T18:42:04.578Z] b352a97aabf1: Pull complete [2023-02-15T18:42:04.578Z] 4872d77fe225: Pull complete [2023-02-15T18:42:04.578Z] 5851b861e8e6: Pull complete [2023-02-15T18:42:04.578Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-15T18:42:04.578Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T18:42:04.578Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:42:04.655Z] prd-ubuntu20.04-docker-8c-8g-6178 does not seem to be running inside a container [2023-02-15T18:42:04.669Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-252 -v /w/workspace/gexfoundry_device-rest-go_PR-252:/w/workspace/gexfoundry_device-rest-go_PR-252:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-252@tmp:/w/workspace/gexfoundry_device-rest-go_PR-252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-15T18:42:07.005Z] $ docker top fdba2186db5b05978e0c50d3cc2b02d7824c777998bfe033bf20311611c3d3ec -eo pid,comm [2023-02-15T18:42:07.071Z] 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-02-15T18:42:07.071Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T18:42:07.110Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T18:42:07.110Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T18:42:07.220Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T18:42:07.211Z] $ docker exec fdba2186db5b05978e0c50d3cc2b02d7824c777998bfe033bf20311611c3d3ec ssh-agent [2023-02-15T18:42:07.314Z] SSH_AUTH_SOCK=/tmp/ssh-WMUYkYNE8epI/agent.33 [2023-02-15T18:42:07.314Z] SSH_AGENT_PID=38 [2023-02-15T18:42:07.319Z] Running ssh-add (command line suppressed) [2023-02-15T18:42:07.408Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-252@tmp/private_key_8943216851309041003.key (/w/workspace/gexfoundry_device-rest-go_PR-252@tmp/private_key_8943216851309041003.key) [2023-02-15T18:42:07.435Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T18:42:07.729Z] + git tag --points-at HEAD [Pipeline] } [2023-02-15T18:42:07.736Z] $ docker exec --env ******** --env ******** fdba2186db5b05978e0c50d3cc2b02d7824c777998bfe033bf20311611c3d3ec ssh-agent -k [2023-02-15T18:42:07.836Z] unset SSH_AUTH_SOCK; [2023-02-15T18:42:07.837Z] unset SSH_AGENT_PID; [2023-02-15T18:42:07.837Z] echo Agent pid 38 killed; [2023-02-15T18:42:07.857Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-15T18:42:07.883Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T18:42:07.883Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T18:42:08.004Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T18:42:07.995Z] $ docker exec fdba2186db5b05978e0c50d3cc2b02d7824c777998bfe033bf20311611c3d3ec ssh-agent [2023-02-15T18:42:08.116Z] SSH_AUTH_SOCK=/tmp/ssh-lUklanR3bSCt/agent.72 [2023-02-15T18:42:08.116Z] SSH_AGENT_PID=78 [2023-02-15T18:42:08.121Z] Running ssh-add (command line suppressed) [2023-02-15T18:42:08.204Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-252@tmp/private_key_6275342401788577019.key (/w/workspace/gexfoundry_device-rest-go_PR-252@tmp/private_key_6275342401788577019.key) [2023-02-15T18:42:08.229Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T18:42:08.514Z] + git semver init [2023-02-15T18:42:08.783Z] 2023-02-15 18:42:08,663 [run_init] DEBUG init version:0.0.0 force:False [2023-02-15T18:42:08.784Z] 2023-02-15 18:42:08,664 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-252/.semver [2023-02-15T18:42:08.784Z] 2023-02-15 18:42:08,664 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-252/.semver [2023-02-15T18:42:08.784Z] 2023-02-15 18:42:08,665 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-252/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-252, universal_newlines=False, shell=None, istream=None) [2023-02-15T18:42:10.157Z] 2023-02-15 18:42:09,792 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-252/.git/info/exclude [2023-02-15T18:42:10.157Z] 2023-02-15 18:42:09,793 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-252/.semver/PR-252 with force:False [2023-02-15T18:42:10.157Z] 2023-02-15 18:42:09,793 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-252/.semver/PR-252 [2023-02-15T18:42:10.157Z] 2023-02-15 18:42:09,796 [execute] INFO git cat-file --batch-check [2023-02-15T18:42:10.157Z] 2023-02-15 18:42:09,797 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-252/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T18:42:10.157Z] 2023-02-15 18:42:09,802 [execute] INFO git cat-file --batch [2023-02-15T18:42:10.157Z] 2023-02-15 18:42:09,802 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-252/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T18:42:10.157Z] 2023-02-15 18:42:09,807 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-252/.semver/PR-252 [2023-02-15T18:42:10.157Z] 0.0.0 [Pipeline] } [2023-02-15T18:42:10.157Z] $ docker exec --env ******** --env ******** fdba2186db5b05978e0c50d3cc2b02d7824c777998bfe033bf20311611c3d3ec ssh-agent -k [2023-02-15T18:42:10.262Z] unset SSH_AUTH_SOCK; [2023-02-15T18:42:10.262Z] unset SSH_AGENT_PID; [2023-02-15T18:42:10.262Z] echo Agent pid 78 killed; [2023-02-15T18:42:10.281Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T18:42:10.585Z] + git semver [Pipeline] } [2023-02-15T18:42:10.847Z] $ docker stop --time=1 fdba2186db5b05978e0c50d3cc2b02d7824c777998bfe033bf20311611c3d3ec [2023-02-15T18:42:12.130Z] $ docker rm -f --volumes fdba2186db5b05978e0c50d3cc2b02d7824c777998bfe033bf20311611c3d3ec [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T18:42:12.473Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-15T18:42:12.678Z] Stashed 1 file(s) [Pipeline] echo [2023-02-15T18:42:12.682Z] [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-02-15T18:42:12.798Z] provisioning config files... [2023-02-15T18:42:12.807Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-252@tmp/config487282288606427019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:42:13.102Z] ---> docker-login.sh [2023-02-15T18:42:13.102Z] nexus3.edgexfoundry.org:10001 [2023-02-15T18:42:13.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:42:13.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:42:13.102Z] Configure a credential helper to remove this warning. See [2023-02-15T18:42:13.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:42:13.102Z] [2023-02-15T18:42:13.102Z] Login Succeeded [2023-02-15T18:42:13.102Z] nexus3.edgexfoundry.org:10002 [2023-02-15T18:42:13.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:42:13.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:42:13.102Z] Configure a credential helper to remove this warning. See [2023-02-15T18:42:13.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:42:13.102Z] [2023-02-15T18:42:13.102Z] Login Succeeded [2023-02-15T18:42:13.102Z] nexus3.edgexfoundry.org:10003 [2023-02-15T18:42:13.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:42:13.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:42:13.620Z] Configure a credential helper to remove this warning. See [2023-02-15T18:42:13.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:42:13.620Z] [2023-02-15T18:42:13.620Z] Login Succeeded [2023-02-15T18:42:13.620Z] nexus3.edgexfoundry.org:10004 [2023-02-15T18:42:13.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:42:13.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:42:13.620Z] Configure a credential helper to remove this warning. See [2023-02-15T18:42:13.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:42:13.620Z] [2023-02-15T18:42:13.620Z] Login Succeeded [2023-02-15T18:42:13.620Z] docker.io [2023-02-15T18:42:13.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:42:14.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:42:14.565Z] Configure a credential helper to remove this warning. See [2023-02-15T18:42:14.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:42:14.565Z] [2023-02-15T18:42:14.565Z] Login Succeeded [2023-02-15T18:42:14.565Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T18:42:14.571Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T18:42:14.628Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:42:14.643Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:42:14.653Z] ========================================================= [2023-02-15T18:42:14.653Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-15T18:42:14.653Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:42:14.974Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T18:42:14.974Z] Sending build context to Docker daemon 10.82MB [2023-02-15T18:42:14.974Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T18:42:14.974Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-15T18:42:14.974Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-15T18:42:14.974Z] 213ec9aee27d: Pulling fs layer [2023-02-15T18:42:14.974Z] 4583459ba037: Pulling fs layer [2023-02-15T18:42:14.974Z] 93c1e223e6f2: Pulling fs layer [2023-02-15T18:42:14.974Z] 53926ce57604: Pulling fs layer [2023-02-15T18:42:14.974Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-15T18:42:14.974Z] 22ff95d597cd: Pulling fs layer [2023-02-15T18:42:14.974Z] 12d6caf4c0d1: Pulling fs layer [2023-02-15T18:42:14.974Z] 96b7cbca73a9: Pulling fs layer [2023-02-15T18:42:14.974Z] a7acece74701: Pulling fs layer [2023-02-15T18:42:14.974Z] 21b2b0c7a3f4: Waiting [2023-02-15T18:42:14.974Z] 22ff95d597cd: Waiting [2023-02-15T18:42:14.974Z] 12d6caf4c0d1: Waiting [2023-02-15T18:42:14.974Z] 96b7cbca73a9: Waiting [2023-02-15T18:42:14.974Z] a7acece74701: Waiting [2023-02-15T18:42:14.974Z] 53926ce57604: Waiting [2023-02-15T18:42:14.974Z] 93c1e223e6f2: Verifying Checksum [2023-02-15T18:42:14.974Z] 93c1e223e6f2: Download complete [2023-02-15T18:42:14.974Z] 4583459ba037: Verifying Checksum [2023-02-15T18:42:14.974Z] 4583459ba037: Download complete [2023-02-15T18:42:14.974Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-15T18:42:14.974Z] 21b2b0c7a3f4: Download complete [2023-02-15T18:42:15.237Z] 22ff95d597cd: Verifying Checksum [2023-02-15T18:42:15.237Z] 22ff95d597cd: Download complete [2023-02-15T18:42:15.237Z] 213ec9aee27d: Verifying Checksum [2023-02-15T18:42:15.237Z] 213ec9aee27d: Download complete [2023-02-15T18:42:15.237Z] 12d6caf4c0d1: Download complete [2023-02-15T18:42:15.237Z] 213ec9aee27d: Pull complete [2023-02-15T18:42:15.505Z] 4583459ba037: Pull complete [2023-02-15T18:42:15.505Z] 93c1e223e6f2: Pull complete [2023-02-15T18:42:16.123Z] a7acece74701: Verifying Checksum [2023-02-15T18:42:16.123Z] a7acece74701: Download complete [2023-02-15T18:42:16.384Z] 53926ce57604: Verifying Checksum [2023-02-15T18:42:16.384Z] 53926ce57604: Download complete [2023-02-15T18:42:16.384Z] 96b7cbca73a9: Download complete [2023-02-15T18:42:19.673Z] 53926ce57604: Pull complete [2023-02-15T18:42:19.673Z] 21b2b0c7a3f4: Pull complete [2023-02-15T18:42:19.936Z] 22ff95d597cd: Pull complete [2023-02-15T18:42:19.936Z] 12d6caf4c0d1: Pull complete [2023-02-15T18:42:21.833Z] 96b7cbca73a9: Pull complete [2023-02-15T18:42:22.397Z] a7acece74701: Pull complete [2023-02-15T18:42:22.397Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-15T18:42:22.397Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-15T18:42:22.397Z] ---> db6d94c90886 [2023-02-15T18:42:22.397Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-15T18:42:25.684Z] ---> Running in 3245713da3ca [2023-02-15T18:42:25.684Z] Removing intermediate container 3245713da3ca [2023-02-15T18:42:25.684Z] ---> 39362a187fb2 [2023-02-15T18:42:25.684Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T18:42:25.684Z] ---> Running in 87eaf391a174 [2023-02-15T18:42:26.008Z] Removing intermediate container 87eaf391a174 [2023-02-15T18:42:26.008Z] ---> 38ea675120ec [2023-02-15T18:42:26.008Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T18:42:26.008Z] ---> Running in 5e59588f7eea [2023-02-15T18:42:26.008Z] Removing intermediate container 5e59588f7eea [2023-02-15T18:42:26.008Z] ---> bcd971bf10da [2023-02-15T18:42:26.008Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T18:42:26.008Z] ---> Running in 25f1938f65b1 [2023-02-15T18:42:26.008Z] Removing intermediate container 25f1938f65b1 [2023-02-15T18:42:26.008Z] ---> 942bb50d425b [2023-02-15T18:42:26.008Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T18:42:26.008Z] ---> Running in b8ddc64ee8b5 [2023-02-15T18:42:26.266Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T18:42:26.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T18:42:26.783Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-15T18:42:26.784Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-15T18:42:26.784Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-15T18:42:26.784Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-15T18:42:26.784Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T18:42:26.784Z] OK: 216 MiB in 55 packages [2023-02-15T18:42:27.350Z] Removing intermediate container b8ddc64ee8b5 [2023-02-15T18:42:27.350Z] ---> ae875ceed23e [2023-02-15T18:42:27.350Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-15T18:42:27.350Z] ---> Running in 49908005e749 [2023-02-15T18:42:27.350Z] Removing intermediate container 49908005e749 [2023-02-15T18:42:27.350Z] ---> 757b71705104 [2023-02-15T18:42:27.350Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-15T18:42:27.350Z] ---> 8d629e272805 [2023-02-15T18:42:27.350Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T18:42:27.350Z] ---> Running in 5f275173d752 [2023-02-15T18:42:27.768Z] Still waiting to schedule task [2023-02-15T18:42:27.769Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6177’ is offline [2023-02-15T18:42:59.479Z] Removing intermediate container 5f275173d752 [2023-02-15T18:42:59.479Z] ---> 12747d740613 [2023-02-15T18:42:59.479Z] Step 11/12 : COPY . . [2023-02-15T18:42:59.737Z] ---> c0fa912c759f [2023-02-15T18:42:59.737Z] Step 12/12 : RUN $MAKE [2023-02-15T18:42:59.995Z] ---> Running in 1a16bc7cd31e [2023-02-15T18:43:00.254Z] noop [2023-02-15T18:43:00.512Z] Removing intermediate container 1a16bc7cd31e [2023-02-15T18:43:00.512Z] ---> ba0a91977117 [2023-02-15T18:43:00.512Z] Successfully built ba0a91977117 [2023-02-15T18:43:00.512Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:43:00.816Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T18:43:00.816Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:43:00.887Z] prd-ubuntu20.04-docker-8c-8g-6178 does not seem to be running inside a container [2023-02-15T18:43:00.926Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-252 -v /w/workspace/gexfoundry_device-rest-go_PR-252:/w/workspace/gexfoundry_device-rest-go_PR-252:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-252@tmp:/w/workspace/gexfoundry_device-rest-go_PR-252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-15T18:43:01.260Z] $ docker top de997c535a2242d8a3c99a85b6431b804f0d906cf44e491d25492c616236d612 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:43:01.595Z] + go version [2023-02-15T18:43:01.595Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-15T18:43:01.611Z] $ docker stop --time=1 de997c535a2242d8a3c99a85b6431b804f0d906cf44e491d25492c616236d612 [2023-02-15T18:43:02.860Z] $ docker rm -f --volumes de997c535a2242d8a3c99a85b6431b804f0d906cf44e491d25492c616236d612 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:43:03.226Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T18:43:03.227Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:43:03.301Z] prd-ubuntu20.04-docker-8c-8g-6178 does not seem to be running inside a container [2023-02-15T18:43:03.339Z] $ 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-rest-go_PR-252 -v /w/workspace/gexfoundry_device-rest-go_PR-252:/w/workspace/gexfoundry_device-rest-go_PR-252:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-252@tmp:/w/workspace/gexfoundry_device-rest-go_PR-252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-15T18:43:03.639Z] $ docker top 2935a78a0e0605fb8bea538db42a5261f2045e55f4fb2a799c296a3c40cee827 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:43:03.983Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-252 [Pipeline] fileExists [Pipeline] sh [2023-02-15T18:43:04.295Z] + make test [2023-02-15T18:43:04.295Z] go test ./... -coverprofile=coverage.out ./... [2023-02-15T18:43:04.553Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-15T18:43:12.660Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-02-15T18:43:12.661Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.28/internal/controller/http/common.go:97:36: request.Path undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common".SecretRequest has no field or method Path) [2023-02-15T18:43:12.661Z] FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] [2023-02-15T18:43:12.661Z] make: *** [Makefile:29: unittest] Error 2 [Pipeline] } [2023-02-15T18:43:12.678Z] $ docker stop --time=1 2935a78a0e0605fb8bea538db42a5261f2045e55f4fb2a799c296a3c40cee827 [2023-02-15T18:43:14.793Z] $ docker rm -f --volumes 2935a78a0e0605fb8bea538db42a5261f2045e55f4fb2a799c296a3c40cee827 [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-02-15T18:43:15.309Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T18:43:15.310Z] [2023-02-15T18:43:15.310Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:43:15.607Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T18:43:15.607Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-15T18:43:15.607Z] 5eb5b503b376: Pulling fs layer [2023-02-15T18:43:15.607Z] 5c69ac0246d0: Pulling fs layer [2023-02-15T18:43:15.607Z] ec43610c2a17: Pulling fs layer [2023-02-15T18:43:15.607Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-15T18:43:15.607Z] 33b1e0a273af: Pulling fs layer [2023-02-15T18:43:15.607Z] 5d3b04190fa2: Pulling fs layer [2023-02-15T18:43:15.607Z] 2f39f015ded8: Pulling fs layer [2023-02-15T18:43:15.607Z] 33b1e0a273af: Waiting [2023-02-15T18:43:15.607Z] 5d3b04190fa2: Waiting [2023-02-15T18:43:15.607Z] 2f39f015ded8: Waiting [2023-02-15T18:43:15.607Z] 3a2ae6a8a46f: Waiting [2023-02-15T18:43:15.607Z] 5c69ac0246d0: Download complete [2023-02-15T18:43:15.607Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-15T18:43:15.607Z] 3a2ae6a8a46f: Download complete [2023-02-15T18:43:15.871Z] 33b1e0a273af: Verifying Checksum [2023-02-15T18:43:15.871Z] 33b1e0a273af: Download complete [2023-02-15T18:43:15.871Z] 5d3b04190fa2: Verifying Checksum [2023-02-15T18:43:15.871Z] 5d3b04190fa2: Download complete [2023-02-15T18:43:15.871Z] ec43610c2a17: Verifying Checksum [2023-02-15T18:43:15.871Z] ec43610c2a17: Download complete [2023-02-15T18:43:16.136Z] 5eb5b503b376: Verifying Checksum [2023-02-15T18:43:16.136Z] 5eb5b503b376: Download complete [2023-02-15T18:43:16.702Z] 2f39f015ded8: Download complete [2023-02-15T18:43:17.267Z] 5eb5b503b376: Pull complete [2023-02-15T18:43:17.267Z] 5c69ac0246d0: Pull complete [2023-02-15T18:43:17.833Z] ec43610c2a17: Pull complete [2023-02-15T18:43:17.833Z] 3a2ae6a8a46f: Pull complete [2023-02-15T18:43:18.184Z] 33b1e0a273af: Pull complete [2023-02-15T18:43:18.184Z] 5d3b04190fa2: Pull complete [2023-02-15T18:43:22.438Z] 2f39f015ded8: Pull complete [2023-02-15T18:43:22.438Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-15T18:43:22.438Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T18:43:22.438Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:43:22.518Z] prd-ubuntu20.04-docker-8c-8g-6178 does not seem to be running inside a container [2023-02-15T18:43:22.553Z] $ 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-rest-go_PR-252 -v /w/workspace/gexfoundry_device-rest-go_PR-252:/w/workspace/gexfoundry_device-rest-go_PR-252:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-252@tmp:/w/workspace/gexfoundry_device-rest-go_PR-252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T18:43:25.408Z] $ docker top df1eb15d552447b7e240e8b8d129f393423ffe475d1751c3cc5c5443c2cf332a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:43:25.763Z] ---> job-cost.sh [2023-02-15T18:43:25.763Z] lf-activate-venv: SKIPPING [2023-02-15T18:43:25.763Z] INFO: No Stack... [2023-02-15T18:43:26.698Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T18:43:26.956Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T18:43:27.246Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-252/archives/cost.csv [2023-02-15T18:43:27.246Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T18:43:27.260Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-252-2-stack-cost] [2023-02-15T18:43:27.272Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-252-2-stack-cost] did not exist. Created. [2023-02-15T18:43:27.272Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-252-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T18:43:27.579Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-15T18:43:27.615Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T18:43:27.624Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-252-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T18:43:27.647Z] $ docker stop --time=1 df1eb15d552447b7e240e8b8d129f393423ffe475d1751c3cc5c5443c2cf332a [2023-02-15T18:43:28.793Z] $ docker rm -f --volumes df1eb15d552447b7e240e8b8d129f393423ffe475d1751c3cc5c5443c2cf332a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-15T18:43:28.873Z] Failed in branch amd64 [2023-02-15T18:45:09.192Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6187 in /w/workspace/gexfoundry_device-rest-go_PR-252 [Pipeline] { [Pipeline] ws [2023-02-15T18:45:09.205Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2023-02-15T18:45:09.244Z] The recommended git tool is: git [2023-02-15T18:45:16.740Z] using credential edgex-jenkins-ssh [2023-02-15T18:45:16.762Z] Cloning the remote Git repository [2023-02-15T18:45:16.832Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-02-15T18:45:16.940Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2023-02-15T18:45:17.159Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-15T18:45:17.160Z] > git --version # timeout=10 [2023-02-15T18:45:17.201Z] > git --version # 'git version 2.25.1' [2023-02-15T18:45:17.204Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T18:45:17.296Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T18:45:19.673Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-15T18:45:19.710Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T18:45:20.960Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-15T18:45:21.027Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-15T18:45:21.028Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T18:45:21.050Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/252/head:refs/remotes/origin/PR-252 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-15T18:45:21.643Z] Merging remotes/origin/main commit 7f746f51e1ef244c01c4206344cb741c614a79d6 into PR head commit 0937508ea80633282a6a09db3809f46657c728a6 [2023-02-15T18:45:21.926Z] Merge succeeded, producing 0937508ea80633282a6a09db3809f46657c728a6 [2023-02-15T18:45:21.927Z] Checking out Revision 0937508ea80633282a6a09db3809f46657c728a6 (PR-252) [2023-02-15T18:45:22.626Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-02-15T18:45:21.673Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T18:45:21.700Z] > git checkout -f 0937508ea80633282a6a09db3809f46657c728a6 # timeout=10 [2023-02-15T18:45:21.805Z] > git remote # timeout=10 [2023-02-15T18:45:21.828Z] > git config --get remote.origin.url # timeout=10 [2023-02-15T18:45:21.854Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T18:45:21.874Z] > git merge 7f746f51e1ef244c01c4206344cb741c614a79d6 # timeout=10 [2023-02-15T18:45:21.907Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-15T18:45:21.938Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T18:45:21.961Z] > git checkout -f 0937508ea80633282a6a09db3809f46657c728a6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T18:45:23.534Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-15T18:45:23.534Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T18:45:23.534Z] Dload Upload Total Spent Left Speed [2023-02-15T18:45:23.534Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 180k 0 --:--:-- --:--:-- --:--:-- 183k [Pipeline] sh [2023-02-15T18:45:24.268Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-15T18:45:24.631Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-15T18:45:24.631Z] + sudo tee /etc/docker/daemon.new [2023-02-15T18:45:24.631Z] { [2023-02-15T18:45:24.631Z] "registry-mirrors": [ [2023-02-15T18:45:24.631Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-15T18:45:24.631Z] ], [2023-02-15T18:45:24.631Z] "bip": "10.250.0.254/24", [2023-02-15T18:45:24.631Z] "hosts": [ [2023-02-15T18:45:24.631Z] "tcp://0.0.0.0:5555", [2023-02-15T18:45:24.631Z] "unix:///var/run/docker.sock" [2023-02-15T18:45:24.631Z] ], [2023-02-15T18:45:24.631Z] "mtu": 1458, [2023-02-15T18:45:24.631Z] "selinux-enabled": true, [2023-02-15T18:45:24.631Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-15T18:45:24.631Z] } [Pipeline] sh [2023-02-15T18:45:24.985Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-15T18:45:25.343Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T18:45:45.282Z] provisioning config files... [2023-02-15T18:45:45.316Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config1739934929210372602tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:45:45.689Z] ---> docker-login.sh [2023-02-15T18:45:45.689Z] nexus3.edgexfoundry.org:10001 [2023-02-15T18:45:46.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:45:46.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:45:46.283Z] Configure a credential helper to remove this warning. See [2023-02-15T18:45:46.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:45:46.283Z] [2023-02-15T18:45:46.283Z] Login Succeeded [2023-02-15T18:45:46.558Z] nexus3.edgexfoundry.org:10002 [2023-02-15T18:45:46.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:45:46.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:45:46.829Z] Configure a credential helper to remove this warning. See [2023-02-15T18:45:46.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:45:46.829Z] [2023-02-15T18:45:46.829Z] Login Succeeded [2023-02-15T18:45:46.829Z] nexus3.edgexfoundry.org:10003 [2023-02-15T18:45:47.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:45:47.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:45:47.382Z] Configure a credential helper to remove this warning. See [2023-02-15T18:45:47.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:45:47.382Z] [2023-02-15T18:45:47.382Z] Login Succeeded [2023-02-15T18:45:47.382Z] nexus3.edgexfoundry.org:10004 [2023-02-15T18:45:47.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:45:47.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:45:47.933Z] Configure a credential helper to remove this warning. See [2023-02-15T18:45:47.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:45:47.933Z] [2023-02-15T18:45:47.933Z] Login Succeeded [2023-02-15T18:45:47.933Z] docker.io [2023-02-15T18:45:48.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:45:48.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:45:48.496Z] Configure a credential helper to remove this warning. See [2023-02-15T18:45:48.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:45:48.496Z] [2023-02-15T18:45:48.496Z] Login Succeeded [2023-02-15T18:45:48.496Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T18:45:48.513Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T18:45:48.902Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:45:48.922Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:45:48.933Z] ========================================================= [2023-02-15T18:45:48.933Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-15T18:45:48.933Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:45:49.302Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T18:45:49.302Z] Sending build context to Docker daemon 139.8kB [2023-02-15T18:45:49.576Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T18:45:49.576Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-15T18:45:49.854Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-15T18:45:49.854Z] 9b18e9b68314: Pulling fs layer [2023-02-15T18:45:49.854Z] 35d82f9e3411: Pulling fs layer [2023-02-15T18:45:49.854Z] e16973657156: Pulling fs layer [2023-02-15T18:45:49.854Z] fc693d55d65f: Pulling fs layer [2023-02-15T18:45:49.854Z] 7e9fc2657dce: Pulling fs layer [2023-02-15T18:45:49.854Z] dda99020689f: Pulling fs layer [2023-02-15T18:45:49.854Z] db1c61fa0a46: Pulling fs layer [2023-02-15T18:45:49.854Z] 891c053d2c06: Pulling fs layer [2023-02-15T18:45:49.854Z] dda99020689f: Waiting [2023-02-15T18:45:49.854Z] db1c61fa0a46: Waiting [2023-02-15T18:45:49.854Z] 891c053d2c06: Waiting [2023-02-15T18:45:49.854Z] fc693d55d65f: Waiting [2023-02-15T18:45:49.854Z] 7e9fc2657dce: Waiting [2023-02-15T18:45:49.854Z] e16973657156: Download complete [2023-02-15T18:45:49.854Z] 35d82f9e3411: Verifying Checksum [2023-02-15T18:45:49.854Z] 35d82f9e3411: Download complete [2023-02-15T18:45:49.854Z] 7e9fc2657dce: Verifying Checksum [2023-02-15T18:45:49.854Z] dda99020689f: Download complete [2023-02-15T18:45:50.135Z] 9b18e9b68314: Verifying Checksum [2023-02-15T18:45:51.130Z] 9b18e9b68314: Pull complete [2023-02-15T18:45:51.402Z] 891c053d2c06: Verifying Checksum [2023-02-15T18:45:51.402Z] 891c053d2c06: Download complete [2023-02-15T18:45:51.676Z] 35d82f9e3411: Pull complete [2023-02-15T18:45:52.274Z] e16973657156: Pull complete [2023-02-15T18:45:52.879Z] db1c61fa0a46: Verifying Checksum [2023-02-15T18:45:52.879Z] db1c61fa0a46: Download complete [2023-02-15T18:45:53.471Z] fc693d55d65f: Verifying Checksum [2023-02-15T18:45:53.471Z] fc693d55d65f: Download complete [2023-02-15T18:46:08.664Z] fc693d55d65f: Pull complete [2023-02-15T18:46:08.664Z] 7e9fc2657dce: Pull complete [2023-02-15T18:46:08.664Z] dda99020689f: Pull complete [2023-02-15T18:46:14.095Z] db1c61fa0a46: Pull complete [2023-02-15T18:46:16.712Z] 891c053d2c06: Pull complete [2023-02-15T18:46:16.712Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-15T18:46:16.712Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-15T18:46:16.712Z] ---> f96f9c87975a [2023-02-15T18:46:16.712Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-15T18:46:17.703Z] ---> Running in 07b2171ee03d [2023-02-15T18:46:18.299Z] Removing intermediate container 07b2171ee03d [2023-02-15T18:46:18.299Z] ---> 2b199d95255b [2023-02-15T18:46:18.299Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T18:46:18.299Z] ---> Running in 21e612ea876f [2023-02-15T18:46:18.571Z] Removing intermediate container 21e612ea876f [2023-02-15T18:46:18.571Z] ---> be091afee9b9 [2023-02-15T18:46:18.571Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T18:46:18.571Z] ---> Running in c468c75927ec [2023-02-15T18:46:19.170Z] Removing intermediate container c468c75927ec [2023-02-15T18:46:19.170Z] ---> 6d23c2445ad2 [2023-02-15T18:46:19.170Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T18:46:19.170Z] ---> Running in 5fd9f31fc3f7 [2023-02-15T18:46:19.459Z] Removing intermediate container 5fd9f31fc3f7 [2023-02-15T18:46:19.459Z] ---> 757cf5779425 [2023-02-15T18:46:19.459Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T18:46:19.730Z] ---> Running in f90752bfa3ea [2023-02-15T18:46:21.177Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T18:46:21.451Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T18:46:22.906Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-15T18:46:22.906Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-15T18:46:22.906Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-15T18:46:22.906Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-15T18:46:22.906Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T18:46:22.906Z] OK: 226 MiB in 55 packages [2023-02-15T18:46:24.341Z] Removing intermediate container f90752bfa3ea [2023-02-15T18:46:24.341Z] ---> 98aa56b20f83 [2023-02-15T18:46:24.341Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-15T18:46:24.341Z] ---> Running in 53cd7987d82e [2023-02-15T18:46:24.614Z] Removing intermediate container 53cd7987d82e [2023-02-15T18:46:24.614Z] ---> 000efbf4862c [2023-02-15T18:46:24.614Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-15T18:46:25.227Z] ---> ad9e67a407d6 [2023-02-15T18:46:25.227Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T18:46:25.227Z] ---> Running in a2da80dc1c0c [2023-02-15T18:47:46.974Z] Removing intermediate container a2da80dc1c0c [2023-02-15T18:47:46.974Z] ---> ddd692033568 [2023-02-15T18:47:46.974Z] Step 11/12 : COPY . . [2023-02-15T18:47:46.974Z] ---> d02285d09997 [2023-02-15T18:47:46.974Z] Step 12/12 : RUN $MAKE [2023-02-15T18:47:46.974Z] ---> Running in cc8d88cd2a2c [2023-02-15T18:47:46.974Z] noop [2023-02-15T18:47:46.974Z] Removing intermediate container cc8d88cd2a2c [2023-02-15T18:47:46.974Z] ---> 61ac2306421b [2023-02-15T18:47:46.974Z] Successfully built 61ac2306421b [2023-02-15T18:47:46.974Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:47:47.348Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T18:47:47.348Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:47:47.576Z] prd-ubuntu20.04-docker-arm64-4c-16g-6187 does not seem to be running inside a container [2023-02-15T18:47:47.662Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-15T18:47:49.015Z] $ docker top 801041f6a5b43487688e04ad078d821d99cf1f14eb8a1f3cadb356d1ea574771 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:47:49.900Z] + go version [2023-02-15T18:47:49.900Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-15T18:47:49.932Z] $ docker stop --time=1 801041f6a5b43487688e04ad078d821d99cf1f14eb8a1f3cadb356d1ea574771 [2023-02-15T18:47:51.648Z] $ docker rm -f --volumes 801041f6a5b43487688e04ad078d821d99cf1f14eb8a1f3cadb356d1ea574771 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:47:52.250Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T18:47:52.250Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:47:54.579Z] prd-ubuntu20.04-docker-arm64-4c-16g-6187 does not seem to be running inside a container [2023-02-15T18:47:54.672Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-15T18:47:56.155Z] $ docker top 784f4f3cf1089c0bea37d2494c779a9a147818dd59818f1d79a3c9039d09c476 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:47:57.047Z] + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh [2023-02-15T18:47:57.729Z] + make test [2023-02-15T18:47:57.729Z] go test ./... -coverprofile=coverage.out ./... [2023-02-15T18:47:59.718Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-15T18:49:51.512Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-02-15T18:49:51.512Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.28/internal/controller/http/common.go:97:36: request.Path undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common".SecretRequest has no field or method Path) [2023-02-15T18:49:51.512Z] FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] [2023-02-15T18:49:51.512Z] make: *** [Makefile:29: unittest] Error 2 [Pipeline] } [2023-02-15T18:49:51.539Z] $ docker stop --time=1 784f4f3cf1089c0bea37d2494c779a9a147818dd59818f1d79a3c9039d09c476 [2023-02-15T18:49:53.774Z] $ docker rm -f --volumes 784f4f3cf1089c0bea37d2494c779a9a147818dd59818f1d79a3c9039d09c476 [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-02-15T18:49:55.071Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T18:49:55.071Z] [2023-02-15T18:49:55.071Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:49:55.423Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T18:49:55.697Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-15T18:49:55.697Z] 8998bd30e6a1: Pulling fs layer [2023-02-15T18:49:55.697Z] 04944245beec: Pulling fs layer [2023-02-15T18:49:55.697Z] 699f458cf7ca: Pulling fs layer [2023-02-15T18:49:55.697Z] 765212b225bb: Pulling fs layer [2023-02-15T18:49:55.697Z] f23df028b6ca: Pulling fs layer [2023-02-15T18:49:55.697Z] d65c8cfc05b1: Pulling fs layer [2023-02-15T18:49:55.697Z] 2437ff75d9bd: Pulling fs layer [2023-02-15T18:49:55.697Z] 765212b225bb: Waiting [2023-02-15T18:49:55.697Z] f23df028b6ca: Waiting [2023-02-15T18:49:55.697Z] d65c8cfc05b1: Waiting [2023-02-15T18:49:55.697Z] 2437ff75d9bd: Waiting [2023-02-15T18:49:55.697Z] 04944245beec: Verifying Checksum [2023-02-15T18:49:55.697Z] 04944245beec: Download complete [2023-02-15T18:49:55.697Z] 765212b225bb: Verifying Checksum [2023-02-15T18:49:55.697Z] 765212b225bb: Download complete [2023-02-15T18:49:55.975Z] f23df028b6ca: Verifying Checksum [2023-02-15T18:49:55.975Z] f23df028b6ca: Download complete [2023-02-15T18:49:55.975Z] d65c8cfc05b1: Verifying Checksum [2023-02-15T18:49:55.975Z] d65c8cfc05b1: Download complete [2023-02-15T18:49:55.975Z] 699f458cf7ca: Verifying Checksum [2023-02-15T18:49:55.975Z] 699f458cf7ca: Download complete [2023-02-15T18:49:56.570Z] 8998bd30e6a1: Verifying Checksum [2023-02-15T18:49:56.570Z] 8998bd30e6a1: Download complete [2023-02-15T18:49:59.945Z] 2437ff75d9bd: Verifying Checksum [2023-02-15T18:49:59.945Z] 2437ff75d9bd: Download complete [2023-02-15T18:50:05.324Z] 8998bd30e6a1: Pull complete [2023-02-15T18:50:07.935Z] 04944245beec: Pull complete [2023-02-15T18:50:09.360Z] 699f458cf7ca: Pull complete [2023-02-15T18:50:09.631Z] 765212b225bb: Pull complete [2023-02-15T18:50:10.222Z] f23df028b6ca: Pull complete [2023-02-15T18:50:10.493Z] d65c8cfc05b1: Pull complete [2023-02-15T18:50:25.834Z] 2437ff75d9bd: Pull complete [2023-02-15T18:50:25.834Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-15T18:50:25.834Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T18:50:25.834Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:50:26.072Z] prd-ubuntu20.04-docker-arm64-4c-16g-6187 does not seem to be running inside a container [2023-02-15T18:50:26.166Z] $ 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-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-15T18:50:29.408Z] $ docker top a5b9cb2bb51e039463b66db0a8590ee9d5b9358997fda7a9189a4745c8993e06 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:50:30.322Z] ---> job-cost.sh [2023-02-15T18:50:30.322Z] lf-activate-venv: SKIPPING [2023-02-15T18:50:30.322Z] INFO: No Stack... [2023-02-15T18:50:31.751Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-15T18:50:32.722Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T18:50:33.387Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2023-02-15T18:50:33.387Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T18:50:33.488Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-252-2-stack-cost] [2023-02-15T18:50:33.494Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-252-2-stack-cost] did not exist. Created. [2023-02-15T18:50:33.494Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-252-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T18:50:34.182Z] /w/workspace/device-rest-go/2@tmp/durable-c1c7f02b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-15T18:50:34.860Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-15T18:50:34.886Z] Warning: overwriting stash ‘stack-cost’ [2023-02-15T18:50:35.468Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T18:50:35.476Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-252-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T18:50:35.501Z] $ docker stop --time=1 a5b9cb2bb51e039463b66db0a8590ee9d5b9358997fda7a9189a4745c8993e06 [2023-02-15T18:50:37.087Z] $ docker rm -f --volumes a5b9cb2bb51e039463b66db0a8590ee9d5b9358997fda7a9189a4745c8993e06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-15T18:50:37.348Z] 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-02-15T18:50:38.064Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-252/archives ] [2023-02-15T18:50:38.064Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-252/archives [2023-02-15T18:50:38.064Z] total 16 [2023-02-15T18:50:38.064Z] drwxr-xr-x 3 root root 4096 Feb 15 18:43 . [2023-02-15T18:50:38.064Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 18:43 .. [2023-02-15T18:50:38.064Z] drwxr-xr-x 2 root root 4096 Feb 15 18:43 cost [2023-02-15T18:50:38.064Z] -rw-r--r-- 1 root root 86 Feb 15 18:43 cost.csv [2023-02-15T18:50:38.064Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-252/archives [2023-02-15T18:50:38.064Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-252/archives [2023-02-15T18:50:38.064Z] total 16 [2023-02-15T18:50:38.064Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 18:43 . [2023-02-15T18:50:38.064Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 18:43 .. [2023-02-15T18:50:38.064Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 18:43 cost [2023-02-15T18:50:38.064Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 15 18:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:50:38.355Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:50:39.216Z] ---> package-listing.sh [2023-02-15T18:50:39.216Z] ++ facter osfamily [2023-02-15T18:50:39.216Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-15T18:50:39.475Z] + OS_FAMILY=debian [2023-02-15T18:50:39.475Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-252 [2023-02-15T18:50:39.475Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-15T18:50:39.475Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-15T18:50:39.475Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-15T18:50:39.475Z] + PACKAGES=/tmp/packages_start.txt [2023-02-15T18:50:39.475Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-252 ']' [2023-02-15T18:50:39.475Z] + PACKAGES=/tmp/packages_end.txt [2023-02-15T18:50:39.475Z] + case "${OS_FAMILY}" in [2023-02-15T18:50:39.475Z] + dpkg -l [2023-02-15T18:50:39.475Z] + grep '^ii' [2023-02-15T18:50:39.475Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-15T18:50:39.475Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-15T18:50:39.475Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-15T18:50:39.475Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-252 ']' [2023-02-15T18:50:39.475Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-252/archives/ [2023-02-15T18:50:39.475Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-252/archives/ [Pipeline] echo [2023-02-15T18:50:39.486Z] 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-rest-go_PR-252/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-15T18:50:39.762Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:50:40.320Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T18:50:40.320Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:50:40.395Z] prd-ubuntu20.04-docker-8c-8g-6178 does not seem to be running inside a container [2023-02-15T18:50:40.434Z] $ 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-rest-go_PR-252/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-rest-go_PR-252 -v /w/workspace/gexfoundry_device-rest-go_PR-252:/w/workspace/gexfoundry_device-rest-go_PR-252:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-252@tmp:/w/workspace/gexfoundry_device-rest-go_PR-252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T18:50:40.612Z] $ docker top 8b512e7043f029d3853c7541c0e5c6625c2d2c8b9756560a64b39061aac8cf64 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:50:40.944Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-15T18:50:41.232Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-15T18:50:41.515Z] + ls /var/log/sa-host [2023-02-15T18:50:41.515Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T18:50:41.662Z] provisioning config files... [2023-02-15T18:50:41.672Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-252@tmp/config11688441187717967154tmp [Pipeline] { [Pipeline] echo [2023-02-15T18:50:41.688Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:50:41.968Z] ---> create-netrc.sh [Pipeline] } [2023-02-15T18:50:41.975Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:50:42.300Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-15T18:50:42.309Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:50:42.598Z] ---> sudo-logs.sh [2023-02-15T18:50:42.599Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-15T18:50:42.625Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:50:42.906Z] ---> job-cost.sh [2023-02-15T18:50:42.906Z] lf-activate-venv: SKIPPING [2023-02-15T18:50:42.906Z] DEBUG: total: 0.2199999988079071 [2023-02-15T18:50:42.906Z] INFO: Retrieving Stack Cost... [2023-02-15T18:50:43.164Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T18:50:43.731Z] INFO: Archiving Costs [Pipeline] echo [2023-02-15T18:50:43.744Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:50:44.026Z] ---> logs-deploy.sh [2023-02-15T18:50:44.026Z] lf-activate-venv: SKIPPING [2023-02-15T18:50:44.026Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-252/2 [2023-02-15T18:50:44.026Z] INFO: archiving workspace using pattern(s): [2023-02-15T18:50:44.962Z] Archives upload complete. [2023-02-15T18:50:44.962Z] INFO: archiving logs to Nexus