Pull request #222 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 902eff6e3bf3907c0b7d951246858f337eb277ae+626f6c6d709bfdfff0bd38f00197e38acd6ec0eb (f64e4f1c85b5904161cdb6806e8e508003e71b5d) 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-ssh13221145984749760738.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh7062401292519956103.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-222/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-222/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4025833154828873450.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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-222/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12802939076327462561.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh104557494937195766.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-222/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-222/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17076947993118130759.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-65512 in /w/workspace/gexfoundry_device-rest-go_PR-222 [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-222 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Merging remotes/origin/main commit 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb into PR head commit 902eff6e3bf3907c0b7d951246858f337eb277ae Merge succeeded, producing 902eff6e3bf3907c0b7d951246858f337eb277ae Checking out Revision 902eff6e3bf3907c0b7d951246858f337eb277ae (PR-222) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.8.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/222/head:refs/remotes/origin/PR-222 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 902eff6e3bf3907c0b7d951246858f337eb277ae # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 902eff6e3bf3907c0b7d951246858f337eb277ae # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:39:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:39:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:39:55 ========================================================= 01:39:55 EdgeX Global Pipelines Version Info 01:39:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:39:56 ------------------- 01:39:56 stable info: 01:39:56 ------------------- 01:39:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:39:56 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 01:39:56 Message: update stable to v1.0.243 01:39:56 ------------------- 01:39:56 experimental info: 01:39:56 ------------------- 01:39:56 Commited By: **** collab-it+edgex@linuxfoundation.org 01:39:56 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 01:39:56 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:39:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 01:39:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 01:39:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:39:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:39:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:39:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:39:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:39:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:39:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:39:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:39:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:39:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 01:39:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:39:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:39:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:39:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:39:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:39:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-222 [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-222 [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-222 [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 902eff6e3bf3907c0b7d951246858f337eb277ae [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 902eff6 [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:39:58 provisioning config files... 01:39:58 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config5272515968274526736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:39:59 ---> docker-login.sh 01:39:59 nexus3.edgexfoundry.org:10001 01:39:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:39:59 Configure a credential helper to remove this warning. See 01:39:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:39:59 01:39:59 Login Succeeded 01:39:59 nexus3.edgexfoundry.org:10002 01:39:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:39:59 Configure a credential helper to remove this warning. See 01:39:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:39:59 01:39:59 Login Succeeded 01:39:59 nexus3.edgexfoundry.org:10003 01:39:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:39:59 Configure a credential helper to remove this warning. See 01:39:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:39:59 01:39:59 Login Succeeded 01:39:59 nexus3.edgexfoundry.org:10004 01:39:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:39:59 Configure a credential helper to remove this warning. See 01:39:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:39:59 01:39:59 Login Succeeded 01:39:59 docker.io 01:40:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:00 Configure a credential helper to remove this warning. See 01:40:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:00 01:40:00 Login Succeeded 01:40:00 ---> docker-login.sh ends [Pipeline] } 01:40:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:40:00 + git rev-list -1 --merges 902eff6e3bf3907c0b7d951246858f337eb277ae~1..902eff6e3bf3907c0b7d951246858f337eb277ae [Pipeline] echo 01:40:01 -----------> git rev-list -1 --merges 902eff6e3bf3907c0b7d951246858f337eb277ae~1..902eff6e3bf3907c0b7d951246858f337eb277ae 902eff6e3bf3907c0b7d951246858f337eb277ae [false] [Pipeline] sh 01:40:01 + git log --format=format:%s -1 902eff6e3bf3907c0b7d951246858f337eb277ae [Pipeline] echo 01:40:01 ========================================================= 01:40:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:40:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:40:01 + git log --format=format:%s -1 902eff6e3bf3907c0b7d951246858f337eb277ae [Pipeline] echo 01:40:01 [semverPrep] GIT_COMMIT: 902eff6e3bf3907c0b7d951246858f337eb277ae, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 [Pipeline] echo 01:40:01 [semverPrep] This is not a build commit. [Pipeline] sh 01:40:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:40:02 + grep -v github /etc/ssh/ssh_known_hosts 01:40:02 + [ -e /tmp/ssh_known_hosts ] 01:40:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:40:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:40:02 + sudo tee -a /etc/ssh/ssh_known_hosts 01:40:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:40:02 01:40:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:40:03 0.1.4: Pulling from edgex-devops/py-git-semver 01:40:03 b85a868b505f: Pulling fs layer 01:40:03 e2be974225ed: Pulling fs layer 01:40:03 339a4e72a1f5: Pulling fs layer 01:40:03 988bab9f4d93: Pulling fs layer 01:40:03 1469e6f7b9e6: Pulling fs layer 01:40:03 eaf3925da568: Pulling fs layer 01:40:03 bab4dde63d76: Pulling fs layer 01:40:03 bde34c3a00c8: Pulling fs layer 01:40:03 b352a97aabf1: Pulling fs layer 01:40:03 4872d77fe225: Pulling fs layer 01:40:03 5851b861e8e6: Pulling fs layer 01:40:03 988bab9f4d93: Waiting 01:40:03 1469e6f7b9e6: Waiting 01:40:03 eaf3925da568: Waiting 01:40:03 bab4dde63d76: Waiting 01:40:03 bde34c3a00c8: Waiting 01:40:03 b352a97aabf1: Waiting 01:40:03 4872d77fe225: Waiting 01:40:03 5851b861e8e6: Waiting 01:40:03 e2be974225ed: Verifying Checksum 01:40:03 e2be974225ed: Download complete 01:40:03 988bab9f4d93: Verifying Checksum 01:40:03 988bab9f4d93: Download complete 01:40:03 1469e6f7b9e6: Verifying Checksum 01:40:03 1469e6f7b9e6: Download complete 01:40:03 eaf3925da568: Verifying Checksum 01:40:03 eaf3925da568: Download complete 01:40:03 339a4e72a1f5: Verifying Checksum 01:40:03 339a4e72a1f5: Download complete 01:40:03 bde34c3a00c8: Download complete 01:40:03 b352a97aabf1: Download complete 01:40:03 4872d77fe225: Download complete 01:40:03 5851b861e8e6: Verifying Checksum 01:40:03 5851b861e8e6: Download complete 01:40:03 b85a868b505f: Verifying Checksum 01:40:03 b85a868b505f: Download complete 01:40:03 bab4dde63d76: Verifying Checksum 01:40:03 bab4dde63d76: Download complete 01:40:04 b85a868b505f: Pull complete 01:40:04 e2be974225ed: Pull complete 01:40:05 339a4e72a1f5: Pull complete 01:40:05 988bab9f4d93: Pull complete 01:40:05 1469e6f7b9e6: Pull complete 01:40:05 eaf3925da568: Pull complete 01:40:07 bab4dde63d76: Pull complete 01:40:07 bde34c3a00c8: Pull complete 01:40:07 b352a97aabf1: Pull complete 01:40:07 4872d77fe225: Pull complete 01:40:07 5851b861e8e6: Pull complete 01:40:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:40:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:40:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:40:08 prd-ubuntu20.04-docker-8c-8g-65512 does not seem to be running inside a container 01:40:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@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 01:40:09 $ docker top b0fd0afcc34e69a0dd0032eed05bf5a0fd0eaec7e36c1407e8e2b00866ea40e9 -eo pid,comm 01:40:09 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). 01:40:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:40:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:40:09 [ssh-agent] Looking for ssh-agent implementation... 01:40:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:40:09 $ docker exec b0fd0afcc34e69a0dd0032eed05bf5a0fd0eaec7e36c1407e8e2b00866ea40e9 ssh-agent 01:40:10 SSH_AUTH_SOCK=/tmp/ssh-0ltdGyzknd5m/agent.33 01:40:10 SSH_AGENT_PID=39 01:40:10 Running ssh-add (command line suppressed) 01:40:10 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_18268394680100375569.key (/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_18268394680100375569.key) 01:40:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:40:10 + git tag --points-at HEAD [Pipeline] } 01:40:10 $ docker exec --env ******** --env ******** b0fd0afcc34e69a0dd0032eed05bf5a0fd0eaec7e36c1407e8e2b00866ea40e9 ssh-agent -k 01:40:10 unset SSH_AUTH_SOCK; 01:40:10 unset SSH_AGENT_PID; 01:40:10 echo Agent pid 39 killed; 01:40:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:40:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:40:10 [ssh-agent] Looking for ssh-agent implementation... 01:40:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:40:10 $ docker exec b0fd0afcc34e69a0dd0032eed05bf5a0fd0eaec7e36c1407e8e2b00866ea40e9 ssh-agent 01:40:10 SSH_AUTH_SOCK=/tmp/ssh-7h3ieHleodjA/agent.71 01:40:10 SSH_AGENT_PID=77 01:40:10 Running ssh-add (command line suppressed) 01:40:11 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_17049474977887766508.key (/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_17049474977887766508.key) 01:40:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:40:11 + git semver init 01:40:11 2022-10-25 01:40:11,576 [run_init] DEBUG init version:0.0.0 force:False 01:40:11 2022-10-25 01:40:11,577 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver 01:40:11 2022-10-25 01:40:11,578 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-222/.semver 01:40:11 2022-10-25 01:40:11,578 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-222/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-222, universal_newlines=False, shell=None, istream=None) 01:40:13 2022-10-25 01:40:12,646 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-222/.git/info/exclude 01:40:13 2022-10-25 01:40:12,646 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 with force:False 01:40:13 2022-10-25 01:40:12,646 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 01:40:13 2022-10-25 01:40:12,650 [execute] INFO git cat-file --batch-check 01:40:13 2022-10-25 01:40:12,651 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-222/.semver, universal_newlines=False, shell=None, istream=) 01:40:13 2022-10-25 01:40:12,657 [execute] INFO git cat-file --batch 01:40:13 2022-10-25 01:40:12,657 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-222/.semver, universal_newlines=False, shell=None, istream=) 01:40:13 2022-10-25 01:40:12,662 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 01:40:13 0.0.0 [Pipeline] } 01:40:13 $ docker exec --env ******** --env ******** b0fd0afcc34e69a0dd0032eed05bf5a0fd0eaec7e36c1407e8e2b00866ea40e9 ssh-agent -k 01:40:13 unset SSH_AUTH_SOCK; 01:40:13 unset SSH_AGENT_PID; 01:40:13 echo Agent pid 77 killed; 01:40:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:40:13 + git semver [Pipeline] } 01:40:13 $ docker stop --time=1 b0fd0afcc34e69a0dd0032eed05bf5a0fd0eaec7e36c1407e8e2b00866ea40e9 01:40:15 $ docker rm -f b0fd0afcc34e69a0dd0032eed05bf5a0fd0eaec7e36c1407e8e2b00866ea40e9 [Pipeline] // withDockerContainer [Pipeline] sh 01:40:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:40:15 Stashed 1 file(s) [Pipeline] echo 01:40:15 [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 01:40:16 provisioning config files... 01:40:16 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config9779653836117567317tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:40:16 ---> docker-login.sh 01:40:16 nexus3.edgexfoundry.org:10001 01:40:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:16 Configure a credential helper to remove this warning. See 01:40:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:16 01:40:16 Login Succeeded 01:40:16 nexus3.edgexfoundry.org:10002 01:40:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:16 Configure a credential helper to remove this warning. See 01:40:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:16 01:40:16 Login Succeeded 01:40:16 nexus3.edgexfoundry.org:10003 01:40:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:17 Configure a credential helper to remove this warning. See 01:40:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:17 01:40:17 Login Succeeded 01:40:17 nexus3.edgexfoundry.org:10004 01:40:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:17 Configure a credential helper to remove this warning. See 01:40:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:17 01:40:17 Login Succeeded 01:40:17 docker.io 01:40:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:17 Configure a credential helper to remove this warning. See 01:40:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:17 01:40:17 Login Succeeded 01:40:17 ---> docker-login.sh ends [Pipeline] } 01:40:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:40:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:40:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:40:17 ========================================================= 01:40:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:40:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:18 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 01:40:18 Sending build context to Docker daemon 10.74MB 01:40:18 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 01:40:18 Step 2/13 : FROM ${BASE} AS builder 01:40:18 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:40:18 213ec9aee27d: Pulling fs layer 01:40:18 4583459ba037: Pulling fs layer 01:40:18 93c1e223e6f2: Pulling fs layer 01:40:18 53926ce57604: Pulling fs layer 01:40:18 21b2b0c7a3f4: Pulling fs layer 01:40:18 30f14e443154: Pulling fs layer 01:40:18 801331c1e519: Pulling fs layer 01:40:18 99cc6dd402b0: Pulling fs layer 01:40:18 21b2b0c7a3f4: Waiting 01:40:18 30f14e443154: Waiting 01:40:18 7d9ed39f4882: Pulling fs layer 01:40:18 801331c1e519: Waiting 01:40:18 93c1e223e6f2: Verifying Checksum 01:40:18 93c1e223e6f2: Download complete 01:40:18 4583459ba037: Verifying Checksum 01:40:18 4583459ba037: Download complete 01:40:18 21b2b0c7a3f4: Verifying Checksum 01:40:18 21b2b0c7a3f4: Download complete 01:40:18 30f14e443154: Verifying Checksum 01:40:18 30f14e443154: Download complete 01:40:18 213ec9aee27d: Verifying Checksum 01:40:18 213ec9aee27d: Download complete 01:40:18 801331c1e519: Verifying Checksum 01:40:18 801331c1e519: Download complete 01:40:18 213ec9aee27d: Pull complete 01:40:18 4583459ba037: Pull complete 01:40:18 93c1e223e6f2: Pull complete 01:40:19 53926ce57604: Verifying Checksum 01:40:19 53926ce57604: Download complete 01:40:19 7d9ed39f4882: Download complete 01:40:19 99cc6dd402b0: Download complete 01:40:23 53926ce57604: Pull complete 01:40:23 21b2b0c7a3f4: Pull complete 01:40:23 30f14e443154: Pull complete 01:40:23 801331c1e519: Pull complete 01:40:25 99cc6dd402b0: Pull complete 01:40:26 7d9ed39f4882: Pull complete 01:40:26 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 01:40:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:40:26 ---> 1dedd983c030 01:40:26 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:40:28 ---> Running in 97929ca13fff 01:40:28 Removing intermediate container 97929ca13fff 01:40:28 ---> b124df817d00 01:40:28 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:40:29 ---> Running in bbbd984cf660 01:40:29 Removing intermediate container bbbd984cf660 01:40:29 ---> 6db577d635f1 01:40:29 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:40:29 ---> Running in 81bd00783798 01:40:29 Removing intermediate container 81bd00783798 01:40:29 ---> d2bf0cc7ef0d 01:40:29 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 01:40:29 ---> Running in e70eb9f4ac98 01:40:29 Removing intermediate container e70eb9f4ac98 01:40:29 ---> 102d99d10465 01:40:29 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:40:29 ---> Running in 5ea44f15343f 01:40:29 Removing intermediate container 5ea44f15343f 01:40:29 ---> bcc0b1925aaf 01:40:29 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:40:30 ---> Running in ae7623e4fa55 01:40:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:40:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:40:31 Still waiting to schedule task 01:40:31 ‘prd-ubuntu20.04-docker-arm64-4c-16g-65548’ is offline 01:40:31 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:40:31 (2/4) Installing libedit (20210910.3.1-r0) 01:40:31 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:40:31 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:40:31 Executing busybox-1.35.0-r17.trigger 01:40:31 OK: 216 MiB in 55 packages 01:40:32 Removing intermediate container ae7623e4fa55 01:40:32 ---> f33a10e57bfd 01:40:32 Step 9/13 : WORKDIR /device-rest-go 01:40:32 ---> Running in e88f18fb955f 01:40:32 Removing intermediate container e88f18fb955f 01:40:32 ---> 142a2dbab9c1 01:40:32 Step 10/13 : COPY go.mod vendor* ./ 01:40:32 ---> 82199619f744 01:40:32 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:40:32 ---> Running in 67511fe0a555 01:40:50 Removing intermediate container 67511fe0a555 01:40:50 ---> 6c475e96ae1e 01:40:50 Step 12/13 : COPY . . 01:40:51 ---> c974768bca85 01:40:51 Step 13/13 : RUN $MAKE 01:40:51 ---> Running in 1d81bf0d4bb4 01:40:51 noop 01:40:51 Removing intermediate container 1d81bf0d4bb4 01:40:51 ---> 8a5f5ebe4dd9 01:40:51 Successfully built 8a5f5ebe4dd9 01:40:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:52 + docker inspect -f . ci-base-image-x86_64 01:40:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:40:52 prd-ubuntu20.04-docker-8c-8g-65512 does not seem to be running inside a container 01:40:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@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 01:40:52 $ docker top aa642a299f26c3aa1dacbdfd9b69d4148f38b635817de4eaaa4bb46a81a0a162 -eo pid,comm [Pipeline] { [Pipeline] sh 01:40:53 + go version 01:40:53 go version go1.18.7 linux/amd64 [Pipeline] } 01:40:53 $ docker stop --time=1 aa642a299f26c3aa1dacbdfd9b69d4148f38b635817de4eaaa4bb46a81a0a162 01:40:54 $ docker rm -f aa642a299f26c3aa1dacbdfd9b69d4148f38b635817de4eaaa4bb46a81a0a162 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:55 + docker inspect -f . ci-base-image-x86_64 01:40:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:40:55 prd-ubuntu20.04-docker-8c-8g-65512 does not seem to be running inside a container 01:40:55 $ 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-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@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 01:40:55 $ docker top 4629267b3a40209ac2269c5a2f2e9f1969bd3bee7613b0eebaa32fb741ef5787 -eo pid,comm [Pipeline] { [Pipeline] sh 01:40:56 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-222 [Pipeline] fileExists [Pipeline] sh 01:40:56 + make test 01:40:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:40:56 ? github.com/edgexfoundry/device-rest-go [no test files] 01:41:06 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 01:41:06 ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 55.2% of statements 01:41:13 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 01:41:13 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:41:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:41:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:41:15 ./bin/test-attribution-txt.sh [Pipeline] echo 01:41:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:41:15 $ docker stop --time=1 4629267b3a40209ac2269c5a2f2e9f1969bd3bee7613b0eebaa32fb741ef5787 01:41:17 $ docker rm -f 4629267b3a40209ac2269c5a2f2e9f1969bd3bee7613b0eebaa32fb741ef5787 [Pipeline] // withDockerContainer [Pipeline] sh 01:41:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:41:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:41:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:41:19 + ls -al . 01:41:19 total 180 01:41:19 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 01:40 . 01:41:19 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 01:39 .. 01:41:19 -rw-rw-r-- 1 jenkins jenkins 151 Oct 25 01:39 .dockerignore 01:41:19 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 01:41 .git 01:41:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 01:39 .github 01:41:19 -rw-rw-r-- 1 jenkins jenkins 329 Oct 25 01:39 .gitignore 01:41:19 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 01:39 .golangci.yml 01:41:19 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 01:40 .semver 01:41:19 -rw-rw-r-- 1 jenkins jenkins 9100 Oct 25 01:39 Attribution.txt 01:41:19 -rw-rw-r-- 1 jenkins jenkins 11736 Oct 25 01:39 CHANGELOG.md 01:41:19 -rw-rw-r-- 1 jenkins jenkins 1730 Oct 25 01:39 Dockerfile 01:41:19 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 01:39 GOVERNANCE.md 01:41:19 -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 01:39 Jenkinsfile 01:41:19 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 01:39 LICENSE 01:41:19 -rw-rw-r-- 1 jenkins jenkins 2173 Oct 25 01:39 Makefile 01:41:19 -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 01:39 OWNERS.md 01:41:19 -rw-rw-r-- 1 jenkins jenkins 8667 Oct 25 01:39 README.md 01:41:19 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 01:40 VERSION 01:41:19 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 01:39 bin 01:41:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 01:39 cmd 01:41:19 -rw-r--r-- 1 jenkins jenkins 9355 Oct 25 01:41 coverage.out 01:41:19 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 01:39 driver 01:41:19 -rw-rw-r-- 1 jenkins jenkins 3547 Oct 25 01:39 go.mod 01:41:19 -rw-rw-r-- 1 jenkins jenkins 38123 Oct 25 01:39 go.sum 01:41:19 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 01:39 snap 01:41:19 -rw-rw-r-- 1 jenkins jenkins 713 Oct 25 01:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:20 + 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=902eff6e3bf3907c0b7d951246858f337eb277ae --label arch=amd64 --label version=0.0.0 . 01:41:20 Sending build context to Docker daemon 10.76MB 01:41:20 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 01:41:20 Step 2/26 : FROM ${BASE} AS builder 01:41:20 ---> 8a5f5ebe4dd9 01:41:20 Step 3/26 : ARG ADD_BUILD_TAGS="" 01:41:20 ---> Running in dcff61dc7863 01:41:20 Removing intermediate container dcff61dc7863 01:41:20 ---> 4440460e92af 01:41:20 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:41:20 ---> Running in 2aa1509a0d42 01:41:20 Removing intermediate container 2aa1509a0d42 01:41:20 ---> 2b97facbcd8a 01:41:20 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:41:20 ---> Running in 3f357def5ef3 01:41:20 Removing intermediate container 3f357def5ef3 01:41:20 ---> 48bf977d24b2 01:41:20 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 01:41:20 ---> Running in 02e1ed0ec397 01:41:20 Removing intermediate container 02e1ed0ec397 01:41:20 ---> 58ec315c5d79 01:41:20 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:41:20 ---> Running in 32ea671d6511 01:41:21 Removing intermediate container 32ea671d6511 01:41:21 ---> 39ca6972d90e 01:41:21 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:41:21 ---> Running in b762401f751d 01:41:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:41:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:41:22 OK: 216 MiB in 55 packages 01:41:23 Removing intermediate container b762401f751d 01:41:23 ---> 583d9b360a37 01:41:23 Step 9/26 : WORKDIR /device-rest-go 01:41:23 ---> Running in 44125e2302f0 01:41:23 Removing intermediate container 44125e2302f0 01:41:23 ---> 22bc06839b93 01:41:23 Step 10/26 : COPY go.mod vendor* ./ 01:41:23 ---> 4a20518ef767 01:41:23 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:41:23 ---> Running in 7adc0de18fc4 01:41:23 Removing intermediate container 7adc0de18fc4 01:41:23 ---> b77bac51e307 01:41:23 Step 12/26 : COPY . . 01:41:24 ---> 1c8f73981c54 01:41:24 Step 13/26 : RUN $MAKE 01:41:24 ---> Running in 5aa74a88c2ca 01:41:24 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 01:41:42 Removing intermediate container 5aa74a88c2ca 01:41:42 ---> 95c430b3d9f0 01:41:42 Step 14/26 : FROM alpine:3.16 01:41:43 3.16: Pulling from library/alpine 01:41:43 213ec9aee27d: Already exists 01:41:43 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:41:43 Status: Downloaded newer image for alpine:3.16 01:41:43 ---> 9c6f07244728 01:41:43 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:41:43 ---> Running in 3bc373892d9f 01:41:43 Removing intermediate container 3bc373892d9f 01:41:43 ---> ae6c29aee401 01:41:43 Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} 01:41:43 ---> Running in 237d04866e82 01:41:43 Removing intermediate container 237d04866e82 01:41:43 ---> 3218af5e2281 01:41:43 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 01:41:43 ---> Running in 04fd0c50e7d7 01:41:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:41:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:41:44 (1/6) Installing dumb-init (1.2.5-r1) 01:41:44 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:41:44 (3/6) Installing libsodium (1.0.18-r0) 01:41:44 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:41:44 (5/6) Installing libzmq (4.3.4-r0) 01:41:44 (6/6) Installing zeromq (4.3.4-r0) 01:41:44 Executing busybox-1.35.0-r17.trigger 01:41:44 OK: 8 MiB in 20 packages 01:41:44 Removing intermediate container 04fd0c50e7d7 01:41:44 ---> 9ddd432cf2bc 01:41:44 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 01:41:45 ---> 6328e0fe4a3a 01:41:45 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 01:41:45 ---> e67f6515ab94 01:41:45 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 01:41:45 ---> 796ba016e186 01:41:45 Step 21/26 : EXPOSE 59986 01:41:45 ---> Running in 08cf33845afb 01:41:45 Removing intermediate container 08cf33845afb 01:41:45 ---> 6e1fd2a3adda 01:41:45 Step 22/26 : ENTRYPOINT ["/device-rest"] 01:41:45 ---> Running in e5916fd59cbc 01:41:45 Removing intermediate container e5916fd59cbc 01:41:45 ---> 5526a5577e71 01:41:45 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:41:45 ---> Running in cf8b41943852 01:41:45 Removing intermediate container cf8b41943852 01:41:45 ---> 90e21ae7a08a 01:41:45 Step 24/26 : LABEL arch=amd64 01:41:45 ---> Running in 4d8bef9d90d8 01:41:45 Removing intermediate container 4d8bef9d90d8 01:41:45 ---> 647448ab22ab 01:41:45 Step 25/26 : LABEL git_sha=902eff6e3bf3907c0b7d951246858f337eb277ae 01:41:45 ---> Running in dd0c5b161b56 01:41:46 Removing intermediate container dd0c5b161b56 01:41:46 ---> b3e20aed8dcf 01:41:46 Step 26/26 : LABEL version=0.0.0 01:41:46 ---> Running in 2746bbcfa418 01:41:46 Removing intermediate container 2746bbcfa418 01:41:46 ---> adb59ed44f0a 01:41:46 [Warning] One or more build-args [ARCH] were not consumed 01:41:46 Successfully built adb59ed44f0a 01:41:46 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 01:41:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:41:47 01:41:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:41:47 latest: Pulling from edgex-lftools-log-publisher 01:41:47 5eb5b503b376: Pulling fs layer 01:41:47 5c69ac0246d0: Pulling fs layer 01:41:47 ec43610c2a17: Pulling fs layer 01:41:47 3a2ae6a8a46f: Pulling fs layer 01:41:47 33b1e0a273af: Pulling fs layer 01:41:47 5d3b04190fa2: Pulling fs layer 01:41:47 2f39f015ded8: Pulling fs layer 01:41:47 33b1e0a273af: Waiting 01:41:47 5d3b04190fa2: Waiting 01:41:47 3a2ae6a8a46f: Waiting 01:41:47 2f39f015ded8: Waiting 01:41:47 5c69ac0246d0: Verifying Checksum 01:41:47 5c69ac0246d0: Download complete 01:41:47 3a2ae6a8a46f: Verifying Checksum 01:41:47 3a2ae6a8a46f: Download complete 01:41:47 33b1e0a273af: Verifying Checksum 01:41:47 33b1e0a273af: Download complete 01:41:47 5d3b04190fa2: Verifying Checksum 01:41:47 5d3b04190fa2: Download complete 01:41:47 ec43610c2a17: Verifying Checksum 01:41:47 5eb5b503b376: Verifying Checksum 01:41:47 5eb5b503b376: Download complete 01:41:48 2f39f015ded8: Download complete 01:41:48 5eb5b503b376: Pull complete 01:41:48 5c69ac0246d0: Pull complete 01:41:49 ec43610c2a17: Pull complete 01:41:49 3a2ae6a8a46f: Pull complete 01:41:49 33b1e0a273af: Pull complete 01:41:49 5d3b04190fa2: Pull complete 01:41:53 2f39f015ded8: Pull complete 01:41:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:41:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:41:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:41:54 prd-ubuntu20.04-docker-8c-8g-65512 does not seem to be running inside a container 01:41:54 $ 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-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@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 01:41:55 $ docker top 4932f8e2140bbbf2ef7cf6534e5de896e27637d7e91a5beaba5f4f14c18f2aa3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:41:56 ---> job-cost.sh 01:41:56 lf-activate-venv: SKIPPING 01:41:56 INFO: No Stack... 01:41:56 INFO: Retrieving Pricing Info for: v3-standard-8 01:41:56 INFO: Archiving Costs [Pipeline] sh 01:41:57 + cat /w/workspace/gexfoundry_device-rest-go_PR-222/archives/cost.csv 01:41:57 + cut -d, -f6 [Pipeline] lock 01:41:57 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-222-1-stack-cost] 01:41:57 Resource [jenkins-edgexfoundry-device-rest-go-PR-222-1-stack-cost] did not exist. Created. 01:41:57 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-222-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:41:57 + echo total: 0.2199999988079071 [Pipeline] stash 01:41:57 Stashed 1 file(s) [Pipeline] } 01:41:57 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-222-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:41:57 $ docker stop --time=1 4932f8e2140bbbf2ef7cf6534e5de896e27637d7e91a5beaba5f4f14c18f2aa3 01:41:58 $ docker rm -f 4932f8e2140bbbf2ef7cf6534e5de896e27637d7e91a5beaba5f4f14c18f2aa3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:30:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-81776 in /w/workspace/gexfoundry_device-rest-go_PR-222 [Pipeline] { [Pipeline] ws 04:30:44 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 04:30:44 The recommended git tool is: git 04:30:49 using credential edgex-jenkins-ssh 04:30:49 Cloning the remote Git repository 04:30:49 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 04:30:49 > git init /w/workspace/device-rest-go/1 # timeout=10 04:30:49 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 04:30:49 > git --version # timeout=10 04:30:49 > git --version # 'git version 2.25.1' 04:30:49 using GIT_SSH to set credentials SSH Credentials for GitHub 04:30:49 Verifying host key using known hosts file 04:30:49 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 04:30:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:30:51 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 04:30:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:30:53 Merging remotes/origin/main commit 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb into PR head commit 902eff6e3bf3907c0b7d951246858f337eb277ae 04:30:52 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 04:30:52 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 04:30:52 using GIT_SSH to set credentials SSH Credentials for GitHub 04:30:52 Verifying host key using known hosts file 04:30:52 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 04:30:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/222/head:refs/remotes/origin/PR-222 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:30:53 > git config core.sparsecheckout # timeout=10 04:30:53 > git checkout -f 902eff6e3bf3907c0b7d951246858f337eb277ae # timeout=10 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:30:53 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 04:30:55 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-222/archives ] 04:30:55 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-222/archives 04:30:55 total 16 04:30:55 drwxr-xr-x 3 root root 4096 Oct 25 01:41 . 04:30:55 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 01:41 .. 04:30:55 drwxr-xr-x 2 root root 4096 Oct 25 01:41 cost 04:30:55 -rw-r--r-- 1 root root 86 Oct 25 01:41 cost.csv 04:30:55 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-222/archives 04:30:55 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-222/archives 04:30:55 total 16 04:30:55 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 01:41 . 04:30:55 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 01:41 .. 04:30:55 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 01:41 cost 04:30:55 -rw-r--r-- 1 jenkins jenkins 86 Oct 25 01:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:30:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:30:56 ---> package-listing.sh 04:30:56 ++ facter osfamily 04:30:56 ++ tr '[:upper:]' '[:lower:]' 04:30:56 + OS_FAMILY=debian 04:30:56 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-222 04:30:56 + START_PACKAGES=/tmp/packages_start.txt 04:30:56 + END_PACKAGES=/tmp/packages_end.txt 04:30:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:30:56 + PACKAGES=/tmp/packages_start.txt 04:30:56 + '[' /w/workspace/gexfoundry_device-rest-go_PR-222 ']' 04:30:56 + PACKAGES=/tmp/packages_end.txt 04:30:56 + case "${OS_FAMILY}" in 04:30:56 + dpkg -l 04:30:56 + grep '^ii' 04:30:56 + '[' -f /tmp/packages_start.txt ']' 04:30:56 + '[' -f /tmp/packages_end.txt ']' 04:30:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:30:56 + '[' /w/workspace/gexfoundry_device-rest-go_PR-222 ']' 04:30:56 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-222/archives/ 04:30:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-222/archives/ [Pipeline] echo 04:30:57 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-222/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:30:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:30:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:30:58 prd-ubuntu20.04-docker-8c-8g-65512 does not seem to be running inside a container 04:30:58 $ 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-222/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-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@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 04:30:58 $ docker top 49d80a9e8a09bc9c5582eb09f3bef576c5e96b2018ade3715c722ae43f1f7830 -eo pid,comm [Pipeline] { [Pipeline] sh 04:30:59 + touch /tmp/pre-build-complete [Pipeline] sh 04:30:59 + mkdir -p /var/log/sysstat [Pipeline] sh 04:30:59 + ls /var/log/sa-host 04:30:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:31:00 provisioning config files... 04:31:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config227226808554118526tmp [Pipeline] { [Pipeline] echo 04:31:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:31:00 ---> create-netrc.sh [Pipeline] } 04:31:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:31:00 ---> python-tools-install.sh [Pipeline] echo 04:31:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:31:01 ---> sudo-logs.sh 04:31:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:31:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:31:01 ---> job-cost.sh 04:31:01 lf-activate-venv: SKIPPING 04:31:01 DEBUG: total: 0.2199999988079071 04:31:01 INFO: Retrieving Stack Cost... 04:31:01 INFO: Retrieving Pricing Info for: v3-standard-8 04:31:02 INFO: Archiving Costs [Pipeline] echo 04:31:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:31:02 ---> logs-deploy.sh 04:31:02 lf-activate-venv: SKIPPING 04:31:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-222/1 04:31:02 INFO: archiving workspace using pattern(s): 04:31:03 Archives upload complete. 04:31:03 INFO: archiving logs to Nexus 04:31:04 ---> uname -a: 04:31:04 Linux prd-ubuntu20-04-docker-8c-8g-65512 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 04:31:04 04:31:04 04:31:04 ---> lscpu: 04:31:04 Architecture: x86_64 04:31:04 CPU op-mode(s): 32-bit, 64-bit 04:31:04 Byte Order: Little Endian 04:31:04 Address sizes: 40 bits physical, 48 bits virtual 04:31:04 CPU(s): 8 04:31:04 On-line CPU(s) list: 0-7 04:31:04 Thread(s) per core: 1 04:31:04 Core(s) per socket: 1 04:31:04 Socket(s): 8 04:31:04 NUMA node(s): 1 04:31:04 Vendor ID: AuthenticAMD 04:31:04 CPU family: 23 04:31:04 Model: 49 04:31:04 Model name: AMD EPYC-Rome Processor 04:31:04 Stepping: 0 04:31:04 CPU MHz: 2799.998 04:31:04 BogoMIPS: 5599.99 04:31:04 Virtualization: AMD-V 04:31:04 Hypervisor vendor: KVM 04:31:04 Virtualization type: full 04:31:04 L1d cache: 256 KiB 04:31:04 L1i cache: 256 KiB 04:31:04 L2 cache: 4 MiB 04:31:04 L3 cache: 128 MiB 04:31:04 NUMA node0 CPU(s): 0-7 04:31:04 Vulnerability Itlb multihit: Not affected 04:31:04 Vulnerability L1tf: Not affected 04:31:04 Vulnerability Mds: Not affected 04:31:04 Vulnerability Meltdown: Not affected 04:31:04 Vulnerability Mmio stale data: Not affected 04:31:04 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 04:31:04 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 04:31:04 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 04:31:04 Vulnerability Srbds: Not affected 04:31:04 Vulnerability Tsx async abort: Not affected 04:31:04 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 04:31:04 04:31:04 04:31:04 ---> nproc: 04:31:04 8 04:31:04 04:31:04 04:31:04 ---> df -h: 04:31:04 Filesystem Size Used Avail Use% Mounted on 04:31:04 overlay 155G 12G 144G 8% / 04:31:04 tmpfs 64M 0 64M 0% /dev 04:31:04 tmpfs 16G 0 16G 0% /sys/fs/cgroup 04:31:04 shm 64M 0 64M 0% /dev/shm 04:31:04 /dev/vda1 155G 12G 144G 8% /facter-os 04:31:04 04:31:04