Pull request #273 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e6762fe2798312bec0193414951e0bc8909f18e9+e28169b2e94fb685934981c338b1a6a24f9d6fce (c03d5b5439398726a4d28e105553135dccde7e09) 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-ssh17460631646480429682.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh11531479301294169490.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-273/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-273/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15857089701291312214.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-273/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7430252083046712957.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh18294263061514008704.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-273/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-273/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15481926250976034294.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4729’ Running on prd-ubuntu20.04-docker-8c-8g-4737 in /w/workspace/gexfoundry_device-rest-go_PR-273 [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-273 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e28169b2e94fb685934981c338b1a6a24f9d6fce into PR head commit e6762fe2798312bec0193414951e0bc8909f18e9 Merge succeeded, producing e6762fe2798312bec0193414951e0bc8909f18e9 Checking out Revision e6762fe2798312bec0193414951e0bc8909f18e9 (PR-273) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/273/head:refs/remotes/origin/PR-273 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e6762fe2798312bec0193414951e0bc8909f18e9 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e28169b2e94fb685934981c338b1a6a24f9d6fce # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e6762fe2798312bec0193414951e0bc8909f18e9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:27:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:27:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:27:39 ========================================================= 05:27:39 EdgeX Global Pipelines Version Info 05:27:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:27:40 ------------------- 05:27:40 stable info: 05:27:40 ------------------- 05:27:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:27:40 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 05:27:40 Message: update stable to v1.0.245 05:27:40 ------------------- 05:27:40 experimental info: 05:27:40 ------------------- 05:27:40 Commited By: **** collab-it+edgex@linuxfoundation.org 05:27:40 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 05:27:40 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:27:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 05:27:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 05:27:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:27:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:27:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:27:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:27:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:27:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:27:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:27:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:27:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:27:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 05:27:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:27:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:27:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:27:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:27:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:27:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:27:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:27:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:27:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:27:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:27:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:27:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:27:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:27:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:27:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:27:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-273 [Pipeline] echo 05:27:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-273 [Pipeline] echo 05:27:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-273 [Pipeline] echo 05:27:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e6762fe2798312bec0193414951e0bc8909f18e9 [Pipeline] echo 05:27:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e6762fe [Pipeline] echo 05:27:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:27:42 provisioning config files... 05:27:42 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-273@tmp/config12990799374626754510tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:27:42 ---> docker-login.sh 05:27:42 nexus3.edgexfoundry.org:10001 05:27:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:27:43 Configure a credential helper to remove this warning. See 05:27:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:27:43 05:27:43 Login Succeeded 05:27:43 nexus3.edgexfoundry.org:10002 05:27:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:27:43 Configure a credential helper to remove this warning. See 05:27:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:27:43 05:27:43 Login Succeeded 05:27:43 nexus3.edgexfoundry.org:10003 05:27:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:27:43 Configure a credential helper to remove this warning. See 05:27:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:27:43 05:27:43 Login Succeeded 05:27:43 nexus3.edgexfoundry.org:10004 05:27:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:27:43 Configure a credential helper to remove this warning. See 05:27:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:27:43 05:27:43 Login Succeeded 05:27:43 docker.io 05:27:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:27:44 Configure a credential helper to remove this warning. See 05:27:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:27:44 05:27:44 Login Succeeded 05:27:44 ---> docker-login.sh ends [Pipeline] } 05:27:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:27:44 + git rev-list -1 --merges e6762fe2798312bec0193414951e0bc8909f18e9~1..e6762fe2798312bec0193414951e0bc8909f18e9 [Pipeline] echo 05:27:44 -----------> git rev-list -1 --merges e6762fe2798312bec0193414951e0bc8909f18e9~1..e6762fe2798312bec0193414951e0bc8909f18e9 e6762fe2798312bec0193414951e0bc8909f18e9 [false] [Pipeline] sh 05:27:45 + git log --format=format:%s -1 e6762fe2798312bec0193414951e0bc8909f18e9 [Pipeline] echo 05:27:45 ========================================================= 05:27:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:27:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:27:45 + git log --format=format:%s -1 e6762fe2798312bec0193414951e0bc8909f18e9 [Pipeline] echo 05:27:45 [semverPrep] GIT_COMMIT: e6762fe2798312bec0193414951e0bc8909f18e9, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:27:45 [semverPrep] This is not a build commit. [Pipeline] sh 05:27:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:27:46 + grep -v github /etc/ssh/ssh_known_hosts 05:27:46 + [ -e /tmp/ssh_known_hosts ] 05:27:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:27:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:27:46 + sudo tee -a /etc/ssh/ssh_known_hosts 05:27:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:27:46 05:27:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:27:46 0.1.4: Pulling from edgex-devops/py-git-semver 05:27:46 b85a868b505f: Pulling fs layer 05:27:46 e2be974225ed: Pulling fs layer 05:27:46 339a4e72a1f5: Pulling fs layer 05:27:46 988bab9f4d93: Pulling fs layer 05:27:46 1469e6f7b9e6: Pulling fs layer 05:27:46 eaf3925da568: Pulling fs layer 05:27:46 bab4dde63d76: Pulling fs layer 05:27:46 bde34c3a00c8: Pulling fs layer 05:27:46 b352a97aabf1: Pulling fs layer 05:27:46 4872d77fe225: Pulling fs layer 05:27:46 5851b861e8e6: Pulling fs layer 05:27:46 988bab9f4d93: Waiting 05:27:46 1469e6f7b9e6: Waiting 05:27:46 eaf3925da568: Waiting 05:27:46 bab4dde63d76: Waiting 05:27:46 bde34c3a00c8: Waiting 05:27:46 b352a97aabf1: Waiting 05:27:46 5851b861e8e6: Waiting 05:27:46 4872d77fe225: Waiting 05:27:46 e2be974225ed: Verifying Checksum 05:27:46 e2be974225ed: Download complete 05:27:46 988bab9f4d93: Verifying Checksum 05:27:46 988bab9f4d93: Download complete 05:27:47 1469e6f7b9e6: Verifying Checksum 05:27:47 1469e6f7b9e6: Download complete 05:27:47 eaf3925da568: Download complete 05:27:47 339a4e72a1f5: Verifying Checksum 05:27:47 339a4e72a1f5: Download complete 05:27:47 bde34c3a00c8: Download complete 05:27:47 b352a97aabf1: Download complete 05:27:47 4872d77fe225: Download complete 05:27:47 5851b861e8e6: Download complete 05:27:47 b85a868b505f: Verifying Checksum 05:27:47 b85a868b505f: Download complete 05:27:47 bab4dde63d76: Verifying Checksum 05:27:47 bab4dde63d76: Download complete 05:27:49 b85a868b505f: Pull complete 05:27:49 e2be974225ed: Pull complete 05:27:50 339a4e72a1f5: Pull complete 05:27:50 988bab9f4d93: Pull complete 05:27:50 1469e6f7b9e6: Pull complete 05:27:50 eaf3925da568: Pull complete 05:27:52 bab4dde63d76: Pull complete 05:27:52 bde34c3a00c8: Pull complete 05:27:52 b352a97aabf1: Pull complete 05:27:52 4872d77fe225: Pull complete 05:27:53 5851b861e8e6: Pull complete 05:27:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:27:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:27:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:27:53 prd-ubuntu20.04-docker-8c-8g-4737 does not seem to be running inside a container 05:27:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-273 -v /w/workspace/gexfoundry_device-rest-go_PR-273:/w/workspace/gexfoundry_device-rest-go_PR-273:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-273@tmp:/w/workspace/gexfoundry_device-rest-go_PR-273@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:28:00 $ docker top 34fc20593c11085e97a90a528dc13de4fd5c0a3b753a6f4afc503fea8ddec7bd -eo pid,comm 05:28:00 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). 05:28:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:28:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:28:00 [ssh-agent] Looking for ssh-agent implementation... 05:28:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:28:01 $ docker exec 34fc20593c11085e97a90a528dc13de4fd5c0a3b753a6f4afc503fea8ddec7bd ssh-agent 05:28:01 SSH_AUTH_SOCK=/tmp/ssh-H0FQfrWTfB9K/agent.13 05:28:01 SSH_AGENT_PID=19 05:28:01 Running ssh-add (command line suppressed) 05:28:01 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-273@tmp/private_key_11481709062244440073.key (/w/workspace/gexfoundry_device-rest-go_PR-273@tmp/private_key_11481709062244440073.key) 05:28:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:28:01 + git tag --points-at HEAD [Pipeline] } 05:28:01 $ docker exec --env ******** --env ******** 34fc20593c11085e97a90a528dc13de4fd5c0a3b753a6f4afc503fea8ddec7bd ssh-agent -k 05:28:01 unset SSH_AUTH_SOCK; 05:28:01 unset SSH_AGENT_PID; 05:28:01 echo Agent pid 19 killed; 05:28:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:28:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:28:01 [ssh-agent] Looking for ssh-agent implementation... 05:28:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:28:02 $ docker exec 34fc20593c11085e97a90a528dc13de4fd5c0a3b753a6f4afc503fea8ddec7bd ssh-agent 05:28:01 SSH_AUTH_SOCK=/tmp/ssh-EvZv6GUEm31Y/agent.69 05:28:01 SSH_AGENT_PID=75 05:28:01 Running ssh-add (command line suppressed) 05:28:02 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-273@tmp/private_key_8831525939431096244.key (/w/workspace/gexfoundry_device-rest-go_PR-273@tmp/private_key_8831525939431096244.key) 05:28:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:28:02 + git semver init 05:28:02 2023-03-21 05:28:02,848 [run_init] DEBUG init version:0.0.0 force:False 05:28:02 2023-03-21 05:28:02,850 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-273/.semver 05:28:02 2023-03-21 05:28:02,851 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-273/.semver 05:28:02 2023-03-21 05:28:02,852 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-273/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-273, universal_newlines=False, shell=None, istream=None) 05:28:04 2023-03-21 05:28:04,153 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-273/.git/info/exclude 05:28:04 2023-03-21 05:28:04,154 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-273/.semver/PR-273 with force:False 05:28:04 2023-03-21 05:28:04,154 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-273/.semver/PR-273 05:28:04 2023-03-21 05:28:04,160 [execute] INFO git cat-file --batch-check 05:28:04 2023-03-21 05:28:04,160 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-273/.semver, universal_newlines=False, shell=None, istream=) 05:28:04 2023-03-21 05:28:04,166 [execute] INFO git cat-file --batch 05:28:04 2023-03-21 05:28:04,166 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-273/.semver, universal_newlines=False, shell=None, istream=) 05:28:04 2023-03-21 05:28:04,171 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-273/.semver/PR-273 05:28:04 0.0.0 [Pipeline] } 05:28:04 $ docker exec --env ******** --env ******** 34fc20593c11085e97a90a528dc13de4fd5c0a3b753a6f4afc503fea8ddec7bd ssh-agent -k 05:28:04 unset SSH_AUTH_SOCK; 05:28:04 unset SSH_AGENT_PID; 05:28:04 echo Agent pid 75 killed; 05:28:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:28:04 + git semver [Pipeline] } 05:28:05 $ docker stop --time=1 34fc20593c11085e97a90a528dc13de4fd5c0a3b753a6f4afc503fea8ddec7bd 05:28:06 $ docker rm -f --volumes 34fc20593c11085e97a90a528dc13de4fd5c0a3b753a6f4afc503fea8ddec7bd [Pipeline] // withDockerContainer [Pipeline] sh 05:28:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:28:07 Stashed 1 file(s) [Pipeline] echo 05:28:07 [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 05:28:07 provisioning config files... 05:28:07 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-273@tmp/config8658481348526582196tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:28:07 ---> docker-login.sh 05:28:07 nexus3.edgexfoundry.org:10001 05:28:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:07 Configure a credential helper to remove this warning. See 05:28:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:07 05:28:07 Login Succeeded 05:28:07 nexus3.edgexfoundry.org:10002 05:28:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:07 Configure a credential helper to remove this warning. See 05:28:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:07 05:28:07 Login Succeeded 05:28:07 nexus3.edgexfoundry.org:10003 05:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:08 Configure a credential helper to remove this warning. See 05:28:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:08 05:28:08 Login Succeeded 05:28:08 nexus3.edgexfoundry.org:10004 05:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:08 Configure a credential helper to remove this warning. See 05:28:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:08 05:28:08 Login Succeeded 05:28:08 docker.io 05:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:28:08 Configure a credential helper to remove this warning. See 05:28:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:28:08 05:28:08 Login Succeeded 05:28:08 ---> docker-login.sh ends [Pipeline] } 05:28:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:28:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:28:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:28:09 ========================================================= 05:28:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:28:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:09 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 05:28:09 Sending build context to Docker daemon 10.86MB 05:28:09 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 05:28:09 Step 2/12 : FROM ${BASE} AS builder 05:28:09 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:28:09 63b65145d645: Pulling fs layer 05:28:09 a2d21d5440eb: Pulling fs layer 05:28:09 935e6c44a52c: Pulling fs layer 05:28:09 94cc34f8dd06: Pulling fs layer 05:28:09 30dea6a524f1: Pulling fs layer 05:28:09 a2aff8979fd8: Pulling fs layer 05:28:09 6808be2612f2: Pulling fs layer 05:28:09 f25807f1079a: Pulling fs layer 05:28:09 94cc34f8dd06: Waiting 05:28:09 6808be2612f2: Waiting 05:28:09 30dea6a524f1: Waiting 05:28:09 f25807f1079a: Waiting 05:28:09 a2d21d5440eb: Verifying Checksum 05:28:09 a2d21d5440eb: Download complete 05:28:09 94cc34f8dd06: Verifying Checksum 05:28:09 94cc34f8dd06: Download complete 05:28:09 30dea6a524f1: Verifying Checksum 05:28:09 30dea6a524f1: Download complete 05:28:09 63b65145d645: Verifying Checksum 05:28:09 63b65145d645: Download complete 05:28:09 a2aff8979fd8: Verifying Checksum 05:28:09 a2aff8979fd8: Download complete 05:28:09 63b65145d645: Pull complete 05:28:10 a2d21d5440eb: Pull complete 05:28:10 f25807f1079a: Verifying Checksum 05:28:10 f25807f1079a: Download complete 05:28:10 935e6c44a52c: Download complete 05:28:10 6808be2612f2: Verifying Checksum 05:28:10 6808be2612f2: Download complete 05:28:14 935e6c44a52c: Pull complete 05:28:14 94cc34f8dd06: Pull complete 05:28:14 30dea6a524f1: Pull complete 05:28:15 a2aff8979fd8: Pull complete 05:28:17 6808be2612f2: Pull complete 05:28:19 f25807f1079a: Pull complete 05:28:19 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 05:28:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:28:19 ---> 3b553350e43f 05:28:19 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:28:22 Still waiting to schedule task 05:28:22 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4735’ 05:28:27 ---> Running in 671e77f45e25 05:28:27 Removing intermediate container 671e77f45e25 05:28:27 ---> 1ab830a47a3e 05:28:27 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:28:27 ---> Running in 5589b25c9d1c 05:28:27 Removing intermediate container 5589b25c9d1c 05:28:27 ---> 326b4714bdda 05:28:27 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:28:27 ---> Running in ba14a0cb494f 05:28:27 Removing intermediate container ba14a0cb494f 05:28:27 ---> 3041d079d162 05:28:27 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:28:27 ---> Running in 11ad815a2931 05:28:27 Removing intermediate container 11ad815a2931 05:28:27 ---> 79bddc79582b 05:28:27 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:28:27 ---> Running in aedbbd83e1a5 05:28:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:28:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:28:28 (1/4) Installing openssh-keygen (9.1_p1-r2) 05:28:28 (2/4) Installing libedit (20221030.3.1-r0) 05:28:28 (3/4) Installing openssh-client-common (9.1_p1-r2) 05:28:28 (4/4) Installing openssh-client-default (9.1_p1-r2) 05:28:28 Executing busybox-1.35.0-r29.trigger 05:28:28 OK: 269 MiB in 57 packages 05:28:28 Removing intermediate container aedbbd83e1a5 05:28:28 ---> cef465df858c 05:28:28 Step 8/12 : WORKDIR /device-rest-go 05:28:28 ---> Running in 32acd16009a7 05:28:28 Removing intermediate container 32acd16009a7 05:28:28 ---> 1dbc3bacb36b 05:28:28 Step 9/12 : COPY go.mod vendor* ./ 05:28:28 ---> 233fdbb2a6a4 05:28:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:28:29 ---> Running in 13586fb254de 05:28:55 Removing intermediate container 13586fb254de 05:28:55 ---> 3c8efb446bfb 05:28:55 Step 11/12 : COPY . . 05:28:55 ---> fb2479152a3d 05:28:55 Step 12/12 : RUN $MAKE 05:28:55 ---> Running in 9faf3ea398b9 05:28:55 noop 05:28:55 Removing intermediate container 9faf3ea398b9 05:28:55 ---> 7deb054b7272 05:28:55 Successfully built 7deb054b7272 05:28:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:56 + docker inspect -f . ci-base-image-x86_64 05:28:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:56 prd-ubuntu20.04-docker-8c-8g-4737 does not seem to be running inside a container 05:28:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-273 -v /w/workspace/gexfoundry_device-rest-go_PR-273:/w/workspace/gexfoundry_device-rest-go_PR-273:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-273@tmp:/w/workspace/gexfoundry_device-rest-go_PR-273@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:28:56 $ docker top ece20edcd29b320ebb84c0c7edf2b8117591c2e6d71bbe282fee7f5e4f3c175d -eo pid,comm [Pipeline] { [Pipeline] sh 05:28:56 + go version 05:28:56 go version go1.20.2 linux/amd64 [Pipeline] } 05:28:56 $ docker stop --time=1 ece20edcd29b320ebb84c0c7edf2b8117591c2e6d71bbe282fee7f5e4f3c175d 05:28:58 $ docker rm -f --volumes ece20edcd29b320ebb84c0c7edf2b8117591c2e6d71bbe282fee7f5e4f3c175d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:59 + docker inspect -f . ci-base-image-x86_64 05:28:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:59 prd-ubuntu20.04-docker-8c-8g-4737 does not seem to be running inside a container 05:28:59 $ 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-273 -v /w/workspace/gexfoundry_device-rest-go_PR-273:/w/workspace/gexfoundry_device-rest-go_PR-273:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-273@tmp:/w/workspace/gexfoundry_device-rest-go_PR-273@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:28:59 $ docker top 781ce252ef100a9174019de34e3adc1711d527e33b2608aab83751c7b5a72b1a -eo pid,comm [Pipeline] { [Pipeline] sh 05:29:00 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-273 [Pipeline] fileExists [Pipeline] sh 05:29:00 + make test 05:29:00 go test ./... -coverprofile=coverage.out ./... 05:29:04 ? github.com/edgexfoundry/device-rest-go [no test files] 05:29:14 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 05:29:14 ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 33.0% of statements 05:29:19 go vet ./... 05:29:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:29:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:29:23 ./bin/test-attribution-txt.sh [Pipeline] echo 05:29:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:29:23 $ docker stop --time=1 781ce252ef100a9174019de34e3adc1711d527e33b2608aab83751c7b5a72b1a 05:29:28 $ docker rm -f --volumes 781ce252ef100a9174019de34e3adc1711d527e33b2608aab83751c7b5a72b1a [Pipeline] // withDockerContainer [Pipeline] sh 05:29:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:29:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:29:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:29:29 + ls -al . 05:29:29 total 184 05:29:29 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 05:29 . 05:29:29 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:27 .. 05:29:29 -rw-rw-r-- 1 jenkins jenkins 151 Mar 21 05:27 .dockerignore 05:29:29 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 05:28 .git 05:29:29 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:27 .github 05:29:29 -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 05:27 .gitignore 05:29:29 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 05:27 .golangci.yml 05:29:29 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 05:28 .semver 05:29:29 -rw-rw-r-- 1 jenkins jenkins 9321 Mar 21 05:27 Attribution.txt 05:29:29 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 21 05:27 CHANGELOG.md 05:29:29 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 21 05:27 Dockerfile 05:29:29 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 05:27 GOVERNANCE.md 05:29:29 -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 05:27 Jenkinsfile 05:29:29 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 05:27 LICENSE 05:29:29 -rw-rw-r-- 1 jenkins jenkins 1779 Mar 21 05:27 Makefile 05:29:29 -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 05:27 OWNERS.md 05:29:29 -rw-rw-r-- 1 jenkins jenkins 15447 Mar 21 05:27 README.md 05:29:29 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 05:28 VERSION 05:29:29 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:27 bin 05:29:29 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:27 cmd 05:29:29 -rw-r--r-- 1 jenkins jenkins 14200 Mar 21 05:29 coverage.out 05:29:29 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:27 driver 05:29:29 -rw-rw-r-- 1 jenkins jenkins 3447 Mar 21 05:27 go.mod 05:29:29 -rw-rw-r-- 1 jenkins jenkins 31301 Mar 21 05:27 go.sum 05:29:29 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:27 snap 05:29:29 -rw-rw-r-- 1 jenkins jenkins 713 Mar 21 05:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:30 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=e6762fe2798312bec0193414951e0bc8909f18e9 --label arch=amd64 --label version=0.0.0 . 05:29:30 Sending build context to Docker daemon 10.88MB 05:29:30 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 05:29:30 Step 2/25 : FROM ${BASE} AS builder 05:29:30 ---> 7deb054b7272 05:29:30 Step 3/25 : ARG ADD_BUILD_TAGS="" 05:29:30 ---> Running in 41dfebe52548 05:29:30 Removing intermediate container 41dfebe52548 05:29:30 ---> 882cecf88e17 05:29:30 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:29:30 ---> Running in 41732283072b 05:29:30 Removing intermediate container 41732283072b 05:29:30 ---> a72c0e68bd8c 05:29:30 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:29:30 ---> Running in 360d8e9422e4 05:29:30 Removing intermediate container 360d8e9422e4 05:29:30 ---> 6b6866975e08 05:29:30 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 05:29:30 ---> Running in 8b7364d3f462 05:29:30 Removing intermediate container 8b7364d3f462 05:29:30 ---> 0534e131fecf 05:29:30 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:29:30 ---> Running in 46082937176a 05:29:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:29:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:29:31 OK: 269 MiB in 57 packages 05:29:32 Removing intermediate container 46082937176a 05:29:32 ---> 469b6bb45efb 05:29:32 Step 8/25 : WORKDIR /device-rest-go 05:29:32 ---> Running in ee2bc7531906 05:29:32 Removing intermediate container ee2bc7531906 05:29:32 ---> c935174a53e7 05:29:32 Step 9/25 : COPY go.mod vendor* ./ 05:29:32 ---> 38e87467b1a8 05:29:32 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:29:32 ---> Running in b18e46a09714 05:29:33 Removing intermediate container b18e46a09714 05:29:33 ---> 91953439fc68 05:29:33 Step 11/25 : COPY . . 05:29:33 ---> 70d75d30d8cb 05:29:33 Step 12/25 : RUN $MAKE 05:29:33 ---> Running in ba8e3e81e964 05:29:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 05:29:56 Removing intermediate container ba8e3e81e964 05:29:56 ---> 5f16b78c2a59 05:29:56 Step 13/25 : FROM alpine:3.17 05:29:56 3.17: Pulling from library/alpine 05:29:56 63b65145d645: Already exists 05:29:56 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 05:29:56 Status: Downloaded newer image for alpine:3.17 05:29:56 ---> b2aa39c304c2 05:29:56 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:29:56 ---> Running in 77807d896c70 05:29:56 Removing intermediate container 77807d896c70 05:29:56 ---> 42d2eb5323b5 05:29:56 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 05:29:56 ---> Running in 5991e03da401 05:29:56 Removing intermediate container 5991e03da401 05:29:56 ---> 8aa728db4a17 05:29:56 Step 16/25 : RUN apk add --update --no-cache dumb-init 05:29:56 ---> Running in 819d02eb8020 05:29:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:29:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:29:56 (1/1) Installing dumb-init (1.2.5-r2) 05:29:56 Executing busybox-1.35.0-r29.trigger 05:29:56 OK: 7 MiB in 16 packages 05:29:56 Removing intermediate container 819d02eb8020 05:29:56 ---> 34cc767fd7d3 05:29:56 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 05:29:56 ---> 044d50bc841b 05:29:56 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 05:29:56 ---> 50b8a5a07752 05:29:56 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 05:29:56 ---> d5ce5c8312f6 05:29:56 Step 20/25 : EXPOSE 59986 05:29:56 ---> Running in 23b85120effa 05:29:56 Removing intermediate container 23b85120effa 05:29:56 ---> 5f78d184be78 05:29:56 Step 21/25 : ENTRYPOINT ["/device-rest"] 05:29:56 ---> Running in 6943876d7738 05:29:56 Removing intermediate container 6943876d7738 05:29:56 ---> a72d5eb782eb 05:29:56 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:29:56 ---> Running in b7c8c48c893a 05:29:56 Removing intermediate container b7c8c48c893a 05:29:56 ---> 8c41c088a1fb 05:29:56 Step 23/25 : LABEL arch=amd64 05:29:56 ---> Running in c1ae0781d612 05:29:56 Removing intermediate container c1ae0781d612 05:29:56 ---> e45caadfd9ae 05:29:56 Step 24/25 : LABEL git_sha=e6762fe2798312bec0193414951e0bc8909f18e9 05:29:56 ---> Running in 0e4ea9d35ea3 05:29:56 Removing intermediate container 0e4ea9d35ea3 05:29:56 ---> c8514a392105 05:29:56 Step 25/25 : LABEL version=0.0.0 05:29:56 ---> Running in 09411b3df851 05:29:56 Removing intermediate container 09411b3df851 05:29:56 ---> 0f74b47a1d43 05:29:56 [Warning] One or more build-args [ARCH] were not consumed 05:29:56 Successfully built 0f74b47a1d43 05:29:56 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:29:57 05:29:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:29:57 latest: Pulling from edgex-lftools-log-publisher 05:29:57 5eb5b503b376: Pulling fs layer 05:29:57 5c69ac0246d0: Pulling fs layer 05:29:57 ec43610c2a17: Pulling fs layer 05:29:57 3a2ae6a8a46f: Pulling fs layer 05:29:57 33b1e0a273af: Pulling fs layer 05:29:57 5d3b04190fa2: Pulling fs layer 05:29:57 33b1e0a273af: Waiting 05:29:57 3a2ae6a8a46f: Waiting 05:29:57 2f39f015ded8: Pulling fs layer 05:29:57 5d3b04190fa2: Waiting 05:29:57 2f39f015ded8: Waiting 05:29:57 5c69ac0246d0: Verifying Checksum 05:29:57 5c69ac0246d0: Download complete 05:29:57 3a2ae6a8a46f: Download complete 05:29:57 33b1e0a273af: Verifying Checksum 05:29:57 33b1e0a273af: Download complete 05:29:57 5d3b04190fa2: Verifying Checksum 05:29:57 5d3b04190fa2: Download complete 05:29:57 ec43610c2a17: Verifying Checksum 05:29:57 ec43610c2a17: Download complete 05:29:57 5eb5b503b376: Verifying Checksum 05:29:57 5eb5b503b376: Download complete 05:29:58 2f39f015ded8: Download complete 05:29:59 5eb5b503b376: Pull complete 05:29:59 5c69ac0246d0: Pull complete 05:29:59 ec43610c2a17: Pull complete 05:29:59 3a2ae6a8a46f: Pull complete 05:29:59 33b1e0a273af: Pull complete 05:29:59 5d3b04190fa2: Pull complete 05:30:04 2f39f015ded8: Pull complete 05:30:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:30:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:30:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:30:04 prd-ubuntu20.04-docker-8c-8g-4737 does not seem to be running inside a container 05:30:04 $ 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-273 -v /w/workspace/gexfoundry_device-rest-go_PR-273:/w/workspace/gexfoundry_device-rest-go_PR-273:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-273@tmp:/w/workspace/gexfoundry_device-rest-go_PR-273@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:30:08 $ docker top b518e400a0b64b7894aa2462812782d3f4888f32ca75bbafead56f2aeefc9172 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:30:09 ---> job-cost.sh 05:30:09 lf-activate-venv: SKIPPING 05:30:09 INFO: No Stack... 05:30:09 INFO: Retrieving Pricing Info for: v3-standard-8 05:30:09 INFO: Archiving Costs [Pipeline] sh 05:30:10 + cat /w/workspace/gexfoundry_device-rest-go_PR-273/archives/cost.csv 05:30:10 + cut -d, -f6 [Pipeline] lock 05:30:10 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-273-1-stack-cost] 05:30:10 Resource [jenkins-edgexfoundry-device-rest-go-PR-273-1-stack-cost] did not exist. Created. 05:30:10 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-273-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:30:10 + echo total: 0.2199999988079071 [Pipeline] stash 05:30:10 Stashed 1 file(s) [Pipeline] } 05:30:10 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-273-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:30:10 $ docker stop --time=1 b518e400a0b64b7894aa2462812782d3f4888f32ca75bbafead56f2aeefc9172 05:30:11 $ docker rm -f --volumes b518e400a0b64b7894aa2462812782d3f4888f32ca75bbafead56f2aeefc9172 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:31:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4741 in /w/workspace/gexfoundry_device-rest-go_PR-273 [Pipeline] { [Pipeline] ws 05:31:21 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 05:31:21 The recommended git tool is: git 05:31:27 using credential edgex-jenkins-ssh 05:31:27 Cloning the remote Git repository 05:31:27 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 05:31:27 > git init /w/workspace/device-rest-go/1 # timeout=10 05:31:27 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 05:31:27 > git --version # timeout=10 05:31:27 > git --version # 'git version 2.25.1' 05:31:27 using GIT_SSH to set credentials SSH Credentials for GitHub 05:31:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:31:29 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 05:31:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:31:31 Merging remotes/origin/main commit e28169b2e94fb685934981c338b1a6a24f9d6fce into PR head commit e6762fe2798312bec0193414951e0bc8909f18e9 05:31:31 Merge succeeded, producing e6762fe2798312bec0193414951e0bc8909f18e9 05:31:31 Checking out Revision e6762fe2798312bec0193414951e0bc8909f18e9 (PR-273) 05:31:30 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 05:31:30 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 05:31:30 using GIT_SSH to set credentials SSH Credentials for GitHub 05:31:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/273/head:refs/remotes/origin/PR-273 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:31:31 > git config core.sparsecheckout # timeout=10 05:31:31 > git checkout -f e6762fe2798312bec0193414951e0bc8909f18e9 # timeout=10 05:31:31 > git remote # timeout=10 05:31:31 > git config --get remote.origin.url # timeout=10 05:31:31 using GIT_SSH to set credentials SSH Credentials for GitHub 05:31:31 > git merge e28169b2e94fb685934981c338b1a6a24f9d6fce # timeout=10 05:31:31 > git rev-parse HEAD^{commit} # timeout=10 05:31:31 > git config core.sparsecheckout # timeout=10 05:31:31 > git checkout -f e6762fe2798312bec0193414951e0bc8909f18e9 # timeout=10 05:31:31 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 05:31:31 > git --version # timeout=10 05:31:31 > git --version # 'git version 2.25.1' 05:31:31 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:31:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:31:33 % Total % Received % Xferd Average Speed Time Time Time Current 05:31:33 Dload Upload Total Spent Left Speed 05:31:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh 05:31:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:31:34 + sudo tee /etc/docker/daemon.new 05:31:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:31:34 { 05:31:34 "registry-mirrors": [ 05:31:34 "https://nexus3.edgexfoundry.org:10001" 05:31:34 ], 05:31:34 "bip": "10.250.0.254/24", 05:31:34 "hosts": [ 05:31:34 "tcp://0.0.0.0:5555", 05:31:34 "unix:///var/run/docker.sock" 05:31:34 ], 05:31:34 "mtu": 1458, 05:31:34 "selinux-enabled": true, 05:31:34 "seccomp-profile": "/etc/docker/seccomp.json" 05:31:34 } [Pipeline] sh 05:31:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:31:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:31:53 provisioning config files... 05:31:53 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config13015028373042707999tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:31:53 ---> docker-login.sh 05:31:53 nexus3.edgexfoundry.org:10001 05:31:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:54 Configure a credential helper to remove this warning. See 05:31:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:54 05:31:54 Login Succeeded 05:31:54 nexus3.edgexfoundry.org:10002 05:31:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:54 Configure a credential helper to remove this warning. See 05:31:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:54 05:31:54 Login Succeeded 05:31:54 nexus3.edgexfoundry.org:10003 05:31:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:55 Configure a credential helper to remove this warning. See 05:31:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:55 05:31:55 Login Succeeded 05:31:55 nexus3.edgexfoundry.org:10004 05:31:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:55 Configure a credential helper to remove this warning. See 05:31:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:55 05:31:55 Login Succeeded 05:31:55 docker.io 05:31:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:55 Configure a credential helper to remove this warning. See 05:31:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:55 05:31:55 Login Succeeded 05:31:55 ---> docker-login.sh ends [Pipeline] } 05:31:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:31:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:31:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:31:56 ========================================================= 05:31:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 05:31:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 05:31:56 Sending build context to Docker daemon 138.8kB 05:31:57 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 05:31:57 Step 2/12 : FROM ${BASE} AS builder 05:31:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:31:57 af6eaf76a39c: Pulling fs layer 05:31:57 55522c791124: Pulling fs layer 05:31:57 ce5c4a1c91eb: Pulling fs layer 05:31:57 169dfbe0d373: Pulling fs layer 05:31:57 e1ff8fa3b103: Pulling fs layer 05:31:57 52ebb69f0ebf: Pulling fs layer 05:31:57 5abe8eddf0d5: Pulling fs layer 05:31:57 169dfbe0d373: Waiting 05:31:57 e1ff8fa3b103: Waiting 05:31:57 52ebb69f0ebf: Waiting 05:31:57 5abe8eddf0d5: Waiting 05:31:57 55522c791124: Verifying Checksum 05:31:57 55522c791124: Download complete 05:31:57 169dfbe0d373: Verifying Checksum 05:31:57 169dfbe0d373: Download complete 05:31:57 e1ff8fa3b103: Verifying Checksum 05:31:57 e1ff8fa3b103: Download complete 05:31:57 af6eaf76a39c: Verifying Checksum 05:31:57 af6eaf76a39c: Download complete 05:31:58 af6eaf76a39c: Pull complete 05:31:58 5abe8eddf0d5: Verifying Checksum 05:31:58 5abe8eddf0d5: Download complete 05:31:59 55522c791124: Pull complete 05:32:00 ce5c4a1c91eb: Verifying Checksum 05:32:00 ce5c4a1c91eb: Download complete 05:32:00 52ebb69f0ebf: Verifying Checksum 05:32:00 52ebb69f0ebf: Download complete 05:32:12 ce5c4a1c91eb: Pull complete 05:32:12 169dfbe0d373: Pull complete 05:32:12 e1ff8fa3b103: Pull complete 05:32:17 52ebb69f0ebf: Pull complete 05:32:20 5abe8eddf0d5: Pull complete 05:32:20 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 05:32:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 05:32:20 ---> 6cb57ee374ae 05:32:20 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:32:22 ---> Running in 0ccd04f78894 05:32:22 Removing intermediate container 0ccd04f78894 05:32:22 ---> e202c9ab1b54 05:32:22 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:32:22 ---> Running in 280d365b87b3 05:32:22 Removing intermediate container 280d365b87b3 05:32:22 ---> 23dfb7106866 05:32:22 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:32:22 ---> Running in 73096a0fa63a 05:32:23 Removing intermediate container 73096a0fa63a 05:32:23 ---> 28cb3ccfe242 05:32:23 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:32:23 ---> Running in 7dd0e77c2476 05:32:23 Removing intermediate container 7dd0e77c2476 05:32:23 ---> aaee96e08cc5 05:32:23 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:32:23 ---> Running in e64221c96abf 05:32:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:32:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:32:26 (1/4) Installing openssh-keygen (9.1_p1-r2) 05:32:26 (2/4) Installing libedit (20221030.3.1-r0) 05:32:26 (3/4) Installing openssh-client-common (9.1_p1-r2) 05:32:26 (4/4) Installing openssh-client-default (9.1_p1-r2) 05:32:26 Executing busybox-1.35.0-r29.trigger 05:32:26 OK: 268 MiB in 57 packages 05:32:27 Removing intermediate container e64221c96abf 05:32:27 ---> 66bc2770a051 05:32:27 Step 8/12 : WORKDIR /device-rest-go 05:32:27 ---> Running in 1fef25732537 05:32:28 Removing intermediate container 1fef25732537 05:32:28 ---> eedd9d69ffa0 05:32:28 Step 9/12 : COPY go.mod vendor* ./ 05:32:28 ---> 01a304f2f785 05:32:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:32:28 ---> Running in 615c2f503739 05:33:36 Removing intermediate container 615c2f503739 05:33:36 ---> 4879cbba2b5f 05:33:36 Step 11/12 : COPY . . 05:33:36 ---> 805208a7a268 05:33:36 Step 12/12 : RUN $MAKE 05:33:36 ---> Running in a19c8cf98c4b 05:33:36 noop 05:33:37 Removing intermediate container a19c8cf98c4b 05:33:37 ---> 97e73c1df114 05:33:37 Successfully built 97e73c1df114 05:33:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:37 + docker inspect -f . ci-base-image-arm64 05:33:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:33:37 prd-ubuntu20.04-docker-arm64-4c-16g-4741 does not seem to be running inside a container 05:33:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:33:39 $ docker top 431737ddc4933effe64663d301f95b51e44e7a76b40aa3cf22fcb931626c846b -eo pid,comm [Pipeline] { [Pipeline] sh 05:33:40 + go version 05:33:40 go version go1.20.2 linux/arm64 [Pipeline] } 05:33:40 $ docker stop --time=1 431737ddc4933effe64663d301f95b51e44e7a76b40aa3cf22fcb931626c846b 05:33:41 $ docker rm -f --volumes 431737ddc4933effe64663d301f95b51e44e7a76b40aa3cf22fcb931626c846b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:42 + docker inspect -f . ci-base-image-arm64 05:33:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:33:42 prd-ubuntu20.04-docker-arm64-4c-16g-4741 does not seem to be running inside a container 05:33:42 $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:33:43 $ docker top 4ae721e41bb09c41ee06f6bbcdac2045c485cebda5d7d6198233f8b988abf4f9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:33:44 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 05:33:44 + make test 05:33:44 go test ./... -coverprofile=coverage.out ./... 05:34:23 ? github.com/edgexfoundry/device-rest-go [no test files] 05:36:30 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 05:36:34 ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 33.0% of statements 05:36:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:36:34 go vet ./... 05:37:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:37:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:37:07 ./bin/test-attribution-txt.sh [Pipeline] echo 05:37:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:37:07 $ docker stop --time=1 4ae721e41bb09c41ee06f6bbcdac2045c485cebda5d7d6198233f8b988abf4f9 05:37:08 $ docker rm -f --volumes 4ae721e41bb09c41ee06f6bbcdac2045c485cebda5d7d6198233f8b988abf4f9 [Pipeline] // withDockerContainer [Pipeline] sh 05:37:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:37:10 Warning: overwriting stash ‘coverage-report’ 05:37:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:37:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:37:11 + ls -al . 05:37:11 total 180 05:37:11 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 05:33 . 05:37:11 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:31 .. 05:37:11 -rw-rw-r-- 1 jenkins jenkins 151 Mar 21 05:31 .dockerignore 05:37:11 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 05:31 .git 05:37:11 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:31 .github 05:37:11 -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 05:31 .gitignore 05:37:11 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 05:31 .golangci.yml 05:37:11 -rw-rw-r-- 1 jenkins jenkins 9321 Mar 21 05:31 Attribution.txt 05:37:11 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 21 05:31 CHANGELOG.md 05:37:11 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 21 05:31 Dockerfile 05:37:11 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 05:31 GOVERNANCE.md 05:37:11 -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 05:31 Jenkinsfile 05:37:11 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 05:31 LICENSE 05:37:11 -rw-rw-r-- 1 jenkins jenkins 1779 Mar 21 05:31 Makefile 05:37:11 -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 05:31 OWNERS.md 05:37:11 -rw-rw-r-- 1 jenkins jenkins 15447 Mar 21 05:31 README.md 05:37:11 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 05:28 VERSION 05:37:11 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:31 bin 05:37:11 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:31 cmd 05:37:11 -rw-r--r-- 1 jenkins jenkins 14200 Mar 21 05:36 coverage.out 05:37:11 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:31 driver 05:37:11 -rw-rw-r-- 1 jenkins jenkins 3447 Mar 21 05:31 go.mod 05:37:11 -rw-rw-r-- 1 jenkins jenkins 31301 Mar 21 05:31 go.sum 05:37:11 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:31 snap 05:37:11 -rw-rw-r-- 1 jenkins jenkins 713 Mar 21 05:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:12 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e6762fe2798312bec0193414951e0bc8909f18e9 --label arch=arm64 --label version=0.0.0 . 05:37:12 Sending build context to Docker daemon 153.6kB 05:37:12 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 05:37:12 Step 2/25 : FROM ${BASE} AS builder 05:37:12 ---> 97e73c1df114 05:37:12 Step 3/25 : ARG ADD_BUILD_TAGS="" 05:37:12 ---> Running in a8d3eebfab24 05:37:12 Removing intermediate container a8d3eebfab24 05:37:12 ---> b0a08c734f86 05:37:12 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:37:12 ---> Running in 19b24ab42237 05:37:13 Removing intermediate container 19b24ab42237 05:37:13 ---> 862e02179023 05:37:13 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:37:13 ---> Running in ea626e565a54 05:37:13 Removing intermediate container ea626e565a54 05:37:13 ---> f9feefc4c704 05:37:13 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 05:37:13 ---> Running in f6c7ddf054a9 05:37:13 Removing intermediate container f6c7ddf054a9 05:37:13 ---> e256ec4c0e1c 05:37:13 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:37:13 ---> Running in a31549ffd278 05:37:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:37:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:37:16 OK: 268 MiB in 57 packages 05:37:19 Removing intermediate container a31549ffd278 05:37:19 ---> 49a7bb104edd 05:37:19 Step 8/25 : WORKDIR /device-rest-go 05:37:19 ---> Running in 36abd9da2b98 05:37:19 Removing intermediate container 36abd9da2b98 05:37:19 ---> 84cda5916eec 05:37:19 Step 9/25 : COPY go.mod vendor* ./ 05:37:20 ---> fb7eda715863 05:37:20 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:37:20 ---> Running in d8a608a27c02 05:37:23 Removing intermediate container d8a608a27c02 05:37:23 ---> 7eacfd3dec8f 05:37:23 Step 11/25 : COPY . . 05:37:23 ---> 46783c18b479 05:37:23 Step 12/25 : RUN $MAKE 05:37:23 ---> Running in 5a2f0fd514ec 05:37:25 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 05:39:49 Removing intermediate container 5a2f0fd514ec 05:39:49 ---> 97b972e64b65 05:39:49 Step 13/25 : FROM alpine:3.17 05:39:49 3.17: Pulling from library/alpine 05:39:49 af6eaf76a39c: Already exists 05:39:49 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 05:39:49 Status: Downloaded newer image for alpine:3.17 05:39:49 ---> d74e625d9115 05:39:49 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:39:49 ---> Running in 21164628cffa 05:39:49 Removing intermediate container 21164628cffa 05:39:49 ---> 6ba0d274f8f5 05:39:49 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 05:39:49 ---> Running in 50a9b00d977e 05:39:49 Removing intermediate container 50a9b00d977e 05:39:49 ---> fe2aa02b13d4 05:39:49 Step 16/25 : RUN apk add --update --no-cache dumb-init 05:39:49 ---> Running in 20be5f2541e8 05:39:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:39:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:39:49 (1/1) Installing dumb-init (1.2.5-r2) 05:39:49 Executing busybox-1.35.0-r29.trigger 05:39:49 OK: 8 MiB in 16 packages 05:39:49 Removing intermediate container 20be5f2541e8 05:39:49 ---> acf90ea76db1 05:39:49 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 05:39:49 ---> 9588cad3465c 05:39:49 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 05:39:49 ---> f3a3a7a5a4dd 05:39:49 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 05:39:49 ---> c0b6f4243a2d 05:39:49 Step 20/25 : EXPOSE 59986 05:39:49 ---> Running in aeab2c7462e7 05:39:49 Removing intermediate container aeab2c7462e7 05:39:49 ---> ad9a64679eca 05:39:49 Step 21/25 : ENTRYPOINT ["/device-rest"] 05:39:49 ---> Running in 479ee6ce5013 05:39:49 Removing intermediate container 479ee6ce5013 05:39:49 ---> ebbe2f7cbe4d 05:39:49 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:39:49 ---> Running in 72de37c140f6 05:39:50 Removing intermediate container 72de37c140f6 05:39:50 ---> 240db27a3bcf 05:39:50 Step 23/25 : LABEL arch=arm64 05:39:50 ---> Running in b8afc530c1f3 05:39:50 Removing intermediate container b8afc530c1f3 05:39:50 ---> 4539fdd292d0 05:39:50 Step 24/25 : LABEL git_sha=e6762fe2798312bec0193414951e0bc8909f18e9 05:39:50 ---> Running in dcc8042530c6 05:39:50 Removing intermediate container dcc8042530c6 05:39:50 ---> 03c2c7d607af 05:39:50 Step 25/25 : LABEL version=0.0.0 05:39:50 ---> Running in 1fefdc9caede 05:39:51 Removing intermediate container 1fefdc9caede 05:39:51 ---> cff29632470a 05:39:51 [Warning] One or more build-args [ARCH] were not consumed 05:39:51 Successfully built cff29632470a 05:39:51 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:39:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:39:51 05:39:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:39:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:39:52 arm64: Pulling from edgex-lftools-log-publisher 05:39:52 8998bd30e6a1: Pulling fs layer 05:39:52 04944245beec: Pulling fs layer 05:39:52 699f458cf7ca: Pulling fs layer 05:39:52 765212b225bb: Pulling fs layer 05:39:52 f23df028b6ca: Pulling fs layer 05:39:52 d65c8cfc05b1: Pulling fs layer 05:39:52 2437ff75d9bd: Pulling fs layer 05:39:52 765212b225bb: Waiting 05:39:52 d65c8cfc05b1: Waiting 05:39:52 f23df028b6ca: Waiting 05:39:52 04944245beec: Verifying Checksum 05:39:52 04944245beec: Download complete 05:39:52 765212b225bb: Verifying Checksum 05:39:52 765212b225bb: Download complete 05:39:52 f23df028b6ca: Verifying Checksum 05:39:52 f23df028b6ca: Download complete 05:39:52 d65c8cfc05b1: Verifying Checksum 05:39:52 d65c8cfc05b1: Download complete 05:39:52 699f458cf7ca: Verifying Checksum 05:39:52 699f458cf7ca: Download complete 05:39:53 8998bd30e6a1: Verifying Checksum 05:39:53 8998bd30e6a1: Download complete 05:39:55 2437ff75d9bd: Verifying Checksum 05:39:55 2437ff75d9bd: Download complete 05:39:57 8998bd30e6a1: Pull complete 05:39:57 04944245beec: Pull complete 05:39:58 699f458cf7ca: Pull complete 05:39:59 765212b225bb: Pull complete 05:39:59 f23df028b6ca: Pull complete 05:40:00 d65c8cfc05b1: Pull complete 05:40:12 2437ff75d9bd: Pull complete 05:40:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:40:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:40:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:40:12 prd-ubuntu20.04-docker-arm64-4c-16g-4741 does not seem to be running inside a container 05:40:12 $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:40:15 $ docker top 54751ea7e2bf6768ce7c59a6f654ca1ba6ae3233cb5fcb35f127c73272f0e327 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:40:15 ---> job-cost.sh 05:40:16 lf-activate-venv: SKIPPING 05:40:16 INFO: No Stack... 05:40:16 INFO: Retrieving Pricing Info for: v3-standard-4 05:40:17 INFO: Archiving Costs [Pipeline] sh 05:40:17 + cat /w/workspace/device-rest-go/1/archives/cost.csv 05:40:17 + cut -d, -f6 [Pipeline] lock 05:40:17 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-273-1-stack-cost] 05:40:17 Resource [jenkins-edgexfoundry-device-rest-go-PR-273-1-stack-cost] did not exist. Created. 05:40:17 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-273-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:40:18 /w/workspace/device-rest-go/1@tmp/durable-18c48a6c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:40:18 + echo total: 0.10999999940395355 [Pipeline] stash 05:40:18 Warning: overwriting stash ‘stack-cost’ 05:40:18 Stashed 1 file(s) [Pipeline] } 05:40:18 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-273-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:40:18 $ docker stop --time=1 54751ea7e2bf6768ce7c59a6f654ca1ba6ae3233cb5fcb35f127c73272f0e327 05:40:20 $ docker rm -f --volumes 54751ea7e2bf6768ce7c59a6f654ca1ba6ae3233cb5fcb35f127c73272f0e327 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:40:21 provisioning config files... 05:40:21 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-273@tmp/config6484248014575879939tmp [Pipeline] { [Pipeline] sh 05:40:21 + set +x 05:40:21 + curl -s https://codecov.io/bash 05:40:21 + bash -s -- 05:40:21 05:40:21 _____ _ 05:40:21 / ____| | | 05:40:21 | | ___ __| | ___ ___ _____ __ 05:40:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:40:21 | |___| (_) | (_| | __/ (_| (_) \ V / 05:40:21 \_____\___/ \__,_|\___|\___\___/ \_/ 05:40:21 Bash-1.0.6 05:40:21 05:40:21 05:40:21 ==> git version 2.25.1 found 05:40:21 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:40:21 Release-Date: 2020-01-08 05:40:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:40:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:40:21 ==> Jenkins CI detected. 05:40:21 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-273 05:40:21 project root: . 05:40:21 --> token set from env 05:40:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:40:21 ==> Running gcov in . (disable via -X gcov) 05:40:21 ==> Python coveragepy not found 05:40:21 ==> Searching for coverage reports in: 05:40:21 + . 05:40:21 -> Found 1 reports 05:40:21 ==> Detecting git/mercurial file structure 05:40:21 ==> Reading reports 05:40:21 + ./coverage.out bytes=14200 05:40:21 ==> Appending adjustments 05:40:21 https://docs.codecov.io/docs/fixing-reports 05:40:21 + Found adjustments 05:40:21 ==> Gzipping contents 05:40:21 4.0K /tmp/codecov.sqps9O.gz 05:40:21 ==> Uploading reports 05:40:21 url: https://codecov.io 05:40:21 query: branch=PR-273&commit=e6762fe2798312bec0193414951e0bc8909f18e9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-273%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=273&job=&cmd_args= 05:40:22 -> Pinging Codecov 05:40:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-273&commit=e6762fe2798312bec0193414951e0bc8909f18e9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-273%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=273&job=&cmd_args= 05:40:22 -> Uploading to 05:40:22 https://storage.googleapis.com/codecov/v4/raw/2023-03-21/4E5D53B4F1F92C436F7061BF334D961C/e6762fe2798312bec0193414951e0bc8909f18e9/891fd2d9-6e18-4f5b-83ce-24593a7950ba.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T054022Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=68eab928f508a3a10286b0ddbb05924692dd762266d1fe9f30efd81aa45c57e3 05:40:22 % Total % Received % Xferd Average Speed Time Time Time Current 05:40:22 Dload Upload Total Spent Left Speed 05:40:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2459 0 0 100 2459 0 12113 --:--:-- --:--:-- --:--:-- 12053 100 2459 0 0 100 2459 0 9643 --:--:-- --:--:-- --:--:-- 9605 05:40:22 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/e6762fe2798312bec0193414951e0bc8909f18e9 [Pipeline] } 05:40:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:40:24 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-273/archives ] 05:40:24 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-273/archives 05:40:24 total 16 05:40:24 drwxr-xr-x 3 root root 4096 Mar 21 05:30 . 05:40:24 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 05:30 .. 05:40:24 drwxr-xr-x 2 root root 4096 Mar 21 05:30 cost 05:40:24 -rw-r--r-- 1 root root 86 Mar 21 05:30 cost.csv 05:40:24 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-273/archives 05:40:24 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-273/archives 05:40:24 total 16 05:40:24 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 05:30 . 05:40:24 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 05:30 .. 05:40:24 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 05:30 cost 05:40:24 -rw-r--r-- 1 jenkins jenkins 86 Mar 21 05:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:40:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:40:25 ---> package-listing.sh 05:40:25 ++ facter osfamily 05:40:25 ++ tr '[:upper:]' '[:lower:]' 05:40:25 + OS_FAMILY=debian 05:40:25 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-273 05:40:25 + START_PACKAGES=/tmp/packages_start.txt 05:40:25 + END_PACKAGES=/tmp/packages_end.txt 05:40:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:40:25 + PACKAGES=/tmp/packages_start.txt 05:40:25 + '[' /w/workspace/gexfoundry_device-rest-go_PR-273 ']' 05:40:25 + PACKAGES=/tmp/packages_end.txt 05:40:25 + case "${OS_FAMILY}" in 05:40:25 + grep '^ii' 05:40:25 + dpkg -l 05:40:25 + '[' -f /tmp/packages_start.txt ']' 05:40:25 + '[' -f /tmp/packages_end.txt ']' 05:40:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:40:25 + '[' /w/workspace/gexfoundry_device-rest-go_PR-273 ']' 05:40:25 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-273/archives/ 05:40:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-273/archives/ [Pipeline] echo 05:40:25 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-273/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:40:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:40:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:40:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:40:26 prd-ubuntu20.04-docker-8c-8g-4737 does not seem to be running inside a container 05:40:26 $ 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-273/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-273 -v /w/workspace/gexfoundry_device-rest-go_PR-273:/w/workspace/gexfoundry_device-rest-go_PR-273:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-273@tmp:/w/workspace/gexfoundry_device-rest-go_PR-273@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:40:27 $ docker top 48252df64891a3d869a0893b76ff1946d4b0aa6069beda931689ffc66f58ac17 -eo pid,comm [Pipeline] { [Pipeline] sh 05:40:27 + touch /tmp/pre-build-complete [Pipeline] sh 05:40:27 + mkdir -p /var/log/sysstat [Pipeline] sh 05:40:28 + ls /var/log/sa-host 05:40:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:40:28 provisioning config files... 05:40:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-273@tmp/config12438635850400080409tmp [Pipeline] { [Pipeline] echo 05:40:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:40:28 ---> create-netrc.sh [Pipeline] } 05:40:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:40:29 ---> python-tools-install.sh [Pipeline] echo 05:40:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:40:29 ---> sudo-logs.sh 05:40:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:40:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:40:29 ---> job-cost.sh 05:40:29 lf-activate-venv: SKIPPING 05:40:29 DEBUG: total: 0.2199999988079071 05:40:29 INFO: Retrieving Stack Cost... 05:40:29 INFO: Retrieving Pricing Info for: v3-standard-8 05:40:30 INFO: Archiving Costs [Pipeline] echo 05:40:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:40:30 ---> logs-deploy.sh 05:40:30 lf-activate-venv: SKIPPING 05:40:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-273/1 05:40:30 INFO: archiving workspace using pattern(s): 05:40:31 Archives upload complete. 05:40:31 INFO: archiving logs to Nexus