Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0e1e7071f072e9c52fdee87aa4e744db5d45758f+1b7989097685cbbb7d11325d5e96f20d406e46c7 (68401efe9cf6331cb1cd3455a50ce8e004ec729a) 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-ssh3306547587834379245.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh18071050099311136202.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-182/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-182/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13474435436724902372.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh5881110267146361107.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-182/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-182/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6302831751598474299.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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.17 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 [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-41375 in /w/workspace/gexfoundry_device-rest-go_PR-182 [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-182 # 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 Merging remotes/origin/main commit 1b7989097685cbbb7d11325d5e96f20d406e46c7 into PR head commit 0e1e7071f072e9c52fdee87aa4e744db5d45758f Merge succeeded, producing 60e3318a95930f8233a5f47cc3a0aa865dd95b0a Checking out Revision 60e3318a95930f8233a5f47cc3a0aa865dd95b0a (PR-182) > 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/182/head:refs/remotes/origin/PR-182 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e1e7071f072e9c52fdee87aa4e744db5d45758f # 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 1b7989097685cbbb7d11325d5e96f20d406e46c7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 60e3318a95930f8233a5f47cc3a0aa865dd95b0a # timeout=10 Commit message: "Merge commit '1b7989097685cbbb7d11325d5e96f20d406e46c7' into HEAD" > git rev-list --no-walk 0e1e7071f072e9c52fdee87aa4e744db5d45758f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:07:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:07:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:07:25 ========================================================= 03:07:25 EdgeX Global Pipelines Version Info 03:07:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:07:26 ------------------- 03:07:26 stable info: 03:07:26 ------------------- 03:07:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:07:26 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 03:07:26 Message: update stable to v1.0.227 03:07:26 ------------------- 03:07:26 experimental info: 03:07:26 ------------------- 03:07:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:07:26 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 03:07:26 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:07:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 03:07:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 03:07:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:07:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:07:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:07:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 03:07:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:07:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:07:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:07:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:07:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:07:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 03:07:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-182 [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-182 [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-182 [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 60e3318a95930f8233a5f47cc3a0aa865dd95b0a [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 60e3318 [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:07:27 provisioning config files... 03:07:27 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-182@tmp/config1547346214672992788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:07:27 ---> docker-login.sh 03:07:27 nexus3.edgexfoundry.org:10001 03:07:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:28 Configure a credential helper to remove this warning. See 03:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:28 03:07:28 Login Succeeded 03:07:28 nexus3.edgexfoundry.org:10002 03:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:28 Configure a credential helper to remove this warning. See 03:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:28 03:07:28 Login Succeeded 03:07:28 nexus3.edgexfoundry.org:10003 03:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:28 Configure a credential helper to remove this warning. See 03:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:28 03:07:28 Login Succeeded 03:07:28 nexus3.edgexfoundry.org:10004 03:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:28 Configure a credential helper to remove this warning. See 03:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:28 03:07:28 Login Succeeded 03:07:28 docker.io 03:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:28 Configure a credential helper to remove this warning. See 03:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:28 03:07:28 Login Succeeded 03:07:28 ---> docker-login.sh ends [Pipeline] } 03:07:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:07:29 + git rev-list -1 --merges 60e3318a95930f8233a5f47cc3a0aa865dd95b0a~1..60e3318a95930f8233a5f47cc3a0aa865dd95b0a [Pipeline] echo 03:07:29 -----------> git rev-list -1 --merges 60e3318a95930f8233a5f47cc3a0aa865dd95b0a~1..60e3318a95930f8233a5f47cc3a0aa865dd95b0a 60e3318a95930f8233a5f47cc3a0aa865dd95b0a 03:07:29 60e3318a95930f8233a5f47cc3a0aa865dd95b0a [false] [Pipeline] sh 03:07:29 + git log --format=format:%s -1 60e3318a95930f8233a5f47cc3a0aa865dd95b0a [Pipeline] echo 03:07:29 ========================================================= 03:07:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:07:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:07:30 + git log --format=format:%s -1 60e3318a95930f8233a5f47cc3a0aa865dd95b0a [Pipeline] echo 03:07:30 [semverPrep] GIT_COMMIT: 60e3318a95930f8233a5f47cc3a0aa865dd95b0a, Commit Message: Merge commit '1b7989097685cbbb7d11325d5e96f20d406e46c7' into HEAD [Pipeline] echo 03:07:30 [semverPrep] This is not a build commit. [Pipeline] sh 03:07:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:07:30 + grep -v github /etc/ssh/ssh_known_hosts 03:07:30 + [ -e /tmp/ssh_known_hosts ] 03:07:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:07:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:07:30 + sudo tee -a /etc/ssh/ssh_known_hosts 03:07:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 03:07:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 03:07:31 03:07:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:07:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 03:07:31 latest: Pulling from edgex-devops/py-git-semver 03:07:31 1fe172e4850f: Pulling fs layer 03:07:31 caf521ccaac6: Pulling fs layer 03:07:31 3ead6fa29328: Pulling fs layer 03:07:31 5c2a1cbceb83: Pulling fs layer 03:07:31 a8d5f1318db7: Pulling fs layer 03:07:31 c427282e49a2: Pulling fs layer 03:07:31 a8d5f1318db7: Waiting 03:07:31 5c2a1cbceb83: Waiting 03:07:31 1827001aaf11: Pulling fs layer 03:07:31 0714d37db230: Pulling fs layer 03:07:31 ac28cf19c067: Pulling fs layer 03:07:31 c427282e49a2: Waiting 03:07:31 ca983d60f3e2: Pulling fs layer 03:07:31 9f894cec8388: Pulling fs layer 03:07:31 ca983d60f3e2: Waiting 03:07:31 ac28cf19c067: Waiting 03:07:31 9f894cec8388: Waiting 03:07:31 0714d37db230: Waiting 03:07:31 caf521ccaac6: Verifying Checksum 03:07:31 caf521ccaac6: Download complete 03:07:31 5c2a1cbceb83: Verifying Checksum 03:07:31 5c2a1cbceb83: Download complete 03:07:31 a8d5f1318db7: Verifying Checksum 03:07:31 a8d5f1318db7: Download complete 03:07:31 c427282e49a2: Download complete 03:07:31 3ead6fa29328: Verifying Checksum 03:07:31 3ead6fa29328: Download complete 03:07:31 0714d37db230: Verifying Checksum 03:07:31 0714d37db230: Download complete 03:07:31 ac28cf19c067: Download complete 03:07:31 ca983d60f3e2: Verifying Checksum 03:07:31 ca983d60f3e2: Download complete 03:07:31 9f894cec8388: Download complete 03:07:31 1fe172e4850f: Verifying Checksum 03:07:31 1fe172e4850f: Download complete 03:07:31 1827001aaf11: Verifying Checksum 03:07:31 1827001aaf11: Download complete 03:07:33 1fe172e4850f: Pull complete 03:07:33 caf521ccaac6: Pull complete 03:07:33 3ead6fa29328: Pull complete 03:07:33 5c2a1cbceb83: Pull complete 03:07:34 a8d5f1318db7: Pull complete 03:07:34 c427282e49a2: Pull complete 03:07:36 1827001aaf11: Pull complete 03:07:36 0714d37db230: Pull complete 03:07:36 ac28cf19c067: Pull complete 03:07:36 ca983d60f3e2: Pull complete 03:07:36 9f894cec8388: Pull complete 03:07:36 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 03:07:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 03:07:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 03:07:36 prd-ubuntu20.04-docker-8c-8g-41375 does not seem to be running inside a container 03:07:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-182 -v /w/workspace/gexfoundry_device-rest-go_PR-182:/w/workspace/gexfoundry_device-rest-go_PR-182:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-182@tmp:/w/workspace/gexfoundry_device-rest-go_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 03:07:38 $ docker top a25abe9ffae1c606d18720b2445eca118547606c7d2123fe4a9a4a01e77deed1 -eo pid,comm 03:07:38 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). 03:07:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:07:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:07:38 [ssh-agent] Looking for ssh-agent implementation... 03:07:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:07:38 $ docker exec a25abe9ffae1c606d18720b2445eca118547606c7d2123fe4a9a4a01e77deed1 ssh-agent 03:07:38 SSH_AUTH_SOCK=/tmp/ssh-jDU2AwbZgLbD/agent.32 03:07:38 SSH_AGENT_PID=38 03:07:38 Running ssh-add (command line suppressed) 03:07:38 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-182@tmp/private_key_5040380827755325287.key (/w/workspace/gexfoundry_device-rest-go_PR-182@tmp/private_key_5040380827755325287.key) 03:07:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:07:39 + git tag --points-at HEAD [Pipeline] } 03:07:39 $ docker exec --env ******** --env ******** a25abe9ffae1c606d18720b2445eca118547606c7d2123fe4a9a4a01e77deed1 ssh-agent -k 03:07:39 unset SSH_AUTH_SOCK; 03:07:39 unset SSH_AGENT_PID; 03:07:39 echo Agent pid 38 killed; 03:07:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:07:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:07:39 [ssh-agent] Looking for ssh-agent implementation... 03:07:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:07:39 $ docker exec a25abe9ffae1c606d18720b2445eca118547606c7d2123fe4a9a4a01e77deed1 ssh-agent 03:07:39 SSH_AUTH_SOCK=/tmp/ssh-AaEoAmHoMPDb/agent.72 03:07:39 SSH_AGENT_PID=78 03:07:39 Running ssh-add (command line suppressed) 03:07:39 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-182@tmp/private_key_7210677190697049393.key (/w/workspace/gexfoundry_device-rest-go_PR-182@tmp/private_key_7210677190697049393.key) 03:07:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:07:40 + git semver init 03:07:40 2022-05-07 03:07:40,406 [run_init] DEBUG init version:0.0.0 force:False 03:07:40 2022-05-07 03:07:40,407 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-182/.semver 03:07:40 2022-05-07 03:07:40,407 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-182/.semver 03:07:40 2022-05-07 03:07:40,408 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-182/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-182, universal_newlines=False, shell=None, istream=None) 03:07:41 2022-05-07 03:07:41,416 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-182/.git/info/exclude 03:07:41 2022-05-07 03:07:41,417 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-182/.semver/PR-182 with force:False 03:07:41 2022-05-07 03:07:41,417 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-182/.semver/PR-182 03:07:41 2022-05-07 03:07:41,421 [execute] INFO git cat-file --batch-check 03:07:41 2022-05-07 03:07:41,421 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-182/.semver, universal_newlines=False, shell=None, istream=) 03:07:41 2022-05-07 03:07:41,426 [execute] INFO git cat-file --batch 03:07:41 2022-05-07 03:07:41,427 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-182/.semver, universal_newlines=False, shell=None, istream=) 03:07:41 2022-05-07 03:07:41,432 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-182/.semver/PR-182 03:07:41 0.0.0 [Pipeline] } 03:07:41 $ docker exec --env ******** --env ******** a25abe9ffae1c606d18720b2445eca118547606c7d2123fe4a9a4a01e77deed1 ssh-agent -k 03:07:41 unset SSH_AUTH_SOCK; 03:07:41 unset SSH_AGENT_PID; 03:07:41 echo Agent pid 78 killed; 03:07:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:07:42 + git semver [Pipeline] } 03:07:42 $ docker stop --time=1 a25abe9ffae1c606d18720b2445eca118547606c7d2123fe4a9a4a01e77deed1 03:07:43 $ docker rm -f a25abe9ffae1c606d18720b2445eca118547606c7d2123fe4a9a4a01e77deed1 [Pipeline] // withDockerContainer [Pipeline] sh 03:07:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:07:44 Stashed 1 file(s) [Pipeline] echo 03:07:44 [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 03:07:44 provisioning config files... 03:07:44 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-182@tmp/config5168018304786615414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:07:45 ---> docker-login.sh 03:07:45 nexus3.edgexfoundry.org:10001 03:07:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:45 Configure a credential helper to remove this warning. See 03:07:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:45 03:07:45 Login Succeeded 03:07:45 nexus3.edgexfoundry.org:10002 03:07:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:45 Configure a credential helper to remove this warning. See 03:07:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:45 03:07:45 Login Succeeded 03:07:45 nexus3.edgexfoundry.org:10003 03:07:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:45 Configure a credential helper to remove this warning. See 03:07:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:45 03:07:45 Login Succeeded 03:07:45 nexus3.edgexfoundry.org:10004 03:07:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:45 Configure a credential helper to remove this warning. See 03:07:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:45 03:07:45 Login Succeeded 03:07:45 docker.io 03:07:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:45 Configure a credential helper to remove this warning. See 03:07:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:45 03:07:45 Login Succeeded 03:07:45 ---> docker-login.sh ends [Pipeline] } 03:07:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:07:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:07:45 ========================================================= 03:07:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 03:07:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 03:07:46 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 03:07:46 Sending build context to Docker daemon 10.62MB 03:07:46 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 03:07:46 Step 2/12 : FROM ${BASE} AS builder 03:07:46 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 03:07:46 59bf1c3509f3: Pulling fs layer 03:07:46 666ba61612fd: Pulling fs layer 03:07:46 8ed8ca486205: Pulling fs layer 03:07:46 4fe6c5a15a65: Pulling fs layer 03:07:46 22a0e8bec74d: Pulling fs layer 03:07:46 ca2b28591e48: Pulling fs layer 03:07:46 a51346096db8: Pulling fs layer 03:07:46 daebc70d1ce1: Pulling fs layer 03:07:46 0e18a0eac166: Pulling fs layer 03:07:46 ca2b28591e48: Waiting 03:07:46 daebc70d1ce1: Waiting 03:07:46 4fe6c5a15a65: Waiting 03:07:46 22a0e8bec74d: Waiting 03:07:46 a51346096db8: Waiting 03:07:46 8ed8ca486205: Download complete 03:07:46 666ba61612fd: Download complete 03:07:46 22a0e8bec74d: Verifying Checksum 03:07:46 22a0e8bec74d: Download complete 03:07:46 ca2b28591e48: Verifying Checksum 03:07:46 ca2b28591e48: Download complete 03:07:46 59bf1c3509f3: Download complete 03:07:46 a51346096db8: Verifying Checksum 03:07:46 a51346096db8: Download complete 03:07:46 daebc70d1ce1: Verifying Checksum 03:07:46 daebc70d1ce1: Download complete 03:07:46 59bf1c3509f3: Pull complete 03:07:46 666ba61612fd: Pull complete 03:07:46 8ed8ca486205: Pull complete 03:07:47 0e18a0eac166: Verifying Checksum 03:07:47 0e18a0eac166: Download complete 03:07:47 4fe6c5a15a65: Verifying Checksum 03:07:47 4fe6c5a15a65: Download complete 03:07:51 4fe6c5a15a65: Pull complete 03:07:51 22a0e8bec74d: Pull complete 03:07:51 ca2b28591e48: Pull complete 03:07:51 a51346096db8: Pull complete 03:07:51 daebc70d1ce1: Pull complete 03:07:54 0e18a0eac166: Pull complete 03:07:54 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 03:07:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 03:07:54 ---> f018257e8ee9 03:07:54 Step 3/12 : ARG MAKE='make build' 03:07:56 ---> Running in 1d3b33da1d47 03:07:56 Removing intermediate container 1d3b33da1d47 03:07:56 ---> 516c5a3578a6 03:07:56 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:07:56 ---> Running in 47ba130d07be 03:07:56 Removing intermediate container 47ba130d07be 03:07:56 ---> e10d6832add2 03:07:56 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 03:07:56 ---> Running in dc6735fa1571 03:07:56 Removing intermediate container dc6735fa1571 03:07:56 ---> a31b71c60263 03:07:56 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:07:56 ---> Running in 205e337f1b39 03:07:57 Removing intermediate container 205e337f1b39 03:07:57 ---> 3d5aac490fa0 03:07:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:07:57 ---> Running in 4ce91e7ef4c5 03:07:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 03:07:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 03:07:58 (1/4) Installing openssh-keygen (8.8_p1-r1) 03:07:59 (2/4) Installing libedit (20210910.3.1-r0) 03:07:59 (3/4) Installing openssh-client-common (8.8_p1-r1) 03:07:59 (4/4) Installing openssh-client-default (8.8_p1-r1) 03:07:59 Executing busybox-1.34.1-r3.trigger 03:07:59 OK: 224 MiB in 56 packages 03:07:59 Still waiting to schedule task 03:07:59 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:08:00 Removing intermediate container 4ce91e7ef4c5 03:08:00 ---> c7b695d8b05a 03:08:00 Step 8/12 : WORKDIR /device-rest-go 03:08:00 ---> Running in db4bfc945151 03:08:00 Removing intermediate container db4bfc945151 03:08:00 ---> 7647eb0e9177 03:08:00 Step 9/12 : COPY go.mod vendor* ./ 03:08:01 ---> a652cf0cd3f6 03:08:01 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:08:01 ---> Running in 45212b3c93c7 03:08:28 Removing intermediate container 45212b3c93c7 03:08:28 ---> e90d8f10a920 03:08:28 Step 11/12 : COPY . . 03:08:28 ---> 40aa1a60fee2 03:08:28 Step 12/12 : RUN $MAKE 03:08:28 ---> Running in a24b3179ced4 03:08:28 noop 03:08:28 Removing intermediate container a24b3179ced4 03:08:28 ---> aced7742962d 03:08:28 Successfully built aced7742962d 03:08:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:08:28 + docker inspect -f . ci-base-image-x86_64 03:08:28 . [Pipeline] withDockerContainer 03:08:28 prd-ubuntu20.04-docker-8c-8g-41375 does not seem to be running inside a container 03:08:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-182 -v /w/workspace/gexfoundry_device-rest-go_PR-182:/w/workspace/gexfoundry_device-rest-go_PR-182:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-182@tmp:/w/workspace/gexfoundry_device-rest-go_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:08:28 $ docker top e517efc370037c799194f915d302eae5fe8610b9426161b17c139b83f8e556e3 -eo pid,comm [Pipeline] { [Pipeline] sh 03:08:29 + go version 03:08:29 go version go1.17.6 linux/amd64 [Pipeline] } 03:08:29 $ docker stop --time=1 e517efc370037c799194f915d302eae5fe8610b9426161b17c139b83f8e556e3 03:08:30 $ docker rm -f e517efc370037c799194f915d302eae5fe8610b9426161b17c139b83f8e556e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:08:31 + docker inspect -f . ci-base-image-x86_64 03:08:31 . [Pipeline] withDockerContainer 03:08:31 prd-ubuntu20.04-docker-8c-8g-41375 does not seem to be running inside a container 03:08:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-182 -v /w/workspace/gexfoundry_device-rest-go_PR-182:/w/workspace/gexfoundry_device-rest-go_PR-182:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-182@tmp:/w/workspace/gexfoundry_device-rest-go_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:08:31 $ docker top 3953e66134459cbcc1d96b914c1d5f6e74517029d151b225df319daff71d9a18 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:08:31 + make test 03:08:31 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:08:32 ? github.com/edgexfoundry/device-rest-go [no test files] 03:08:42 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 03:08:42 ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 55.2% of statements 03:08:48 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:08:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:08:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:08:53 ./bin/test-attribution-txt.sh [Pipeline] echo 03:08:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:08:53 $ docker stop --time=1 3953e66134459cbcc1d96b914c1d5f6e74517029d151b225df319daff71d9a18 03:08:55 $ docker rm -f 3953e66134459cbcc1d96b914c1d5f6e74517029d151b225df319daff71d9a18 [Pipeline] // withDockerContainer [Pipeline] sh 03:08:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:08:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:08:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:08:57 + ls -al . 03:08:57 total 168 03:08:57 drwxrwxr-x 9 jenkins jenkins 4096 May 7 03:08 . 03:08:57 drwxrwxr-x 4 jenkins jenkins 4096 May 7 03:07 .. 03:08:57 -rw-rw-r-- 1 jenkins jenkins 151 May 7 03:07 .dockerignore 03:08:57 drwxrwxr-x 8 jenkins jenkins 4096 May 7 03:07 .git 03:08:57 drwxrwxr-x 3 jenkins jenkins 4096 May 7 03:07 .github 03:08:57 -rw-rw-r-- 1 jenkins jenkins 329 May 7 03:07 .gitignore 03:08:57 -rw-rw-r-- 1 jenkins jenkins 41 May 7 03:07 .golangci.yml 03:08:57 drwxr-xr-x 3 jenkins jenkins 4096 May 7 03:07 .semver 03:08:57 -rw-rw-r-- 1 jenkins jenkins 8463 May 7 03:07 Attribution.txt 03:08:57 -rw-rw-r-- 1 jenkins jenkins 7459 May 7 03:07 CHANGELOG.md 03:08:57 -rw-rw-r-- 1 jenkins jenkins 1672 May 7 03:07 Dockerfile 03:08:57 -rw-rw-r-- 1 jenkins jenkins 677 May 7 03:07 GOVERNANCE.md 03:08:57 -rw-rw-r-- 1 jenkins jenkins 680 May 7 03:07 Jenkinsfile 03:08:57 -rw-rw-r-- 1 jenkins jenkins 11340 May 7 03:07 LICENSE 03:08:57 -rw-rw-r-- 1 jenkins jenkins 1977 May 7 03:07 Makefile 03:08:57 -rw-rw-r-- 1 jenkins jenkins 620 May 7 03:07 OWNERS.md 03:08:57 -rw-rw-r-- 1 jenkins jenkins 8003 May 7 03:07 README.md 03:08:57 -rw-rw-r-- 1 jenkins jenkins 5 May 7 03:07 VERSION 03:08:57 drwxrwxr-x 2 jenkins jenkins 4096 May 7 03:07 bin 03:08:57 drwxrwxr-x 3 jenkins jenkins 4096 May 7 03:07 cmd 03:08:57 -rw-r--r-- 1 jenkins jenkins 9355 May 7 03:08 coverage.out 03:08:57 drwxrwxr-x 2 jenkins jenkins 4096 May 7 03:07 driver 03:08:57 -rw-rw-r-- 1 jenkins jenkins 3333 May 7 03:07 go.mod 03:08:57 -rw-rw-r-- 1 jenkins jenkins 35377 May 7 03:07 go.sum 03:08:57 drwxrwxr-x 3 jenkins jenkins 4096 May 7 03:07 snap 03:08:57 -rw-rw-r-- 1 jenkins jenkins 713 May 7 03:07 version.go [Pipeline] isUnix [Pipeline] sh 03:08:57 + 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=60e3318a95930f8233a5f47cc3a0aa865dd95b0a --label arch=amd64 --label version=0.0.0 . 03:08:57 Sending build context to Docker daemon 10.63MB 03:08:57 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 03:08:57 Step 2/25 : FROM ${BASE} AS builder 03:08:57 ---> aced7742962d 03:08:57 Step 3/25 : ARG MAKE='make build' 03:08:57 ---> Running in d5c04776ee0c 03:08:57 Removing intermediate container d5c04776ee0c 03:08:57 ---> 7529f1b67b49 03:08:57 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:08:57 ---> Running in 779884def546 03:08:57 Removing intermediate container 779884def546 03:08:57 ---> 92977a853f4f 03:08:57 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 03:08:57 ---> Running in b5cd46bd67c6 03:08:57 Removing intermediate container b5cd46bd67c6 03:08:57 ---> e78f02595439 03:08:57 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:08:57 ---> Running in 0aa1f735e623 03:08:58 Removing intermediate container 0aa1f735e623 03:08:58 ---> a2ad1b7f4198 03:08:58 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:08:58 ---> Running in 292b58f501e5 03:08:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 03:08:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 03:09:00 OK: 224 MiB in 56 packages 03:09:00 Removing intermediate container 292b58f501e5 03:09:00 ---> 9d5340ae7872 03:09:00 Step 8/25 : WORKDIR /device-rest-go 03:09:00 ---> Running in 0463d97a121b 03:09:00 Removing intermediate container 0463d97a121b 03:09:00 ---> 4a401027724e 03:09:00 Step 9/25 : COPY go.mod vendor* ./ 03:09:00 ---> a38cf56d43c0 03:09:00 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:09:00 ---> Running in 42dc388d9904 03:09:01 Removing intermediate container 42dc388d9904 03:09:01 ---> 9a017d4da3dd 03:09:01 Step 11/25 : COPY . . 03:09:01 ---> 67ee509574a5 03:09:01 Step 12/25 : RUN $MAKE 03:09:01 ---> Running in 530263c4c35c 03:09:02 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 03:09:24 Removing intermediate container 530263c4c35c 03:09:24 ---> cfb30d102e15 03:09:24 Step 13/25 : FROM alpine:3.14 03:09:24 3.14: Pulling from library/alpine 03:09:24 8663204ce13b: Pulling fs layer 03:09:24 8663204ce13b: Verifying Checksum 03:09:24 8663204ce13b: Download complete 03:09:24 8663204ce13b: Pull complete 03:09:24 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 03:09:24 Status: Downloaded newer image for alpine:3.14 03:09:24 ---> e04c818066af 03:09:24 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 03:09:24 ---> Running in e3ac4a0c1d2e 03:09:24 Removing intermediate container e3ac4a0c1d2e 03:09:24 ---> 3f467d2c33cb 03:09:24 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 03:09:24 ---> Running in 632f9eb9a463 03:09:24 Removing intermediate container 632f9eb9a463 03:09:24 ---> 1da728acc6b4 03:09:24 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 03:09:24 ---> Running in 9cfa6f80e3d9 03:09:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 03:09:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 03:09:25 (1/6) Installing dumb-init (1.2.5-r1) 03:09:25 (2/6) Installing libgcc (10.3.1_git20210424-r2) 03:09:25 (3/6) Installing libsodium (1.0.18-r0) 03:09:25 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 03:09:25 (5/6) Installing libzmq (4.3.4-r0) 03:09:25 (6/6) Installing zeromq (4.3.4-r0) 03:09:25 Executing busybox-1.33.1-r7.trigger 03:09:25 OK: 8 MiB in 20 packages 03:09:25 Removing intermediate container 9cfa6f80e3d9 03:09:25 ---> 163f1b930089 03:09:25 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 03:09:26 ---> 8acf73196f70 03:09:26 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 03:09:26 ---> 795f920f3388 03:09:26 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 03:09:26 ---> 34d7dd7ec19f 03:09:26 Step 20/25 : EXPOSE 59986 03:09:26 ---> Running in 6122bc584cdb 03:09:26 Removing intermediate container 6122bc584cdb 03:09:26 ---> 70328570d243 03:09:26 Step 21/25 : ENTRYPOINT ["/device-rest"] 03:09:26 ---> Running in cca66e61259d 03:09:26 Removing intermediate container cca66e61259d 03:09:26 ---> d3a401c80b20 03:09:26 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 03:09:26 ---> Running in 72fabcff208e 03:09:26 Removing intermediate container 72fabcff208e 03:09:26 ---> 0f08ceb853dd 03:09:26 Step 23/25 : LABEL arch=amd64 03:09:27 ---> Running in 921afb3a7bcc 03:09:27 Removing intermediate container 921afb3a7bcc 03:09:27 ---> 1783268673dd 03:09:27 Step 24/25 : LABEL git_sha=60e3318a95930f8233a5f47cc3a0aa865dd95b0a 03:09:27 ---> Running in 5a99024fbb6a 03:09:27 Removing intermediate container 5a99024fbb6a 03:09:27 ---> e96472ad1d46 03:09:27 Step 25/25 : LABEL version=0.0.0 03:09:27 ---> Running in 857e2f71ae50 03:09:27 Removing intermediate container 857e2f71ae50 03:09:27 ---> dd02835191a6 03:09:27 [Warning] One or more build-args [ARCH] were not consumed 03:09:27 Successfully built dd02835191a6 03:09:27 Successfully tagged device-rest:latest [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] sh 03:09:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:09:27 03:09:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 03:09:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:09:28 latest: Pulling from edgex-lftools-log-publisher 03:09:28 5eb5b503b376: Pulling fs layer 03:09:28 5c69ac0246d0: Pulling fs layer 03:09:28 ec43610c2a17: Pulling fs layer 03:09:28 3a2ae6a8a46f: Pulling fs layer 03:09:28 33b1e0a273af: Pulling fs layer 03:09:28 5d3b04190fa2: Pulling fs layer 03:09:28 2f39f015ded8: Pulling fs layer 03:09:28 33b1e0a273af: Waiting 03:09:28 5d3b04190fa2: Waiting 03:09:28 5c69ac0246d0: Verifying Checksum 03:09:28 5c69ac0246d0: Download complete 03:09:28 3a2ae6a8a46f: Verifying Checksum 03:09:28 3a2ae6a8a46f: Download complete 03:09:28 33b1e0a273af: Verifying Checksum 03:09:28 33b1e0a273af: Download complete 03:09:28 ec43610c2a17: Verifying Checksum 03:09:28 ec43610c2a17: Download complete 03:09:28 5d3b04190fa2: Verifying Checksum 03:09:28 5d3b04190fa2: Download complete 03:09:28 5eb5b503b376: Verifying Checksum 03:09:28 5eb5b503b376: Download complete 03:09:29 2f39f015ded8: Download complete 03:09:29 5eb5b503b376: Pull complete 03:09:29 5c69ac0246d0: Pull complete 03:09:30 ec43610c2a17: Pull complete 03:09:30 3a2ae6a8a46f: Pull complete 03:09:30 33b1e0a273af: Pull complete 03:09:30 5d3b04190fa2: Pull complete 03:09:34 2f39f015ded8: Pull complete 03:09:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:09:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:09:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 03:09:34 prd-ubuntu20.04-docker-8c-8g-41375 does not seem to be running inside a container 03:09:35 $ 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-182 -v /w/workspace/gexfoundry_device-rest-go_PR-182:/w/workspace/gexfoundry_device-rest-go_PR-182:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-182@tmp:/w/workspace/gexfoundry_device-rest-go_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:09:37 $ docker top 1ca082837b40b526d065c52d1890278505c287abebd89f9b250ebe30fee7bbd8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:09:38 ---> job-cost.sh 03:09:38 lf-activate-venv: SKIPPING 03:09:38 INFO: No Stack... 03:09:38 INFO: Retrieving Pricing Info for: v3-standard-8 03:09:38 INFO: Archiving Costs [Pipeline] sh 03:09:39 + cat /w/workspace/gexfoundry_device-rest-go_PR-182/archives/cost.csv 03:09:39 + cut -d, -f6 [Pipeline] lock 03:09:39 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-182-3-stack-cost] 03:09:39 Resource [jenkins-edgexfoundry-device-rest-go-PR-182-3-stack-cost] did not exist. Created. 03:09:39 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-182-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:09:39 + echo total: 0.2199999988079071 [Pipeline] stash 03:09:39 Stashed 1 file(s) [Pipeline] } 03:09:39 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-182-3-stack-cost] [Pipeline] // lock [Pipeline] } 03:09:39 $ docker stop --time=1 1ca082837b40b526d065c52d1890278505c287abebd89f9b250ebe30fee7bbd8 03:09:40 $ docker rm -f 1ca082837b40b526d065c52d1890278505c287abebd89f9b250ebe30fee7bbd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:09:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-41376 in /w/workspace/gexfoundry_device-rest-go_PR-182 [Pipeline] { [Pipeline] ws 03:09:43 Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout 03:09:43 The recommended git tool is: git 03:09:48 using credential edgex-jenkins-ssh 03:09:48 Cloning the remote Git repository 03:09:48 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 03:09:48 > git init /w/workspace/device-rest-go/3 # timeout=10 03:09:48 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 03:09:48 > git --version # timeout=10 03:09:48 > git --version # 'git version 2.25.1' 03:09:48 using GIT_SSH to set credentials SSH Credentials for GitHub 03:09:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:09:50 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 03:09:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:09:50 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 03:09:50 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 03:09:50 using GIT_SSH to set credentials SSH Credentials for GitHub 03:09:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/182/head:refs/remotes/origin/PR-182 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:09:50 Merging remotes/origin/main commit 1b7989097685cbbb7d11325d5e96f20d406e46c7 into PR head commit 0e1e7071f072e9c52fdee87aa4e744db5d45758f 03:09:51 Merge succeeded, producing f5e2aa5b2d16f03a54fedbc1275b224f7bac14e5 03:09:51 Checking out Revision f5e2aa5b2d16f03a54fedbc1275b224f7bac14e5 (PR-182) 03:09:50 > git config core.sparsecheckout # timeout=10 03:09:51 > git checkout -f 0e1e7071f072e9c52fdee87aa4e744db5d45758f # timeout=10 03:09:51 > git remote # timeout=10 03:09:51 > git config --get remote.origin.url # timeout=10 03:09:51 using GIT_SSH to set credentials SSH Credentials for GitHub 03:09:51 > git merge 1b7989097685cbbb7d11325d5e96f20d406e46c7 # timeout=10 03:09:51 > git rev-parse HEAD^{commit} # timeout=10 03:09:51 > git config core.sparsecheckout # timeout=10 03:09:51 > git checkout -f f5e2aa5b2d16f03a54fedbc1275b224f7bac14e5 # timeout=10 03:09:55 Commit message: "Merge commit '1b7989097685cbbb7d11325d5e96f20d406e46c7' into HEAD" 03:09:55 > git rev-list --no-walk 0e1e7071f072e9c52fdee87aa4e744db5d45758f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:09:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:09:56 % Total % Received % Xferd Average Speed Time Time Time Current 03:09:56 Dload Upload Total Spent Left Speed 03:09:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 57212 0 --:--:-- --:--:-- --:--:-- 57212 [Pipeline] sh 03:09:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:09:57 + sudo tee /etc/docker/daemon.new 03:09:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:09:57 { 03:09:57 "registry-mirrors": [ 03:09:57 "https://nexus3.edgexfoundry.org:10001" 03:09:57 ], 03:09:57 "bip": "10.250.0.254/24", 03:09:57 "hosts": [ 03:09:57 "tcp://0.0.0.0:5555", 03:09:57 "unix:///var/run/docker.sock" 03:09:57 ], 03:09:57 "mtu": 1458, 03:09:57 "selinux-enabled": true, 03:09:57 "seccomp-profile": "/etc/docker/seccomp.json" 03:09:57 } [Pipeline] sh 03:09:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:09:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:10:16 provisioning config files... 03:10:16 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config2620426161647374572tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:10:16 ---> docker-login.sh 03:10:16 nexus3.edgexfoundry.org:10001 03:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:10:17 Configure a credential helper to remove this warning. See 03:10:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:10:17 03:10:17 Login Succeeded 03:10:17 nexus3.edgexfoundry.org:10002 03:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:10:18 Configure a credential helper to remove this warning. See 03:10:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:10:18 03:10:18 Login Succeeded 03:10:18 nexus3.edgexfoundry.org:10003 03:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:10:18 Configure a credential helper to remove this warning. See 03:10:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:10:18 03:10:18 Login Succeeded 03:10:18 nexus3.edgexfoundry.org:10004 03:10:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:10:19 Configure a credential helper to remove this warning. See 03:10:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:10:19 03:10:19 Login Succeeded 03:10:19 docker.io 03:10:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:10:19 Configure a credential helper to remove this warning. See 03:10:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:10:19 03:10:19 Login Succeeded 03:10:19 ---> docker-login.sh ends [Pipeline] } 03:10:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:10:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:10:20 ========================================================= 03:10:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 03:10:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 03:10:20 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 03:10:20 Sending build context to Docker daemon 124.4kB 03:10:21 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 03:10:21 Step 2/12 : FROM ${BASE} AS builder 03:10:21 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:10:21 9b3977197b4f: Pulling fs layer 03:10:21 1a89e8eeedd5: Pulling fs layer 03:10:21 94645a83ff95: Pulling fs layer 03:10:21 3f3a8bcf1eab: Pulling fs layer 03:10:21 0c92f367c5e7: Pulling fs layer 03:10:21 3096ccb668a1: Pulling fs layer 03:10:21 e8cf19c19ddd: Pulling fs layer 03:10:21 a4caa8a26152: Pulling fs layer 03:10:21 3096ccb668a1: Waiting 03:10:21 e8cf19c19ddd: Waiting 03:10:21 a4caa8a26152: Waiting 03:10:21 3f3a8bcf1eab: Waiting 03:10:21 0c92f367c5e7: Waiting 03:10:21 94645a83ff95: Verifying Checksum 03:10:21 94645a83ff95: Download complete 03:10:21 1a89e8eeedd5: Verifying Checksum 03:10:21 1a89e8eeedd5: Download complete 03:10:21 0c92f367c5e7: Download complete 03:10:21 9b3977197b4f: Download complete 03:10:21 3096ccb668a1: Verifying Checksum 03:10:21 3096ccb668a1: Download complete 03:10:21 e8cf19c19ddd: Verifying Checksum 03:10:21 e8cf19c19ddd: Download complete 03:10:22 9b3977197b4f: Pull complete 03:10:22 1a89e8eeedd5: Pull complete 03:10:22 94645a83ff95: Pull complete 03:10:23 a4caa8a26152: Verifying Checksum 03:10:23 a4caa8a26152: Download complete 03:10:24 3f3a8bcf1eab: Verifying Checksum 03:10:24 3f3a8bcf1eab: Download complete 03:10:36 3f3a8bcf1eab: Pull complete 03:10:36 0c92f367c5e7: Pull complete 03:10:36 3096ccb668a1: Pull complete 03:10:36 e8cf19c19ddd: Pull complete 03:10:43 a4caa8a26152: Pull complete 03:10:43 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 03:10:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 03:10:43 ---> 725f1c02e7f9 03:10:43 Step 3/12 : ARG MAKE='make build' 03:10:43 ---> Running in 2d6321506697 03:10:44 Removing intermediate container 2d6321506697 03:10:44 ---> b51275a92a8c 03:10:44 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:10:44 ---> Running in ac8ac9007f34 03:10:44 Removing intermediate container ac8ac9007f34 03:10:44 ---> b9e9bfe90635 03:10:44 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 03:10:44 ---> Running in 99a9ed120eee 03:10:44 Removing intermediate container 99a9ed120eee 03:10:44 ---> e752064b3056 03:10:44 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:10:44 ---> Running in 02a83088e145 03:10:48 Removing intermediate container 02a83088e145 03:10:48 ---> 21f15bcceb17 03:10:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:10:48 ---> Running in ff9b30b81f21 03:10:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:10:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:10:50 (1/4) Installing openssh-keygen (8.8_p1-r1) 03:10:50 (2/4) Installing libedit (20210910.3.1-r0) 03:10:50 (3/4) Installing openssh-client-common (8.8_p1-r1) 03:10:50 (4/4) Installing openssh-client-default (8.8_p1-r1) 03:10:50 Executing busybox-1.34.1-r3.trigger 03:10:50 OK: 224 MiB in 56 packages 03:10:51 Removing intermediate container ff9b30b81f21 03:10:51 ---> e8d57408eef3 03:10:51 Step 8/12 : WORKDIR /device-rest-go 03:10:51 ---> Running in c4309d8d22a1 03:10:52 Removing intermediate container c4309d8d22a1 03:10:52 ---> 8f49b0117caa 03:10:52 Step 9/12 : COPY go.mod vendor* ./ 03:10:52 ---> cfd29cac465a 03:10:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:10:52 ---> Running in bcd5ccbdd5cc 03:11:39 Removing intermediate container bcd5ccbdd5cc 03:11:39 ---> 41ccf38f5d18 03:11:39 Step 11/12 : COPY . . 03:11:39 ---> 6a421132008e 03:11:39 Step 12/12 : RUN $MAKE 03:11:39 ---> Running in 26058f90240f 03:11:39 noop 03:11:39 Removing intermediate container 26058f90240f 03:11:39 ---> 8763e6c2e626 03:11:39 Successfully built 8763e6c2e626 03:11:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:11:40 + docker inspect -f . ci-base-image-arm64 03:11:40 . [Pipeline] withDockerContainer 03:11:40 prd-ubuntu20.04-docker-arm64-4c-16g-41376 does not seem to be running inside a container 03:11:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:11:41 $ docker top 68409c4f0c7724d28b3cf2a83c988404124e21fc3b17d43112d2b1211547477a -eo pid,comm [Pipeline] { [Pipeline] sh 03:11:42 + go version 03:11:42 go version go1.17.6 linux/arm64 [Pipeline] } 03:11:42 $ docker stop --time=1 68409c4f0c7724d28b3cf2a83c988404124e21fc3b17d43112d2b1211547477a 03:11:44 $ docker rm -f 68409c4f0c7724d28b3cf2a83c988404124e21fc3b17d43112d2b1211547477a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:11:44 + docker inspect -f . ci-base-image-arm64 03:11:44 . [Pipeline] withDockerContainer 03:11:45 prd-ubuntu20.04-docker-arm64-4c-16g-41376 does not seem to be running inside a container 03:11:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:11:46 $ docker top 423131f89fe105ab28890a7cdbc633519984cc85b41eb3bdc0b29c04447ab5a6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:11:47 + make test 03:11:47 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:11:48 ? github.com/edgexfoundry/device-rest-go [no test files] 03:13:10 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 03:13:10 ok github.com/edgexfoundry/device-rest-go/driver 0.068s coverage: 55.2% of statements 03:13:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:13:10 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:13:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:13:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:13:33 ./bin/test-attribution-txt.sh [Pipeline] echo 03:13:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:13:34 $ docker stop --time=1 423131f89fe105ab28890a7cdbc633519984cc85b41eb3bdc0b29c04447ab5a6 03:13:35 $ docker rm -f 423131f89fe105ab28890a7cdbc633519984cc85b41eb3bdc0b29c04447ab5a6 [Pipeline] // withDockerContainer [Pipeline] sh 03:13:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:13:36 Warning: overwriting stash ‘coverage-report’ 03:13:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:13:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:13:37 + ls -al . 03:13:37 total 164 03:13:37 drwxrwxr-x 8 jenkins jenkins 4096 May 7 03:13 . 03:13:37 drwxrwxr-x 4 jenkins jenkins 4096 May 7 03:09 .. 03:13:37 -rw-rw-r-- 1 jenkins jenkins 151 May 7 03:09 .dockerignore 03:13:37 drwxrwxr-x 8 jenkins jenkins 4096 May 7 03:09 .git 03:13:37 drwxrwxr-x 3 jenkins jenkins 4096 May 7 03:09 .github 03:13:37 -rw-rw-r-- 1 jenkins jenkins 329 May 7 03:09 .gitignore 03:13:37 -rw-rw-r-- 1 jenkins jenkins 41 May 7 03:09 .golangci.yml 03:13:37 -rw-rw-r-- 1 jenkins jenkins 8463 May 7 03:09 Attribution.txt 03:13:37 -rw-rw-r-- 1 jenkins jenkins 7459 May 7 03:09 CHANGELOG.md 03:13:37 -rw-rw-r-- 1 jenkins jenkins 1672 May 7 03:09 Dockerfile 03:13:37 -rw-rw-r-- 1 jenkins jenkins 677 May 7 03:09 GOVERNANCE.md 03:13:37 -rw-rw-r-- 1 jenkins jenkins 680 May 7 03:09 Jenkinsfile 03:13:37 -rw-rw-r-- 1 jenkins jenkins 11340 May 7 03:09 LICENSE 03:13:37 -rw-rw-r-- 1 jenkins jenkins 1977 May 7 03:09 Makefile 03:13:37 -rw-rw-r-- 1 jenkins jenkins 620 May 7 03:09 OWNERS.md 03:13:37 -rw-rw-r-- 1 jenkins jenkins 8003 May 7 03:09 README.md 03:13:37 -rw-rw-r-- 1 jenkins jenkins 5 May 7 03:07 VERSION 03:13:37 drwxrwxr-x 2 jenkins jenkins 4096 May 7 03:09 bin 03:13:37 drwxrwxr-x 3 jenkins jenkins 4096 May 7 03:09 cmd 03:13:37 -rw-r--r-- 1 jenkins jenkins 9355 May 7 03:13 coverage.out 03:13:37 drwxrwxr-x 2 jenkins jenkins 4096 May 7 03:09 driver 03:13:37 -rw-rw-r-- 1 jenkins jenkins 3333 May 7 03:09 go.mod 03:13:37 -rw-rw-r-- 1 jenkins jenkins 35377 May 7 03:09 go.sum 03:13:37 drwxrwxr-x 3 jenkins jenkins 4096 May 7 03:09 snap 03:13:37 -rw-rw-r-- 1 jenkins jenkins 713 May 7 03:09 version.go [Pipeline] isUnix [Pipeline] sh 03:13:38 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f5e2aa5b2d16f03a54fedbc1275b224f7bac14e5 --label arch=arm64 --label version=0.0.0 . 03:13:38 Sending build context to Docker daemon 134.7kB 03:13:38 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 03:13:38 Step 2/25 : FROM ${BASE} AS builder 03:13:38 ---> 8763e6c2e626 03:13:38 Step 3/25 : ARG MAKE='make build' 03:13:38 ---> Running in 4c5b92164347 03:13:39 Removing intermediate container 4c5b92164347 03:13:39 ---> 35cb4016ebff 03:13:39 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:13:39 ---> Running in 6f8867075827 03:13:39 Removing intermediate container 6f8867075827 03:13:39 ---> 503a55fb414d 03:13:39 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 03:13:39 ---> Running in 7d7b5ebebd08 03:13:40 Removing intermediate container 7d7b5ebebd08 03:13:40 ---> 08f38bdb3d60 03:13:40 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:13:40 ---> Running in d4f786a88836 03:13:41 Removing intermediate container d4f786a88836 03:13:41 ---> 60828bcb08ac 03:13:41 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:13:41 ---> Running in 8817220b41c2 03:13:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:13:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:13:44 OK: 224 MiB in 56 packages 03:13:45 Removing intermediate container 8817220b41c2 03:13:45 ---> d194197a7d35 03:13:45 Step 8/25 : WORKDIR /device-rest-go 03:13:45 ---> Running in 4405af9e6e74 03:13:45 Removing intermediate container 4405af9e6e74 03:13:45 ---> bc3d04056376 03:13:45 Step 9/25 : COPY go.mod vendor* ./ 03:13:46 ---> 1675d02e63f5 03:13:46 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:13:46 ---> Running in 860ad1746b7e 03:13:48 Removing intermediate container 860ad1746b7e 03:13:48 ---> 650f657ea504 03:13:48 Step 11/25 : COPY . . 03:13:48 ---> f01ecdbb5b00 03:13:48 Step 12/25 : RUN $MAKE 03:13:48 ---> Running in e65a22b46b7e 03:13:49 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 03:15:56 Removing intermediate container e65a22b46b7e 03:15:56 ---> 033ede9ddf80 03:15:56 Step 13/25 : FROM alpine:3.14 03:15:56 3.14: Pulling from library/alpine 03:15:56 455c02918c45: Pulling fs layer 03:15:56 455c02918c45: Verifying Checksum 03:15:56 455c02918c45: Download complete 03:15:56 455c02918c45: Pull complete 03:15:56 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 03:15:56 Status: Downloaded newer image for alpine:3.14 03:15:56 ---> ac73e934f311 03:15:56 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 03:15:56 ---> Running in b8aa0468a167 03:15:56 Removing intermediate container b8aa0468a167 03:15:56 ---> 9e2768de65c0 03:15:56 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 03:15:56 ---> Running in a2ee7c30a1e9 03:15:56 Removing intermediate container a2ee7c30a1e9 03:15:56 ---> 8a3146009909 03:15:56 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 03:15:56 ---> Running in 2d9984c2e134 03:15:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 03:15:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 03:15:56 (1/6) Installing dumb-init (1.2.5-r1) 03:15:56 (2/6) Installing libgcc (10.3.1_git20210424-r2) 03:15:56 (3/6) Installing libsodium (1.0.18-r0) 03:15:56 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 03:15:56 (5/6) Installing libzmq (4.3.4-r0) 03:15:56 (6/6) Installing zeromq (4.3.4-r0) 03:15:56 Executing busybox-1.33.1-r7.trigger 03:15:56 OK: 8 MiB in 20 packages 03:15:56 Removing intermediate container 2d9984c2e134 03:15:56 ---> 4f9e0516088d 03:15:56 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 03:15:56 ---> 57d464093338 03:15:56 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 03:15:56 ---> 29c8238482cc 03:15:56 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 03:15:56 ---> c18d68204c01 03:15:56 Step 20/25 : EXPOSE 59986 03:15:56 ---> Running in 7098cdd4534c 03:15:56 Removing intermediate container 7098cdd4534c 03:15:56 ---> 4d284e0e40e2 03:15:56 Step 21/25 : ENTRYPOINT ["/device-rest"] 03:15:56 ---> Running in 9ccbeea0d03b 03:15:56 Removing intermediate container 9ccbeea0d03b 03:15:56 ---> 017867b43ad7 03:15:56 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 03:15:56 ---> Running in 1e469a6b2ca7 03:15:56 Removing intermediate container 1e469a6b2ca7 03:15:56 ---> 4681ee1339c1 03:15:56 Step 23/25 : LABEL arch=arm64 03:15:56 ---> Running in e179d1e9faec 03:15:56 Removing intermediate container e179d1e9faec 03:15:56 ---> 26626ac4ea04 03:15:56 Step 24/25 : LABEL git_sha=f5e2aa5b2d16f03a54fedbc1275b224f7bac14e5 03:15:56 ---> Running in b039783f9c2d 03:15:56 Removing intermediate container b039783f9c2d 03:15:56 ---> e1336919349f 03:15:56 Step 25/25 : LABEL version=0.0.0 03:15:56 ---> Running in 93de0ca38563 03:15:56 Removing intermediate container 93de0ca38563 03:15:56 ---> 201374469c5d 03:15:56 [Warning] One or more build-args [ARCH] were not consumed 03:15:56 Successfully built 201374469c5d 03:15:56 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:15:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:15:57 03:15:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 03:15:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:15:57 arm64: Pulling from edgex-lftools-log-publisher 03:15:57 8998bd30e6a1: Pulling fs layer 03:15:57 04944245beec: Pulling fs layer 03:15:57 699f458cf7ca: Pulling fs layer 03:15:57 765212b225bb: Pulling fs layer 03:15:57 f23df028b6ca: Pulling fs layer 03:15:57 d65c8cfc05b1: Pulling fs layer 03:15:57 2437ff75d9bd: Pulling fs layer 03:15:57 765212b225bb: Waiting 03:15:57 f23df028b6ca: Waiting 03:15:57 d65c8cfc05b1: Waiting 03:15:57 2437ff75d9bd: Waiting 03:15:57 04944245beec: Verifying Checksum 03:15:57 04944245beec: Download complete 03:15:57 765212b225bb: Verifying Checksum 03:15:57 765212b225bb: Download complete 03:15:57 f23df028b6ca: Verifying Checksum 03:15:57 f23df028b6ca: Download complete 03:15:57 d65c8cfc05b1: Verifying Checksum 03:15:57 d65c8cfc05b1: Download complete 03:15:57 699f458cf7ca: Verifying Checksum 03:15:57 699f458cf7ca: Download complete 03:15:58 8998bd30e6a1: Verifying Checksum 03:15:58 8998bd30e6a1: Download complete 03:16:00 2437ff75d9bd: Verifying Checksum 03:16:00 2437ff75d9bd: Download complete 03:16:02 8998bd30e6a1: Pull complete 03:16:02 04944245beec: Pull complete 03:16:04 699f458cf7ca: Pull complete 03:16:04 765212b225bb: Pull complete 03:16:05 f23df028b6ca: Pull complete 03:16:05 d65c8cfc05b1: Pull complete 03:16:20 2437ff75d9bd: Pull complete 03:16:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:16:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:16:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 03:16:21 prd-ubuntu20.04-docker-arm64-4c-16g-41376 does not seem to be running inside a container 03:16:21 $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:16:23 $ docker top 7bb10e70cf15b1418ad38a9285c8f731c7e2fc470aa6d7374340e1cf1642abfb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:16:24 ---> job-cost.sh 03:16:24 lf-activate-venv: SKIPPING 03:16:24 INFO: No Stack... 03:16:25 INFO: Retrieving Pricing Info for: v3-standard-4 03:16:26 INFO: Archiving Costs [Pipeline] sh 03:16:26 + cat /w/workspace/device-rest-go/3/archives/cost.csv 03:16:26 + cut -d, -f6 [Pipeline] lock 03:16:26 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-182-3-stack-cost] 03:16:26 Resource [jenkins-edgexfoundry-device-rest-go-PR-182-3-stack-cost] did not exist. Created. 03:16:26 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-182-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:16:27 /w/workspace/device-rest-go/3@tmp/durable-3600579e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:16:28 + echo total: 0.10999999940395355 [Pipeline] stash 03:16:28 Warning: overwriting stash ‘stack-cost’ 03:16:28 Stashed 1 file(s) [Pipeline] } 03:16:28 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-182-3-stack-cost] [Pipeline] // lock [Pipeline] } 03:16:28 $ docker stop --time=1 7bb10e70cf15b1418ad38a9285c8f731c7e2fc470aa6d7374340e1cf1642abfb 03:16:29 $ docker rm -f 7bb10e70cf15b1418ad38a9285c8f731c7e2fc470aa6d7374340e1cf1642abfb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 03:16:30 provisioning config files... 03:16:30 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-182@tmp/config852878787908818053tmp [Pipeline] { [Pipeline] sh 03:16:30 + set +x 03:16:30 + curl -s https://codecov.io/bash 03:16:30 + bash -s -- 03:16:30 03:16:30 _____ _ 03:16:30 / ____| | | 03:16:30 | | ___ __| | ___ ___ _____ __ 03:16:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:16:30 | |___| (_) | (_| | __/ (_| (_) \ V / 03:16:30 \_____\___/ \__,_|\___|\___\___/ \_/ 03:16:30 Bash-1.0.6 03:16:30 03:16:30 03:16:30 ==> git version 2.25.1 found 03:16:30 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 03:16:30 Release-Date: 2020-01-08 03:16:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:16:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:16:30 ==> Jenkins CI detected. 03:16:30 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-182 03:16:30 project root: . 03:16:30 --> token set from env 03:16:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:16:30 ==> Running gcov in . (disable via -X gcov) 03:16:30 ==> Python coveragepy not found 03:16:30 ==> Searching for coverage reports in: 03:16:30 + . 03:16:30 -> Found 1 reports 03:16:30 ==> Detecting git/mercurial file structure 03:16:30 ==> Reading reports 03:16:30 + ./coverage.out bytes=9355 03:16:30 ==> Appending adjustments 03:16:30 https://docs.codecov.io/docs/fixing-reports 03:16:30 + Found adjustments 03:16:30 ==> Gzipping contents 03:16:30 4.0K /tmp/codecov.tAKZGh.gz 03:16:30 ==> Uploading reports 03:16:30 url: https://codecov.io 03:16:30 query: branch=PR-182&commit=60e3318a95930f8233a5f47cc3a0aa865dd95b0a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-182%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=182&job=&cmd_args= 03:16:30 -> Pinging Codecov 03:16:30 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-182&commit=60e3318a95930f8233a5f47cc3a0aa865dd95b0a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-182%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=182&job=&cmd_args= 03:16:31 -> Uploading to 03:16:31 https://storage.googleapis.com/codecov/v4/raw/2022-05-07/4E5D53B4F1F92C436F7061BF334D961C/60e3318a95930f8233a5f47cc3a0aa865dd95b0a/002d712c-522d-47cc-b0df-ade80006304e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220507%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220507T031631Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=edae360084fc4979261bc146f5919100aa7d552d5ca804894484e6da23aeac77 03:16:31 % Total % Received % Xferd Average Speed Time Time Time Current 03:16:31 Dload Upload Total Spent Left Speed 03:16:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 5960 --:--:-- --:--:-- --:--:-- 5960 03:16:31 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/60e3318a95930f8233a5f47cc3a0aa865dd95b0a [Pipeline] } 03:16:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:16:32 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-182/archives ] 03:16:32 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-182/archives 03:16:32 total 16 03:16:32 drwxr-xr-x 3 root root 4096 May 7 03:09 . 03:16:32 drwxrwxr-x 10 jenkins jenkins 4096 May 7 03:09 .. 03:16:32 drwxr-xr-x 2 root root 4096 May 7 03:09 cost 03:16:32 -rw-r--r-- 1 root root 85 May 7 03:09 cost.csv 03:16:32 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-182/archives 03:16:32 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-182/archives 03:16:32 total 16 03:16:32 drwxr-xr-x 3 jenkins jenkins 4096 May 7 03:09 . 03:16:32 drwxrwxr-x 10 jenkins jenkins 4096 May 7 03:09 .. 03:16:32 drwxr-xr-x 2 jenkins jenkins 4096 May 7 03:09 cost 03:16:32 -rw-r--r-- 1 jenkins jenkins 85 May 7 03:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:16:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:16:33 ---> package-listing.sh 03:16:33 ++ facter osfamily 03:16:33 ++ tr '[:upper:]' '[:lower:]' 03:16:33 + OS_FAMILY=debian 03:16:33 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-182 03:16:33 + START_PACKAGES=/tmp/packages_start.txt 03:16:33 + END_PACKAGES=/tmp/packages_end.txt 03:16:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:16:33 + PACKAGES=/tmp/packages_start.txt 03:16:33 + '[' /w/workspace/gexfoundry_device-rest-go_PR-182 ']' 03:16:33 + PACKAGES=/tmp/packages_end.txt 03:16:33 + case "${OS_FAMILY}" in 03:16:33 + dpkg -l 03:16:33 + grep '^ii' 03:16:33 + '[' -f /tmp/packages_start.txt ']' 03:16:33 + '[' -f /tmp/packages_end.txt ']' 03:16:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:16:33 + '[' /w/workspace/gexfoundry_device-rest-go_PR-182 ']' 03:16:33 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-182/archives/ 03:16:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-182/archives/ [Pipeline] echo 03:16:33 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-182/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:16:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:16:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:16:34 . [Pipeline] withDockerContainer 03:16:34 prd-ubuntu20.04-docker-8c-8g-41375 does not seem to be running inside a container 03:16:34 $ 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-182/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-182 -v /w/workspace/gexfoundry_device-rest-go_PR-182:/w/workspace/gexfoundry_device-rest-go_PR-182:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-182@tmp:/w/workspace/gexfoundry_device-rest-go_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:16:34 $ docker top 0a5ccd896140260cb746808b6b0572c7b597aebe1b0a9d971e2d6965811be328 -eo pid,comm [Pipeline] { [Pipeline] sh 03:16:35 + touch /tmp/pre-build-complete [Pipeline] sh 03:16:35 + mkdir -p /var/log/sysstat [Pipeline] sh 03:16:35 + ls /var/log/sa-host 03:16:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:16:36 provisioning config files... 03:16:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-182@tmp/config7128105662549291127tmp [Pipeline] { [Pipeline] echo 03:16:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:16:36 ---> create-netrc.sh [Pipeline] } 03:16:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:16:36 ---> python-tools-install.sh [Pipeline] echo 03:16:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:16:37 ---> sudo-logs.sh 03:16:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:16:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:16:37 ---> job-cost.sh 03:16:37 lf-activate-venv: SKIPPING 03:16:37 DEBUG: total: 0.2199999988079071 03:16:37 INFO: Retrieving Stack Cost... 03:16:37 INFO: Retrieving Pricing Info for: v3-standard-8 03:16:38 INFO: Archiving Costs [Pipeline] echo 03:16:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:16:38 ---> logs-deploy.sh 03:16:38 lf-activate-venv: SKIPPING 03:16:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-182/3 03:16:38 INFO: archiving workspace using pattern(s): 03:16:39 Archives upload complete. 03:16:39 INFO: archiving logs to Nexus 03:16:40 ---> uname -a: 03:16:40 Linux prd-ubuntu20-04-docker-8c-8g-41375 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 03:16:40 03:16:40 03:16:40 ---> lscpu: 03:16:40 Architecture: x86_64 03:16:40 CPU op-mode(s): 32-bit, 64-bit 03:16:40 Byte Order: Little Endian 03:16:40 Address sizes: 40 bits physical, 48 bits virtual 03:16:40 CPU(s): 8 03:16:40 On-line CPU(s) list: 0-7 03:16:40 Thread(s) per core: 1 03:16:40 Core(s) per socket: 1 03:16:40 Socket(s): 8 03:16:40 NUMA node(s): 1 03:16:40 Vendor ID: AuthenticAMD 03:16:40 CPU family: 23 03:16:40 Model: 49 03:16:40 Model name: AMD EPYC-Rome Processor 03:16:40 Stepping: 0 03:16:40 CPU MHz: 2799.998 03:16:40 BogoMIPS: 5599.99 03:16:40 Virtualization: AMD-V 03:16:40 Hypervisor vendor: KVM 03:16:40 Virtualization type: full 03:16:40 L1d cache: 256 KiB 03:16:40 L1i cache: 256 KiB 03:16:40 L2 cache: 4 MiB 03:16:40 L3 cache: 128 MiB 03:16:40 NUMA node0 CPU(s): 0-7 03:16:40 Vulnerability Itlb multihit: Not affected 03:16:40 Vulnerability L1tf: Not affected 03:16:40 Vulnerability Mds: Not affected 03:16:40 Vulnerability Meltdown: Not affected 03:16:40 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:16:40 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 03:16:40 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 03:16:40 Vulnerability Srbds: Not affected 03:16:40 Vulnerability Tsx async abort: Not affected 03:16:40 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 03:16:40 03:16:40