Pull request #269 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6de02c9ea1edb10bf5b1ec9ca697b66c81d30118+ae54ce6f1033167052867af1427946ef32cb9188 (a2aa0f5a0111803bfc6ef1dad7d5995239b65a2c) 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-ssh8179311189547298640.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-ssh10889502916408975900.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-269/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-269/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3391985417177172320.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-269/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1864308725091225769.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-ssh15995624900044022251.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-269/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-269/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9032551044622457693.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 ‘prd-centos7-builder-2c-1g-842’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-629’ is offline ‘prd-ubuntu20.04-docker-8c-8g-630’ is offline ‘prd-ubuntu20.04-docker-8c-8g-853’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-754’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-756’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-857 in /w/workspace/gexfoundry_device-rest-go_PR-269 [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-269 # 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 > 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/269/head:refs/remotes/origin/PR-269 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ae54ce6f1033167052867af1427946ef32cb9188 into PR head commit 6de02c9ea1edb10bf5b1ec9ca697b66c81d30118 Merge succeeded, producing 6de02c9ea1edb10bf5b1ec9ca697b66c81d30118 Checking out Revision 6de02c9ea1edb10bf5b1ec9ca697b66c81d30118 (PR-269) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:11:34 Timeout set to expire in 6 hr 0 min > git config core.sparsecheckout # timeout=10 > git checkout -f 6de02c9ea1edb10bf5b1ec9ca697b66c81d30118 # 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 ae54ce6f1033167052867af1427946ef32cb9188 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6de02c9ea1edb10bf5b1ec9ca697b66c81d30118 # timeout=10 [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:11:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:11:34 ========================================================= 16:11:34 EdgeX Global Pipelines Version Info 16:11:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:11:35 ------------------- 16:11:35 stable info: 16:11:35 ------------------- 16:11:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:11:35 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 16:11:35 Message: update stable to v1.0.245 16:11:35 ------------------- 16:11:35 experimental info: 16:11:35 ------------------- 16:11:35 Commited By: **** collab-it+edgex@linuxfoundation.org 16:11:35 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 16:11:35 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:11:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 16:11:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 16:11:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:11:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:11:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:11:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 16:11:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:11:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:11:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:11:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:11:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:11:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 16:11:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:11:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:11:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:11:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:11:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:11:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:11:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:11:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:11:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:11:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:11:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:11:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:11:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:11:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:11:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:11:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-269 [Pipeline] echo 16:11:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-269 [Pipeline] echo 16:11:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-269 [Pipeline] echo 16:11:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6de02c9ea1edb10bf5b1ec9ca697b66c81d30118 [Pipeline] echo 16:11:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6de02c9 [Pipeline] echo 16:11:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:11:37 provisioning config files... 16:11:37 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-269@tmp/config14904157759566198092tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:11:37 ---> docker-login.sh 16:11:37 nexus3.edgexfoundry.org:10001 16:11:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:38 Configure a credential helper to remove this warning. See 16:11:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:38 16:11:38 Login Succeeded 16:11:38 nexus3.edgexfoundry.org:10002 16:11:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:38 Configure a credential helper to remove this warning. See 16:11:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:38 16:11:38 Login Succeeded 16:11:38 nexus3.edgexfoundry.org:10003 16:11:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:38 Configure a credential helper to remove this warning. See 16:11:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:38 16:11:38 Login Succeeded 16:11:38 nexus3.edgexfoundry.org:10004 16:11:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:38 Configure a credential helper to remove this warning. See 16:11:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:38 16:11:38 Login Succeeded 16:11:38 docker.io 16:11:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:38 Configure a credential helper to remove this warning. See 16:11:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:38 16:11:38 Login Succeeded 16:11:38 ---> docker-login.sh ends [Pipeline] } 16:11:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:11:39 + git rev-list -1 --merges 6de02c9ea1edb10bf5b1ec9ca697b66c81d30118~1..6de02c9ea1edb10bf5b1ec9ca697b66c81d30118 [Pipeline] echo 16:11:39 -----------> git rev-list -1 --merges 6de02c9ea1edb10bf5b1ec9ca697b66c81d30118~1..6de02c9ea1edb10bf5b1ec9ca697b66c81d30118 6de02c9ea1edb10bf5b1ec9ca697b66c81d30118 [false] [Pipeline] sh 16:11:39 + git log --format=format:%s -1 6de02c9ea1edb10bf5b1ec9ca697b66c81d30118 [Pipeline] echo 16:11:39 ========================================================= 16:11:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:11:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:11:40 + git log --format=format:%s -1 6de02c9ea1edb10bf5b1ec9ca697b66c81d30118 [Pipeline] echo 16:11:40 [semverPrep] GIT_COMMIT: 6de02c9ea1edb10bf5b1ec9ca697b66c81d30118, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 16:11:40 [semverPrep] This is not a build commit. [Pipeline] sh 16:11:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:11:40 + grep -v github /etc/ssh/ssh_known_hosts 16:11:40 + [ -e /tmp/ssh_known_hosts ] 16:11:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:11:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:11:40 + sudo tee -a /etc/ssh/ssh_known_hosts 16:11:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:11:40 16:11:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:11:41 0.1.4: Pulling from edgex-devops/py-git-semver 16:11:41 b85a868b505f: Pulling fs layer 16:11:41 e2be974225ed: Pulling fs layer 16:11:41 339a4e72a1f5: Pulling fs layer 16:11:41 988bab9f4d93: Pulling fs layer 16:11:41 1469e6f7b9e6: Pulling fs layer 16:11:41 eaf3925da568: Pulling fs layer 16:11:41 bab4dde63d76: Pulling fs layer 16:11:41 bde34c3a00c8: Pulling fs layer 16:11:41 b352a97aabf1: Pulling fs layer 16:11:41 4872d77fe225: Pulling fs layer 16:11:41 5851b861e8e6: Pulling fs layer 16:11:41 988bab9f4d93: Waiting 16:11:41 bde34c3a00c8: Waiting 16:11:41 b352a97aabf1: Waiting 16:11:41 bab4dde63d76: Waiting 16:11:42 e2be974225ed: Verifying Checksum 16:11:42 e2be974225ed: Download complete 16:11:42 988bab9f4d93: Verifying Checksum 16:11:42 988bab9f4d93: Download complete 16:11:42 1469e6f7b9e6: Verifying Checksum 16:11:42 1469e6f7b9e6: Download complete 16:11:42 339a4e72a1f5: Verifying Checksum 16:11:42 339a4e72a1f5: Download complete 16:11:42 eaf3925da568: Verifying Checksum 16:11:42 eaf3925da568: Download complete 16:11:42 bde34c3a00c8: Verifying Checksum 16:11:42 bde34c3a00c8: Download complete 16:11:42 b352a97aabf1: Verifying Checksum 16:11:42 b352a97aabf1: Download complete 16:11:42 4872d77fe225: Verifying Checksum 16:11:42 4872d77fe225: Download complete 16:11:42 5851b861e8e6: Download complete 16:11:42 b85a868b505f: Verifying Checksum 16:11:42 b85a868b505f: Download complete 16:11:43 bab4dde63d76: Verifying Checksum 16:11:43 bab4dde63d76: Download complete 16:11:43 b85a868b505f: Pull complete 16:11:44 e2be974225ed: Pull complete 16:11:44 339a4e72a1f5: Pull complete 16:11:44 988bab9f4d93: Pull complete 16:11:44 1469e6f7b9e6: Pull complete 16:11:44 eaf3925da568: Pull complete 16:11:46 bab4dde63d76: Pull complete 16:11:46 bde34c3a00c8: Pull complete 16:11:47 b352a97aabf1: Pull complete 16:11:47 4872d77fe225: Pull complete 16:11:47 5851b861e8e6: Pull complete 16:11:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:11:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:11:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:11:47 prd-ubuntu20.04-docker-8c-8g-857 does not seem to be running inside a container 16:11:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-269 -v /w/workspace/gexfoundry_device-rest-go_PR-269:/w/workspace/gexfoundry_device-rest-go_PR-269:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-269@tmp:/w/workspace/gexfoundry_device-rest-go_PR-269@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 16:11:49 $ docker top 23eda05ccfe8192a74993afe08889f07a6b00df1e2a019c2423fb4b43a0f3ddd -eo pid,comm 16:11:49 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). 16:11:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:11:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:11:49 [ssh-agent] Looking for ssh-agent implementation... 16:11:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:11:49 $ docker exec 23eda05ccfe8192a74993afe08889f07a6b00df1e2a019c2423fb4b43a0f3ddd ssh-agent 16:11:49 SSH_AUTH_SOCK=/tmp/ssh-jgKCQYjeLYEs/agent.32 16:11:49 SSH_AGENT_PID=39 16:11:49 Running ssh-add (command line suppressed) 16:11:49 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-269@tmp/private_key_11814006865195159333.key (/w/workspace/gexfoundry_device-rest-go_PR-269@tmp/private_key_11814006865195159333.key) 16:11:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:11:49 + git tag --points-at HEAD [Pipeline] } 16:11:49 $ docker exec --env ******** --env ******** 23eda05ccfe8192a74993afe08889f07a6b00df1e2a019c2423fb4b43a0f3ddd ssh-agent -k 16:11:50 unset SSH_AUTH_SOCK; 16:11:50 unset SSH_AGENT_PID; 16:11:50 echo Agent pid 39 killed; 16:11:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:11:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:11:50 [ssh-agent] Looking for ssh-agent implementation... 16:11:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:11:50 $ docker exec 23eda05ccfe8192a74993afe08889f07a6b00df1e2a019c2423fb4b43a0f3ddd ssh-agent 16:11:50 SSH_AUTH_SOCK=/tmp/ssh-qmqn7rGCL2u6/agent.71 16:11:50 SSH_AGENT_PID=77 16:11:50 Running ssh-add (command line suppressed) 16:11:50 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-269@tmp/private_key_12949396242514625665.key (/w/workspace/gexfoundry_device-rest-go_PR-269@tmp/private_key_12949396242514625665.key) 16:11:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:11:50 + git semver init 16:11:51 2023-03-15 16:11:51,094 [run_init] DEBUG init version:0.0.0 force:False 16:11:51 2023-03-15 16:11:51,095 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-269/.semver 16:11:51 2023-03-15 16:11:51,095 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-269/.semver 16:11:51 2023-03-15 16:11:51,095 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-269/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-269, universal_newlines=False, shell=None, istream=None) 16:11:52 2023-03-15 16:11:52,066 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-269/.git/info/exclude 16:11:52 2023-03-15 16:11:52,067 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-269/.semver/PR-269 with force:False 16:11:52 2023-03-15 16:11:52,067 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-269/.semver/PR-269 16:11:52 2023-03-15 16:11:52,071 [execute] INFO git cat-file --batch-check 16:11:52 2023-03-15 16:11:52,071 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-269/.semver, universal_newlines=False, shell=None, istream=) 16:11:52 2023-03-15 16:11:52,078 [execute] INFO git cat-file --batch 16:11:52 2023-03-15 16:11:52,078 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-269/.semver, universal_newlines=False, shell=None, istream=) 16:11:52 2023-03-15 16:11:52,082 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-269/.semver/PR-269 16:11:52 0.0.0 [Pipeline] } 16:11:52 $ docker exec --env ******** --env ******** 23eda05ccfe8192a74993afe08889f07a6b00df1e2a019c2423fb4b43a0f3ddd ssh-agent -k 16:11:52 unset SSH_AUTH_SOCK; 16:11:52 unset SSH_AGENT_PID; 16:11:52 echo Agent pid 77 killed; 16:11:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:11:53 + git semver [Pipeline] } 16:11:53 $ docker stop --time=1 23eda05ccfe8192a74993afe08889f07a6b00df1e2a019c2423fb4b43a0f3ddd 16:11:54 $ docker rm -f --volumes 23eda05ccfe8192a74993afe08889f07a6b00df1e2a019c2423fb4b43a0f3ddd [Pipeline] // withDockerContainer [Pipeline] sh 16:11:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:11:55 Stashed 1 file(s) [Pipeline] echo 16:11:55 [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 16:11:56 provisioning config files... 16:11:56 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-269@tmp/config13987909203311406648tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:11:56 ---> docker-login.sh 16:11:56 nexus3.edgexfoundry.org:10001 16:11:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:56 Configure a credential helper to remove this warning. See 16:11:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:56 16:11:56 Login Succeeded 16:11:56 nexus3.edgexfoundry.org:10002 16:11:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:56 Configure a credential helper to remove this warning. See 16:11:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:56 16:11:56 Login Succeeded 16:11:56 nexus3.edgexfoundry.org:10003 16:11:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:56 Configure a credential helper to remove this warning. See 16:11:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:56 16:11:56 Login Succeeded 16:11:56 nexus3.edgexfoundry.org:10004 16:11:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:56 Configure a credential helper to remove this warning. See 16:11:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:56 16:11:56 Login Succeeded 16:11:56 docker.io 16:11:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:56 Configure a credential helper to remove this warning. See 16:11:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:56 16:11:56 Login Succeeded 16:11:56 ---> docker-login.sh ends [Pipeline] } 16:11:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:11:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:11:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:11:57 ========================================================= 16:11:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 16:11:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:57 + 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 . 16:11:57 Sending build context to Docker daemon 10.86MB 16:11:57 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 16:11:57 Step 2/12 : FROM ${BASE} AS builder 16:11:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 16:11:57 63b65145d645: Pulling fs layer 16:11:57 a2d21d5440eb: Pulling fs layer 16:11:57 935e6c44a52c: Pulling fs layer 16:11:57 94cc34f8dd06: Pulling fs layer 16:11:57 30dea6a524f1: Pulling fs layer 16:11:57 a2aff8979fd8: Pulling fs layer 16:11:57 6808be2612f2: Pulling fs layer 16:11:57 f25807f1079a: Pulling fs layer 16:11:57 30dea6a524f1: Waiting 16:11:57 a2aff8979fd8: Waiting 16:11:57 6808be2612f2: Waiting 16:11:57 f25807f1079a: Waiting 16:11:57 94cc34f8dd06: Waiting 16:11:57 a2d21d5440eb: Verifying Checksum 16:11:57 a2d21d5440eb: Download complete 16:11:58 94cc34f8dd06: Verifying Checksum 16:11:58 94cc34f8dd06: Download complete 16:11:58 30dea6a524f1: Download complete 16:11:58 63b65145d645: Verifying Checksum 16:11:58 63b65145d645: Download complete 16:11:58 a2aff8979fd8: Verifying Checksum 16:11:58 a2aff8979fd8: Download complete 16:11:58 63b65145d645: Pull complete 16:11:58 a2d21d5440eb: Pull complete 16:11:58 f25807f1079a: Verifying Checksum 16:11:58 f25807f1079a: Download complete 16:11:58 935e6c44a52c: Download complete 16:11:58 6808be2612f2: Verifying Checksum 16:11:58 6808be2612f2: Download complete 16:12:02 935e6c44a52c: Pull complete 16:12:02 94cc34f8dd06: Pull complete 16:12:02 30dea6a524f1: Pull complete 16:12:02 a2aff8979fd8: Pull complete 16:12:04 6808be2612f2: Pull complete 16:12:05 f25807f1079a: Pull complete 16:12:05 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 16:12:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 16:12:05 ---> 3b553350e43f 16:12:05 Step 3/12 : ARG ADD_BUILD_TAGS="" 16:12:07 ---> Running in f21085a9973e 16:12:07 Removing intermediate container f21085a9973e 16:12:07 ---> 49e27670bbd8 16:12:07 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:12:07 ---> Running in df0237f12533 16:12:07 Removing intermediate container df0237f12533 16:12:07 ---> 4c645cca24a4 16:12:07 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:12:07 ---> Running in 6ed7faddd20a 16:12:08 Removing intermediate container 6ed7faddd20a 16:12:08 ---> 5d8a6696277f 16:12:08 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 16:12:08 ---> Running in 5bbc7fdc4552 16:12:08 Removing intermediate container 5bbc7fdc4552 16:12:08 ---> 46aaf84c1390 16:12:08 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:12:08 ---> Running in 7263bd03c5e3 16:12:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:12:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:12:09 (1/4) Installing openssh-keygen (9.1_p1-r2) 16:12:09 (2/4) Installing libedit (20221030.3.1-r0) 16:12:09 (3/4) Installing openssh-client-common (9.1_p1-r2) 16:12:09 (4/4) Installing openssh-client-default (9.1_p1-r2) 16:12:09 Executing busybox-1.35.0-r29.trigger 16:12:09 OK: 269 MiB in 57 packages 16:12:09 Removing intermediate container 7263bd03c5e3 16:12:09 ---> 3643e333686b 16:12:09 Step 8/12 : WORKDIR /device-rest-go 16:12:09 ---> Running in 6b1f60cf4005 16:12:09 Removing intermediate container 6b1f60cf4005 16:12:09 ---> 544ca47be95d 16:12:09 Step 9/12 : COPY go.mod vendor* ./ 16:12:09 ---> 9eb3e5e7de6a 16:12:09 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:12:09 ---> Running in 4e5037c5cfec 16:12:10 Still waiting to schedule task 16:12:10 ‘prd-centos7-builder-2c-1g-842’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 16:12:10 ‘prd-ubuntu20.04-docker-8c-8g-629’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 16:12:10 ‘prd-ubuntu20.04-docker-8c-8g-630’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 16:12:10 ‘prd-ubuntu20.04-docker-8c-8g-860’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 16:12:10 ‘prd-ubuntu20.04-docker-8c-8g-861’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 16:12:10 ‘prd-ubuntu20.04-docker-arm64-4c-16g-754’ is offline 16:12:10 ‘prd-ubuntu20.04-docker-arm64-4c-16g-756’ is offline 16:12:10 ‘prd-ubuntu20.04-docker-arm64-4c-16g-858’ is offline 16:12:31 Removing intermediate container 4e5037c5cfec 16:12:31 ---> c34a4d130670 16:12:31 Step 11/12 : COPY . . 16:12:31 ---> 61c56c4dae50 16:12:31 Step 12/12 : RUN $MAKE 16:12:31 ---> Running in 49b20c88872b 16:12:31 noop 16:12:32 Removing intermediate container 49b20c88872b 16:12:32 ---> 4be77db319b0 16:12:32 Successfully built 4be77db319b0 16:12:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:32 + docker inspect -f . ci-base-image-x86_64 16:12:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:12:32 prd-ubuntu20.04-docker-8c-8g-857 does not seem to be running inside a container 16:12:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-269 -v /w/workspace/gexfoundry_device-rest-go_PR-269:/w/workspace/gexfoundry_device-rest-go_PR-269:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-269@tmp:/w/workspace/gexfoundry_device-rest-go_PR-269@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 16:12:32 $ docker top 348125fe1c8c1842dbed62ab2f052b9f28eb62de982bd7bfa8d2b55de89552ea -eo pid,comm [Pipeline] { [Pipeline] sh 16:12:33 + go version 16:12:33 go version go1.20.2 linux/amd64 [Pipeline] } 16:12:33 $ docker stop --time=1 348125fe1c8c1842dbed62ab2f052b9f28eb62de982bd7bfa8d2b55de89552ea 16:12:34 $ docker rm -f --volumes 348125fe1c8c1842dbed62ab2f052b9f28eb62de982bd7bfa8d2b55de89552ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:35 + docker inspect -f . ci-base-image-x86_64 16:12:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:12:35 prd-ubuntu20.04-docker-8c-8g-857 does not seem to be running inside a container 16:12:35 $ 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-269 -v /w/workspace/gexfoundry_device-rest-go_PR-269:/w/workspace/gexfoundry_device-rest-go_PR-269:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-269@tmp:/w/workspace/gexfoundry_device-rest-go_PR-269@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 16:12:35 $ docker top 9ac369bae2f086929e3159365f31ebd56fafb9a300af70d5513966cd2c62bef5 -eo pid,comm [Pipeline] { [Pipeline] sh 16:12:36 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-269 [Pipeline] fileExists [Pipeline] sh 16:12:36 + make test 16:12:36 go test ./... -coverprofile=coverage.out ./... 16:12:41 ? github.com/edgexfoundry/device-rest-go [no test files] 16:12:52 # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 16:12:52 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) 16:12:52 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) 16:12:52 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as string value in argument to transformOffset 16:12:52 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) 16:12:52 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) 16:12:52 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as string value in argument to transformScale 16:12:52 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) 16:12:52 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) 16:12:52 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as string value in argument to transformBase 16:12:52 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) 16:12:52 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformresult.go:53:16: too many errors 16:12:52 ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 33.1% of statements 16:12:52 FAIL 16:12:52 make: *** [Makefile:29: unittest] Error 1 [Pipeline] } 16:12:52 $ docker stop --time=1 9ac369bae2f086929e3159365f31ebd56fafb9a300af70d5513966cd2c62bef5 16:12:54 $ docker rm -f --volumes 9ac369bae2f086929e3159365f31ebd56fafb9a300af70d5513966cd2c62bef5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:12:55 16:12:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:12:55 latest: Pulling from edgex-lftools-log-publisher 16:12:55 5eb5b503b376: Pulling fs layer 16:12:55 5c69ac0246d0: Pulling fs layer 16:12:55 ec43610c2a17: Pulling fs layer 16:12:55 3a2ae6a8a46f: Pulling fs layer 16:12:55 33b1e0a273af: Pulling fs layer 16:12:55 5d3b04190fa2: Pulling fs layer 16:12:55 2f39f015ded8: Pulling fs layer 16:12:55 3a2ae6a8a46f: Waiting 16:12:55 33b1e0a273af: Waiting 16:12:55 2f39f015ded8: Waiting 16:12:55 5d3b04190fa2: Waiting 16:12:55 5c69ac0246d0: Verifying Checksum 16:12:55 5c69ac0246d0: Download complete 16:12:55 3a2ae6a8a46f: Verifying Checksum 16:12:55 3a2ae6a8a46f: Download complete 16:12:56 33b1e0a273af: Verifying Checksum 16:12:56 33b1e0a273af: Download complete 16:12:56 5d3b04190fa2: Verifying Checksum 16:12:56 5d3b04190fa2: Download complete 16:12:56 ec43610c2a17: Download complete 16:12:56 5eb5b503b376: Verifying Checksum 16:12:56 5eb5b503b376: Download complete 16:12:56 2f39f015ded8: Download complete 16:12:57 5eb5b503b376: Pull complete 16:12:57 5c69ac0246d0: Pull complete 16:12:58 ec43610c2a17: Pull complete 16:12:58 3a2ae6a8a46f: Pull complete 16:12:58 33b1e0a273af: Pull complete 16:12:58 5d3b04190fa2: Pull complete 16:13:02 2f39f015ded8: Pull complete 16:13:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:13:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:13:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:13:03 prd-ubuntu20.04-docker-8c-8g-857 does not seem to be running inside a container 16:13:03 $ 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-269 -v /w/workspace/gexfoundry_device-rest-go_PR-269:/w/workspace/gexfoundry_device-rest-go_PR-269:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-269@tmp:/w/workspace/gexfoundry_device-rest-go_PR-269@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 16:13:06 $ docker top 9746198c7ead2bf643ec9d717de5526153e0b9346c685d7dd4f57861aa23d6b7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:13:06 ---> job-cost.sh 16:13:06 lf-activate-venv: SKIPPING 16:13:06 INFO: No Stack... 16:13:06 INFO: Retrieving Pricing Info for: v3-standard-8 16:13:07 INFO: Archiving Costs [Pipeline] sh 16:13:07 + cat /w/workspace/gexfoundry_device-rest-go_PR-269/archives/cost.csv 16:13:07 + cut -d, -f6 [Pipeline] lock 16:13:07 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-269-1-stack-cost] 16:13:07 Resource [jenkins-edgexfoundry-device-rest-go-PR-269-1-stack-cost] did not exist. Created. 16:13:07 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-269-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:13:08 + echo total: 0.2199999988079071 [Pipeline] stash 16:13:08 Stashed 1 file(s) [Pipeline] } 16:13:08 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-269-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:13:08 $ docker stop --time=1 9746198c7ead2bf643ec9d717de5526153e0b9346c685d7dd4f57861aa23d6b7 16:13:09 $ docker rm -f --volumes 9746198c7ead2bf643ec9d717de5526153e0b9346c685d7dd4f57861aa23d6b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:13:09 Failed in branch amd64 16:21:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1039 in /w/workspace/gexfoundry_device-rest-go_PR-269 [Pipeline] { [Pipeline] ws 16:21:40 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 16:21:40 The recommended git tool is: git 16:21:48 using credential edgex-jenkins-ssh 16:21:48 Cloning the remote Git repository 16:21:48 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 16:21:48 > git init /w/workspace/device-rest-go/1 # timeout=10 16:21:49 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:21:49 > git --version # timeout=10 16:21:49 > git --version # 'git version 2.25.1' 16:21:49 using GIT_SSH to set credentials SSH Credentials for GitHub 16:21:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:21:51 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:21:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:21:52 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:21:52 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:21:52 using GIT_SSH to set credentials SSH Credentials for GitHub 16:21:53 Merging remotes/origin/main commit ae54ce6f1033167052867af1427946ef32cb9188 into PR head commit 6de02c9ea1edb10bf5b1ec9ca697b66c81d30118 16:21:53 Merge succeeded, producing 6de02c9ea1edb10bf5b1ec9ca697b66c81d30118 16:21:53 Checking out Revision 6de02c9ea1edb10bf5b1ec9ca697b66c81d30118 (PR-269) 16:21:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/269/head:refs/remotes/origin/PR-269 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:21:53 > git config core.sparsecheckout # timeout=10 16:21:53 > git checkout -f 6de02c9ea1edb10bf5b1ec9ca697b66c81d30118 # timeout=10 16:21:53 > git remote # timeout=10 16:21:53 > git config --get remote.origin.url # timeout=10 16:21:53 using GIT_SSH to set credentials SSH Credentials for GitHub 16:21:53 > git merge ae54ce6f1033167052867af1427946ef32cb9188 # timeout=10 16:21:53 > git rev-parse HEAD^{commit} # timeout=10 16:21:53 > git config core.sparsecheckout # timeout=10 16:21:53 > git checkout -f 6de02c9ea1edb10bf5b1ec9ca697b66c81d30118 # timeout=10 16:21:54 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" 16:21:54 > git --version # timeout=10 16:21:54 > git --version # 'git version 2.25.1' 16:21:54 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:21:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:21:55 % Total % Received % Xferd Average Speed Time Time Time Current 16:21:55 Dload Upload Total Spent Left Speed 16:21:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 175k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh 16:21:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:21:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:21:56 + sudo tee /etc/docker/daemon.new 16:21:56 { 16:21:56 "registry-mirrors": [ 16:21:56 "https://nexus3.edgexfoundry.org:10001" 16:21:56 ], 16:21:56 "bip": "10.250.0.254/24", 16:21:56 "hosts": [ 16:21:56 "tcp://0.0.0.0:5555", 16:21:56 "unix:///var/run/docker.sock" 16:21:56 ], 16:21:56 "mtu": 1458, 16:21:56 "selinux-enabled": true, 16:21:56 "seccomp-profile": "/etc/docker/seccomp.json" 16:21:56 } [Pipeline] sh 16:21:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:21:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:22:19 provisioning config files... 16:22:19 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config4973359602939395954tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:22:20 ---> docker-login.sh 16:22:20 nexus3.edgexfoundry.org:10001 16:22:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:21 Configure a credential helper to remove this warning. See 16:22:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:21 16:22:21 Login Succeeded 16:22:21 nexus3.edgexfoundry.org:10002 16:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:21 Configure a credential helper to remove this warning. See 16:22:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:21 16:22:21 Login Succeeded 16:22:21 nexus3.edgexfoundry.org:10003 16:22:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:22 Configure a credential helper to remove this warning. See 16:22:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:22 16:22:22 Login Succeeded 16:22:22 nexus3.edgexfoundry.org:10004 16:22:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:22 Configure a credential helper to remove this warning. See 16:22:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:22 16:22:22 Login Succeeded 16:22:22 docker.io 16:22:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:23 Configure a credential helper to remove this warning. See 16:22:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:23 16:22:23 Login Succeeded 16:22:23 ---> docker-login.sh ends [Pipeline] } 16:22:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:22:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:22:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:22:23 ========================================================= 16:22:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 16:22:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:24 + 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 . 16:22:24 Sending build context to Docker daemon 139.3kB 16:22:24 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 16:22:24 Step 2/12 : FROM ${BASE} AS builder 16:22:24 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:22:24 af6eaf76a39c: Pulling fs layer 16:22:24 55522c791124: Pulling fs layer 16:22:24 ce5c4a1c91eb: Pulling fs layer 16:22:24 169dfbe0d373: Pulling fs layer 16:22:24 e1ff8fa3b103: Pulling fs layer 16:22:24 52ebb69f0ebf: Pulling fs layer 16:22:24 5abe8eddf0d5: Pulling fs layer 16:22:24 e1ff8fa3b103: Waiting 16:22:24 52ebb69f0ebf: Waiting 16:22:24 5abe8eddf0d5: Waiting 16:22:24 169dfbe0d373: Waiting 16:22:24 55522c791124: Verifying Checksum 16:22:24 55522c791124: Download complete 16:22:24 169dfbe0d373: Download complete 16:22:24 e1ff8fa3b103: Verifying Checksum 16:22:24 e1ff8fa3b103: Download complete 16:22:24 af6eaf76a39c: Verifying Checksum 16:22:24 af6eaf76a39c: Download complete 16:22:25 af6eaf76a39c: Pull complete 16:22:26 5abe8eddf0d5: Verifying Checksum 16:22:26 5abe8eddf0d5: Download complete 16:22:27 52ebb69f0ebf: Verifying Checksum 16:22:27 52ebb69f0ebf: Download complete 16:22:27 ce5c4a1c91eb: Verifying Checksum 16:22:27 ce5c4a1c91eb: Download complete 16:22:28 55522c791124: Pull complete 16:22:40 ce5c4a1c91eb: Pull complete 16:22:40 169dfbe0d373: Pull complete 16:22:40 e1ff8fa3b103: Pull complete 16:22:49 52ebb69f0ebf: Pull complete 16:22:50 5abe8eddf0d5: Pull complete 16:22:50 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 16:22:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 16:22:50 ---> 6cb57ee374ae 16:22:50 Step 3/12 : ARG ADD_BUILD_TAGS="" 16:22:51 ---> Running in 89087eeedee5 16:22:52 Removing intermediate container 89087eeedee5 16:22:52 ---> 2f438288a470 16:22:52 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:22:52 ---> Running in ad33dbde98b8 16:22:52 Removing intermediate container ad33dbde98b8 16:22:52 ---> 3fb1d668deee 16:22:52 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:22:52 ---> Running in b84e2fc834c9 16:22:53 Removing intermediate container b84e2fc834c9 16:22:53 ---> b12e5873bd1b 16:22:53 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 16:22:53 ---> Running in e410c539d995 16:22:53 Removing intermediate container e410c539d995 16:22:53 ---> b0b8441c755a 16:22:53 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:22:53 ---> Running in 0934fe4d037e 16:22:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:22:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:22:57 (1/4) Installing openssh-keygen (9.1_p1-r2) 16:22:57 (2/4) Installing libedit (20221030.3.1-r0) 16:22:57 (3/4) Installing openssh-client-common (9.1_p1-r2) 16:22:57 (4/4) Installing openssh-client-default (9.1_p1-r2) 16:22:57 Executing busybox-1.35.0-r29.trigger 16:22:57 OK: 268 MiB in 57 packages 16:22:58 Removing intermediate container 0934fe4d037e 16:22:58 ---> 22ed73d9bb2f 16:22:58 Step 8/12 : WORKDIR /device-rest-go 16:22:58 ---> Running in ee6e3c34fc03 16:22:59 Removing intermediate container ee6e3c34fc03 16:22:59 ---> 5e39f271640d 16:22:59 Step 9/12 : COPY go.mod vendor* ./ 16:22:59 ---> e3f91c2f9de1 16:22:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:23:00 ---> Running in 03d4a6456a3f 16:24:21 Removing intermediate container 03d4a6456a3f 16:24:21 ---> 0eea8c588472 16:24:21 Step 11/12 : COPY . . 16:24:21 ---> 744e2c4d7190 16:24:21 Step 12/12 : RUN $MAKE 16:24:21 ---> Running in 92883ed5706a 16:24:21 noop 16:24:21 Removing intermediate container 92883ed5706a 16:24:21 ---> c4f94a36f23a 16:24:21 Successfully built c4f94a36f23a 16:24:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:22 + docker inspect -f . ci-base-image-arm64 16:24:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:24:22 prd-ubuntu20.04-docker-arm64-4c-16g-1039 does not seem to be running inside a container 16:24:22 $ 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 16:24:24 $ docker top 4b5dc891867c754e9f15c0894b0a7aaf6b40fc211bd0065198cbbf94da5b16e9 -eo pid,comm [Pipeline] { [Pipeline] sh 16:24:25 + go version 16:24:25 go version go1.20.2 linux/arm64 [Pipeline] } 16:24:25 $ docker stop --time=1 4b5dc891867c754e9f15c0894b0a7aaf6b40fc211bd0065198cbbf94da5b16e9 16:24:27 $ docker rm -f --volumes 4b5dc891867c754e9f15c0894b0a7aaf6b40fc211bd0065198cbbf94da5b16e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:27 + docker inspect -f . ci-base-image-arm64 16:24:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:24:28 prd-ubuntu20.04-docker-arm64-4c-16g-1039 does not seem to be running inside a container 16:24:28 $ 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 16:24:29 $ docker top 32181f2d9ba4c44ad2037421161f9de83ab57793334517b7467ed006e9227384 -eo pid,comm [Pipeline] { [Pipeline] sh 16:24:30 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 16:24:31 + make test 16:24:31 go test ./... -coverprofile=coverage.out ./... 16:25:10 ? github.com/edgexfoundry/device-rest-go [no test files] 16:27:31 # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 16:27:31 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) 16:27:31 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) 16:27:31 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as string value in argument to transformOffset 16:27:31 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) 16:27:31 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) 16:27:31 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as string value in argument to transformScale 16:27:31 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) 16:27:31 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) 16:27:31 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as string value in argument to transformBase 16:27:31 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) 16:27:31 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.51/internal/transformer/transformresult.go:53:16: too many errors 16:27:46 ok github.com/edgexfoundry/device-rest-go/driver 0.068s coverage: 33.1% of statements 16:27:46 FAIL 16:27:46 make: *** [Makefile:29: unittest] Error 1 [Pipeline] } 16:27:47 $ docker stop --time=1 32181f2d9ba4c44ad2037421161f9de83ab57793334517b7467ed006e9227384 16:27:49 $ docker rm -f --volumes 32181f2d9ba4c44ad2037421161f9de83ab57793334517b7467ed006e9227384 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:27:50 16:27:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:27:51 arm64: Pulling from edgex-lftools-log-publisher 16:27:51 8998bd30e6a1: Pulling fs layer 16:27:51 04944245beec: Pulling fs layer 16:27:51 699f458cf7ca: Pulling fs layer 16:27:51 765212b225bb: Pulling fs layer 16:27:51 f23df028b6ca: Pulling fs layer 16:27:51 d65c8cfc05b1: Pulling fs layer 16:27:51 2437ff75d9bd: Pulling fs layer 16:27:51 d65c8cfc05b1: Waiting 16:27:51 2437ff75d9bd: Waiting 16:27:51 765212b225bb: Waiting 16:27:51 f23df028b6ca: Waiting 16:27:51 04944245beec: Verifying Checksum 16:27:51 765212b225bb: Verifying Checksum 16:27:51 765212b225bb: Download complete 16:27:51 f23df028b6ca: Verifying Checksum 16:27:51 f23df028b6ca: Download complete 16:27:51 d65c8cfc05b1: Download complete 16:27:51 699f458cf7ca: Verifying Checksum 16:27:51 699f458cf7ca: Download complete 16:27:52 8998bd30e6a1: Verifying Checksum 16:27:52 8998bd30e6a1: Download complete 16:27:54 2437ff75d9bd: Verifying Checksum 16:27:54 2437ff75d9bd: Download complete 16:27:56 8998bd30e6a1: Pull complete 16:27:56 04944245beec: Pull complete 16:27:58 699f458cf7ca: Pull complete 16:27:58 765212b225bb: Pull complete 16:27:59 f23df028b6ca: Pull complete 16:27:59 d65c8cfc05b1: Pull complete 16:28:14 2437ff75d9bd: Pull complete 16:28:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:28:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:28:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:28:15 prd-ubuntu20.04-docker-arm64-4c-16g-1039 does not seem to be running inside a container 16:28:15 $ 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 16:28:19 $ docker top 55da2107a5c9038fa34c1954f49c8d85ccb710b73d8bc6f7a6269730b7c796d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:28:19 ---> job-cost.sh 16:28:19 lf-activate-venv: SKIPPING 16:28:19 INFO: No Stack... 16:28:20 INFO: Retrieving Pricing Info for: v3-standard-4 16:28:21 INFO: Archiving Costs [Pipeline] sh 16:28:21 + cut+ -d, -f6 16:28:21 cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 16:28:22 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-269-1-stack-cost] 16:28:22 Resource [jenkins-edgexfoundry-device-rest-go-PR-269-1-stack-cost] did not exist. Created. 16:28:22 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-269-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:28:22 /w/workspace/device-rest-go/1@tmp/durable-a6aaeb50/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:28:23 + echo total: 0.10999999940395355 [Pipeline] stash 16:28:23 Warning: overwriting stash ‘stack-cost’ 16:28:24 Stashed 1 file(s) [Pipeline] } 16:28:24 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-269-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:28:24 $ docker stop --time=1 55da2107a5c9038fa34c1954f49c8d85ccb710b73d8bc6f7a6269730b7c796d4 16:28:25 $ docker rm -f --volumes 55da2107a5c9038fa34c1954f49c8d85ccb710b73d8bc6f7a6269730b7c796d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:28:26 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:28:28 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-269/archives ] 16:28:28 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-269/archives 16:28:28 total 16 16:28:28 drwxr-xr-x 3 root root 4096 Mar 15 16:13 . 16:28:28 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 16:13 .. 16:28:28 drwxr-xr-x 2 root root 4096 Mar 15 16:13 cost 16:28:28 -rw-r--r-- 1 root root 86 Mar 15 16:13 cost.csv 16:28:28 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-269/archives 16:28:28 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-269/archives 16:28:28 total 16 16:28:28 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:13 . 16:28:28 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 16:13 .. 16:28:28 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 16:13 cost 16:28:28 -rw-r--r-- 1 jenkins jenkins 86 Mar 15 16:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:28:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:28:29 ---> package-listing.sh 16:28:29 ++ tr '[:upper:]' '[:lower:]' 16:28:29 ++ facter osfamily 16:28:29 + OS_FAMILY=debian 16:28:29 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-269 16:28:29 + START_PACKAGES=/tmp/packages_start.txt 16:28:29 + END_PACKAGES=/tmp/packages_end.txt 16:28:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:28:29 + PACKAGES=/tmp/packages_start.txt 16:28:29 + '[' /w/workspace/gexfoundry_device-rest-go_PR-269 ']' 16:28:29 + PACKAGES=/tmp/packages_end.txt 16:28:29 + case "${OS_FAMILY}" in 16:28:29 + dpkg -l 16:28:29 + grep '^ii' 16:28:29 + '[' -f /tmp/packages_start.txt ']' 16:28:29 + '[' -f /tmp/packages_end.txt ']' 16:28:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:28:29 + '[' /w/workspace/gexfoundry_device-rest-go_PR-269 ']' 16:28:29 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-269/archives/ 16:28:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-269/archives/ [Pipeline] echo 16:28:29 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-269/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:28:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:28:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:28:30 prd-ubuntu20.04-docker-8c-8g-857 does not seem to be running inside a container 16:28:31 $ 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-269/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-269 -v /w/workspace/gexfoundry_device-rest-go_PR-269:/w/workspace/gexfoundry_device-rest-go_PR-269:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-269@tmp:/w/workspace/gexfoundry_device-rest-go_PR-269@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 16:28:31 $ docker top 963d863b060cbea825d06e73a04f9f8eef57a12599b056f892e432c03438f327 -eo pid,comm [Pipeline] { [Pipeline] sh 16:28:31 + touch /tmp/pre-build-complete [Pipeline] sh 16:28:31 + mkdir -p /var/log/sysstat [Pipeline] sh 16:28:32 + ls /var/log/sa-host 16:28:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:28:32 provisioning config files... 16:28:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-269@tmp/config7691468553347837858tmp [Pipeline] { [Pipeline] echo 16:28:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:28:32 ---> create-netrc.sh [Pipeline] } 16:28:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:28:33 ---> python-tools-install.sh [Pipeline] echo 16:28:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:28:33 ---> sudo-logs.sh 16:28:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:28:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:28:33 ---> job-cost.sh 16:28:33 lf-activate-venv: SKIPPING 16:28:33 DEBUG: total: 0.2199999988079071 16:28:33 INFO: Retrieving Stack Cost... 16:28:34 INFO: Retrieving Pricing Info for: v3-standard-8 16:28:34 INFO: Archiving Costs [Pipeline] echo 16:28:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:28:35 ---> logs-deploy.sh 16:28:35 lf-activate-venv: SKIPPING 16:28:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-269/1 16:28:35 INFO: archiving workspace using pattern(s): 16:28:36 Archives upload complete. 16:28:36 INFO: archiving logs to Nexus