Pull request #229 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 sudhamani-hcl for edgexfoundry/device-rest-go Obtained Jenkinsfile from 0b5943f47bca970463bc7d3d900b7bd97fa3f7bf+ea2635875d50d8674d03123d64d8d0373faddc1b (9b82bbc08bb01c3a678cf2699618744a20ce9c9d) 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-ssh13095593131666589779.key Verifying host key using known hosts file > 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-ssh14838967597645629896.key Verifying host key using known hosts file > 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-229/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-229/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10229965808199095719.key Verifying host key using known hosts file > 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-ssh14704560353428732317.key Verifying host key using known hosts file > 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-229/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-229/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh454719245384065890.key Verifying host key using known hosts file > 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-121060 in /w/workspace/gexfoundry_device-rest-go_PR-229 [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-229 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ea2635875d50d8674d03123d64d8d0373faddc1b into PR head commit 0b5943f47bca970463bc7d3d900b7bd97fa3f7bf Merge succeeded, producing 0b5943f47bca970463bc7d3d900b7bd97fa3f7bf Checking out Revision 0b5943f47bca970463bc7d3d900b7bd97fa3f7bf (PR-229) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b5943f47bca970463bc7d3d900b7bd97fa3f7bf # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge ea2635875d50d8674d03123d64d8d0373faddc1b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0b5943f47bca970463bc7d3d900b7bd97fa3f7bf # timeout=10 Commit message: "fix: Added formatting directives in restdriver.go" > git rev-list --no-walk 22018ce40af0e19fd47913da5b25c97ea02f4643 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-12-13T11:57:37.945Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-12-13T11:57:38.008Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-12-13T11:57:38.024Z] ========================================================= [2022-12-13T11:57:38.025Z] EdgeX Global Pipelines Version Info [2022-12-13T11:57:38.025Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-12-13T11:57:38.744Z] ------------------- [2022-12-13T11:57:38.744Z] stable info: [2022-12-13T11:57:38.744Z] ------------------- [2022-12-13T11:57:38.744Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-12-13T11:57:38.744Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-13T11:57:38.744Z] Message: update stable to v1.0.244 [2022-12-13T11:57:39.315Z] ------------------- [2022-12-13T11:57:39.315Z] experimental info: [2022-12-13T11:57:39.315Z] ------------------- [2022-12-13T11:57:39.315Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-12-13T11:57:39.315Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-13T11:57:39.315Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-12-13T11:57:39.497Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-12-13T11:57:39.508Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-12-13T11:57:39.520Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-12-13T11:57:39.534Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-12-13T11:57:39.544Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-12-13T11:57:39.556Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-12-13T11:57:39.569Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-12-13T11:57:39.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-12-13T11:57:39.591Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-12-13T11:57:39.606Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-12-13T11:57:39.620Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-12-13T11:57:39.636Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-12-13T11:57:39.644Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-12-13T11:57:39.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-12-13T11:57:39.666Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-12-13T11:57:39.676Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-12-13T11:57:39.691Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-12-13T11:57:39.709Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-12-13T11:57:39.718Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-12-13T11:57:39.730Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-12-13T11:57:39.747Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-12-13T11:57:39.765Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-12-13T11:57:39.782Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-12-13T11:57:39.793Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-12-13T11:57:39.807Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-12-13T11:57:39.818Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-12-13T11:57:39.830Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-12-13T11:57:39.841Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-229 [Pipeline] echo [2022-12-13T11:57:39.852Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-229 [Pipeline] echo [2022-12-13T11:57:39.864Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-229 [Pipeline] echo [2022-12-13T11:57:39.877Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0b5943f47bca970463bc7d3d900b7bd97fa3f7bf [Pipeline] echo [2022-12-13T11:57:39.889Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0b5943f [Pipeline] echo [2022-12-13T11:57:39.903Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-13T11:57:39.951Z] provisioning config files... [2022-12-13T11:57:39.965Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config17080557065474454974tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-13T11:57:40.267Z] ---> docker-login.sh [2022-12-13T11:57:40.267Z] nexus3.edgexfoundry.org:10001 [2022-12-13T11:57:40.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T11:57:40.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T11:57:40.788Z] Configure a credential helper to remove this warning. See [2022-12-13T11:57:40.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T11:57:40.788Z] [2022-12-13T11:57:40.788Z] Login Succeeded [2022-12-13T11:57:40.788Z] nexus3.edgexfoundry.org:10002 [2022-12-13T11:57:40.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T11:57:40.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T11:57:40.788Z] Configure a credential helper to remove this warning. See [2022-12-13T11:57:40.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T11:57:40.788Z] [2022-12-13T11:57:40.788Z] Login Succeeded [2022-12-13T11:57:40.788Z] nexus3.edgexfoundry.org:10003 [2022-12-13T11:57:40.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T11:57:41.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T11:57:41.049Z] Configure a credential helper to remove this warning. See [2022-12-13T11:57:41.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T11:57:41.049Z] [2022-12-13T11:57:41.049Z] Login Succeeded [2022-12-13T11:57:41.049Z] nexus3.edgexfoundry.org:10004 [2022-12-13T11:57:41.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T11:57:41.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T11:57:41.049Z] Configure a credential helper to remove this warning. See [2022-12-13T11:57:41.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T11:57:41.049Z] [2022-12-13T11:57:41.049Z] Login Succeeded [2022-12-13T11:57:41.049Z] docker.io [2022-12-13T11:57:41.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T11:57:41.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T11:57:41.309Z] Configure a credential helper to remove this warning. See [2022-12-13T11:57:41.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T11:57:41.309Z] [2022-12-13T11:57:41.309Z] Login Succeeded [2022-12-13T11:57:41.309Z] ---> docker-login.sh ends [Pipeline] } [2022-12-13T11:57:41.317Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-12-13T11:57:41.681Z] + git rev-list -1 --merges 0b5943f47bca970463bc7d3d900b7bd97fa3f7bf~1..0b5943f47bca970463bc7d3d900b7bd97fa3f7bf [Pipeline] echo [2022-12-13T11:57:41.714Z] -----------> git rev-list -1 --merges 0b5943f47bca970463bc7d3d900b7bd97fa3f7bf~1..0b5943f47bca970463bc7d3d900b7bd97fa3f7bf 0b5943f47bca970463bc7d3d900b7bd97fa3f7bf [false] [Pipeline] sh [2022-12-13T11:57:42.003Z] + git log --format=format:%s -1 0b5943f47bca970463bc7d3d900b7bd97fa3f7bf [Pipeline] echo [2022-12-13T11:57:42.018Z] ========================================================= [2022-12-13T11:57:42.018Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-12-13T11:57:42.018Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-13T11:57:42.343Z] + git log --format=format:%s -1 0b5943f47bca970463bc7d3d900b7bd97fa3f7bf [Pipeline] echo [2022-12-13T11:57:42.355Z] [semverPrep] GIT_COMMIT: 0b5943f47bca970463bc7d3d900b7bd97fa3f7bf, Commit Message: fix: Added formatting directives in restdriver.go [Pipeline] echo [2022-12-13T11:57:42.366Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-12-13T11:57:42.735Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-12-13T11:57:42.735Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-12-13T11:57:42.735Z] + [ -e /tmp/ssh_known_hosts ] [2022-12-13T11:57:42.735Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-12-13T11:57:42.735Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-12-13T11:57:42.735Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-12-13T11:57:42.735Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T11:57:43.149Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-13T11:57:43.149Z] [2022-12-13T11:57:43.149Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T11:57:43.449Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-13T11:57:43.449Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-12-13T11:57:43.449Z] b85a868b505f: Pulling fs layer [2022-12-13T11:57:43.449Z] e2be974225ed: Pulling fs layer [2022-12-13T11:57:43.449Z] 339a4e72a1f5: Pulling fs layer [2022-12-13T11:57:43.449Z] 988bab9f4d93: Pulling fs layer [2022-12-13T11:57:43.449Z] 1469e6f7b9e6: Pulling fs layer [2022-12-13T11:57:43.449Z] eaf3925da568: Pulling fs layer [2022-12-13T11:57:43.449Z] bab4dde63d76: Pulling fs layer [2022-12-13T11:57:43.449Z] bde34c3a00c8: Pulling fs layer [2022-12-13T11:57:43.449Z] b352a97aabf1: Pulling fs layer [2022-12-13T11:57:43.449Z] 4872d77fe225: Pulling fs layer [2022-12-13T11:57:43.449Z] 5851b861e8e6: Pulling fs layer [2022-12-13T11:57:43.449Z] 988bab9f4d93: Waiting [2022-12-13T11:57:43.449Z] b352a97aabf1: Waiting [2022-12-13T11:57:43.449Z] 1469e6f7b9e6: Waiting [2022-12-13T11:57:43.449Z] eaf3925da568: Waiting [2022-12-13T11:57:43.449Z] 5851b861e8e6: Waiting [2022-12-13T11:57:43.449Z] bab4dde63d76: Waiting [2022-12-13T11:57:43.449Z] bde34c3a00c8: Waiting [2022-12-13T11:57:43.449Z] e2be974225ed: Verifying Checksum [2022-12-13T11:57:43.449Z] e2be974225ed: Download complete [2022-12-13T11:57:43.449Z] 988bab9f4d93: Verifying Checksum [2022-12-13T11:57:43.449Z] 988bab9f4d93: Download complete [2022-12-13T11:57:43.707Z] 1469e6f7b9e6: Verifying Checksum [2022-12-13T11:57:43.707Z] 1469e6f7b9e6: Download complete [2022-12-13T11:57:43.707Z] eaf3925da568: Download complete [2022-12-13T11:57:43.707Z] 339a4e72a1f5: Download complete [2022-12-13T11:57:43.707Z] bde34c3a00c8: Verifying Checksum [2022-12-13T11:57:43.707Z] bde34c3a00c8: Download complete [2022-12-13T11:57:43.707Z] b352a97aabf1: Download complete [2022-12-13T11:57:43.707Z] 4872d77fe225: Verifying Checksum [2022-12-13T11:57:43.707Z] 4872d77fe225: Download complete [2022-12-13T11:57:43.707Z] 5851b861e8e6: Download complete [2022-12-13T11:57:43.707Z] b85a868b505f: Verifying Checksum [2022-12-13T11:57:43.707Z] b85a868b505f: Download complete [2022-12-13T11:57:43.966Z] bab4dde63d76: Verifying Checksum [2022-12-13T11:57:43.966Z] bab4dde63d76: Download complete [2022-12-13T11:57:45.343Z] b85a868b505f: Pull complete [2022-12-13T11:57:45.343Z] e2be974225ed: Pull complete [2022-12-13T11:57:45.913Z] 339a4e72a1f5: Pull complete [2022-12-13T11:57:45.913Z] 988bab9f4d93: Pull complete [2022-12-13T11:57:46.172Z] 1469e6f7b9e6: Pull complete [2022-12-13T11:57:46.172Z] eaf3925da568: Pull complete [2022-12-13T11:57:48.076Z] bab4dde63d76: Pull complete [2022-12-13T11:57:48.076Z] bde34c3a00c8: Pull complete [2022-12-13T11:57:48.337Z] b352a97aabf1: Pull complete [2022-12-13T11:57:48.337Z] 4872d77fe225: Pull complete [2022-12-13T11:57:48.337Z] 5851b861e8e6: Pull complete [2022-12-13T11:57:48.337Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-12-13T11:57:48.337Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-13T11:57:48.337Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T11:57:48.433Z] prd-ubuntu20.04-docker-8c-8g-121060 does not seem to be running inside a container [2022-12-13T11:57:48.468Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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-devops/py-git-semver:0.1.4 cat [2022-12-13T11:57:50.004Z] $ docker top 549e21ca84080c43b4ee79a5bb7e7970674cfa531112e8dc2d88cc102369dd6e -eo pid,comm [2022-12-13T11:57:50.062Z] 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). [2022-12-13T11:57:50.062Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-12-13T11:57:50.099Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-13T11:57:50.099Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-13T11:57:50.220Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-13T11:57:50.226Z] $ docker exec 549e21ca84080c43b4ee79a5bb7e7970674cfa531112e8dc2d88cc102369dd6e ssh-agent [2022-12-13T11:57:50.330Z] SSH_AUTH_SOCK=/tmp/ssh-ELzxaAluC7JU/agent.32 [2022-12-13T11:57:50.330Z] SSH_AGENT_PID=38 [2022-12-13T11:57:50.338Z] Running ssh-add (command line suppressed) [2022-12-13T11:57:50.452Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_17819129500336951466.key (/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_17819129500336951466.key) [2022-12-13T11:57:50.465Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-13T11:57:50.759Z] + git tag --points-at HEAD [Pipeline] } [2022-12-13T11:57:50.776Z] $ docker exec --env ******** --env ******** 549e21ca84080c43b4ee79a5bb7e7970674cfa531112e8dc2d88cc102369dd6e ssh-agent -k [2022-12-13T11:57:50.875Z] unset SSH_AUTH_SOCK; [2022-12-13T11:57:50.876Z] unset SSH_AGENT_PID; [2022-12-13T11:57:50.876Z] echo Agent pid 38 killed; [2022-12-13T11:57:50.885Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-12-13T11:57:50.912Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-13T11:57:50.912Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-13T11:57:51.039Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-13T11:57:51.045Z] $ docker exec 549e21ca84080c43b4ee79a5bb7e7970674cfa531112e8dc2d88cc102369dd6e ssh-agent [2022-12-13T11:57:51.154Z] SSH_AUTH_SOCK=/tmp/ssh-axubZjfkaNmU/agent.70 [2022-12-13T11:57:51.154Z] SSH_AGENT_PID=77 [2022-12-13T11:57:51.171Z] Running ssh-add (command line suppressed) [2022-12-13T11:57:51.289Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_17667061561610556462.key (/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_17667061561610556462.key) [2022-12-13T11:57:51.301Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-13T11:57:51.593Z] + git semver init [2022-12-13T11:57:51.853Z] 2022-12-13 11:57:51,807 [run_init] DEBUG init version:0.0.0 force:False [2022-12-13T11:57:51.853Z] 2022-12-13 11:57:51,807 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver [2022-12-13T11:57:51.853Z] 2022-12-13 11:57:51,808 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-229/.semver [2022-12-13T11:57:51.853Z] 2022-12-13 11:57:51,808 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-229/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229, universal_newlines=False, shell=None, istream=None) [2022-12-13T11:57:52.793Z] 2022-12-13 11:57:52,775 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-229/.git/info/exclude [2022-12-13T11:57:52.793Z] 2022-12-13 11:57:52,776 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 with force:False [2022-12-13T11:57:52.793Z] 2022-12-13 11:57:52,776 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 [2022-12-13T11:57:52.793Z] 2022-12-13 11:57:52,781 [execute] INFO git cat-file --batch-check [2022-12-13T11:57:52.793Z] 2022-12-13 11:57:52,781 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) [2022-12-13T11:57:52.793Z] 2022-12-13 11:57:52,788 [execute] INFO git cat-file --batch [2022-12-13T11:57:52.793Z] 2022-12-13 11:57:52,788 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) [2022-12-13T11:57:52.793Z] 2022-12-13 11:57:52,794 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 [2022-12-13T11:57:52.793Z] 0.0.0 [Pipeline] } [2022-12-13T11:57:53.068Z] $ docker exec --env ******** --env ******** 549e21ca84080c43b4ee79a5bb7e7970674cfa531112e8dc2d88cc102369dd6e ssh-agent -k [2022-12-13T11:57:53.163Z] unset SSH_AUTH_SOCK; [2022-12-13T11:57:53.167Z] unset SSH_AGENT_PID; [2022-12-13T11:57:53.167Z] echo Agent pid 77 killed; [2022-12-13T11:57:53.172Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-12-13T11:57:53.479Z] + git semver [Pipeline] } [2022-12-13T11:57:53.755Z] $ docker stop --time=1 549e21ca84080c43b4ee79a5bb7e7970674cfa531112e8dc2d88cc102369dd6e [2022-12-13T11:57:55.066Z] $ docker rm -f 549e21ca84080c43b4ee79a5bb7e7970674cfa531112e8dc2d88cc102369dd6e [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-13T11:57:55.407Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-12-13T11:57:55.591Z] Stashed 1 file(s) [Pipeline] echo [2022-12-13T11:57:55.594Z] [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 [2022-12-13T11:57:55.735Z] provisioning config files... [2022-12-13T11:57:55.743Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config16565619526564198448tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-13T11:57:56.046Z] ---> docker-login.sh [2022-12-13T11:57:56.046Z] nexus3.edgexfoundry.org:10001 [2022-12-13T11:57:56.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T11:57:56.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T11:57:56.046Z] Configure a credential helper to remove this warning. See [2022-12-13T11:57:56.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T11:57:56.046Z] [2022-12-13T11:57:56.046Z] Login Succeeded [2022-12-13T11:57:56.046Z] nexus3.edgexfoundry.org:10002 [2022-12-13T11:57:56.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T11:57:56.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T11:57:56.046Z] Configure a credential helper to remove this warning. See [2022-12-13T11:57:56.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T11:57:56.046Z] [2022-12-13T11:57:56.046Z] Login Succeeded [2022-12-13T11:57:56.046Z] nexus3.edgexfoundry.org:10003 [2022-12-13T11:57:56.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T11:57:56.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T11:57:56.305Z] Configure a credential helper to remove this warning. See [2022-12-13T11:57:56.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T11:57:56.305Z] [2022-12-13T11:57:56.305Z] Login Succeeded [2022-12-13T11:57:56.305Z] nexus3.edgexfoundry.org:10004 [2022-12-13T11:57:56.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T11:57:56.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T11:57:56.305Z] Configure a credential helper to remove this warning. See [2022-12-13T11:57:56.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T11:57:56.305Z] [2022-12-13T11:57:56.305Z] Login Succeeded [2022-12-13T11:57:56.305Z] docker.io [2022-12-13T11:57:56.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T11:57:56.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T11:57:56.824Z] Configure a credential helper to remove this warning. See [2022-12-13T11:57:56.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T11:57:56.824Z] [2022-12-13T11:57:56.824Z] Login Succeeded [2022-12-13T11:57:56.824Z] ---> docker-login.sh ends [Pipeline] } [2022-12-13T11:57:56.833Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-13T11:57:56.895Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-13T11:57:56.909Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-13T11:57:56.918Z] ========================================================= [2022-12-13T11:57:56.918Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-12-13T11:57:56.918Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T11:57:57.236Z] + 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 . [2022-12-13T11:57:57.236Z] Sending build context to Docker daemon 10.79MB [2022-12-13T11:57:57.236Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-12-13T11:57:57.236Z] Step 2/12 : FROM ${BASE} AS builder [2022-12-13T11:57:57.236Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-12-13T11:57:57.236Z] 213ec9aee27d: Pulling fs layer [2022-12-13T11:57:57.236Z] 4583459ba037: Pulling fs layer [2022-12-13T11:57:57.236Z] 93c1e223e6f2: Pulling fs layer [2022-12-13T11:57:57.236Z] 53926ce57604: Pulling fs layer [2022-12-13T11:57:57.236Z] 21b2b0c7a3f4: Pulling fs layer [2022-12-13T11:57:57.236Z] 22ff95d597cd: Pulling fs layer [2022-12-13T11:57:57.236Z] 12d6caf4c0d1: Pulling fs layer [2022-12-13T11:57:57.236Z] 96b7cbca73a9: Pulling fs layer [2022-12-13T11:57:57.236Z] a7acece74701: Pulling fs layer [2022-12-13T11:57:57.236Z] 21b2b0c7a3f4: Waiting [2022-12-13T11:57:57.236Z] 53926ce57604: Waiting [2022-12-13T11:57:57.236Z] 22ff95d597cd: Waiting [2022-12-13T11:57:57.236Z] 12d6caf4c0d1: Waiting [2022-12-13T11:57:57.236Z] a7acece74701: Waiting [2022-12-13T11:57:57.236Z] 96b7cbca73a9: Waiting [2022-12-13T11:57:57.236Z] 93c1e223e6f2: Verifying Checksum [2022-12-13T11:57:57.236Z] 93c1e223e6f2: Download complete [2022-12-13T11:57:57.496Z] 4583459ba037: Download complete [2022-12-13T11:57:57.496Z] 21b2b0c7a3f4: Download complete [2022-12-13T11:57:57.496Z] 22ff95d597cd: Verifying Checksum [2022-12-13T11:57:57.496Z] 22ff95d597cd: Download complete [2022-12-13T11:57:57.496Z] 213ec9aee27d: Verifying Checksum [2022-12-13T11:57:57.496Z] 12d6caf4c0d1: Download complete [2022-12-13T11:57:57.496Z] 213ec9aee27d: Pull complete [2022-12-13T11:57:57.763Z] 4583459ba037: Pull complete [2022-12-13T11:57:57.763Z] 93c1e223e6f2: Pull complete [2022-12-13T11:57:58.040Z] a7acece74701: Verifying Checksum [2022-12-13T11:57:58.040Z] a7acece74701: Download complete [2022-12-13T11:57:58.307Z] 53926ce57604: Download complete [2022-12-13T11:57:58.565Z] 96b7cbca73a9: Verifying Checksum [2022-12-13T11:57:58.565Z] 96b7cbca73a9: Download complete [2022-12-13T11:58:02.751Z] 53926ce57604: Pull complete [2022-12-13T11:58:02.751Z] 21b2b0c7a3f4: Pull complete [2022-12-13T11:58:02.751Z] 22ff95d597cd: Pull complete [2022-12-13T11:58:02.751Z] 12d6caf4c0d1: Pull complete [2022-12-13T11:58:04.651Z] 96b7cbca73a9: Pull complete [2022-12-13T11:58:05.218Z] a7acece74701: Pull complete [2022-12-13T11:58:05.218Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-12-13T11:58:05.218Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-12-13T11:58:05.218Z] ---> db6d94c90886 [2022-12-13T11:58:05.218Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-12-13T11:58:07.754Z] ---> Running in 2ea996f6fc91 [2022-12-13T11:58:07.754Z] Removing intermediate container 2ea996f6fc91 [2022-12-13T11:58:07.754Z] ---> c042a07a936f [2022-12-13T11:58:07.754Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-13T11:58:07.754Z] ---> Running in 85e66629d6f2 [2022-12-13T11:58:07.754Z] Removing intermediate container 85e66629d6f2 [2022-12-13T11:58:07.754Z] ---> f838b15a49ae [2022-12-13T11:58:07.754Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-13T11:58:07.754Z] ---> Running in 71bd4d518a35 [2022-12-13T11:58:07.754Z] Removing intermediate container 71bd4d518a35 [2022-12-13T11:58:07.754Z] ---> 1a6fde0f3d95 [2022-12-13T11:58:07.754Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-12-13T11:58:07.754Z] ---> Running in 1809f584dc66 [2022-12-13T11:58:08.013Z] Removing intermediate container 1809f584dc66 [2022-12-13T11:58:08.013Z] ---> b81f102362a7 [2022-12-13T11:58:08.013Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-13T11:58:08.013Z] ---> Running in 3c55449894c1 [2022-12-13T11:58:08.272Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-13T11:58:08.272Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-13T11:58:08.839Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-12-13T11:58:08.839Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-12-13T11:58:08.839Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-12-13T11:58:08.839Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-12-13T11:58:08.839Z] Executing busybox-1.35.0-r17.trigger [2022-12-13T11:58:08.839Z] OK: 216 MiB in 55 packages [2022-12-13T11:58:09.103Z] Removing intermediate container 3c55449894c1 [2022-12-13T11:58:09.103Z] ---> 731579a92404 [2022-12-13T11:58:09.103Z] Step 8/12 : WORKDIR /device-rest-go [2022-12-13T11:58:09.380Z] ---> Running in 41ccf2ff9b05 [2022-12-13T11:58:09.380Z] Removing intermediate container 41ccf2ff9b05 [2022-12-13T11:58:09.380Z] ---> 710e16f1e87c [2022-12-13T11:58:09.380Z] Step 9/12 : COPY go.mod vendor* ./ [2022-12-13T11:58:09.380Z] ---> 55fba140b77c [2022-12-13T11:58:09.380Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-13T11:58:09.641Z] ---> Running in 8ab147459d5f [2022-12-13T11:58:10.695Z] Still waiting to schedule task [2022-12-13T11:58:10.696Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-12-13T11:58:31.602Z] Removing intermediate container 8ab147459d5f [2022-12-13T11:58:31.602Z] ---> 45b5b76ff155 [2022-12-13T11:58:31.602Z] Step 11/12 : COPY . . [2022-12-13T11:58:31.602Z] ---> 70ae88654cee [2022-12-13T11:58:31.602Z] Step 12/12 : RUN $MAKE [2022-12-13T11:58:31.602Z] ---> Running in 0aac860d6717 [2022-12-13T11:58:31.602Z] noop [2022-12-13T11:58:31.602Z] Removing intermediate container 0aac860d6717 [2022-12-13T11:58:31.602Z] ---> a995d44148f9 [2022-12-13T11:58:31.602Z] Successfully built a995d44148f9 [2022-12-13T11:58:31.602Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T11:58:31.907Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-13T11:58:31.908Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T11:58:31.973Z] prd-ubuntu20.04-docker-8c-8g-121060 does not seem to be running inside a container [2022-12-13T11:58:32.007Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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 ******** ci-base-image-x86_64 cat [2022-12-13T11:58:32.454Z] $ docker top 6c292e5ca2a86d0ee46835095b757fd6c4e7714f2cf1dceeebe2b84ea183076b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-13T11:58:32.799Z] + go version [2022-12-13T11:58:32.799Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-12-13T11:58:32.812Z] $ docker stop --time=1 6c292e5ca2a86d0ee46835095b757fd6c4e7714f2cf1dceeebe2b84ea183076b [2022-12-13T11:58:34.123Z] $ docker rm -f 6c292e5ca2a86d0ee46835095b757fd6c4e7714f2cf1dceeebe2b84ea183076b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T11:58:34.511Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-13T11:58:34.511Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T11:58:34.574Z] prd-ubuntu20.04-docker-8c-8g-121060 does not seem to be running inside a container [2022-12-13T11:58:34.606Z] $ 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-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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 ******** ci-base-image-x86_64 cat [2022-12-13T11:58:35.035Z] $ docker top 1815d5489b1c6a46bf439a5218df9e85acf18adfdc9b773ac35ef91af7fedcef -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-13T11:58:35.375Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-229 [Pipeline] fileExists [Pipeline] sh [2022-12-13T11:58:35.671Z] + make test [2022-12-13T11:58:35.671Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-12-13T11:58:35.928Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-12-13T11:58:45.907Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-12-13T11:58:46.475Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 26.7% of statements [2022-12-13T11:58:54.590Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-12-13T11:58:54.590Z] driver/restdriver.go:287:15: unusedresult: result of fmt.Errorf call not used (govet) [2022-12-13T11:58:54.590Z] fmt.Errorf("Read command failed. Cmd:%v err:%v \n", req.DeviceResourceName, err) [2022-12-13T11:58:54.590Z] ^ [2022-12-13T11:58:54.591Z] make: *** [Makefile:43: lint] Error 1 [Pipeline] } [2022-12-13T11:58:54.605Z] $ docker stop --time=1 1815d5489b1c6a46bf439a5218df9e85acf18adfdc9b773ac35ef91af7fedcef [2022-12-13T11:58:56.433Z] $ docker rm -f 1815d5489b1c6a46bf439a5218df9e85acf18adfdc9b773ac35ef91af7fedcef [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 [2022-12-13T11:58:56.988Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-13T11:58:56.988Z] [2022-12-13T11:58:56.988Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T11:58:57.282Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-13T11:58:57.282Z] latest: Pulling from edgex-lftools-log-publisher [2022-12-13T11:58:57.282Z] 5eb5b503b376: Pulling fs layer [2022-12-13T11:58:57.282Z] 5c69ac0246d0: Pulling fs layer [2022-12-13T11:58:57.282Z] ec43610c2a17: Pulling fs layer [2022-12-13T11:58:57.282Z] 3a2ae6a8a46f: Pulling fs layer [2022-12-13T11:58:57.282Z] 33b1e0a273af: Pulling fs layer [2022-12-13T11:58:57.282Z] 5d3b04190fa2: Pulling fs layer [2022-12-13T11:58:57.282Z] 2f39f015ded8: Pulling fs layer [2022-12-13T11:58:57.282Z] 33b1e0a273af: Waiting [2022-12-13T11:58:57.282Z] 3a2ae6a8a46f: Waiting [2022-12-13T11:58:57.282Z] 2f39f015ded8: Waiting [2022-12-13T11:58:57.282Z] 5c69ac0246d0: Download complete [2022-12-13T11:58:57.282Z] 3a2ae6a8a46f: Verifying Checksum [2022-12-13T11:58:57.282Z] 3a2ae6a8a46f: Download complete [2022-12-13T11:58:57.539Z] 33b1e0a273af: Verifying Checksum [2022-12-13T11:58:57.539Z] 33b1e0a273af: Download complete [2022-12-13T11:58:57.539Z] 5d3b04190fa2: Verifying Checksum [2022-12-13T11:58:57.539Z] 5d3b04190fa2: Download complete [2022-12-13T11:58:57.539Z] ec43610c2a17: Verifying Checksum [2022-12-13T11:58:57.539Z] ec43610c2a17: Download complete [2022-12-13T11:58:57.539Z] 5eb5b503b376: Verifying Checksum [2022-12-13T11:58:57.539Z] 5eb5b503b376: Download complete [2022-12-13T11:58:58.103Z] 2f39f015ded8: Download complete [2022-12-13T11:58:58.668Z] 5eb5b503b376: Pull complete [2022-12-13T11:58:58.668Z] 5c69ac0246d0: Pull complete [2022-12-13T11:58:59.233Z] ec43610c2a17: Pull complete [2022-12-13T11:58:59.233Z] 3a2ae6a8a46f: Pull complete [2022-12-13T11:58:59.233Z] 33b1e0a273af: Pull complete [2022-12-13T11:58:59.490Z] 5d3b04190fa2: Pull complete [2022-12-13T11:59:03.683Z] 2f39f015ded8: Pull complete [2022-12-13T11:59:03.683Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-12-13T11:59:03.683Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-13T11:59:03.683Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T11:59:03.752Z] prd-ubuntu20.04-docker-8c-8g-121060 does not seem to be running inside a container [2022-12-13T11:59:03.778Z] $ 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-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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 [2022-12-13T11:59:05.421Z] $ docker top 573c409b6e1b7c05d84d6f3ee2fb30e6f06fe764f21e0bfa8924fe09a26383b8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-13T11:59:05.798Z] ---> job-cost.sh [2022-12-13T11:59:05.798Z] lf-activate-venv: SKIPPING [2022-12-13T11:59:05.798Z] INFO: No Stack... [2022-12-13T11:59:06.057Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-13T11:59:06.625Z] INFO: Archiving Costs [Pipeline] sh [2022-12-13T11:59:06.911Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-229/archives/cost.csv [2022-12-13T11:59:06.912Z] + cut -d, -f6 [Pipeline] lock [2022-12-13T11:59:06.923Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-229-2-stack-cost] [2022-12-13T11:59:06.932Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-229-2-stack-cost] did not exist. Created. [2022-12-13T11:59:06.932Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-229-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-13T11:59:07.230Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-12-13T11:59:07.263Z] Stashed 1 file(s) [Pipeline] } [2022-12-13T11:59:07.270Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-229-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-13T11:59:07.286Z] $ docker stop --time=1 573c409b6e1b7c05d84d6f3ee2fb30e6f06fe764f21e0bfa8924fe09a26383b8 [2022-12-13T11:59:08.484Z] $ docker rm -f 573c409b6e1b7c05d84d6f3ee2fb30e6f06fe764f21e0bfa8924fe09a26383b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-12-13T11:59:08.579Z] Failed in branch amd64 [2022-12-13T11:59:50.885Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-121061 in /w/workspace/gexfoundry_device-rest-go_PR-229 [Pipeline] { [Pipeline] ws [2022-12-13T11:59:50.898Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2022-12-13T11:59:50.926Z] The recommended git tool is: git [2022-12-13T11:59:56.266Z] using credential edgex-jenkins-ssh [2022-12-13T11:59:56.289Z] Cloning the remote Git repository [2022-12-13T11:59:56.331Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-12-13T11:59:56.407Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2022-12-13T11:59:56.545Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-12-13T11:59:56.546Z] > git --version # timeout=10 [2022-12-13T11:59:56.569Z] > git --version # 'git version 2.25.1' [2022-12-13T11:59:56.570Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-13T11:59:56.615Z] Verifying host key using known hosts file [2022-12-13T11:59:56.808Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-12-13T11:59:56.821Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-13T11:59:58.915Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-12-13T11:59:58.939Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-13T11:59:59.773Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-12-13T12:00:00.417Z] Merging remotes/origin/main commit ea2635875d50d8674d03123d64d8d0373faddc1b into PR head commit 0b5943f47bca970463bc7d3d900b7bd97fa3f7bf [2022-12-13T12:00:00.649Z] Merge succeeded, producing 0b5943f47bca970463bc7d3d900b7bd97fa3f7bf [2022-12-13T12:00:00.650Z] Checking out Revision 0b5943f47bca970463bc7d3d900b7bd97fa3f7bf (PR-229) [2022-12-13T11:59:59.822Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-12-13T11:59:59.823Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-13T11:59:59.829Z] Verifying host key using known hosts file [2022-12-13T11:59:59.837Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-12-13T11:59:59.849Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-12-13T12:00:00.433Z] > git config core.sparsecheckout # timeout=10 [2022-12-13T12:00:00.451Z] > git checkout -f 0b5943f47bca970463bc7d3d900b7bd97fa3f7bf # timeout=10 [2022-12-13T12:00:00.534Z] > git remote # timeout=10 [2022-12-13T12:00:00.552Z] > git config --get remote.origin.url # timeout=10 [2022-12-13T12:00:00.575Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-13T12:00:00.581Z] Verifying host key using known hosts file [2022-12-13T12:00:00.587Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-12-13T12:00:00.598Z] > git merge ea2635875d50d8674d03123d64d8d0373faddc1b # timeout=10 [2022-12-13T12:00:00.627Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-12-13T12:00:00.656Z] > git config core.sparsecheckout # timeout=10 [2022-12-13T12:00:00.672Z] > git checkout -f 0b5943f47bca970463bc7d3d900b7bd97fa3f7bf # timeout=10 [2022-12-13T12:00:04.202Z] Commit message: "fix: Added formatting directives in restdriver.go" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-13T12:00:05.226Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-12-13T12:00:05.226Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-13T12:00:05.226Z] Dload Upload Total Spent Left Speed [2022-12-13T12:00:05.226Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 62504 0 --:--:-- --:--:-- --:--:-- 62812 [Pipeline] sh [2022-12-13T12:00:05.979Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-12-13T12:00:06.308Z] + sudo tee /etc/docker/daemon.new [2022-12-13T12:00:06.308Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-12-13T12:00:06.308Z] { [2022-12-13T12:00:06.308Z] "registry-mirrors": [ [2022-12-13T12:00:06.308Z] "https://nexus3.edgexfoundry.org:10001" [2022-12-13T12:00:06.308Z] ], [2022-12-13T12:00:06.308Z] "bip": "10.250.0.254/24", [2022-12-13T12:00:06.308Z] "hosts": [ [2022-12-13T12:00:06.308Z] "tcp://0.0.0.0:5555", [2022-12-13T12:00:06.308Z] "unix:///var/run/docker.sock" [2022-12-13T12:00:06.308Z] ], [2022-12-13T12:00:06.308Z] "mtu": 1458, [2022-12-13T12:00:06.308Z] "selinux-enabled": true, [2022-12-13T12:00:06.308Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-12-13T12:00:06.308Z] } [Pipeline] sh [2022-12-13T12:00:06.638Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-12-13T12:00:06.983Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-13T12:00:25.250Z] provisioning config files... [2022-12-13T12:00:25.279Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config5434089830133331105tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-13T12:00:25.621Z] ---> docker-login.sh [2022-12-13T12:00:25.621Z] nexus3.edgexfoundry.org:10001 [2022-12-13T12:00:25.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T12:00:26.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T12:00:26.158Z] Configure a credential helper to remove this warning. See [2022-12-13T12:00:26.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T12:00:26.158Z] [2022-12-13T12:00:26.158Z] Login Succeeded [2022-12-13T12:00:26.158Z] nexus3.edgexfoundry.org:10002 [2022-12-13T12:00:26.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T12:00:26.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T12:00:26.428Z] Configure a credential helper to remove this warning. See [2022-12-13T12:00:26.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T12:00:26.428Z] [2022-12-13T12:00:26.428Z] Login Succeeded [2022-12-13T12:00:26.428Z] nexus3.edgexfoundry.org:10003 [2022-12-13T12:00:26.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T12:00:26.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T12:00:26.964Z] Configure a credential helper to remove this warning. See [2022-12-13T12:00:26.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T12:00:26.964Z] [2022-12-13T12:00:26.964Z] Login Succeeded [2022-12-13T12:00:26.964Z] nexus3.edgexfoundry.org:10004 [2022-12-13T12:00:27.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T12:00:27.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T12:00:27.232Z] Configure a credential helper to remove this warning. See [2022-12-13T12:00:27.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T12:00:27.232Z] [2022-12-13T12:00:27.232Z] Login Succeeded [2022-12-13T12:00:27.232Z] docker.io [2022-12-13T12:00:27.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-13T12:00:27.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-13T12:00:27.769Z] Configure a credential helper to remove this warning. See [2022-12-13T12:00:27.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-13T12:00:27.769Z] [2022-12-13T12:00:27.769Z] Login Succeeded [2022-12-13T12:00:27.769Z] ---> docker-login.sh ends [Pipeline] } [2022-12-13T12:00:27.784Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-13T12:00:27.936Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-13T12:00:27.948Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-13T12:00:27.955Z] ========================================================= [2022-12-13T12:00:27.955Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-12-13T12:00:27.955Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T12:00:28.292Z] + 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 . [2022-12-13T12:00:28.292Z] Sending build context to Docker daemon 149.5kB [2022-12-13T12:00:28.564Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-12-13T12:00:28.564Z] Step 2/12 : FROM ${BASE} AS builder [2022-12-13T12:00:28.564Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-12-13T12:00:28.564Z] 9b18e9b68314: Pulling fs layer [2022-12-13T12:00:28.564Z] 35d82f9e3411: Pulling fs layer [2022-12-13T12:00:28.564Z] e16973657156: Pulling fs layer [2022-12-13T12:00:28.564Z] fc693d55d65f: Pulling fs layer [2022-12-13T12:00:28.564Z] 7e9fc2657dce: Pulling fs layer [2022-12-13T12:00:28.564Z] dda99020689f: Pulling fs layer [2022-12-13T12:00:28.564Z] db1c61fa0a46: Pulling fs layer [2022-12-13T12:00:28.564Z] 891c053d2c06: Pulling fs layer [2022-12-13T12:00:28.564Z] dda99020689f: Waiting [2022-12-13T12:00:28.564Z] db1c61fa0a46: Waiting [2022-12-13T12:00:28.564Z] 891c053d2c06: Waiting [2022-12-13T12:00:28.564Z] fc693d55d65f: Waiting [2022-12-13T12:00:28.564Z] 7e9fc2657dce: Waiting [2022-12-13T12:00:28.564Z] e16973657156: Verifying Checksum [2022-12-13T12:00:28.564Z] e16973657156: Download complete [2022-12-13T12:00:28.564Z] 35d82f9e3411: Verifying Checksum [2022-12-13T12:00:28.564Z] 35d82f9e3411: Download complete [2022-12-13T12:00:28.836Z] 7e9fc2657dce: Verifying Checksum [2022-12-13T12:00:28.836Z] 7e9fc2657dce: Download complete [2022-12-13T12:00:28.836Z] dda99020689f: Verifying Checksum [2022-12-13T12:00:28.836Z] dda99020689f: Download complete [2022-12-13T12:00:28.836Z] 9b18e9b68314: Verifying Checksum [2022-12-13T12:00:28.836Z] 9b18e9b68314: Download complete [2022-12-13T12:00:29.805Z] 9b18e9b68314: Pull complete [2022-12-13T12:00:29.805Z] 891c053d2c06: Verifying Checksum [2022-12-13T12:00:29.805Z] 891c053d2c06: Download complete [2022-12-13T12:00:30.076Z] 35d82f9e3411: Pull complete [2022-12-13T12:00:30.346Z] e16973657156: Pull complete [2022-12-13T12:00:30.933Z] db1c61fa0a46: Verifying Checksum [2022-12-13T12:00:30.933Z] db1c61fa0a46: Download complete [2022-12-13T12:00:31.530Z] fc693d55d65f: Verifying Checksum [2022-12-13T12:00:31.530Z] fc693d55d65f: Download complete [2022-12-13T12:00:43.875Z] fc693d55d65f: Pull complete [2022-12-13T12:00:43.875Z] 7e9fc2657dce: Pull complete [2022-12-13T12:00:43.875Z] dda99020689f: Pull complete [2022-12-13T12:00:49.230Z] db1c61fa0a46: Pull complete [2022-12-13T12:00:51.182Z] 891c053d2c06: Pull complete [2022-12-13T12:00:51.182Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-12-13T12:00:51.182Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-12-13T12:00:51.182Z] ---> f96f9c87975a [2022-12-13T12:00:51.182Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-12-13T12:00:53.126Z] ---> Running in 6b5e66049a48 [2022-12-13T12:00:53.126Z] Removing intermediate container 6b5e66049a48 [2022-12-13T12:00:53.126Z] ---> df852eb547bb [2022-12-13T12:00:53.126Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-13T12:00:53.126Z] ---> Running in 44579cf6923b [2022-12-13T12:00:53.392Z] Removing intermediate container 44579cf6923b [2022-12-13T12:00:53.392Z] ---> 03ce2facc1a2 [2022-12-13T12:00:53.392Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-13T12:00:53.392Z] ---> Running in cf1e23b5d380 [2022-12-13T12:00:53.662Z] Removing intermediate container cf1e23b5d380 [2022-12-13T12:00:53.662Z] ---> 48e0252954f5 [2022-12-13T12:00:53.662Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-12-13T12:00:53.928Z] ---> Running in c269c5e936d4 [2022-12-13T12:00:54.192Z] Removing intermediate container c269c5e936d4 [2022-12-13T12:00:54.192Z] ---> a1b7bf319f5d [2022-12-13T12:00:54.192Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-13T12:00:54.192Z] ---> Running in ced27b7c89d8 [2022-12-13T12:00:55.147Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-13T12:00:55.413Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-13T12:00:56.413Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-12-13T12:00:56.413Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-12-13T12:00:56.413Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-12-13T12:00:56.413Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-12-13T12:00:56.413Z] Executing busybox-1.35.0-r17.trigger [2022-12-13T12:00:56.682Z] OK: 226 MiB in 55 packages [2022-12-13T12:00:57.640Z] Removing intermediate container ced27b7c89d8 [2022-12-13T12:00:57.640Z] ---> 876418e6710e [2022-12-13T12:00:57.640Z] Step 8/12 : WORKDIR /device-rest-go [2022-12-13T12:00:57.640Z] ---> Running in 932bae67e86f [2022-12-13T12:00:57.911Z] Removing intermediate container 932bae67e86f [2022-12-13T12:00:57.911Z] ---> 9608f0a3e1f4 [2022-12-13T12:00:57.911Z] Step 9/12 : COPY go.mod vendor* ./ [2022-12-13T12:00:58.196Z] ---> 3cba4b0591c0 [2022-12-13T12:00:58.196Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-13T12:00:58.196Z] ---> Running in 1763aae3efdc [2022-12-13T12:01:54.642Z] Removing intermediate container 1763aae3efdc [2022-12-13T12:01:54.642Z] ---> c5c1162a3f2b [2022-12-13T12:01:54.642Z] Step 11/12 : COPY . . [2022-12-13T12:01:54.642Z] ---> 461133309f46 [2022-12-13T12:01:54.642Z] Step 12/12 : RUN $MAKE [2022-12-13T12:01:54.642Z] ---> Running in a059ead6f052 [2022-12-13T12:01:54.642Z] noop [2022-12-13T12:01:54.642Z] Removing intermediate container a059ead6f052 [2022-12-13T12:01:54.642Z] ---> ad5f473eba38 [2022-12-13T12:01:54.642Z] Successfully built ad5f473eba38 [2022-12-13T12:01:54.642Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T12:01:55.141Z] + docker inspect -f . ci-base-image-arm64 [2022-12-13T12:01:55.141Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T12:01:55.321Z] prd-ubuntu20.04-docker-arm64-4c-16g-121061 does not seem to be running inside a container [2022-12-13T12:01:55.387Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-12-13T12:01:56.648Z] $ docker top 9930047ec5eed0b631b20b8bad714856cceb74e66bc594f29d091c8dd1194653 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-13T12:01:57.482Z] + go version [2022-12-13T12:01:57.483Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-12-13T12:01:57.500Z] $ docker stop --time=1 9930047ec5eed0b631b20b8bad714856cceb74e66bc594f29d091c8dd1194653 [2022-12-13T12:01:59.088Z] $ docker rm -f 9930047ec5eed0b631b20b8bad714856cceb74e66bc594f29d091c8dd1194653 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T12:01:59.604Z] + docker inspect -f . ci-base-image-arm64 [2022-12-13T12:01:59.605Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T12:01:59.766Z] prd-ubuntu20.04-docker-arm64-4c-16g-121061 does not seem to be running inside a container [2022-12-13T12:01:59.830Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-12-13T12:02:01.005Z] $ docker top c71a0dba3cd1851cc0e835c163f3d167139120ca83c96394ec562f1e3e7e6998 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-13T12:02:01.525Z] + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh [2022-12-13T12:02:01.861Z] + make test [2022-12-13T12:02:02.131Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-12-13T12:02:03.553Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-12-13T12:03:25.198Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-12-13T12:03:26.610Z] ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 26.7% of statements [2022-12-13T12:03:26.878Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-12-13T12:03:26.878Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-12-13T12:03:48.977Z] # github.com/edgexfoundry/device-rest-go/driver [2022-12-13T12:03:48.977Z] driver/restdriver.go:287:15: result of fmt.Errorf call not used [2022-12-13T12:03:48.977Z] make: *** [Makefile:46: test] Error 2 [Pipeline] } [2022-12-13T12:03:48.993Z] $ docker stop --time=1 c71a0dba3cd1851cc0e835c163f3d167139120ca83c96394ec562f1e3e7e6998 [2022-12-13T12:03:50.716Z] $ docker rm -f c71a0dba3cd1851cc0e835c163f3d167139120ca83c96394ec562f1e3e7e6998 [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 [2022-12-13T12:03:51.730Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-13T12:03:51.730Z] [2022-12-13T12:03:51.730Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T12:03:52.061Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-13T12:03:52.332Z] arm64: Pulling from edgex-lftools-log-publisher [2022-12-13T12:03:52.332Z] 8998bd30e6a1: Pulling fs layer [2022-12-13T12:03:52.332Z] 04944245beec: Pulling fs layer [2022-12-13T12:03:52.332Z] 699f458cf7ca: Pulling fs layer [2022-12-13T12:03:52.332Z] 765212b225bb: Pulling fs layer [2022-12-13T12:03:52.332Z] f23df028b6ca: Pulling fs layer [2022-12-13T12:03:52.332Z] d65c8cfc05b1: Pulling fs layer [2022-12-13T12:03:52.332Z] 2437ff75d9bd: Pulling fs layer [2022-12-13T12:03:52.332Z] 765212b225bb: Waiting [2022-12-13T12:03:52.332Z] f23df028b6ca: Waiting [2022-12-13T12:03:52.332Z] 2437ff75d9bd: Waiting [2022-12-13T12:03:52.332Z] d65c8cfc05b1: Waiting [2022-12-13T12:03:52.332Z] 04944245beec: Verifying Checksum [2022-12-13T12:03:52.332Z] 04944245beec: Download complete [2022-12-13T12:03:52.332Z] 765212b225bb: Verifying Checksum [2022-12-13T12:03:52.332Z] 765212b225bb: Download complete [2022-12-13T12:03:52.600Z] f23df028b6ca: Verifying Checksum [2022-12-13T12:03:52.600Z] f23df028b6ca: Download complete [2022-12-13T12:03:52.600Z] d65c8cfc05b1: Verifying Checksum [2022-12-13T12:03:52.600Z] d65c8cfc05b1: Download complete [2022-12-13T12:03:52.600Z] 699f458cf7ca: Verifying Checksum [2022-12-13T12:03:52.600Z] 699f458cf7ca: Download complete [2022-12-13T12:03:53.184Z] 8998bd30e6a1: Verifying Checksum [2022-12-13T12:03:53.184Z] 8998bd30e6a1: Download complete [2022-12-13T12:03:55.152Z] 2437ff75d9bd: Verifying Checksum [2022-12-13T12:03:55.152Z] 2437ff75d9bd: Download complete [2022-12-13T12:03:57.770Z] 8998bd30e6a1: Pull complete [2022-12-13T12:03:58.401Z] 04944245beec: Pull complete [2022-12-13T12:03:59.827Z] 699f458cf7ca: Pull complete [2022-12-13T12:04:00.096Z] 765212b225bb: Pull complete [2022-12-13T12:04:00.784Z] f23df028b6ca: Pull complete [2022-12-13T12:04:01.051Z] d65c8cfc05b1: Pull complete [2022-12-13T12:04:19.722Z] 2437ff75d9bd: Pull complete [2022-12-13T12:04:19.723Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-12-13T12:04:19.723Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-13T12:04:19.723Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T12:04:19.916Z] prd-ubuntu20.04-docker-arm64-4c-16g-121061 does not seem to be running inside a container [2022-12-13T12:04:19.996Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-12-13T12:04:21.282Z] $ docker top a980b9700b9d3aa06ff25cb9691cd7b1a0adb04b3f4c2a8d2fef7a969d8337a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-13T12:04:22.123Z] ---> job-cost.sh [2022-12-13T12:04:22.123Z] lf-activate-venv: SKIPPING [2022-12-13T12:04:22.123Z] INFO: No Stack... [2022-12-13T12:04:22.392Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-12-13T12:04:23.356Z] INFO: Archiving Costs [Pipeline] sh [2022-12-13T12:04:24.011Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2022-12-13T12:04:24.011Z] + cut -d, -f6 [Pipeline] lock [2022-12-13T12:04:24.048Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-229-2-stack-cost] [2022-12-13T12:04:24.055Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-229-2-stack-cost] did not exist. Created. [2022-12-13T12:04:24.055Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-229-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-13T12:04:24.738Z] /w/workspace/device-rest-go/2@tmp/durable-d355b9fc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-12-13T12:04:25.387Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-12-13T12:04:25.408Z] Warning: overwriting stash ‘stack-cost’ [2022-12-13T12:04:25.881Z] Stashed 1 file(s) [Pipeline] } [2022-12-13T12:04:25.889Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-229-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-13T12:04:25.913Z] $ docker stop --time=1 a980b9700b9d3aa06ff25cb9691cd7b1a0adb04b3f4c2a8d2fef7a969d8337a0 [2022-12-13T12:04:27.604Z] $ docker rm -f a980b9700b9d3aa06ff25cb9691cd7b1a0adb04b3f4c2a8d2fef7a969d8337a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-12-13T12:04:27.886Z] 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 [2022-12-13T12:04:28.520Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-229/archives ] [2022-12-13T12:04:28.520Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-229/archives [2022-12-13T12:04:28.520Z] total 16 [2022-12-13T12:04:28.520Z] drwxr-xr-x 3 root root 4096 Dec 13 11:59 . [2022-12-13T12:04:28.520Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 13 11:59 .. [2022-12-13T12:04:28.520Z] drwxr-xr-x 2 root root 4096 Dec 13 11:59 cost [2022-12-13T12:04:28.520Z] -rw-r--r-- 1 root root 86 Dec 13 11:59 cost.csv [2022-12-13T12:04:28.520Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-229/archives [2022-12-13T12:04:28.520Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-229/archives [2022-12-13T12:04:28.520Z] total 16 [2022-12-13T12:04:28.520Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 13 11:59 . [2022-12-13T12:04:28.520Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 13 11:59 .. [2022-12-13T12:04:28.520Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 13 11:59 cost [2022-12-13T12:04:28.520Z] -rw-r--r-- 1 jenkins jenkins 86 Dec 13 11:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-12-13T12:04:28.808Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-13T12:04:29.664Z] ---> package-listing.sh [2022-12-13T12:04:29.664Z] ++ facter osfamily [2022-12-13T12:04:29.664Z] ++ tr '[:upper:]' '[:lower:]' [2022-12-13T12:04:29.924Z] + OS_FAMILY=debian [2022-12-13T12:04:29.924Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-229 [2022-12-13T12:04:29.924Z] + START_PACKAGES=/tmp/packages_start.txt [2022-12-13T12:04:29.924Z] + END_PACKAGES=/tmp/packages_end.txt [2022-12-13T12:04:29.924Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-12-13T12:04:29.924Z] + PACKAGES=/tmp/packages_start.txt [2022-12-13T12:04:29.924Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-229 ']' [2022-12-13T12:04:29.924Z] + PACKAGES=/tmp/packages_end.txt [2022-12-13T12:04:29.924Z] + case "${OS_FAMILY}" in [2022-12-13T12:04:29.924Z] + dpkg -l [2022-12-13T12:04:29.924Z] + grep '^ii' [2022-12-13T12:04:29.924Z] + '[' -f /tmp/packages_start.txt ']' [2022-12-13T12:04:29.924Z] + '[' -f /tmp/packages_end.txt ']' [2022-12-13T12:04:29.924Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-12-13T12:04:29.924Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-229 ']' [2022-12-13T12:04:29.924Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-229/archives/ [2022-12-13T12:04:29.924Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-229/archives/ [Pipeline] echo [2022-12-13T12:04:29.933Z] 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-229/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-12-13T12:04:30.210Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-13T12:04:30.772Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-13T12:04:30.772Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-13T12:04:30.832Z] prd-ubuntu20.04-docker-8c-8g-121060 does not seem to be running inside a container [2022-12-13T12:04:30.865Z] $ 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-229/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-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-13T12:04:31.118Z] $ docker top d775f81e74dbf2bd50bf85cf87078b97fa8afb639042743f51d43982cbd37ada -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-13T12:04:31.463Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-12-13T12:04:31.749Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-12-13T12:04:32.037Z] + ls /var/log/sa-host [2022-12-13T12:04:32.037Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-13T12:04:32.169Z] provisioning config files... [2022-12-13T12:04:32.177Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config2944870271104260351tmp [Pipeline] { [Pipeline] echo [2022-12-13T12:04:32.191Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-13T12:04:32.471Z] ---> create-netrc.sh [Pipeline] } [2022-12-13T12:04:32.477Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-12-13T12:04:32.795Z] ---> python-tools-install.sh [Pipeline] echo [2022-12-13T12:04:32.802Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-13T12:04:33.081Z] ---> sudo-logs.sh [2022-12-13T12:04:33.081Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-12-13T12:04:33.106Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-13T12:04:33.385Z] ---> job-cost.sh [2022-12-13T12:04:33.385Z] lf-activate-venv: SKIPPING [2022-12-13T12:04:33.385Z] DEBUG: total: 0.2199999988079071 [2022-12-13T12:04:33.385Z] INFO: Retrieving Stack Cost... [2022-12-13T12:04:33.644Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-13T12:04:33.902Z] INFO: Archiving Costs [Pipeline] echo [2022-12-13T12:04:33.913Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-13T12:04:34.196Z] ---> logs-deploy.sh [2022-12-13T12:04:34.196Z] lf-activate-venv: SKIPPING [2022-12-13T12:04:34.196Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-229/2 [2022-12-13T12:04:34.196Z] INFO: archiving workspace using pattern(s): [2022-12-13T12:04:35.134Z] Archives upload complete. [2022-12-13T12:04:35.134Z] INFO: archiving logs to Nexus