Pull request #153 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jim-wang-intel for edgexfoundry/device-gpio Loading trusted files from base branch main at 83219317ed357fa41fa49faebd7c1604abe399ab rather than 3ca32b9aacf07110b3bce8ac3be9505dac64fc04 Obtained Jenkinsfile from 83219317ed357fa41fa49faebd7c1604abe399ab 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-ssh4485578982506829264.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh3074148757069281078.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-153/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-153/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4918243807285202349.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-153/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7746061009187487739.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5503064009236614686.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-153/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-153/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15418168450063771817.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [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-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8761 in /w/workspace/edgexfoundry_device-gpio_PR-153 [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-gpio.git > git init /w/workspace/edgexfoundry_device-gpio_PR-153 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.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-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.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-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/153/head:refs/remotes/origin/PR-153 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 83219317ed357fa41fa49faebd7c1604abe399ab into PR head commit 3ca32b9aacf07110b3bce8ac3be9505dac64fc04 Merge succeeded, producing 3ca32b9aacf07110b3bce8ac3be9505dac64fc04 Checking out Revision 3ca32b9aacf07110b3bce8ac3be9505dac64fc04 (PR-153) > git config core.sparsecheckout # timeout=10 > git checkout -f 3ca32b9aacf07110b3bce8ac3be9505dac64fc04 # 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 83219317ed357fa41fa49faebd7c1604abe399ab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3ca32b9aacf07110b3bce8ac3be9505dac64fc04 # timeout=10 Commit message: "fix: Add ProfilesDir & DevicesDir to local config This is so that the values can be overriden with Envs" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:32:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:32:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:32:04 ========================================================= 18:32:04 EdgeX Global Pipelines Version Info 18:32:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:32:04 ------------------- 18:32:04 stable info: 18:32:04 ------------------- 18:32:04 Commited By: Bill Mahoney bill.mahoney@intel.com 18:32:04 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 18:32:04 Message: update stable to v1.0.248 18:32:05 ------------------- 18:32:05 experimental info: 18:32:05 ------------------- 18:32:05 Commited By: **** collab-it+edgex@linuxfoundation.org 18:32:05 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 18:32:05 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:32:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 18:32:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 18:32:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:32:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:32:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:32:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:32:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:32:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:32:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:32:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:32:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:32:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 18:32:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:32:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:32:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:32:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:32:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:32:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:32:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:32:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:32:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:32:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:32:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:32:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:32:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:32:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:32:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:32:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-153 [Pipeline] echo 18:32:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-153 [Pipeline] echo 18:32:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-153 [Pipeline] echo 18:32:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3ca32b9aacf07110b3bce8ac3be9505dac64fc04 [Pipeline] echo 18:32:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3ca32b9 [Pipeline] echo 18:32:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:32:07 provisioning config files... 18:32:07 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-153@tmp/config9037468211673850238tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:32:07 ---> docker-login.sh 18:32:07 nexus3.edgexfoundry.org:10001 18:32:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:32:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:32:07 Configure a credential helper to remove this warning. See 18:32:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:32:07 18:32:07 Login Succeeded 18:32:07 nexus3.edgexfoundry.org:10002 18:32:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:32:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:32:08 Configure a credential helper to remove this warning. See 18:32:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:32:08 18:32:08 Login Succeeded 18:32:08 nexus3.edgexfoundry.org:10003 18:32:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:32:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:32:08 Configure a credential helper to remove this warning. See 18:32:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:32:08 18:32:08 Login Succeeded 18:32:08 nexus3.edgexfoundry.org:10004 18:32:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:32:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:32:08 Configure a credential helper to remove this warning. See 18:32:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:32:08 18:32:08 Login Succeeded 18:32:08 docker.io 18:32:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:32:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:32:08 Configure a credential helper to remove this warning. See 18:32:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:32:08 18:32:08 Login Succeeded 18:32:08 ---> docker-login.sh ends [Pipeline] } 18:32:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:32:09 + git rev-list -1 --merges 3ca32b9aacf07110b3bce8ac3be9505dac64fc04~1..3ca32b9aacf07110b3bce8ac3be9505dac64fc04 [Pipeline] echo 18:32:09 -----------> git rev-list -1 --merges 3ca32b9aacf07110b3bce8ac3be9505dac64fc04~1..3ca32b9aacf07110b3bce8ac3be9505dac64fc04 3ca32b9aacf07110b3bce8ac3be9505dac64fc04 [false] [Pipeline] sh 18:32:09 + git log --format=format:%s -1 3ca32b9aacf07110b3bce8ac3be9505dac64fc04 [Pipeline] echo 18:32:09 ========================================================= 18:32:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:32:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:32:10 + git log --format=format:%s -1 3ca32b9aacf07110b3bce8ac3be9505dac64fc04 [Pipeline] echo 18:32:10 [semverPrep] GIT_COMMIT: 3ca32b9aacf07110b3bce8ac3be9505dac64fc04, Commit Message: fix: Add ProfilesDir & DevicesDir to local config This is so that the values can be overriden with Envs [Pipeline] echo 18:32:10 [semverPrep] This is not a build commit. [Pipeline] sh 18:32:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:32:10 + grep -v github /etc/ssh/ssh_known_hosts 18:32:10 + [ -e /tmp/ssh_known_hosts ] 18:32:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:32:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:32:10 + sudo tee -a /etc/ssh/ssh_known_hosts 18:32:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:32:11 18:32:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:32:11 0.1.4: Pulling from edgex-devops/py-git-semver 18:32:11 b85a868b505f: Pulling fs layer 18:32:11 e2be974225ed: Pulling fs layer 18:32:11 339a4e72a1f5: Pulling fs layer 18:32:11 988bab9f4d93: Pulling fs layer 18:32:11 1469e6f7b9e6: Pulling fs layer 18:32:11 eaf3925da568: Pulling fs layer 18:32:11 bab4dde63d76: Pulling fs layer 18:32:11 bde34c3a00c8: Pulling fs layer 18:32:11 b352a97aabf1: Pulling fs layer 18:32:11 4872d77fe225: Pulling fs layer 18:32:11 5851b861e8e6: Pulling fs layer 18:32:11 bab4dde63d76: Waiting 18:32:11 bde34c3a00c8: Waiting 18:32:11 b352a97aabf1: Waiting 18:32:11 4872d77fe225: Waiting 18:32:11 5851b861e8e6: Waiting 18:32:11 988bab9f4d93: Waiting 18:32:11 1469e6f7b9e6: Waiting 18:32:11 eaf3925da568: Waiting 18:32:11 e2be974225ed: Download complete 18:32:11 988bab9f4d93: Verifying Checksum 18:32:11 988bab9f4d93: Download complete 18:32:11 1469e6f7b9e6: Verifying Checksum 18:32:11 1469e6f7b9e6: Download complete 18:32:11 eaf3925da568: Verifying Checksum 18:32:11 eaf3925da568: Download complete 18:32:11 339a4e72a1f5: Verifying Checksum 18:32:11 339a4e72a1f5: Download complete 18:32:11 bde34c3a00c8: Download complete 18:32:11 b352a97aabf1: Download complete 18:32:11 4872d77fe225: Verifying Checksum 18:32:11 4872d77fe225: Download complete 18:32:11 5851b861e8e6: Verifying Checksum 18:32:11 5851b861e8e6: Download complete 18:32:11 b85a868b505f: Verifying Checksum 18:32:11 b85a868b505f: Download complete 18:32:12 bab4dde63d76: Verifying Checksum 18:32:12 bab4dde63d76: Download complete 18:32:12 b85a868b505f: Pull complete 18:32:13 e2be974225ed: Pull complete 18:32:13 339a4e72a1f5: Pull complete 18:32:13 988bab9f4d93: Pull complete 18:32:14 1469e6f7b9e6: Pull complete 18:32:14 eaf3925da568: Pull complete 18:32:15 bab4dde63d76: Pull complete 18:32:15 bde34c3a00c8: Pull complete 18:32:15 b352a97aabf1: Pull complete 18:32:16 4872d77fe225: Pull complete 18:32:16 5851b861e8e6: Pull complete 18:32:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:32:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:32:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:32:16 prd-ubuntu20.04-docker-8c-8g-8761 does not seem to be running inside a container 18:32:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-153 -v /w/workspace/edgexfoundry_device-gpio_PR-153:/w/workspace/edgexfoundry_device-gpio_PR-153:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-153@tmp:/w/workspace/edgexfoundry_device-gpio_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:32:17 $ docker top c4e347c841a537386785c199e4c90ba80357b0c94b0406bd423b5d6855943723 -eo pid,comm 18:32:17 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). 18:32:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:32:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:32:17 [ssh-agent] Looking for ssh-agent implementation... 18:32:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:32:17 $ docker exec c4e347c841a537386785c199e4c90ba80357b0c94b0406bd423b5d6855943723 ssh-agent 18:32:18 SSH_AUTH_SOCK=/tmp/ssh-yCFwfsFeNgYC/agent.32 18:32:18 SSH_AGENT_PID=38 18:32:18 Running ssh-add (command line suppressed) 18:32:18 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-153@tmp/private_key_17708971408048453675.key (/w/workspace/edgexfoundry_device-gpio_PR-153@tmp/private_key_17708971408048453675.key) 18:32:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:32:18 + git tag --points-at HEAD [Pipeline] } 18:32:18 $ docker exec --env ******** --env ******** c4e347c841a537386785c199e4c90ba80357b0c94b0406bd423b5d6855943723 ssh-agent -k 18:32:18 unset SSH_AUTH_SOCK; 18:32:18 unset SSH_AGENT_PID; 18:32:18 echo Agent pid 38 killed; 18:32:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:32:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:32:18 [ssh-agent] Looking for ssh-agent implementation... 18:32:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:32:18 $ docker exec c4e347c841a537386785c199e4c90ba80357b0c94b0406bd423b5d6855943723 ssh-agent 18:32:18 SSH_AUTH_SOCK=/tmp/ssh-cR2rLfBsxly4/agent.70 18:32:18 SSH_AGENT_PID=76 18:32:18 Running ssh-add (command line suppressed) 18:32:19 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-153@tmp/private_key_1071213007648372242.key (/w/workspace/edgexfoundry_device-gpio_PR-153@tmp/private_key_1071213007648372242.key) 18:32:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:32:19 + git semver init 18:32:19 2023-04-17 18:32:19,583 [run_init] DEBUG init version:0.0.0 force:False 18:32:19 2023-04-17 18:32:19,583 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-153/.semver 18:32:19 2023-04-17 18:32:19,584 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-153/.semver 18:32:19 2023-04-17 18:32:19,584 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-153/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-153, universal_newlines=False, shell=None, istream=None) 18:32:20 2023-04-17 18:32:20,433 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-153/.git/info/exclude 18:32:20 2023-04-17 18:32:20,434 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-153/.semver/PR-153 with force:False 18:32:20 2023-04-17 18:32:20,434 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-153/.semver/PR-153 18:32:20 2023-04-17 18:32:20,438 [execute] INFO git cat-file --batch-check 18:32:20 2023-04-17 18:32:20,439 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-153/.semver, universal_newlines=False, shell=None, istream=) 18:32:20 2023-04-17 18:32:20,445 [execute] INFO git cat-file --batch 18:32:20 2023-04-17 18:32:20,445 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-153/.semver, universal_newlines=False, shell=None, istream=) 18:32:20 2023-04-17 18:32:20,450 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-153/.semver/PR-153 18:32:20 0.0.0 [Pipeline] } 18:32:20 $ docker exec --env ******** --env ******** c4e347c841a537386785c199e4c90ba80357b0c94b0406bd423b5d6855943723 ssh-agent -k 18:32:20 unset SSH_AUTH_SOCK; 18:32:20 unset SSH_AGENT_PID; 18:32:20 echo Agent pid 76 killed; 18:32:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:32:21 + git semver [Pipeline] } 18:32:21 $ docker stop --time=1 c4e347c841a537386785c199e4c90ba80357b0c94b0406bd423b5d6855943723 18:32:22 $ docker rm -f --volumes c4e347c841a537386785c199e4c90ba80357b0c94b0406bd423b5d6855943723 [Pipeline] // withDockerContainer [Pipeline] sh 18:32:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:32:23 Stashed 1 file(s) [Pipeline] echo 18:32:23 [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 18:32:24 provisioning config files... 18:32:24 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-153@tmp/config15399958312380610162tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:32:24 ---> docker-login.sh 18:32:24 nexus3.edgexfoundry.org:10001 18:32:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:32:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:32:24 Configure a credential helper to remove this warning. See 18:32:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:32:24 18:32:24 Login Succeeded 18:32:24 nexus3.edgexfoundry.org:10002 18:32:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:32:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:32:24 Configure a credential helper to remove this warning. See 18:32:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:32:24 18:32:24 Login Succeeded 18:32:24 nexus3.edgexfoundry.org:10003 18:32:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:32:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:32:24 Configure a credential helper to remove this warning. See 18:32:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:32:24 18:32:24 Login Succeeded 18:32:24 nexus3.edgexfoundry.org:10004 18:32:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:32:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:32:24 Configure a credential helper to remove this warning. See 18:32:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:32:24 18:32:24 Login Succeeded 18:32:24 docker.io 18:32:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:32:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:32:24 Configure a credential helper to remove this warning. See 18:32:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:32:24 18:32:24 Login Succeeded 18:32:24 ---> docker-login.sh ends [Pipeline] } 18:32:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:32:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:32:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:32:25 ========================================================= 18:32:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:32:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:25 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:32:25 Sending build context to Docker daemon 16.06MB 18:32:25 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:32:25 Step 2/12 : FROM ${BASE} AS builder 18:32:25 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:32:25 63b65145d645: Pulling fs layer 18:32:25 a2d21d5440eb: Pulling fs layer 18:32:25 935e6c44a52c: Pulling fs layer 18:32:25 94cc34f8dd06: Pulling fs layer 18:32:25 30dea6a524f1: Pulling fs layer 18:32:25 a2aff8979fd8: Pulling fs layer 18:32:25 6808be2612f2: Pulling fs layer 18:32:25 f25807f1079a: Pulling fs layer 18:32:25 30dea6a524f1: Waiting 18:32:25 a2aff8979fd8: Waiting 18:32:25 94cc34f8dd06: Waiting 18:32:25 6808be2612f2: Waiting 18:32:25 f25807f1079a: Waiting 18:32:25 a2d21d5440eb: Verifying Checksum 18:32:25 a2d21d5440eb: Download complete 18:32:25 94cc34f8dd06: Verifying Checksum 18:32:25 94cc34f8dd06: Download complete 18:32:25 30dea6a524f1: Verifying Checksum 18:32:25 30dea6a524f1: Download complete 18:32:25 63b65145d645: Download complete 18:32:25 a2aff8979fd8: Verifying Checksum 18:32:25 a2aff8979fd8: Download complete 18:32:25 63b65145d645: Pull complete 18:32:26 a2d21d5440eb: Pull complete 18:32:26 f25807f1079a: Verifying Checksum 18:32:26 f25807f1079a: Download complete 18:32:26 935e6c44a52c: Verifying Checksum 18:32:26 935e6c44a52c: Download complete 18:32:26 6808be2612f2: Verifying Checksum 18:32:26 6808be2612f2: Download complete 18:32:29 935e6c44a52c: Pull complete 18:32:29 94cc34f8dd06: Pull complete 18:32:29 30dea6a524f1: Pull complete 18:32:29 a2aff8979fd8: Pull complete 18:32:32 6808be2612f2: Pull complete 18:32:33 f25807f1079a: Pull complete 18:32:33 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 18:32:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:32:33 ---> 3b553350e43f 18:32:33 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:32:34 ---> Running in e89c710264f9 18:32:34 Removing intermediate container e89c710264f9 18:32:34 ---> 0a123a7586a9 18:32:34 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:32:34 ---> Running in 9dce09dc94cf 18:32:34 Removing intermediate container 9dce09dc94cf 18:32:34 ---> fd0671a61ffb 18:32:34 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 18:32:34 ---> Running in 7ecc3d745a09 18:32:34 Removing intermediate container 7ecc3d745a09 18:32:34 ---> bc0fa416ca20 18:32:34 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:32:34 ---> Running in c4701f799e3b 18:32:34 Removing intermediate container c4701f799e3b 18:32:34 ---> 185a2b0caafc 18:32:34 Step 7/12 : WORKDIR /device-gpio 18:32:34 ---> Running in 8624d2076384 18:32:35 Removing intermediate container 8624d2076384 18:32:35 ---> f910237393c4 18:32:35 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:32:35 ---> Running in 63a8c5b9bc23 18:32:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:32:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:32:35 (1/4) Installing openssh-keygen (9.1_p1-r2) 18:32:35 (2/4) Installing libedit (20221030.3.1-r0) 18:32:35 (3/4) Installing openssh-client-common (9.1_p1-r2) 18:32:35 (4/4) Installing openssh-client-default (9.1_p1-r2) 18:32:35 Executing busybox-1.35.0-r29.trigger 18:32:35 OK: 269 MiB in 57 packages 18:32:36 Removing intermediate container 63a8c5b9bc23 18:32:36 ---> 8ffd5898717d 18:32:36 Step 9/12 : COPY go.mod vendor* ./ 18:32:36 ---> 5e584169d916 18:32:36 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:32:36 ---> Running in a6568c7b95e9 18:32:38 Still waiting to schedule task 18:32:38 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 18:33:08 Removing intermediate container a6568c7b95e9 18:33:08 ---> d5fd02384765 18:33:08 Step 11/12 : COPY . . 18:33:08 ---> 9343507a1180 18:33:08 Step 12/12 : RUN ${MAKE} 18:33:08 ---> Running in 5a7ab4a35b9d 18:33:08 noop 18:33:08 Removing intermediate container 5a7ab4a35b9d 18:33:08 ---> b293e6211fa2 18:33:08 Successfully built b293e6211fa2 18:33:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:33:09 + docker inspect -f . ci-base-image-x86_64 18:33:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:33:09 prd-ubuntu20.04-docker-8c-8g-8761 does not seem to be running inside a container 18:33:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-153 -v /w/workspace/edgexfoundry_device-gpio_PR-153:/w/workspace/edgexfoundry_device-gpio_PR-153:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-153@tmp:/w/workspace/edgexfoundry_device-gpio_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:33:09 $ docker top 6de261d3b40619d83012574bdb39706d9b7b3b5f4a08bf674fca826c9d8d2031 -eo pid,comm [Pipeline] { [Pipeline] sh 18:33:10 + go version 18:33:10 go version go1.20.2 linux/amd64 [Pipeline] } 18:33:10 $ docker stop --time=1 6de261d3b40619d83012574bdb39706d9b7b3b5f4a08bf674fca826c9d8d2031 18:33:11 $ docker rm -f --volumes 6de261d3b40619d83012574bdb39706d9b7b3b5f4a08bf674fca826c9d8d2031 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:33:12 + docker inspect -f . ci-base-image-x86_64 18:33:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:33:12 prd-ubuntu20.04-docker-8c-8g-8761 does not seem to be running inside a container 18:33:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_PR-153 -v /w/workspace/edgexfoundry_device-gpio_PR-153:/w/workspace/edgexfoundry_device-gpio_PR-153:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-153@tmp:/w/workspace/edgexfoundry_device-gpio_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:33:12 $ docker top 54bbb277b3530ae7f9afa2ae6ab23772219435ce9be35e1040004bdec7e8702b -eo pid,comm [Pipeline] { [Pipeline] sh 18:33:13 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-153 [Pipeline] fileExists [Pipeline] sh 18:33:13 + make test 18:33:13 go test ./... -coverprofile=coverage.out ./... 18:33:18 ? github.com/edgexfoundry/device-gpio [no test files] 18:33:28 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 18:33:28 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 18:33:35 go vet ./... 18:33:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:33:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:33:39 ./bin/test-attribution-txt.sh 18:33:39 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 18:33:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:33:39 $ docker stop --time=1 54bbb277b3530ae7f9afa2ae6ab23772219435ce9be35e1040004bdec7e8702b 18:33:41 $ docker rm -f --volumes 54bbb277b3530ae7f9afa2ae6ab23772219435ce9be35e1040004bdec7e8702b [Pipeline] // withDockerContainer [Pipeline] sh 18:33:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:33:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:33:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:33:43 + ls -al . 18:33:43 total 156 18:33:43 drwxrwxr-x 9 jenkins jenkins 4096 Apr 17 18:33 . 18:33:43 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 18:31 .. 18:33:43 -rw-rw-r-- 1 jenkins jenkins 120 Apr 17 18:31 .dockerignore 18:33:43 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 18:32 .git 18:33:43 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 18:31 .github 18:33:43 -rw-rw-r-- 1 jenkins jenkins 343 Apr 17 18:31 .gitignore 18:33:43 -rw-rw-r-- 1 jenkins jenkins 41 Apr 17 18:31 .golangci.yml 18:33:43 drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 18:32 .semver 18:33:43 -rw-rw-r-- 1 jenkins jenkins 9573 Apr 17 18:31 Attribution.txt 18:33:43 -rw-rw-r-- 1 jenkins jenkins 4069 Apr 17 18:31 CHANGELOG.md 18:33:43 -rw-rw-r-- 1 jenkins jenkins 1542 Apr 17 18:31 Dockerfile 18:33:43 -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 18:31 GOVERNANCE.md 18:33:43 -rw-rw-r-- 1 jenkins jenkins 657 Apr 17 18:31 Jenkinsfile 18:33:43 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 18:31 LICENSE 18:33:43 -rw-rw-r-- 1 jenkins jenkins 1692 Apr 17 18:31 Makefile 18:33:43 -rw-rw-r-- 1 jenkins jenkins 617 Apr 17 18:31 OWNERS.md 18:33:43 -rw-rw-r-- 1 jenkins jenkins 11790 Apr 17 18:31 README.md 18:33:43 -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 18:32 VERSION 18:33:43 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 18:31 bin 18:33:43 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 18:31 cmd 18:33:43 -rw-r--r-- 1 jenkins jenkins 10 Apr 17 18:33 coverage.out 18:33:43 -rw-rw-r-- 1 jenkins jenkins 3269 Apr 17 18:31 go.mod 18:33:43 -rw-rw-r-- 1 jenkins jenkins 31810 Apr 17 18:31 go.sum 18:33:43 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 18:31 internal 18:33:43 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 18:31 snap 18:33:43 -rw-rw-r-- 1 jenkins jenkins 209 Apr 17 18:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:33:43 + docker build -t device-gpio -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=3ca32b9aacf07110b3bce8ac3be9505dac64fc04 --label arch=amd64 --label version=0.0.0 . 18:33:43 Sending build context to Docker daemon 16.06MB 18:33:43 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 18:33:43 Step 2/25 : FROM ${BASE} AS builder 18:33:43 ---> b293e6211fa2 18:33:43 Step 3/25 : ARG ADD_BUILD_TAGS="" 18:33:43 ---> Running in 5877023c9bf8 18:33:43 Removing intermediate container 5877023c9bf8 18:33:43 ---> 3428adf79b3f 18:33:43 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:33:43 ---> Running in 207f7a9cea24 18:33:43 Removing intermediate container 207f7a9cea24 18:33:43 ---> d0bf52619773 18:33:43 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 18:33:43 ---> Running in 4eb1ffe0baf4 18:33:43 Removing intermediate container 4eb1ffe0baf4 18:33:43 ---> 5d808fcb314f 18:33:43 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 18:33:43 ---> Running in 7d0b856a9586 18:33:44 Removing intermediate container 7d0b856a9586 18:33:44 ---> e6232c88e10f 18:33:44 Step 7/25 : WORKDIR /device-gpio 18:33:44 ---> Running in 9b5e169fb93c 18:33:44 Removing intermediate container 9b5e169fb93c 18:33:44 ---> cbfc69aa1f22 18:33:44 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:33:44 ---> Running in eadc4c17cb38 18:33:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:33:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:33:44 OK: 269 MiB in 57 packages 18:33:45 Removing intermediate container eadc4c17cb38 18:33:45 ---> c7036fa46221 18:33:45 Step 9/25 : COPY go.mod vendor* ./ 18:33:45 ---> 3888fa25d553 18:33:45 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:33:45 ---> Running in 654326af87ae 18:33:46 Removing intermediate container 654326af87ae 18:33:46 ---> 0ab82b875855 18:33:46 Step 11/25 : COPY . . 18:33:46 ---> b45ac269ed14 18:33:46 Step 12/25 : RUN ${MAKE} 18:33:46 ---> Running in 703cf9b8c01f 18:33:46 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 18:34:04 Removing intermediate container 703cf9b8c01f 18:34:04 ---> 921b93af4a7d 18:34:04 Step 13/25 : FROM alpine:3.17 18:34:04 3.17: Pulling from library/alpine 18:34:04 f56be85fc22e: Pulling fs layer 18:34:04 f56be85fc22e: Verifying Checksum 18:34:04 f56be85fc22e: Download complete 18:34:04 f56be85fc22e: Pull complete 18:34:04 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:34:04 Status: Downloaded newer image for alpine:3.17 18:34:04 ---> 9ed4aefc74f6 18:34:04 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:34:04 ---> Running in 68bdeacb5702 18:34:05 Removing intermediate container 68bdeacb5702 18:34:05 ---> 0b38d88a234e 18:34:05 Step 15/25 : RUN apk add --update --no-cache 18:34:05 ---> Running in 87065498868e 18:34:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:34:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:34:05 OK: 7 MiB in 15 packages 18:34:06 Removing intermediate container 87065498868e 18:34:06 ---> 7fccec597a42 18:34:06 Step 16/25 : WORKDIR / 18:34:06 ---> Running in 9e685d1b7f8a 18:34:06 Removing intermediate container 9e685d1b7f8a 18:34:06 ---> c0e0b92fd9a5 18:34:06 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 18:34:06 ---> 19d289bf353f 18:34:06 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 18:34:06 ---> f53d2bc8d6e0 18:34:06 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 18:34:06 ---> 51f305c2df7a 18:34:06 Step 20/25 : EXPOSE 59910 18:34:06 ---> Running in 048ff82d1065 18:34:06 Removing intermediate container 048ff82d1065 18:34:06 ---> df26eda213e5 18:34:06 Step 21/25 : ENTRYPOINT ["/device-gpio"] 18:34:06 ---> Running in ffa4cbca2722 18:34:07 Removing intermediate container ffa4cbca2722 18:34:07 ---> 85b0f04b8706 18:34:07 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:34:07 ---> Running in 4aa03c1e7f4d 18:34:07 Removing intermediate container 4aa03c1e7f4d 18:34:07 ---> ee50759f0dfa 18:34:07 Step 23/25 : LABEL arch=amd64 18:34:07 ---> Running in be55e8414b54 18:34:07 Removing intermediate container be55e8414b54 18:34:07 ---> d4b5c12f082b 18:34:07 Step 24/25 : LABEL git_sha=3ca32b9aacf07110b3bce8ac3be9505dac64fc04 18:34:07 ---> Running in 4247e9146760 18:34:07 Removing intermediate container 4247e9146760 18:34:07 ---> 6d817b01a8cf 18:34:07 Step 25/25 : LABEL version=0.0.0 18:34:07 ---> Running in aab5894f7a60 18:34:07 Removing intermediate container aab5894f7a60 18:34:07 ---> 84fe5f17c61d 18:34:07 [Warning] One or more build-args [ARCH] were not consumed 18:34:07 Successfully built 84fe5f17c61d 18:34:07 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:34:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:34:08 18:34:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:34:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:34:08 latest: Pulling from edgex-lftools-log-publisher 18:34:08 5eb5b503b376: Pulling fs layer 18:34:08 5c69ac0246d0: Pulling fs layer 18:34:08 ec43610c2a17: Pulling fs layer 18:34:08 3a2ae6a8a46f: Pulling fs layer 18:34:08 33b1e0a273af: Pulling fs layer 18:34:08 5d3b04190fa2: Pulling fs layer 18:34:08 2f39f015ded8: Pulling fs layer 18:34:08 3a2ae6a8a46f: Waiting 18:34:08 2f39f015ded8: Waiting 18:34:08 33b1e0a273af: Waiting 18:34:08 5d3b04190fa2: Waiting 18:34:08 5c69ac0246d0: Download complete 18:34:08 3a2ae6a8a46f: Download complete 18:34:08 33b1e0a273af: Verifying Checksum 18:34:08 33b1e0a273af: Download complete 18:34:08 5d3b04190fa2: Verifying Checksum 18:34:08 5d3b04190fa2: Download complete 18:34:08 ec43610c2a17: Verifying Checksum 18:34:08 ec43610c2a17: Download complete 18:34:08 5eb5b503b376: Verifying Checksum 18:34:08 5eb5b503b376: Download complete 18:34:09 2f39f015ded8: Verifying Checksum 18:34:09 2f39f015ded8: Download complete 18:34:09 5eb5b503b376: Pull complete 18:34:10 5c69ac0246d0: Pull complete 18:34:10 ec43610c2a17: Pull complete 18:34:10 3a2ae6a8a46f: Pull complete 18:34:10 33b1e0a273af: Pull complete 18:34:10 5d3b04190fa2: Pull complete 18:34:15 2f39f015ded8: Pull complete 18:34:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:34:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:34:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:34:15 prd-ubuntu20.04-docker-8c-8g-8761 does not seem to be running inside a container 18:34:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-153 -v /w/workspace/edgexfoundry_device-gpio_PR-153:/w/workspace/edgexfoundry_device-gpio_PR-153:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-153@tmp:/w/workspace/edgexfoundry_device-gpio_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:34:16 $ docker top 6f526c20560495dd6d37887b68907f8fc737d10f75a94277781cd6e444dca4fc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:34:16 ---> job-cost.sh 18:34:16 lf-activate-venv: SKIPPING 18:34:16 INFO: No Stack... 18:34:17 INFO: Retrieving Pricing Info for: v3-standard-8 18:34:17 INFO: Archiving Costs [Pipeline] sh 18:34:18 + cat /w/workspace/edgexfoundry_device-gpio_PR-153/archives/cost.csv 18:34:18 + cut -d, -f6 [Pipeline] lock 18:34:18 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-153-1-stack-cost] 18:34:18 Resource [jenkins-edgexfoundry-device-gpio-PR-153-1-stack-cost] did not exist. Created. 18:34:18 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-153-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:34:18 + echo total: 0.2199999988079071 [Pipeline] stash 18:34:18 Stashed 1 file(s) [Pipeline] } 18:34:18 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-153-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:34:18 $ docker stop --time=1 6f526c20560495dd6d37887b68907f8fc737d10f75a94277781cd6e444dca4fc 18:34:19 $ docker rm -f --volumes 6f526c20560495dd6d37887b68907f8fc737d10f75a94277781cd6e444dca4fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:36:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8762 in /w/workspace/edgexfoundry_device-gpio_PR-153 [Pipeline] { [Pipeline] ws 18:36:30 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 18:36:30 The recommended git tool is: git 18:36:37 using credential edgex-jenkins-ssh 18:36:37 Cloning the remote Git repository 18:36:37 Cloning repository git@github.com:edgexfoundry/device-gpio.git 18:36:37 > git init /w/workspace/device-gpio/1 # timeout=10 18:36:37 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 18:36:37 > git --version # timeout=10 18:36:37 > git --version # 'git version 2.25.1' 18:36:37 using GIT_SSH to set credentials SSH Credentials for GitHub 18:36:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:36:39 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 18:36:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:36:41 Merging remotes/origin/main commit 83219317ed357fa41fa49faebd7c1604abe399ab into PR head commit 3ca32b9aacf07110b3bce8ac3be9505dac64fc04 18:36:40 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 18:36:40 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 18:36:40 using GIT_SSH to set credentials SSH Credentials for GitHub 18:36:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/153/head:refs/remotes/origin/PR-153 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:36:41 > git config core.sparsecheckout # timeout=10 18:36:41 Merge succeeded, producing 3ca32b9aacf07110b3bce8ac3be9505dac64fc04 18:36:41 Checking out Revision 3ca32b9aacf07110b3bce8ac3be9505dac64fc04 (PR-153) 18:36:41 > git checkout -f 3ca32b9aacf07110b3bce8ac3be9505dac64fc04 # timeout=10 18:36:41 > git remote # timeout=10 18:36:41 > git config --get remote.origin.url # timeout=10 18:36:41 using GIT_SSH to set credentials SSH Credentials for GitHub 18:36:41 > git merge 83219317ed357fa41fa49faebd7c1604abe399ab # timeout=10 18:36:41 > git rev-parse HEAD^{commit} # timeout=10 18:36:41 > git config core.sparsecheckout # timeout=10 18:36:41 > git checkout -f 3ca32b9aacf07110b3bce8ac3be9505dac64fc04 # timeout=10 18:36:45 Commit message: "fix: Add ProfilesDir & DevicesDir to local config This is so that the values can be overriden with Envs" 18:36:45 > git --version # timeout=10 18:36:45 > git --version # 'git version 2.25.1' 18:36:45 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:36:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:36:46 % Total % Received % Xferd Average Speed Time Time Time Current 18:36:46 Dload Upload Total Spent Left Speed 18:36:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93757 [Pipeline] sh 18:36:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:36:47 + sudo tee /etc/docker/daemon.new 18:36:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:36:47 { 18:36:47 "registry-mirrors": [ 18:36:47 "https://nexus3.edgexfoundry.org:10001" 18:36:47 ], 18:36:47 "bip": "10.250.0.254/24", 18:36:47 "hosts": [ 18:36:47 "tcp://0.0.0.0:5555", 18:36:47 "unix:///var/run/docker.sock" 18:36:47 ], 18:36:47 "mtu": 1458, 18:36:47 "selinux-enabled": true, 18:36:47 "seccomp-profile": "/etc/docker/seccomp.json" 18:36:47 } [Pipeline] sh 18:36:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:36:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:37:06 provisioning config files... 18:37:06 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config73071842894349428tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:37:06 ---> docker-login.sh 18:37:06 nexus3.edgexfoundry.org:10001 18:37:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:07 Configure a credential helper to remove this warning. See 18:37:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:07 18:37:07 Login Succeeded 18:37:07 nexus3.edgexfoundry.org:10002 18:37:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:08 Configure a credential helper to remove this warning. See 18:37:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:08 18:37:08 Login Succeeded 18:37:08 nexus3.edgexfoundry.org:10003 18:37:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:08 Configure a credential helper to remove this warning. See 18:37:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:08 18:37:08 Login Succeeded 18:37:08 nexus3.edgexfoundry.org:10004 18:37:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:08 Configure a credential helper to remove this warning. See 18:37:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:08 18:37:08 Login Succeeded 18:37:08 docker.io 18:37:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:09 Configure a credential helper to remove this warning. See 18:37:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:09 18:37:09 Login Succeeded 18:37:09 ---> docker-login.sh ends [Pipeline] } 18:37:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:37:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:37:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:37:09 ========================================================= 18:37:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:37:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:10 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:37:10 Sending build context to Docker daemon 8.114MB 18:37:10 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:37:10 Step 2/12 : FROM ${BASE} AS builder 18:37:10 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:37:10 af6eaf76a39c: Pulling fs layer 18:37:10 55522c791124: Pulling fs layer 18:37:10 ce5c4a1c91eb: Pulling fs layer 18:37:10 169dfbe0d373: Pulling fs layer 18:37:10 e1ff8fa3b103: Pulling fs layer 18:37:10 52ebb69f0ebf: Pulling fs layer 18:37:10 5abe8eddf0d5: Pulling fs layer 18:37:10 169dfbe0d373: Waiting 18:37:10 52ebb69f0ebf: Waiting 18:37:10 5abe8eddf0d5: Waiting 18:37:10 e1ff8fa3b103: Waiting 18:37:10 55522c791124: Download complete 18:37:10 169dfbe0d373: Verifying Checksum 18:37:10 169dfbe0d373: Download complete 18:37:10 e1ff8fa3b103: Download complete 18:37:10 af6eaf76a39c: Download complete 18:37:11 af6eaf76a39c: Pull complete 18:37:11 5abe8eddf0d5: Verifying Checksum 18:37:11 5abe8eddf0d5: Download complete 18:37:12 55522c791124: Pull complete 18:37:13 ce5c4a1c91eb: Verifying Checksum 18:37:13 ce5c4a1c91eb: Download complete 18:37:13 52ebb69f0ebf: Download complete 18:37:23 ce5c4a1c91eb: Pull complete 18:37:23 169dfbe0d373: Pull complete 18:37:23 e1ff8fa3b103: Pull complete 18:37:28 52ebb69f0ebf: Pull complete 18:37:30 5abe8eddf0d5: Pull complete 18:37:30 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 18:37:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:37:30 ---> 6cb57ee374ae 18:37:30 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:37:32 ---> Running in 0be499c34644 18:37:32 Removing intermediate container 0be499c34644 18:37:32 ---> 1b03ec067b89 18:37:32 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:37:32 ---> Running in e20dbcb1610e 18:37:32 Removing intermediate container e20dbcb1610e 18:37:32 ---> b86fff3287d6 18:37:32 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 18:37:32 ---> Running in 9c475c6f1cfa 18:37:33 Removing intermediate container 9c475c6f1cfa 18:37:33 ---> 54dc8fb9d232 18:37:33 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:37:33 ---> Running in 4fcd83e50e28 18:37:33 Removing intermediate container 4fcd83e50e28 18:37:33 ---> 51ed3c70f422 18:37:33 Step 7/12 : WORKDIR /device-gpio 18:37:33 ---> Running in ecd78254f4cf 18:37:33 Removing intermediate container ecd78254f4cf 18:37:33 ---> 555fde0da3f0 18:37:33 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:37:34 ---> Running in 3a653f10d386 18:37:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:37:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:37:36 (1/4) Installing openssh-keygen (9.1_p1-r2) 18:37:36 (2/4) Installing libedit (20221030.3.1-r0) 18:37:36 (3/4) Installing openssh-client-common (9.1_p1-r2) 18:37:36 (4/4) Installing openssh-client-default (9.1_p1-r2) 18:37:36 Executing busybox-1.35.0-r29.trigger 18:37:36 OK: 268 MiB in 57 packages 18:37:38 Removing intermediate container 3a653f10d386 18:37:38 ---> 01aed539cc0c 18:37:38 Step 9/12 : COPY go.mod vendor* ./ 18:37:38 ---> cee628408c4d 18:37:38 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:37:38 ---> Running in 41bd2683a7b5 18:39:00 Removing intermediate container 41bd2683a7b5 18:39:00 ---> 07cdb080674c 18:39:00 Step 11/12 : COPY . . 18:39:00 ---> 46a977a5d144 18:39:00 Step 12/12 : RUN ${MAKE} 18:39:00 ---> Running in 91290d02daff 18:39:00 noop 18:39:00 Removing intermediate container 91290d02daff 18:39:00 ---> 22f9fb57258a 18:39:00 Successfully built 22f9fb57258a 18:39:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:00 + docker inspect -f . ci-base-image-arm64 18:39:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:01 prd-ubuntu20.04-docker-arm64-4c-16g-8762 does not seem to be running inside a container 18:39:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:39:02 $ docker top 24bd025bdb2932e659f6ab25efa5e05135dd4cfc71e57479e5a7bae1bb017556 -eo pid,comm [Pipeline] { [Pipeline] sh 18:39:03 + go version 18:39:03 go version go1.20.2 linux/arm64 [Pipeline] } 18:39:03 $ docker stop --time=1 24bd025bdb2932e659f6ab25efa5e05135dd4cfc71e57479e5a7bae1bb017556 18:39:06 $ docker rm -f --volumes 24bd025bdb2932e659f6ab25efa5e05135dd4cfc71e57479e5a7bae1bb017556 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:06 + docker inspect -f . ci-base-image-arm64 18:39:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:07 prd-ubuntu20.04-docker-arm64-4c-16g-8762 does not seem to be running inside a container 18:39:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:39:08 $ docker top 37610f6409a834e6b014d091bf472557c08d3e2761b27b15c1636f7baf5941c6 -eo pid,comm [Pipeline] { [Pipeline] sh 18:39:09 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 18:39:09 + make test 18:39:09 go test ./... -coverprofile=coverage.out ./... 18:39:41 ? github.com/edgexfoundry/device-gpio [no test files] 18:41:48 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 18:41:48 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 18:41:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:41:48 go vet ./... 18:42:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:42:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:42:10 ./bin/test-attribution-txt.sh 18:42:10 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 18:42:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:42:10 $ docker stop --time=1 37610f6409a834e6b014d091bf472557c08d3e2761b27b15c1636f7baf5941c6 18:42:12 $ docker rm -f --volumes 37610f6409a834e6b014d091bf472557c08d3e2761b27b15c1636f7baf5941c6 [Pipeline] // withDockerContainer [Pipeline] sh 18:42:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:42:13 Warning: overwriting stash ‘coverage-report’ 18:42:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:42:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:42:15 + ls -al . 18:42:15 total 152 18:42:15 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 18:39 . 18:42:15 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 18:36 .. 18:42:15 -rw-rw-r-- 1 jenkins jenkins 120 Apr 17 18:36 .dockerignore 18:42:15 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 18:36 .git 18:42:15 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 18:36 .github 18:42:15 -rw-rw-r-- 1 jenkins jenkins 343 Apr 17 18:36 .gitignore 18:42:15 -rw-rw-r-- 1 jenkins jenkins 41 Apr 17 18:36 .golangci.yml 18:42:15 -rw-rw-r-- 1 jenkins jenkins 9573 Apr 17 18:36 Attribution.txt 18:42:15 -rw-rw-r-- 1 jenkins jenkins 4069 Apr 17 18:36 CHANGELOG.md 18:42:15 -rw-rw-r-- 1 jenkins jenkins 1542 Apr 17 18:36 Dockerfile 18:42:15 -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 18:36 GOVERNANCE.md 18:42:15 -rw-rw-r-- 1 jenkins jenkins 657 Apr 17 18:36 Jenkinsfile 18:42:15 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 18:36 LICENSE 18:42:15 -rw-rw-r-- 1 jenkins jenkins 1692 Apr 17 18:36 Makefile 18:42:15 -rw-rw-r-- 1 jenkins jenkins 617 Apr 17 18:36 OWNERS.md 18:42:15 -rw-rw-r-- 1 jenkins jenkins 11790 Apr 17 18:36 README.md 18:42:15 -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 18:32 VERSION 18:42:15 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 18:36 bin 18:42:15 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 18:36 cmd 18:42:15 -rw-r--r-- 1 jenkins jenkins 10 Apr 17 18:39 coverage.out 18:42:15 -rw-rw-r-- 1 jenkins jenkins 3269 Apr 17 18:36 go.mod 18:42:15 -rw-rw-r-- 1 jenkins jenkins 31810 Apr 17 18:36 go.sum 18:42:15 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 18:36 internal 18:42:15 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 18:36 snap 18:42:15 -rw-rw-r-- 1 jenkins jenkins 209 Apr 17 18:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:15 + docker build -t device-gpio-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=3ca32b9aacf07110b3bce8ac3be9505dac64fc04 --label arch=arm64 --label version=0.0.0 . 18:42:15 Sending build context to Docker daemon 8.115MB 18:42:15 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 18:42:15 Step 2/25 : FROM ${BASE} AS builder 18:42:15 ---> 22f9fb57258a 18:42:15 Step 3/25 : ARG ADD_BUILD_TAGS="" 18:42:16 ---> Running in 36815fc18e04 18:42:16 Removing intermediate container 36815fc18e04 18:42:16 ---> dbedebbd0bf9 18:42:16 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:42:16 ---> Running in 76bcbf4b00fd 18:42:16 Removing intermediate container 76bcbf4b00fd 18:42:16 ---> d3642ca4add7 18:42:16 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 18:42:16 ---> Running in b2433fbb61c4 18:42:16 Removing intermediate container b2433fbb61c4 18:42:16 ---> caf3feb66611 18:42:16 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 18:42:17 ---> Running in 224e2e3a6cd9 18:42:17 Removing intermediate container 224e2e3a6cd9 18:42:17 ---> ae0f95824625 18:42:17 Step 7/25 : WORKDIR /device-gpio 18:42:17 ---> Running in c23993688cb1 18:42:17 Removing intermediate container c23993688cb1 18:42:17 ---> 6b8f06cf1db9 18:42:17 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:42:17 ---> Running in bcc71a8a15f4 18:42:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:42:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:42:20 OK: 268 MiB in 57 packages 18:42:21 Removing intermediate container bcc71a8a15f4 18:42:21 ---> 9e31f25b854d 18:42:21 Step 9/25 : COPY go.mod vendor* ./ 18:42:21 ---> 251b06f3bf7f 18:42:21 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:42:21 ---> Running in b66c93fb3f1f 18:42:24 Removing intermediate container b66c93fb3f1f 18:42:24 ---> 3047be639917 18:42:24 Step 11/25 : COPY . . 18:42:27 ---> 49017d8272e6 18:42:27 Step 12/25 : RUN ${MAKE} 18:42:27 ---> Running in ff592ee3b57f 18:42:28 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 18:44:34 Removing intermediate container ff592ee3b57f 18:44:34 ---> f1cb34942720 18:44:34 Step 13/25 : FROM alpine:3.17 18:44:34 3.17: Pulling from library/alpine 18:44:34 c41833b44d91: Pulling fs layer 18:44:34 c41833b44d91: Download complete 18:44:34 c41833b44d91: Pull complete 18:44:34 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:44:34 Status: Downloaded newer image for alpine:3.17 18:44:34 ---> 51e60588ff2c 18:44:34 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:44:34 ---> Running in 0a70c32b27eb 18:44:35 Removing intermediate container 0a70c32b27eb 18:44:35 ---> 3442c0b55708 18:44:35 Step 15/25 : RUN apk add --update --no-cache 18:44:35 ---> Running in f32ab9d2381d 18:44:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:44:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:44:38 OK: 7 MiB in 15 packages 18:44:38 Removing intermediate container f32ab9d2381d 18:44:38 ---> 82cc3fe174f5 18:44:38 Step 16/25 : WORKDIR / 18:44:38 ---> Running in b9a479494b5f 18:44:38 Removing intermediate container b9a479494b5f 18:44:38 ---> 698ea1825b7a 18:44:38 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 18:44:39 ---> 388031251515 18:44:39 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 18:44:40 ---> 91ed1d033b4e 18:44:40 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 18:44:41 ---> 2a6af02fd028 18:44:41 Step 20/25 : EXPOSE 59910 18:44:41 ---> Running in 36f715cdb2e3 18:44:41 Removing intermediate container 36f715cdb2e3 18:44:41 ---> 4195955178c9 18:44:41 Step 21/25 : ENTRYPOINT ["/device-gpio"] 18:44:41 ---> Running in 35aae6ab7140 18:44:42 Removing intermediate container 35aae6ab7140 18:44:42 ---> 7cdb4ed37e12 18:44:42 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:44:42 ---> Running in a38538f07764 18:44:42 Removing intermediate container a38538f07764 18:44:42 ---> e227f09f76dc 18:44:42 Step 23/25 : LABEL arch=arm64 18:44:42 ---> Running in fb9c9cd9bbd8 18:44:42 Removing intermediate container fb9c9cd9bbd8 18:44:42 ---> 3449c5bf47f1 18:44:42 Step 24/25 : LABEL git_sha=3ca32b9aacf07110b3bce8ac3be9505dac64fc04 18:44:42 ---> Running in 0e77b2512b7c 18:44:43 Removing intermediate container 0e77b2512b7c 18:44:43 ---> 6effc3b9fa2f 18:44:43 Step 25/25 : LABEL version=0.0.0 18:44:43 ---> Running in fcbaee7557b1 18:44:43 Removing intermediate container fcbaee7557b1 18:44:43 ---> 4737a705bd79 18:44:43 [Warning] One or more build-args [ARCH] were not consumed 18:44:43 Successfully built 4737a705bd79 18:44:43 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:44:44 18:44:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:44:44 arm64: Pulling from edgex-lftools-log-publisher 18:44:44 8998bd30e6a1: Pulling fs layer 18:44:44 04944245beec: Pulling fs layer 18:44:44 699f458cf7ca: Pulling fs layer 18:44:44 765212b225bb: Pulling fs layer 18:44:44 f23df028b6ca: Pulling fs layer 18:44:44 d65c8cfc05b1: Pulling fs layer 18:44:44 2437ff75d9bd: Pulling fs layer 18:44:44 765212b225bb: Waiting 18:44:44 d65c8cfc05b1: Waiting 18:44:44 f23df028b6ca: Waiting 18:44:44 2437ff75d9bd: Waiting 18:44:44 04944245beec: Verifying Checksum 18:44:44 04944245beec: Download complete 18:44:44 765212b225bb: Verifying Checksum 18:44:44 765212b225bb: Download complete 18:44:44 f23df028b6ca: Verifying Checksum 18:44:44 f23df028b6ca: Download complete 18:44:44 d65c8cfc05b1: Download complete 18:44:44 699f458cf7ca: Verifying Checksum 18:44:44 699f458cf7ca: Download complete 18:44:45 8998bd30e6a1: Verifying Checksum 18:44:45 8998bd30e6a1: Download complete 18:44:47 2437ff75d9bd: Verifying Checksum 18:44:47 2437ff75d9bd: Download complete 18:44:49 8998bd30e6a1: Pull complete 18:44:49 04944245beec: Pull complete 18:44:51 699f458cf7ca: Pull complete 18:44:51 765212b225bb: Pull complete 18:44:52 f23df028b6ca: Pull complete 18:44:52 d65c8cfc05b1: Pull complete 18:45:06 2437ff75d9bd: Pull complete 18:45:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:45:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:45:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:45:07 prd-ubuntu20.04-docker-arm64-4c-16g-8762 does not seem to be running inside a container 18:45:07 $ 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-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:45:09 $ docker top a812ed2b8023c95f149ce2bc9cb58a3fb07b81c982049bfbadbdd50874e1e671 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:45:10 ---> job-cost.sh 18:45:10 lf-activate-venv: SKIPPING 18:45:10 INFO: No Stack... 18:45:10 INFO: Retrieving Pricing Info for: v3-standard-4 18:45:11 INFO: Archiving Costs [Pipeline] sh 18:45:11 + + cat /w/workspace/device-gpio/1/archives/cost.csvcut -d, -f6 18:45:11 [Pipeline] lock 18:45:11 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-153-1-stack-cost] 18:45:11 Resource [jenkins-edgexfoundry-device-gpio-PR-153-1-stack-cost] did not exist. Created. 18:45:11 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-153-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:45:12 /w/workspace/device-gpio/1@tmp/durable-4e9c33f0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:45:12 + echo total: 0.10999999940395355 [Pipeline] stash 18:45:12 Warning: overwriting stash ‘stack-cost’ 18:45:12 Stashed 1 file(s) [Pipeline] } 18:45:12 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-153-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:45:12 $ docker stop --time=1 a812ed2b8023c95f149ce2bc9cb58a3fb07b81c982049bfbadbdd50874e1e671 18:45:14 $ docker rm -f --volumes a812ed2b8023c95f149ce2bc9cb58a3fb07b81c982049bfbadbdd50874e1e671 [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 18:45:15 provisioning config files... 18:45:15 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-153@tmp/config16002920181018216055tmp [Pipeline] { [Pipeline] sh 18:45:15 + set +x 18:45:15 + curl -s https://codecov.io/bash 18:45:15 + bash -s -- 18:45:15 18:45:15 _____ _ 18:45:15 / ____| | | 18:45:15 | | ___ __| | ___ ___ _____ __ 18:45:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:45:15 | |___| (_) | (_| | __/ (_| (_) \ V / 18:45:15 \_____\___/ \__,_|\___|\___\___/ \_/ 18:45:15 Bash-1.0.6 18:45:15 18:45:15 18:45:15 ==> git version 2.25.1 found 18:45:15 ==> 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 18:45:15 Release-Date: 2020-01-08 18:45:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:45:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:45:15 ==> Jenkins CI detected. 18:45:15 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-153 18:45:15 project root: . 18:45:15 --> token set from env 18:45:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:45:15 ==> Running gcov in . (disable via -X gcov) 18:45:15 ==> Python coveragepy not found 18:45:15 ==> Searching for coverage reports in: 18:45:15 + . 18:45:15 -> Found 1 reports 18:45:15 ==> Detecting git/mercurial file structure 18:45:15 ==> Reading reports 18:45:15 + ./coverage.out bytes=10 18:45:15 ==> Appending adjustments 18:45:15 https://docs.codecov.io/docs/fixing-reports 18:45:15 + Found adjustments 18:45:15 ==> Gzipping contents 18:45:15 4.0K /tmp/codecov.8BjxMC.gz 18:45:15 ==> Uploading reports 18:45:15 url: https://codecov.io 18:45:15 query: branch=PR-153&commit=3ca32b9aacf07110b3bce8ac3be9505dac64fc04&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-153%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=153&job=&cmd_args= 18:45:15 -> Pinging Codecov 18:45:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-153&commit=3ca32b9aacf07110b3bce8ac3be9505dac64fc04&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-153%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=153&job=&cmd_args= 18:45:16 -> Uploading to 18:45:16 https://storage.googleapis.com/codecov/v4/raw/2023-04-17/3EC07B1A8CA8AF9BCAA0BB9F0134797F/3ca32b9aacf07110b3bce8ac3be9505dac64fc04/a5abd66a-07fa-44f5-8ae0-ea822a0421c2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230417%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230417T184515Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d7db8a89846c06d6dbacc365db6f931cb75539dd91f193b451ec07e5480caa8a 18:45:16 % Total % Received % Xferd Average Speed Time Time Time Current 18:45:16 Dload Upload Total Spent Left Speed 18:45:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 716 0 0 100 716 0 3033 --:--:-- --:--:-- --:--:-- 3033 18:45:16 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/3ca32b9aacf07110b3bce8ac3be9505dac64fc04 [Pipeline] } 18:45:16 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 18:45:18 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-153/archives ] 18:45:18 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-153/archives 18:45:18 total 16 18:45:18 drwxr-xr-x 3 root root 4096 Apr 17 18:34 . 18:45:18 drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 18:34 .. 18:45:18 drwxr-xr-x 2 root root 4096 Apr 17 18:34 cost 18:45:18 -rw-r--r-- 1 root root 83 Apr 17 18:34 cost.csv 18:45:18 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-153/archives 18:45:18 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-153/archives 18:45:18 total 16 18:45:18 drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 18:34 . 18:45:18 drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 18:34 .. 18:45:18 drwxr-xr-x 2 jenkins jenkins 4096 Apr 17 18:34 cost 18:45:18 -rw-r--r-- 1 jenkins jenkins 83 Apr 17 18:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:45:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:45:19 ---> package-listing.sh 18:45:19 ++ tr '[:upper:]' '[:lower:]' 18:45:19 ++ facter osfamily 18:45:19 + OS_FAMILY=debian 18:45:19 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-153 18:45:19 + START_PACKAGES=/tmp/packages_start.txt 18:45:19 + END_PACKAGES=/tmp/packages_end.txt 18:45:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:45:19 + PACKAGES=/tmp/packages_start.txt 18:45:19 + '[' /w/workspace/edgexfoundry_device-gpio_PR-153 ']' 18:45:19 + PACKAGES=/tmp/packages_end.txt 18:45:19 + case "${OS_FAMILY}" in 18:45:19 + dpkg -l 18:45:19 + grep '^ii' 18:45:19 + '[' -f /tmp/packages_start.txt ']' 18:45:19 + '[' -f /tmp/packages_end.txt ']' 18:45:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:45:19 + '[' /w/workspace/edgexfoundry_device-gpio_PR-153 ']' 18:45:19 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-153/archives/ 18:45:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-153/archives/ [Pipeline] echo 18:45:19 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/edgexfoundry_device-gpio_PR-153/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:45:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:45:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:45:20 prd-ubuntu20.04-docker-8c-8g-8761 does not seem to be running inside a container 18:45:20 $ 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/edgexfoundry_device-gpio_PR-153/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-153 -v /w/workspace/edgexfoundry_device-gpio_PR-153:/w/workspace/edgexfoundry_device-gpio_PR-153:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-153@tmp:/w/workspace/edgexfoundry_device-gpio_PR-153@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 18:45:21 $ docker top 987c09a6f7f7a925f95f02625b7294315d9e6675c38fa2ad8fcd040898413abe -eo pid,comm [Pipeline] { [Pipeline] sh 18:45:21 + touch /tmp/pre-build-complete [Pipeline] sh 18:45:21 + mkdir -p /var/log/sysstat [Pipeline] sh 18:45:22 + ls /var/log/sa-host 18:45:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:45:22 provisioning config files... 18:45:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-153@tmp/config4205817974769534373tmp [Pipeline] { [Pipeline] echo 18:45:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:45:22 ---> create-netrc.sh [Pipeline] } 18:45:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:45:23 ---> python-tools-install.sh [Pipeline] echo 18:45:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:45:23 ---> sudo-logs.sh 18:45:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:45:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:45:23 ---> job-cost.sh 18:45:23 lf-activate-venv: SKIPPING 18:45:23 DEBUG: total: 0.2199999988079071 18:45:23 INFO: Retrieving Stack Cost... 18:45:24 INFO: Retrieving Pricing Info for: v3-standard-8 18:45:24 INFO: Archiving Costs [Pipeline] echo 18:45:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:45:24 ---> logs-deploy.sh 18:45:24 lf-activate-venv: SKIPPING 18:45:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-153/1 18:45:24 INFO: archiving workspace using pattern(s): 18:45:25 Archives upload complete. 18:45:26 INFO: archiving logs to Nexus 18:45:26 ---> uname -a: 18:45:26 Linux prd-ubuntu20-04-docker-8c-8g-8761 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 18:45:26 18:45:26 18:45:26 ---> lscpu: 18:45:26 Architecture: x86_64 18:45:26 CPU op-mode(s): 32-bit, 64-bit 18:45:26 Byte Order: Little Endian 18:45:26 Address sizes: 40 bits physical, 48 bits virtual 18:45:26 CPU(s): 8 18:45:26 On-line CPU(s) list: 0-7 18:45:26 Thread(s) per core: 1 18:45:26 Core(s) per socket: 1 18:45:26 Socket(s): 8 18:45:26 NUMA node(s): 1 18:45:26 Vendor ID: AuthenticAMD 18:45:26 CPU family: 23 18:45:26 Model: 49 18:45:26 Model name: AMD EPYC-Rome Processor 18:45:26 Stepping: 0 18:45:26 CPU MHz: 2800.004 18:45:26 BogoMIPS: 5600.00 18:45:26 Virtualization: AMD-V 18:45:26 Hypervisor vendor: KVM 18:45:26 Virtualization type: full 18:45:26 L1d cache: 256 KiB 18:45:26 L1i cache: 256 KiB 18:45:26 L2 cache: 4 MiB 18:45:26 L3 cache: 128 MiB 18:45:26 NUMA node0 CPU(s): 0-7 18:45:26 Vulnerability Itlb multihit: Not affected 18:45:26 Vulnerability L1tf: Not affected 18:45:26 Vulnerability Mds: Not affected 18:45:26 Vulnerability Meltdown: Not affected 18:45:26 Vulnerability Mmio stale data: Not affected 18:45:26 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:45:26 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 18:45:26 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 18:45:26 Vulnerability Srbds: Not affected 18:45:26 Vulnerability Tsx async abort: Not affected 18:45:26 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 18:45:26 18:45:26 18:45:26 ---> nproc: 18:45:26 8 18:45:26 18:45:26