Pull request #165 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0966bad277a8578654000946f983906fdeaf390e+047a754c10fbde4392f5fd28b60c1cf65bc55b22 (562ac5c0d087cb7df62e0982c242ad8fe1c73774) 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-ssh13529176919280671921.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-ssh10701544011458798043.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-165/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-165/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4019427197906248842.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-165/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8865485810762706091.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-ssh11984533723594479593.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-165/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-165/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3412637384385658788.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-11970 in /w/workspace/edgexfoundry_device-gpio_PR-165 [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-165 # 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 Merging remotes/origin/main commit 047a754c10fbde4392f5fd28b60c1cf65bc55b22 into PR head commit 0966bad277a8578654000946f983906fdeaf390e Merge succeeded, producing 0966bad277a8578654000946f983906fdeaf390e Checking out Revision 0966bad277a8578654000946f983906fdeaf390e (PR-165) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 > 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/165/head:refs/remotes/origin/PR-165 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0966bad277a8578654000946f983906fdeaf390e # 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 047a754c10fbde4392f5fd28b60c1cf65bc55b22 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0966bad277a8578654000946f983906fdeaf390e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:05:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:05:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:05:10 ========================================================= 01:05:10 EdgeX Global Pipelines Version Info 01:05:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:05:11 ------------------- 01:05:11 stable info: 01:05:11 ------------------- 01:05:11 Commited By: Bill Mahoney bill.mahoney@intel.com 01:05:11 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 01:05:11 Message: update stable to v1.0.248 01:05:11 ------------------- 01:05:11 experimental info: 01:05:11 ------------------- 01:05:11 Commited By: **** collab-it+edgex@linuxfoundation.org 01:05:11 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 01:05:11 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:05:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 01:05:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 01:05:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:05:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:05:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:05:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:05:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:05:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:05:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:05:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:05:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:05:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 01:05:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:05:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:05:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:05:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:05:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:05:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:05:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:05:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:05:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:05:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:05:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:05:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:05:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:05:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:05:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:05:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-165 [Pipeline] echo 01:05:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-165 [Pipeline] echo 01:05:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-165 [Pipeline] echo 01:05:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0966bad277a8578654000946f983906fdeaf390e [Pipeline] echo 01:05:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0966bad [Pipeline] echo 01:05:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:05:13 provisioning config files... 01:05:13 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-165@tmp/config3701995351127785708tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:05:14 ---> docker-login.sh 01:05:14 nexus3.edgexfoundry.org:10001 01:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:14 Configure a credential helper to remove this warning. See 01:05:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:14 01:05:14 Login Succeeded 01:05:14 nexus3.edgexfoundry.org:10002 01:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:14 Configure a credential helper to remove this warning. See 01:05:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:14 01:05:14 Login Succeeded 01:05:14 nexus3.edgexfoundry.org:10003 01:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:14 Configure a credential helper to remove this warning. See 01:05:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:14 01:05:14 Login Succeeded 01:05:14 nexus3.edgexfoundry.org:10004 01:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:14 Configure a credential helper to remove this warning. See 01:05:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:14 01:05:14 Login Succeeded 01:05:14 docker.io 01:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:15 Configure a credential helper to remove this warning. See 01:05:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:15 01:05:15 Login Succeeded 01:05:15 ---> docker-login.sh ends [Pipeline] } 01:05:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:05:15 + git rev-list -1 --merges 0966bad277a8578654000946f983906fdeaf390e~1..0966bad277a8578654000946f983906fdeaf390e [Pipeline] echo 01:05:15 -----------> git rev-list -1 --merges 0966bad277a8578654000946f983906fdeaf390e~1..0966bad277a8578654000946f983906fdeaf390e 0966bad277a8578654000946f983906fdeaf390e [false] [Pipeline] sh 01:05:16 + git log --format=format:%s -1 0966bad277a8578654000946f983906fdeaf390e [Pipeline] echo 01:05:16 ========================================================= 01:05:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:05:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:05:16 + git log --format=format:%s -1 0966bad277a8578654000946f983906fdeaf390e [Pipeline] echo 01:05:16 [semverPrep] GIT_COMMIT: 0966bad277a8578654000946f983906fdeaf390e, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 01:05:16 [semverPrep] This is not a build commit. [Pipeline] sh 01:05:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:05:17 + grep -v github /etc/ssh/ssh_known_hosts 01:05:17 + [ -e /tmp/ssh_known_hosts ] 01:05:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:05:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:05:17 + sudo tee -a /etc/ssh/ssh_known_hosts 01:05:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:05:17 01:05:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:05:18 0.1.4: Pulling from edgex-devops/py-git-semver 01:05:18 b85a868b505f: Pulling fs layer 01:05:18 e2be974225ed: Pulling fs layer 01:05:18 339a4e72a1f5: Pulling fs layer 01:05:18 988bab9f4d93: Pulling fs layer 01:05:18 1469e6f7b9e6: Pulling fs layer 01:05:18 eaf3925da568: Pulling fs layer 01:05:18 988bab9f4d93: Waiting 01:05:18 bab4dde63d76: Pulling fs layer 01:05:18 1469e6f7b9e6: Waiting 01:05:18 bde34c3a00c8: Pulling fs layer 01:05:18 b352a97aabf1: Pulling fs layer 01:05:18 eaf3925da568: Waiting 01:05:18 bde34c3a00c8: Waiting 01:05:18 4872d77fe225: Pulling fs layer 01:05:18 b352a97aabf1: Waiting 01:05:18 5851b861e8e6: Pulling fs layer 01:05:18 4872d77fe225: Waiting 01:05:18 5851b861e8e6: Waiting 01:05:18 e2be974225ed: Download complete 01:05:18 988bab9f4d93: Download complete 01:05:18 1469e6f7b9e6: Verifying Checksum 01:05:18 1469e6f7b9e6: Download complete 01:05:18 eaf3925da568: Verifying Checksum 01:05:18 eaf3925da568: Download complete 01:05:18 339a4e72a1f5: Verifying Checksum 01:05:18 339a4e72a1f5: Download complete 01:05:18 bde34c3a00c8: Verifying Checksum 01:05:18 bde34c3a00c8: Download complete 01:05:18 b352a97aabf1: Download complete 01:05:18 5851b861e8e6: Download complete 01:05:18 b85a868b505f: Verifying Checksum 01:05:18 b85a868b505f: Download complete 01:05:18 bab4dde63d76: Download complete 01:05:19 b85a868b505f: Pull complete 01:05:19 e2be974225ed: Pull complete 01:05:20 339a4e72a1f5: Pull complete 01:05:20 988bab9f4d93: Pull complete 01:05:20 1469e6f7b9e6: Pull complete 01:05:20 eaf3925da568: Pull complete 01:05:22 bab4dde63d76: Pull complete 01:05:22 bde34c3a00c8: Pull complete 01:05:22 b352a97aabf1: Pull complete 01:05:22 4872d77fe225: Pull complete 01:05:22 5851b861e8e6: Pull complete 01:05:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:05:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:05:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:05:22 prd-ubuntu20.04-docker-8c-8g-11970 does not seem to be running inside a container 01:05:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-165 -v /w/workspace/edgexfoundry_device-gpio_PR-165:/w/workspace/edgexfoundry_device-gpio_PR-165:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-165@tmp:/w/workspace/edgexfoundry_device-gpio_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:05:25 $ docker top d64742b2610240a2cd4caae05c3a40b50a95e9debffd98d493b2e8d6f6a942c5 -eo pid,comm 01:05:25 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:05:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:05:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:05:25 [ssh-agent] Looking for ssh-agent implementation... 01:05:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:05:25 $ docker exec d64742b2610240a2cd4caae05c3a40b50a95e9debffd98d493b2e8d6f6a942c5 ssh-agent 01:05:26 SSH_AUTH_SOCK=/tmp/ssh-8yKmuaUGO65i/agent.31 01:05:26 SSH_AGENT_PID=37 01:05:26 Running ssh-add (command line suppressed) 01:05:26 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-165@tmp/private_key_10387934067325555680.key (/w/workspace/edgexfoundry_device-gpio_PR-165@tmp/private_key_10387934067325555680.key) 01:05:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:05:26 + git tag --points-at HEAD [Pipeline] } 01:05:26 $ docker exec --env ******** --env ******** d64742b2610240a2cd4caae05c3a40b50a95e9debffd98d493b2e8d6f6a942c5 ssh-agent -k 01:05:26 unset SSH_AUTH_SOCK; 01:05:26 unset SSH_AGENT_PID; 01:05:26 echo Agent pid 37 killed; 01:05:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:05:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:05:26 [ssh-agent] Looking for ssh-agent implementation... 01:05:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:05:26 $ docker exec d64742b2610240a2cd4caae05c3a40b50a95e9debffd98d493b2e8d6f6a942c5 ssh-agent 01:05:27 SSH_AUTH_SOCK=/tmp/ssh-OiLRuBytcwkG/agent.69 01:05:27 SSH_AGENT_PID=75 01:05:27 Running ssh-add (command line suppressed) 01:05:27 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-165@tmp/private_key_2366845610822012154.key (/w/workspace/edgexfoundry_device-gpio_PR-165@tmp/private_key_2366845610822012154.key) 01:05:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:05:27 + git semver init 01:05:27 2023-04-28 01:05:27,731 [run_init] DEBUG init version:0.0.0 force:False 01:05:27 2023-04-28 01:05:27,731 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-165/.semver 01:05:27 2023-04-28 01:05:27,732 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-165/.semver 01:05:27 2023-04-28 01:05:27,732 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-165/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-165, universal_newlines=False, shell=None, istream=None) 01:05:28 2023-04-28 01:05:28,638 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-165/.git/info/exclude 01:05:28 2023-04-28 01:05:28,638 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-165/.semver/PR-165 with force:False 01:05:28 2023-04-28 01:05:28,639 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-165/.semver/PR-165 01:05:28 2023-04-28 01:05:28,642 [execute] INFO git cat-file --batch-check 01:05:28 2023-04-28 01:05:28,642 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-165/.semver, universal_newlines=False, shell=None, istream=) 01:05:28 2023-04-28 01:05:28,648 [execute] INFO git cat-file --batch 01:05:28 2023-04-28 01:05:28,648 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-165/.semver, universal_newlines=False, shell=None, istream=) 01:05:28 2023-04-28 01:05:28,653 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-165/.semver/PR-165 01:05:28 0.0.0 [Pipeline] } 01:05:28 $ docker exec --env ******** --env ******** d64742b2610240a2cd4caae05c3a40b50a95e9debffd98d493b2e8d6f6a942c5 ssh-agent -k 01:05:28 unset SSH_AUTH_SOCK; 01:05:28 unset SSH_AGENT_PID; 01:05:28 echo Agent pid 75 killed; 01:05:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:05:29 + git semver [Pipeline] } 01:05:29 $ docker stop --time=1 d64742b2610240a2cd4caae05c3a40b50a95e9debffd98d493b2e8d6f6a942c5 01:05:30 $ docker rm -f --volumes d64742b2610240a2cd4caae05c3a40b50a95e9debffd98d493b2e8d6f6a942c5 [Pipeline] // withDockerContainer [Pipeline] sh 01:05:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:05:31 Stashed 1 file(s) [Pipeline] echo 01:05:31 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:05:32 provisioning config files... 01:05:32 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-165@tmp/config12219285833538932041tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:05:32 ---> docker-login.sh 01:05:32 nexus3.edgexfoundry.org:10001 01:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:32 Configure a credential helper to remove this warning. See 01:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:32 01:05:32 Login Succeeded 01:05:32 nexus3.edgexfoundry.org:10002 01:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:32 Configure a credential helper to remove this warning. See 01:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:32 01:05:32 Login Succeeded 01:05:32 nexus3.edgexfoundry.org:10003 01:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:32 Configure a credential helper to remove this warning. See 01:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:32 01:05:32 Login Succeeded 01:05:32 nexus3.edgexfoundry.org:10004 01:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:32 Configure a credential helper to remove this warning. See 01:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:32 01:05:32 Login Succeeded 01:05:32 docker.io 01:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:33 Configure a credential helper to remove this warning. See 01:05:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:33 01:05:33 Login Succeeded 01:05:33 ---> docker-login.sh ends [Pipeline] } 01:05:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:05:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:05:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:05:33 ========================================================= 01:05:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:05:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:33 + 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 . 01:05:33 Sending build context to Docker daemon 16.1MB 01:05:33 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:05:33 Step 2/12 : FROM ${BASE} AS builder 01:05:33 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:05:33 f56be85fc22e: Pulling fs layer 01:05:33 85791d961cd3: Pulling fs layer 01:05:33 d694b5ae8c79: Pulling fs layer 01:05:33 9f32a84ed3da: Pulling fs layer 01:05:33 4d19c01a9841: Pulling fs layer 01:05:33 9325e15d5711: Pulling fs layer 01:05:33 556b6ee489ea: Pulling fs layer 01:05:33 c5a4b2cf53e6: Pulling fs layer 01:05:33 9f32a84ed3da: Waiting 01:05:33 556b6ee489ea: Waiting 01:05:33 4d19c01a9841: Waiting 01:05:33 c5a4b2cf53e6: Waiting 01:05:33 9325e15d5711: Waiting 01:05:34 85791d961cd3: Download complete 01:05:34 9f32a84ed3da: Verifying Checksum 01:05:34 9f32a84ed3da: Download complete 01:05:34 4d19c01a9841: Verifying Checksum 01:05:34 4d19c01a9841: Download complete 01:05:34 f56be85fc22e: Verifying Checksum 01:05:34 f56be85fc22e: Download complete 01:05:34 9325e15d5711: Verifying Checksum 01:05:34 9325e15d5711: Download complete 01:05:34 f56be85fc22e: Pull complete 01:05:34 85791d961cd3: Pull complete 01:05:34 c5a4b2cf53e6: Verifying Checksum 01:05:34 c5a4b2cf53e6: Download complete 01:05:34 d694b5ae8c79: Verifying Checksum 01:05:34 d694b5ae8c79: Download complete 01:05:35 556b6ee489ea: Verifying Checksum 01:05:35 556b6ee489ea: Download complete 01:05:38 d694b5ae8c79: Pull complete 01:05:38 9f32a84ed3da: Pull complete 01:05:38 4d19c01a9841: Pull complete 01:05:38 9325e15d5711: Pull complete 01:05:41 556b6ee489ea: Pull complete 01:05:42 c5a4b2cf53e6: Pull complete 01:05:42 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 01:05:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:05:42 ---> c4be618373d6 01:05:42 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:05:45 ---> Running in a70353ea468e 01:05:45 Removing intermediate container a70353ea468e 01:05:45 ---> 78a81066edda 01:05:45 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:05:45 ---> Running in 3cae108176e9 01:05:45 Removing intermediate container 3cae108176e9 01:05:45 ---> 03b873668461 01:05:45 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:05:45 ---> Running in 24eea28e9dab 01:05:45 Removing intermediate container 24eea28e9dab 01:05:45 ---> 3761e77e68e3 01:05:45 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:05:45 ---> Running in 5f735bbdec0b 01:05:45 Removing intermediate container 5f735bbdec0b 01:05:45 ---> b664142467a2 01:05:45 Step 7/12 : WORKDIR /device-gpio 01:05:45 ---> Running in b8345954449c 01:05:45 Removing intermediate container b8345954449c 01:05:45 ---> 2c4f7bfdd8a0 01:05:45 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:05:45 ---> Running in 20e13743784e 01:05:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:05:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:05:46 (1/4) Installing openssh-keygen (9.1_p1-r2) 01:05:46 (2/4) Installing libedit (20221030.3.1-r0) 01:05:46 (3/4) Installing openssh-client-common (9.1_p1-r2) 01:05:46 (4/4) Installing openssh-client-default (9.1_p1-r2) 01:05:46 Executing busybox-1.35.0-r29.trigger 01:05:46 OK: 269 MiB in 57 packages 01:05:46 Removing intermediate container 20e13743784e 01:05:46 ---> 2e27a74d4ee7 01:05:46 Step 9/12 : COPY go.mod vendor* ./ 01:05:46 ---> c2a16a28d2e7 01:05:46 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:05:46 ---> Running in 58bd1a457296 01:05:47 Still waiting to schedule task 01:05:47 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:06:25 Removing intermediate container 58bd1a457296 01:06:25 ---> c531f2a519c6 01:06:25 Step 11/12 : COPY . . 01:06:25 ---> 3f7ab83e3b9c 01:06:25 Step 12/12 : RUN ${MAKE} 01:06:25 ---> Running in 6604d96e7811 01:06:25 noop 01:06:25 Removing intermediate container 6604d96e7811 01:06:25 ---> c8e12ba16a72 01:06:25 Successfully built c8e12ba16a72 01:06:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:26 + docker inspect -f . ci-base-image-x86_64 01:06:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:06:26 prd-ubuntu20.04-docker-8c-8g-11970 does not seem to be running inside a container 01:06:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-165 -v /w/workspace/edgexfoundry_device-gpio_PR-165:/w/workspace/edgexfoundry_device-gpio_PR-165:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-165@tmp:/w/workspace/edgexfoundry_device-gpio_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:06:26 $ docker top d7309716bec1bf64aeebe3ff22778337334c9f48961702e275b31c42140df484 -eo pid,comm [Pipeline] { [Pipeline] sh 01:06:27 + go version 01:06:27 go version go1.20.2 linux/amd64 [Pipeline] } 01:06:27 $ docker stop --time=1 d7309716bec1bf64aeebe3ff22778337334c9f48961702e275b31c42140df484 01:06:28 $ docker rm -f --volumes d7309716bec1bf64aeebe3ff22778337334c9f48961702e275b31c42140df484 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:29 + docker inspect -f . ci-base-image-x86_64 01:06:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:06:29 prd-ubuntu20.04-docker-8c-8g-11970 does not seem to be running inside a container 01:06:29 $ 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-165 -v /w/workspace/edgexfoundry_device-gpio_PR-165:/w/workspace/edgexfoundry_device-gpio_PR-165:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-165@tmp:/w/workspace/edgexfoundry_device-gpio_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:06:29 $ docker top 3e5a2a1d86c0fc113877ca96eec369693fcd9e438bb2a522c518f343878e9036 -eo pid,comm [Pipeline] { [Pipeline] sh 01:06:30 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-165 [Pipeline] fileExists [Pipeline] sh 01:06:30 + make test 01:06:30 go test ./... -coverprofile=coverage.out ./... 01:06:35 ? github.com/edgexfoundry/device-gpio [no test files] 01:06:45 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:06:45 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:06:52 go vet ./... 01:06:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:06:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:06:55 ./bin/test-attribution-txt.sh [Pipeline] echo 01:06:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:06:55 $ docker stop --time=1 3e5a2a1d86c0fc113877ca96eec369693fcd9e438bb2a522c518f343878e9036 01:06:58 $ docker rm -f --volumes 3e5a2a1d86c0fc113877ca96eec369693fcd9e438bb2a522c518f343878e9036 [Pipeline] // withDockerContainer [Pipeline] sh 01:06:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:06:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:06:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:07:00 + ls -al . 01:07:00 total 156 01:07:00 drwxrwxr-x 9 jenkins jenkins 4096 Apr 28 01:06 . 01:07:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 01:05 .. 01:07:00 -rw-rw-r-- 1 jenkins jenkins 120 Apr 28 01:05 .dockerignore 01:07:00 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 01:05 .git 01:07:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 01:05 .github 01:07:00 -rw-rw-r-- 1 jenkins jenkins 343 Apr 28 01:05 .gitignore 01:07:00 -rw-rw-r-- 1 jenkins jenkins 41 Apr 28 01:05 .golangci.yml 01:07:00 drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 01:05 .semver 01:07:00 -rw-rw-r-- 1 jenkins jenkins 9702 Apr 28 01:05 Attribution.txt 01:07:00 -rw-rw-r-- 1 jenkins jenkins 4069 Apr 28 01:05 CHANGELOG.md 01:07:00 -rw-rw-r-- 1 jenkins jenkins 1542 Apr 28 01:05 Dockerfile 01:07:00 -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 01:05 GOVERNANCE.md 01:07:00 -rw-rw-r-- 1 jenkins jenkins 657 Apr 28 01:05 Jenkinsfile 01:07:00 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 28 01:05 LICENSE 01:07:00 -rw-rw-r-- 1 jenkins jenkins 1692 Apr 28 01:05 Makefile 01:07:00 -rw-rw-r-- 1 jenkins jenkins 617 Apr 28 01:05 OWNERS.md 01:07:00 -rw-rw-r-- 1 jenkins jenkins 11790 Apr 28 01:05 README.md 01:07:00 -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 01:05 VERSION 01:07:00 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 01:05 bin 01:07:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 01:05 cmd 01:07:00 -rw-r--r-- 1 jenkins jenkins 10 Apr 28 01:06 coverage.out 01:07:00 -rw-rw-r-- 1 jenkins jenkins 3269 Apr 28 01:05 go.mod 01:07:00 -rw-rw-r-- 1 jenkins jenkins 31700 Apr 28 01:05 go.sum 01:07:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 01:05 internal 01:07:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 01:05 snap 01:07:00 -rw-rw-r-- 1 jenkins jenkins 209 Apr 28 01:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:00 + 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=0966bad277a8578654000946f983906fdeaf390e --label arch=amd64 --label version=0.0.0 . 01:07:00 Sending build context to Docker daemon 16.1MB 01:07:00 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 01:07:00 Step 2/25 : FROM ${BASE} AS builder 01:07:00 ---> c8e12ba16a72 01:07:00 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:07:00 ---> Running in d9556d604a5a 01:07:00 Removing intermediate container d9556d604a5a 01:07:00 ---> 01512c67d1b4 01:07:00 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:07:00 ---> Running in e556bcda79e1 01:07:00 Removing intermediate container e556bcda79e1 01:07:00 ---> 7c3e2a2aa85b 01:07:00 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:07:00 ---> Running in 30211171f552 01:07:01 Removing intermediate container 30211171f552 01:07:01 ---> 0b1873ff3e7a 01:07:01 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:07:01 ---> Running in 213eda36bb3c 01:07:01 Removing intermediate container 213eda36bb3c 01:07:01 ---> 08d32f0097c0 01:07:01 Step 7/25 : WORKDIR /device-gpio 01:07:01 ---> Running in 62851032327d 01:07:01 Removing intermediate container 62851032327d 01:07:01 ---> 657b009509b9 01:07:01 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:07:01 ---> Running in 3f8281bdf310 01:07:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:07:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:07:01 OK: 269 MiB in 57 packages 01:07:02 Removing intermediate container 3f8281bdf310 01:07:02 ---> 28ddde1c9079 01:07:02 Step 9/25 : COPY go.mod vendor* ./ 01:07:02 ---> 45d679e21964 01:07:02 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:07:02 ---> Running in 3b45ef9e7435 01:07:03 Removing intermediate container 3b45ef9e7435 01:07:03 ---> b5fc3b7820dc 01:07:03 Step 11/25 : COPY . . 01:07:03 ---> 82c83ae13769 01:07:03 Step 12/25 : RUN ${MAKE} 01:07:03 ---> Running in 415dccbe5a01 01:07:03 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 01:07:24 Removing intermediate container 415dccbe5a01 01:07:24 ---> f06292746f06 01:07:24 Step 13/25 : FROM alpine:3.17 01:07:24 3.17: Pulling from library/alpine 01:07:24 f56be85fc22e: Already exists 01:07:24 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:07:24 Status: Downloaded newer image for alpine:3.17 01:07:24 ---> 9ed4aefc74f6 01:07:24 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:07:24 ---> Running in 41449e767846 01:07:24 Removing intermediate container 41449e767846 01:07:24 ---> cc7a4c240b3e 01:07:24 Step 15/25 : RUN apk add --update --no-cache 01:07:24 ---> Running in 9632e0b5897e 01:07:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:07:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:07:24 OK: 7 MiB in 15 packages 01:07:24 Removing intermediate container 9632e0b5897e 01:07:24 ---> 788799ba6f4c 01:07:24 Step 16/25 : WORKDIR / 01:07:24 ---> Running in 6b005311f88e 01:07:24 Removing intermediate container 6b005311f88e 01:07:24 ---> 1fd09956b638 01:07:24 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 01:07:24 ---> 14f9bc85c148 01:07:24 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 01:07:24 ---> 2310f76ff65c 01:07:24 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 01:07:24 ---> 8ca8b5d44a0a 01:07:24 Step 20/25 : EXPOSE 59910 01:07:24 ---> Running in 8b7fac367682 01:07:24 Removing intermediate container 8b7fac367682 01:07:24 ---> 38f6669b2d22 01:07:24 Step 21/25 : ENTRYPOINT ["/device-gpio"] 01:07:24 ---> Running in 9165c20aaabb 01:07:24 Removing intermediate container 9165c20aaabb 01:07:24 ---> dcaed49aec45 01:07:24 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:07:24 ---> Running in c5c9f941d56c 01:07:24 Removing intermediate container c5c9f941d56c 01:07:24 ---> 4a164a5d194b 01:07:24 Step 23/25 : LABEL arch=amd64 01:07:24 ---> Running in f5082d6b5961 01:07:24 Removing intermediate container f5082d6b5961 01:07:24 ---> 6e1ccfb8b9e0 01:07:24 Step 24/25 : LABEL git_sha=0966bad277a8578654000946f983906fdeaf390e 01:07:24 ---> Running in b2d69c006b66 01:07:24 Removing intermediate container b2d69c006b66 01:07:24 ---> 82e96160b84c 01:07:24 Step 25/25 : LABEL version=0.0.0 01:07:24 ---> Running in 134d3df24929 01:07:25 Removing intermediate container 134d3df24929 01:07:25 ---> 2afd6c66d59e 01:07:25 [Warning] One or more build-args [ARCH] were not consumed 01:07:25 Successfully built 2afd6c66d59e 01:07:25 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 01:07:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:07:26 01:07:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:07:26 latest: Pulling from edgex-lftools-log-publisher 01:07:26 5eb5b503b376: Pulling fs layer 01:07:26 5c69ac0246d0: Pulling fs layer 01:07:26 ec43610c2a17: Pulling fs layer 01:07:26 3a2ae6a8a46f: Pulling fs layer 01:07:26 33b1e0a273af: Pulling fs layer 01:07:26 5d3b04190fa2: Pulling fs layer 01:07:26 2f39f015ded8: Pulling fs layer 01:07:26 3a2ae6a8a46f: Waiting 01:07:26 33b1e0a273af: Waiting 01:07:26 5d3b04190fa2: Waiting 01:07:26 5c69ac0246d0: Download complete 01:07:26 3a2ae6a8a46f: Verifying Checksum 01:07:26 3a2ae6a8a46f: Download complete 01:07:26 33b1e0a273af: Verifying Checksum 01:07:26 33b1e0a273af: Download complete 01:07:26 ec43610c2a17: Verifying Checksum 01:07:26 ec43610c2a17: Download complete 01:07:26 5d3b04190fa2: Download complete 01:07:26 5eb5b503b376: Verifying Checksum 01:07:26 5eb5b503b376: Download complete 01:07:27 2f39f015ded8: Download complete 01:07:27 5eb5b503b376: Pull complete 01:07:28 5c69ac0246d0: Pull complete 01:07:28 ec43610c2a17: Pull complete 01:07:28 3a2ae6a8a46f: Pull complete 01:07:28 33b1e0a273af: Pull complete 01:07:28 5d3b04190fa2: Pull complete 01:07:32 2f39f015ded8: Pull complete 01:07:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:07:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:07:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:07:33 prd-ubuntu20.04-docker-8c-8g-11970 does not seem to be running inside a container 01:07:33 $ 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-165 -v /w/workspace/edgexfoundry_device-gpio_PR-165:/w/workspace/edgexfoundry_device-gpio_PR-165:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-165@tmp:/w/workspace/edgexfoundry_device-gpio_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:07:36 $ docker top d31b90c712c03cfb46737490909c24824a2e2bb3a9ce2c94460e192aaf671056 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:07:37 ---> job-cost.sh 01:07:37 lf-activate-venv: SKIPPING 01:07:37 INFO: No Stack... 01:07:37 INFO: Retrieving Pricing Info for: v3-standard-8 01:07:37 INFO: Archiving Costs [Pipeline] sh 01:07:38 + cut -d, -f6 01:07:38 + cat /w/workspace/edgexfoundry_device-gpio_PR-165/archives/cost.csv [Pipeline] lock 01:07:38 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-165-1-stack-cost] 01:07:38 Resource [jenkins-edgexfoundry-device-gpio-PR-165-1-stack-cost] did not exist. Created. 01:07:38 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-165-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:07:38 + echo total: 0.2199999988079071 [Pipeline] stash 01:07:38 Stashed 1 file(s) [Pipeline] } 01:07:38 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-165-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:07:38 $ docker stop --time=1 d31b90c712c03cfb46737490909c24824a2e2bb3a9ce2c94460e192aaf671056 01:07:39 $ docker rm -f --volumes d31b90c712c03cfb46737490909c24824a2e2bb3a9ce2c94460e192aaf671056 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:09:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11971 in /w/workspace/edgexfoundry_device-gpio_PR-165 [Pipeline] { [Pipeline] ws 01:09:20 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 01:09:20 The recommended git tool is: git 01:09:26 using credential edgex-jenkins-ssh 01:09:26 Cloning the remote Git repository 01:09:26 Cloning repository git@github.com:edgexfoundry/device-gpio.git 01:09:26 > git init /w/workspace/device-gpio/1 # timeout=10 01:09:26 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:09:26 > git --version # timeout=10 01:09:26 > git --version # 'git version 2.25.1' 01:09:26 using GIT_SSH to set credentials SSH Credentials for GitHub 01:09:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:09:28 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:09:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:09:29 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:09:29 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:09:29 using GIT_SSH to set credentials SSH Credentials for GitHub 01:09:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:09:29 Merging remotes/origin/main commit 047a754c10fbde4392f5fd28b60c1cf65bc55b22 into PR head commit 0966bad277a8578654000946f983906fdeaf390e 01:09:30 Merge succeeded, producing 0966bad277a8578654000946f983906fdeaf390e 01:09:30 Checking out Revision 0966bad277a8578654000946f983906fdeaf390e (PR-165) 01:09:30 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 01:09:30 > git --version # timeout=10 01:09:30 > git --version # 'git version 2.25.1' 01:09:30 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 01:09:29 > git config core.sparsecheckout # timeout=10 01:09:30 > git checkout -f 0966bad277a8578654000946f983906fdeaf390e # timeout=10 01:09:30 > git remote # timeout=10 01:09:30 > git config --get remote.origin.url # timeout=10 01:09:30 using GIT_SSH to set credentials SSH Credentials for GitHub 01:09:30 > git merge 047a754c10fbde4392f5fd28b60c1cf65bc55b22 # timeout=10 01:09:30 > git rev-parse HEAD^{commit} # timeout=10 01:09:30 > git config core.sparsecheckout # timeout=10 01:09:30 > git checkout -f 0966bad277a8578654000946f983906fdeaf390e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:09:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:09:32 % Total % Received % Xferd Average Speed Time Time Time Current 01:09:32 Dload Upload Total Spent Left Speed 01:09:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93757 [Pipeline] sh 01:09:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:09:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:09:33 + sudo tee /etc/docker/daemon.new 01:09:33 { 01:09:33 "registry-mirrors": [ 01:09:33 "https://nexus3.edgexfoundry.org:10001" 01:09:33 ], 01:09:33 "bip": "10.250.0.254/24", 01:09:33 "hosts": [ 01:09:33 "tcp://0.0.0.0:5555", 01:09:33 "unix:///var/run/docker.sock" 01:09:33 ], 01:09:33 "mtu": 1458, 01:09:33 "selinux-enabled": true, 01:09:33 "seccomp-profile": "/etc/docker/seccomp.json" 01:09:33 } [Pipeline] sh 01:09:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:09:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:09:52 provisioning config files... 01:09:52 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config2134623913542890749tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:09:52 ---> docker-login.sh 01:09:52 nexus3.edgexfoundry.org:10001 01:09:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:53 Configure a credential helper to remove this warning. See 01:09:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:53 01:09:53 Login Succeeded 01:09:53 nexus3.edgexfoundry.org:10002 01:09:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:53 Configure a credential helper to remove this warning. See 01:09:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:53 01:09:53 Login Succeeded 01:09:53 nexus3.edgexfoundry.org:10003 01:09:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:53 Configure a credential helper to remove this warning. See 01:09:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:53 01:09:53 Login Succeeded 01:09:53 nexus3.edgexfoundry.org:10004 01:09:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:54 Configure a credential helper to remove this warning. See 01:09:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:54 01:09:54 Login Succeeded 01:09:54 docker.io 01:09:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:54 Configure a credential helper to remove this warning. See 01:09:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:54 01:09:54 Login Succeeded 01:09:54 ---> docker-login.sh ends [Pipeline] } 01:09:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:09:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:09:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:09:55 ========================================================= 01:09:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 01:09:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:09:55 + 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 . 01:09:56 Sending build context to Docker daemon 8.129MB 01:09:56 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:09:56 Step 2/12 : FROM ${BASE} AS builder 01:09:56 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:09:56 c41833b44d91: Pulling fs layer 01:09:56 ed15518f5707: Pulling fs layer 01:09:56 feae8fd75edb: Pulling fs layer 01:09:56 242c74f7c9fa: Pulling fs layer 01:09:56 3cdef696dda3: Pulling fs layer 01:09:56 2ced38df9373: Pulling fs layer 01:09:56 58f1dce35555: Pulling fs layer 01:09:56 242c74f7c9fa: Waiting 01:09:56 3cdef696dda3: Waiting 01:09:56 2ced38df9373: Waiting 01:09:56 58f1dce35555: Waiting 01:09:56 ed15518f5707: Verifying Checksum 01:09:56 ed15518f5707: Download complete 01:09:56 242c74f7c9fa: Verifying Checksum 01:09:56 242c74f7c9fa: Download complete 01:09:56 3cdef696dda3: Verifying Checksum 01:09:56 3cdef696dda3: Download complete 01:09:56 c41833b44d91: Verifying Checksum 01:09:56 c41833b44d91: Download complete 01:09:57 c41833b44d91: Pull complete 01:09:57 58f1dce35555: Verifying Checksum 01:09:57 58f1dce35555: Download complete 01:09:57 ed15518f5707: Pull complete 01:09:58 feae8fd75edb: Verifying Checksum 01:09:58 feae8fd75edb: Download complete 01:09:58 2ced38df9373: Verifying Checksum 01:09:58 2ced38df9373: Download complete 01:10:08 feae8fd75edb: Pull complete 01:10:08 242c74f7c9fa: Pull complete 01:10:08 3cdef696dda3: Pull complete 01:10:15 2ced38df9373: Pull complete 01:10:17 58f1dce35555: Pull complete 01:10:17 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 01:10:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 01:10:17 ---> fadd8f120f05 01:10:17 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:10:19 ---> Running in 3be45eaa9640 01:10:19 Removing intermediate container 3be45eaa9640 01:10:19 ---> 356712ef82b1 01:10:19 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:10:19 ---> Running in fa2d3141d62b 01:10:19 Removing intermediate container fa2d3141d62b 01:10:19 ---> 4931e7dc4e3f 01:10:19 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:10:19 ---> Running in d15a6156ca68 01:10:19 Removing intermediate container d15a6156ca68 01:10:19 ---> 77510c5bdebb 01:10:19 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:10:19 ---> Running in e95511a6b086 01:10:20 Removing intermediate container e95511a6b086 01:10:20 ---> d17eed97c2f6 01:10:20 Step 7/12 : WORKDIR /device-gpio 01:10:20 ---> Running in 172d68421998 01:10:20 Removing intermediate container 172d68421998 01:10:20 ---> a97e03c1f6fe 01:10:20 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:10:20 ---> Running in 7b07371358e5 01:10:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:10:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:10:23 (1/4) Installing openssh-keygen (9.1_p1-r2) 01:10:23 (2/4) Installing libedit (20221030.3.1-r0) 01:10:23 (3/4) Installing openssh-client-common (9.1_p1-r2) 01:10:23 (4/4) Installing openssh-client-default (9.1_p1-r2) 01:10:23 Executing busybox-1.35.0-r29.trigger 01:10:23 OK: 268 MiB in 57 packages 01:10:24 Removing intermediate container 7b07371358e5 01:10:24 ---> 5bb45b34bc64 01:10:24 Step 9/12 : COPY go.mod vendor* ./ 01:10:25 ---> 7711ba7d0b66 01:10:25 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:10:25 ---> Running in dc5bb4a81785 01:11:46 Removing intermediate container dc5bb4a81785 01:11:46 ---> 02cb9976459d 01:11:46 Step 11/12 : COPY . . 01:11:46 ---> 83f3ec7acf9c 01:11:46 Step 12/12 : RUN ${MAKE} 01:11:46 ---> Running in 5fb1a3caacc1 01:11:46 noop 01:11:46 Removing intermediate container 5fb1a3caacc1 01:11:46 ---> bb023385a8c5 01:11:46 Successfully built bb023385a8c5 01:11:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:11:47 + docker inspect -f . ci-base-image-arm64 01:11:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:11:47 prd-ubuntu20.04-docker-arm64-4c-16g-11971 does not seem to be running inside a container 01:11:47 $ 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 ******** ci-base-image-arm64 cat 01:11:48 $ docker top 4f9cfc71796d79bd6004f47eea36ba6a106c8bdd60da465ae8688a33e907308f -eo pid,comm [Pipeline] { [Pipeline] sh 01:11:49 + go version 01:11:49 go version go1.20.2 linux/arm64 [Pipeline] } 01:11:49 $ docker stop --time=1 4f9cfc71796d79bd6004f47eea36ba6a106c8bdd60da465ae8688a33e907308f 01:11:51 $ docker rm -f --volumes 4f9cfc71796d79bd6004f47eea36ba6a106c8bdd60da465ae8688a33e907308f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:11:52 + docker inspect -f . ci-base-image-arm64 01:11:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:11:52 prd-ubuntu20.04-docker-arm64-4c-16g-11971 does not seem to be running inside a container 01:11:52 $ 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 ******** ci-base-image-arm64 cat 01:11:55 $ docker top ec4530a0a8e23f3deb32e91106a14e28882033c0003fe12b548a87ff172e4a82 -eo pid,comm [Pipeline] { [Pipeline] sh 01:11:55 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 01:11:55 + make test 01:11:56 go test ./... -coverprofile=coverage.out ./... 01:12:28 ? github.com/edgexfoundry/device-gpio [no test files] 01:14:35 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:14:35 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:14:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:14:35 go vet ./... 01:15:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:15:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:15:08 ./bin/test-attribution-txt.sh [Pipeline] echo 01:15:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:15:08 $ docker stop --time=1 ec4530a0a8e23f3deb32e91106a14e28882033c0003fe12b548a87ff172e4a82 01:15:09 $ docker rm -f --volumes ec4530a0a8e23f3deb32e91106a14e28882033c0003fe12b548a87ff172e4a82 [Pipeline] // withDockerContainer [Pipeline] sh 01:15:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:15:11 Warning: overwriting stash ‘coverage-report’ 01:15:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:15:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:15:12 + ls -al . 01:15:12 total 152 01:15:12 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 01:11 . 01:15:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 01:09 .. 01:15:12 -rw-rw-r-- 1 jenkins jenkins 120 Apr 28 01:09 .dockerignore 01:15:12 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 01:09 .git 01:15:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 01:09 .github 01:15:12 -rw-rw-r-- 1 jenkins jenkins 343 Apr 28 01:09 .gitignore 01:15:12 -rw-rw-r-- 1 jenkins jenkins 41 Apr 28 01:09 .golangci.yml 01:15:12 -rw-rw-r-- 1 jenkins jenkins 9702 Apr 28 01:09 Attribution.txt 01:15:12 -rw-rw-r-- 1 jenkins jenkins 4069 Apr 28 01:09 CHANGELOG.md 01:15:12 -rw-rw-r-- 1 jenkins jenkins 1542 Apr 28 01:09 Dockerfile 01:15:12 -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 01:09 GOVERNANCE.md 01:15:12 -rw-rw-r-- 1 jenkins jenkins 657 Apr 28 01:09 Jenkinsfile 01:15:12 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 28 01:09 LICENSE 01:15:12 -rw-rw-r-- 1 jenkins jenkins 1692 Apr 28 01:09 Makefile 01:15:12 -rw-rw-r-- 1 jenkins jenkins 617 Apr 28 01:09 OWNERS.md 01:15:12 -rw-rw-r-- 1 jenkins jenkins 11790 Apr 28 01:09 README.md 01:15:12 -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 01:05 VERSION 01:15:12 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 01:09 bin 01:15:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 01:09 cmd 01:15:12 -rw-r--r-- 1 jenkins jenkins 10 Apr 28 01:11 coverage.out 01:15:12 -rw-rw-r-- 1 jenkins jenkins 3269 Apr 28 01:09 go.mod 01:15:12 -rw-rw-r-- 1 jenkins jenkins 31700 Apr 28 01:09 go.sum 01:15:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 01:09 internal 01:15:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 01:09 snap 01:15:12 -rw-rw-r-- 1 jenkins jenkins 209 Apr 28 01:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:12 + 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=0966bad277a8578654000946f983906fdeaf390e --label arch=arm64 --label version=0.0.0 . 01:15:13 Sending build context to Docker daemon 8.13MB 01:15:13 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 01:15:13 Step 2/25 : FROM ${BASE} AS builder 01:15:13 ---> bb023385a8c5 01:15:13 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:15:13 ---> Running in 165d404ce6df 01:15:13 Removing intermediate container 165d404ce6df 01:15:13 ---> 489b2cfa7c0d 01:15:13 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:15:13 ---> Running in ac41db7c660d 01:15:14 Removing intermediate container ac41db7c660d 01:15:14 ---> 41ba0c515f4b 01:15:14 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:15:14 ---> Running in 53e0c67a80d0 01:15:14 Removing intermediate container 53e0c67a80d0 01:15:14 ---> 8cd4797fed03 01:15:14 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:15:14 ---> Running in 88baea6ea6de 01:15:14 Removing intermediate container 88baea6ea6de 01:15:14 ---> 3fda74175302 01:15:14 Step 7/25 : WORKDIR /device-gpio 01:15:14 ---> Running in 3f5cdbd54345 01:15:15 Removing intermediate container 3f5cdbd54345 01:15:15 ---> 5f32a9ae8df2 01:15:15 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:15:15 ---> Running in 8dd222d39c18 01:15:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:15:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:15:18 OK: 268 MiB in 57 packages 01:15:18 Removing intermediate container 8dd222d39c18 01:15:18 ---> bfebb31dfbe1 01:15:18 Step 9/25 : COPY go.mod vendor* ./ 01:15:19 ---> baedd36affa5 01:15:19 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:15:19 ---> Running in f20aa6938f02 01:15:22 Removing intermediate container f20aa6938f02 01:15:22 ---> 60bb2aca42c2 01:15:22 Step 11/25 : COPY . . 01:15:23 ---> 5307c79b065e 01:15:23 Step 12/25 : RUN ${MAKE} 01:15:23 ---> Running in 14820e05efcd 01:15:24 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 01:17:46 Removing intermediate container 14820e05efcd 01:17:46 ---> 7c1a759dc713 01:17:46 Step 13/25 : FROM alpine:3.17 01:17:46 3.17: Pulling from library/alpine 01:17:46 c41833b44d91: Already exists 01:17:46 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:17:46 Status: Downloaded newer image for alpine:3.17 01:17:46 ---> 51e60588ff2c 01:17:46 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:17:46 ---> Running in e09f7152b8d0 01:17:46 Removing intermediate container e09f7152b8d0 01:17:46 ---> 633f1604b2ef 01:17:46 Step 15/25 : RUN apk add --update --no-cache 01:17:46 ---> Running in d43405462073 01:17:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:17:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:17:46 OK: 7 MiB in 15 packages 01:17:46 Removing intermediate container d43405462073 01:17:46 ---> af5abc0d3252 01:17:46 Step 16/25 : WORKDIR / 01:17:46 ---> Running in 37e0eeff54a6 01:17:46 Removing intermediate container 37e0eeff54a6 01:17:46 ---> 112f23560bde 01:17:46 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 01:17:46 ---> c64708e3d2b9 01:17:46 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 01:17:46 ---> 1c4e762be094 01:17:46 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 01:17:46 ---> 3cf4f789bf98 01:17:46 Step 20/25 : EXPOSE 59910 01:17:46 ---> Running in b4619c99ea75 01:17:46 Removing intermediate container b4619c99ea75 01:17:46 ---> 161b65b9b2c1 01:17:46 Step 21/25 : ENTRYPOINT ["/device-gpio"] 01:17:46 ---> Running in b992ca90880a 01:17:46 Removing intermediate container b992ca90880a 01:17:46 ---> 772c816ba99a 01:17:46 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:17:46 ---> Running in f66bf704e238 01:17:46 Removing intermediate container f66bf704e238 01:17:46 ---> 171d9b6b4978 01:17:46 Step 23/25 : LABEL arch=arm64 01:17:46 ---> Running in f214a7c9221e 01:17:46 Removing intermediate container f214a7c9221e 01:17:46 ---> 95f1648c3804 01:17:46 Step 24/25 : LABEL git_sha=0966bad277a8578654000946f983906fdeaf390e 01:17:46 ---> Running in 4fbecbe8908d 01:17:46 Removing intermediate container 4fbecbe8908d 01:17:46 ---> 4d5e37e03775 01:17:46 Step 25/25 : LABEL version=0.0.0 01:17:46 ---> Running in a1236ed9e320 01:17:46 Removing intermediate container a1236ed9e320 01:17:46 ---> 9044c8d400ad 01:17:46 [Warning] One or more build-args [ARCH] were not consumed 01:17:46 Successfully built 9044c8d400ad 01:17:46 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 01:17:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:17:47 01:17:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:17:47 arm64: Pulling from edgex-lftools-log-publisher 01:17:47 8998bd30e6a1: Pulling fs layer 01:17:47 04944245beec: Pulling fs layer 01:17:47 699f458cf7ca: Pulling fs layer 01:17:47 765212b225bb: Pulling fs layer 01:17:47 f23df028b6ca: Pulling fs layer 01:17:47 d65c8cfc05b1: Pulling fs layer 01:17:47 2437ff75d9bd: Pulling fs layer 01:17:47 765212b225bb: Waiting 01:17:47 f23df028b6ca: Waiting 01:17:47 d65c8cfc05b1: Waiting 01:17:47 2437ff75d9bd: Waiting 01:17:48 04944245beec: Verifying Checksum 01:17:48 04944245beec: Download complete 01:17:48 765212b225bb: Verifying Checksum 01:17:48 765212b225bb: Download complete 01:17:48 f23df028b6ca: Verifying Checksum 01:17:48 f23df028b6ca: Download complete 01:17:48 d65c8cfc05b1: Verifying Checksum 01:17:48 d65c8cfc05b1: Download complete 01:17:48 699f458cf7ca: Verifying Checksum 01:17:48 699f458cf7ca: Download complete 01:17:48 8998bd30e6a1: Verifying Checksum 01:17:48 8998bd30e6a1: Download complete 01:17:51 2437ff75d9bd: Verifying Checksum 01:17:51 2437ff75d9bd: Download complete 01:17:52 8998bd30e6a1: Pull complete 01:17:53 04944245beec: Pull complete 01:17:55 699f458cf7ca: Pull complete 01:17:55 765212b225bb: Pull complete 01:17:56 f23df028b6ca: Pull complete 01:17:56 d65c8cfc05b1: Pull complete 01:18:11 2437ff75d9bd: Pull complete 01:18:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:18:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:18:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:18:11 prd-ubuntu20.04-docker-arm64-4c-16g-11971 does not seem to be running inside a container 01:18:11 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:18:14 $ docker top 19bd7ab842a87e4a45c8b4a3489f85d2979f7b74519dae2f3bc999b1d63d9cb9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:18:15 ---> job-cost.sh 01:18:15 lf-activate-venv: SKIPPING 01:18:15 INFO: No Stack... 01:18:16 INFO: Retrieving Pricing Info for: v3-standard-4 01:18:16 INFO: Archiving Costs [Pipeline] sh 01:18:17 + cat /w/workspace/device-gpio/1/archives/cost.csv 01:18:17 + cut -d, -f6 [Pipeline] lock 01:18:17 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-165-1-stack-cost] 01:18:17 Resource [jenkins-edgexfoundry-device-gpio-PR-165-1-stack-cost] did not exist. Created. 01:18:17 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-165-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:18:18 /w/workspace/device-gpio/1@tmp/durable-2f43e981/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:18:18 + echo total: 0.10999999940395355 [Pipeline] stash 01:18:18 Warning: overwriting stash ‘stack-cost’ 01:18:18 Stashed 1 file(s) [Pipeline] } 01:18:18 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-165-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:18:18 $ docker stop --time=1 19bd7ab842a87e4a45c8b4a3489f85d2979f7b74519dae2f3bc999b1d63d9cb9 01:18:20 $ docker rm -f --volumes 19bd7ab842a87e4a45c8b4a3489f85d2979f7b74519dae2f3bc999b1d63d9cb9 [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 01:18:21 provisioning config files... 01:18:21 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-165@tmp/config10411825034792811187tmp [Pipeline] { [Pipeline] sh 01:18:21 + set +x 01:18:21 + + curl -s https://codecov.io/bash 01:18:21 bash -s -- 01:18:21 01:18:21 _____ _ 01:18:21 / ____| | | 01:18:21 | | ___ __| | ___ ___ _____ __ 01:18:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:18:21 | |___| (_) | (_| | __/ (_| (_) \ V / 01:18:21 \_____\___/ \__,_|\___|\___\___/ \_/ 01:18:21 Bash-1.0.6 01:18:21 01:18:21 01:18:21 ==> git version 2.25.1 found 01:18:21 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:18:21 Release-Date: 2020-01-08 01:18:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:18:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:18:21 ==> Jenkins CI detected. 01:18:21 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-165 01:18:21 project root: . 01:18:21 --> token set from env 01:18:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:18:22 ==> Running gcov in . (disable via -X gcov) 01:18:22 ==> Python coveragepy not found 01:18:22 ==> Searching for coverage reports in: 01:18:22 + . 01:18:22 -> Found 1 reports 01:18:22 ==> Detecting git/mercurial file structure 01:18:22 ==> Reading reports 01:18:22 + ./coverage.out bytes=10 01:18:22 ==> Appending adjustments 01:18:22 https://docs.codecov.io/docs/fixing-reports 01:18:22 + Found adjustments 01:18:22 ==> Gzipping contents 01:18:22 4.0K /tmp/codecov.AUjKUK.gz 01:18:22 ==> Uploading reports 01:18:22 url: https://codecov.io 01:18:22 query: branch=PR-165&commit=0966bad277a8578654000946f983906fdeaf390e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-165%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=165&job=&cmd_args= 01:18:22 -> Pinging Codecov 01:18:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-165&commit=0966bad277a8578654000946f983906fdeaf390e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-165%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=165&job=&cmd_args= 01:18:22 -> Uploading to 01:18:22 https://storage.googleapis.com/codecov/v4/raw/2023-04-28/3EC07B1A8CA8AF9BCAA0BB9F0134797F/0966bad277a8578654000946f983906fdeaf390e/000fcc45-3ede-4b2b-bb58-ead08836c4e2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230428%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230428T011822Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b72c826d48da35e55b832949c85a8b853e02c2276aca534c805c6e646816c824 01:18:22 % Total % Received % Xferd Average Speed Time Time Time Current 01:18:22 Dload Upload Total Spent Left Speed 01:18:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3175 --:--:-- --:--:-- --:--:-- 3161 100 724 0 0 100 724 0 3004 --:--:-- --:--:-- --:--:-- 2991 01:18:22 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/0966bad277a8578654000946f983906fdeaf390e [Pipeline] } 01:18:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:18:24 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-165/archives ] 01:18:24 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-165/archives 01:18:24 total 16 01:18:24 drwxr-xr-x 3 root root 4096 Apr 28 01:07 . 01:18:24 drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 01:07 .. 01:18:24 drwxr-xr-x 2 root root 4096 Apr 28 01:07 cost 01:18:24 -rw-r--r-- 1 root root 83 Apr 28 01:07 cost.csv 01:18:24 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-165/archives 01:18:24 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-165/archives 01:18:24 total 16 01:18:24 drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 01:07 . 01:18:24 drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 01:07 .. 01:18:24 drwxr-xr-x 2 jenkins jenkins 4096 Apr 28 01:07 cost 01:18:24 -rw-r--r-- 1 jenkins jenkins 83 Apr 28 01:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:18:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:18:25 ---> package-listing.sh 01:18:25 ++ facter osfamily 01:18:25 ++ tr '[:upper:]' '[:lower:]' 01:18:26 + OS_FAMILY=debian 01:18:26 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-165 01:18:26 + START_PACKAGES=/tmp/packages_start.txt 01:18:26 + END_PACKAGES=/tmp/packages_end.txt 01:18:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:18:26 + PACKAGES=/tmp/packages_start.txt 01:18:26 + '[' /w/workspace/edgexfoundry_device-gpio_PR-165 ']' 01:18:26 + PACKAGES=/tmp/packages_end.txt 01:18:26 + case "${OS_FAMILY}" in 01:18:26 + dpkg -l 01:18:26 + grep '^ii' 01:18:26 + '[' -f /tmp/packages_start.txt ']' 01:18:26 + '[' -f /tmp/packages_end.txt ']' 01:18:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:18:26 + '[' /w/workspace/edgexfoundry_device-gpio_PR-165 ']' 01:18:26 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-165/archives/ 01:18:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-165/archives/ [Pipeline] echo 01:18:26 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-165/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:18:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:18:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:18:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:18:27 prd-ubuntu20.04-docker-8c-8g-11970 does not seem to be running inside a container 01:18:27 $ 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-165/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-165 -v /w/workspace/edgexfoundry_device-gpio_PR-165:/w/workspace/edgexfoundry_device-gpio_PR-165:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-165@tmp:/w/workspace/edgexfoundry_device-gpio_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:18:28 $ docker top 1a2d2c87844993ddcae37c298184d5a8ba0a8a0164c7b2cb696358196fe7889c -eo pid,comm [Pipeline] { [Pipeline] sh 01:18:28 + touch /tmp/pre-build-complete [Pipeline] sh 01:18:28 + mkdir -p /var/log/sysstat [Pipeline] sh 01:18:29 + ls /var/log/sa-host 01:18:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:18:29 provisioning config files... 01:18:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-165@tmp/config9028535531851884886tmp [Pipeline] { [Pipeline] echo 01:18:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:18:29 ---> create-netrc.sh [Pipeline] } 01:18:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:18:30 ---> python-tools-install.sh [Pipeline] echo 01:18:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:18:32 ---> sudo-logs.sh 01:18:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:18:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:18:37 ---> job-cost.sh 01:18:37 lf-activate-venv: SKIPPING 01:18:37 DEBUG: total: 0.2199999988079071 01:18:37 INFO: Retrieving Stack Cost... 01:18:37 INFO: Retrieving Pricing Info for: v3-standard-8 01:18:38 INFO: Archiving Costs [Pipeline] echo 01:18:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:18:38 ---> logs-deploy.sh 01:18:38 lf-activate-venv: SKIPPING 01:18:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-165/1 01:18:38 INFO: archiving workspace using pattern(s): 01:18:39 Archives upload complete. 01:18:39 INFO: archiving logs to Nexus 01:18:40 ---> uname -a: 01:18:40 Linux prd-ubuntu20-04-docker-8c-8g-11970 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 01:18:40 01:18:40 01:18:40 ---> lscpu: 01:18:40 Architecture: x86_64 01:18:40 CPU op-mode(s): 32-bit, 64-bit 01:18:40 Byte Order: Little Endian 01:18:40 Address sizes: 40 bits physical, 48 bits virtual 01:18:40 CPU(s): 8 01:18:40 On-line CPU(s) list: 0-7 01:18:40 Thread(s) per core: 1 01:18:40 Core(s) per socket: 1 01:18:40 Socket(s): 8 01:18:40 NUMA node(s): 1 01:18:40 Vendor ID: AuthenticAMD 01:18:40 CPU family: 23 01:18:40 Model: 49 01:18:40 Model name: AMD EPYC-Rome Processor 01:18:40 Stepping: 0 01:18:40 CPU MHz: 2800.000 01:18:40 BogoMIPS: 5600.00 01:18:40 Virtualization: AMD-V 01:18:40 Hypervisor vendor: KVM 01:18:40 Virtualization type: full 01:18:40 L1d cache: 256 KiB 01:18:40 L1i cache: 256 KiB 01:18:40 L2 cache: 4 MiB 01:18:40 L3 cache: 128 MiB 01:18:40 NUMA node0 CPU(s): 0-7 01:18:40 Vulnerability Itlb multihit: Not affected 01:18:40 Vulnerability L1tf: Not affected 01:18:40 Vulnerability Mds: Not affected 01:18:40 Vulnerability Meltdown: Not affected 01:18:40 Vulnerability Mmio stale data: Not affected 01:18:40 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:18:40 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 01:18:40 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 01:18:40 Vulnerability Srbds: Not affected 01:18:40 Vulnerability Tsx async abort: Not affected 01:18:40 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 01:18:40 01:18:40 01:18:40 ---> nproc: 01:18:40 8 01:18:40 01:18:40 01:18:40 ---> df -h: 01:18:40 Filesystem Size Used Avail Use% Mounted on 01:18:40 overlay 155G 12G 144G 8% / 01:18:40 tmpfs 64M 0 64M 0% /dev 01:18:40 tmpfs 16G 0 16G 0% /sys/fs/cgroup 01:18:40 shm 64M 0 64M 0% /dev/shm 01:18:40 /dev/vda1 155G 12G 144G 8% /facter-os 01:18:40 01:18:40 01:18:40 ---> sar -b -r -n DEV: 01:18:40 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-11970) 04/28/23 _x86_64_ (8 CPU) 01:18:40 01:18:40 01:04:35 LINUX RESTART (8 CPU) 01:18:40 01:18:40 01:05:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 01:18:40 01:06:01 158.18 36.95 121.23 0.00 4285.46 40975.26 0.00 01:18:40 01:07:01 154.59 1.47 153.12 0.00 18.66 55393.97 0.00 01:18:40 01:08:01 140.16 0.05 140.11 0.00 10.13 35495.68 0.00 01:18:40 01:09:01 2.60 0.00 2.60 0.00 0.00 29.88 0.00 01:18:40 01:10:01 45.85 10.61 35.24 0.00 2924.36 5361.15 0.00 01:18:40 01:11:01 18.83 1.23 17.60 0.00 2270.42 3809.63 0.00 01:18:40 01:12:01 3.57 0.02 3.55 0.00 0.13 91.05 0.00 01:18:40 01:13:01 2.10 0.00 2.10 0.00 0.00 23.20 0.00 01:18:40 01:14:01 1.38 0.00 1.38 0.00 0.00 14.66 0.00 01:18:40 01:15:01 3.60 1.38 2.22 0.00 33.86 25.59 0.00 01:18:40 01:16:01 1.83 0.27 1.57 0.00 3.87 17.73 0.00 01:18:40 01:17:01 2.07 0.02 2.05 0.00 0.13 23.46 0.00 01:18:40 01:18:01 1.53 0.00 1.53 0.00 0.00 16.66 0.00 01:18:40 Average: 41.10 3.96 37.15 0.00 729.88 10828.93 0.00 01:18:40 01:18:40 01:05:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 01:18:40 01:06:01 28950636 31590428 720872 2.19 81820 2815788 1999448 5.89 1014508 2536176 161924 01:18:40 01:07:01 28358540 31556300 751596 2.29 150080 3247520 2118396 6.24 1194504 2884776 444 01:18:40 01:08:01 27632676 31592948 712064 2.17 160912 3936832 1756636 5.18 1246876 3491836 340 01:18:40 01:09:01 27632864 31593236 711628 2.16 160976 3936836 1756636 5.18 1246976 3491836 4 01:18:40 01:10:01 27298756 31575780 708644 2.16 180244 4227024 1786504 5.27 1400880 3642776 34208 01:18:40 01:11:01 27101692 31572816 712608 2.17 195508 4398420 1820220 5.36 1571824 3660800 8 01:18:40 01:12:01 27115752 31582208 703012 2.14 194120 4395168 1797160 5.30 1561192 3657600 8 01:18:40 01:13:01 27116304 31582860 702332 2.14 194200 4395172 1797160 5.30 1561296 3657612 8 01:18:40 01:14:01 27116732 31583416 702000 2.13 194232 4395176 1797160 5.30 1561324 3657692 8 01:18:40 01:15:01 27110148 31579004 706200 2.15 194320 4396192 1797160 5.30 1570144 3658192 56 01:18:40 01:16:01 27109140 31578284 706844 2.15 194388 4396436 1797160 5.30 1571992 3658164 160 01:18:40 01:17:01 27107256 31576492 708648 2.16 194472 4396428 1797160 5.30 1571392 3658172 8 01:18:40 01:18:01 27107460 31576824 708084 2.15 194548 4396444 1797160 5.30 1571672 3658176 172 01:18:40 Average: 27442920 31580046 711887 2.16 176140 4102572 1832151 5.40 1434198 3485678 15181 01:18:40 01:18:40 01:05:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 01:18:40 01:06:01 lo 6.71 6.71 0.65 0.65 0.00 0.00 0.00 0.00 01:18:40 01:06:01 ens3 807.56 517.64 7435.50 101.04 0.00 0.00 0.00 0.00 01:18:40 01:06:01 vethd2afd33 101.88 148.59 9.64 400.37 0.00 0.00 0.00 0.03 01:18:40 01:06:01 docker0 118.72 171.01 9.60 599.79 0.00 0.00 0.00 0.00 01:18:40 01:07:01 vethc53b542 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 01:18:40 01:07:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 01:18:40 01:07:01 ens3 204.93 147.34 1556.53 100.68 0.00 0.00 0.00 0.00 01:18:40 01:07:01 docker0 94.20 155.19 7.20 1518.01 0.00 0.00 0.00 0.00 01:18:40 01:08:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 01:18:40 01:08:01 ens3 111.46 66.17 2613.38 14.24 0.00 0.00 0.00 0.00 01:18:40 01:08:01 docker0 2.75 6.78 0.17 85.03 0.00 0.00 0.00 0.00 01:18:40 01:09:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:18:40 01:09:01 ens3 0.78 0.20 0.15 0.07 0.00 0.00 0.00 0.00 01:18:40 01:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:18:40 01:10:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 01:18:40 01:10:01 ens3 239.39 126.72 2100.07 9.28 0.00 0.00 0.00 0.00 01:18:40 01:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:18:40 01:11:01 lo 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 01:18:40 01:11:01 ens3 86.94 37.18 777.38 2.88 0.00 0.00 0.00 0.00 01:18:40 01:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:18:40 01:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:18:40 01:12:01 ens3 0.07 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:18:40 01:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:18:40 01:13:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:18:40 01:13:01 ens3 0.15 0.10 0.01 0.01 0.00 0.00 0.00 0.00 01:18:40 01:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:18:40 01:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:18:40 01:14:01 ens3 0.07 0.02 0.00 0.00 0.00 0.00 0.00 0.00 01:18:40 01:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:18:40 01:15:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 01:18:40 01:15:01 ens3 4.50 3.63 3.23 3.75 0.00 0.00 0.00 0.00 01:18:40 01:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:18:40 01:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:18:40 01:16:01 ens3 3.73 3.40 2.19 2.37 0.00 0.00 0.00 0.00 01:18:40 01:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:18:40 01:17:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:18:40 01:17:01 ens3 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 01:18:40 01:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:18:40 01:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:18:40 01:18:01 ens3 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:18:40 01:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:18:40 Average: lo 0.81 0.81 0.08 0.08 0.00 0.00 0.00 0.00 01:18:40 Average: ens3 111.40 68.85 1106.45 17.92 0.00 0.00 0.00 0.00 01:18:40 Average: docker0 16.46 25.43 1.29 168.89 0.00 0.00 0.00 0.00 01:18:40 01:18:40 01:18:40 ---> sar -P ALL: 01:18:40 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-11970) 04/28/23 _x86_64_ (8 CPU) 01:18:40 01:18:40 01:04:35 LINUX RESTART (8 CPU) 01:18:40 01:18:40 01:05:02 CPU %user %nice %system %iowait %steal %idle 01:18:40 01:06:01 all 10.33 0.00 3.60 1.70 0.06 84.30 01:18:40 01:06:01 0 12.10 0.00 3.24 0.38 0.05 84.23 01:18:40 01:06:01 1 11.52 0.00 3.49 0.55 0.05 84.40 01:18:40 01:06:01 2 13.05 0.00 3.81 6.81 0.05 76.28 01:18:40 01:06:01 3 12.49 0.00 3.87 0.41 0.07 83.15 01:18:40 01:06:01 4 8.73 0.00 3.25 0.48 0.07 87.48 01:18:40 01:06:01 5 7.44 0.00 3.94 1.01 0.05 87.56 01:18:40 01:06:01 6 7.76 0.00 3.16 0.09 0.05 88.95 01:18:40 01:06:01 7 9.56 0.00 4.06 3.94 0.07 82.37 01:18:40 01:07:01 all 29.12 0.00 5.91 2.41 0.08 62.48 01:18:40 01:07:01 0 29.10 0.00 5.84 0.25 0.10 64.70 01:18:40 01:07:01 1 30.26 0.00 6.09 1.09 0.08 62.47 01:18:40 01:07:01 2 28.11 0.00 5.30 3.10 0.07 63.43 01:18:40 01:07:01 3 28.95 0.00 5.64 1.54 0.08 63.78 01:18:40 01:07:01 4 29.20 0.00 5.32 0.27 0.07 65.14 01:18:40 01:07:01 5 30.16 0.00 5.57 0.54 0.07 63.66 01:18:40 01:07:01 6 27.20 0.00 6.75 11.75 0.08 54.21 01:18:40 01:07:01 7 29.97 0.00 6.75 0.79 0.10 62.38 01:18:40 01:08:01 all 15.92 0.00 3.46 1.49 0.05 79.08 01:18:40 01:08:01 0 16.21 0.00 3.14 0.03 0.05 80.57 01:18:40 01:08:01 1 15.27 0.00 3.35 2.24 0.03 79.10 01:18:40 01:08:01 2 15.46 0.00 3.72 0.02 0.05 80.75 01:18:40 01:08:01 3 15.79 0.00 2.92 0.64 0.07 80.58 01:18:40 01:08:01 4 16.08 0.00 3.52 4.94 0.05 75.41 01:18:40 01:08:01 5 16.80 0.00 3.58 3.33 0.05 76.24 01:18:40 01:08:01 6 15.20 0.00 3.31 0.29 0.03 81.17 01:18:40 01:08:01 7 16.57 0.00 4.17 0.44 0.05 78.77 01:18:40 01:09:01 all 0.02 0.00 0.02 0.01 0.01 99.94 01:18:40 01:09:01 0 0.02 0.00 0.03 0.00 0.02 99.93 01:18:40 01:09:01 1 0.02 0.00 0.00 0.07 0.00 99.92 01:18:40 01:09:01 2 0.02 0.00 0.02 0.00 0.02 99.95 01:18:40 01:09:01 3 0.07 0.00 0.00 0.02 0.00 99.92 01:18:40 01:09:01 4 0.02 0.00 0.03 0.00 0.02 99.93 01:18:40 01:09:01 5 0.00 0.00 0.02 0.00 0.00 99.98 01:18:40 01:09:01 6 0.02 0.00 0.02 0.00 0.02 99.95 01:18:40 01:09:01 7 0.03 0.00 0.02 0.00 0.02 99.93 01:18:40 01:10:01 all 1.68 0.00 1.04 0.37 0.03 96.88 01:18:40 01:10:01 0 1.48 0.00 1.80 0.08 0.02 96.61 01:18:40 01:10:01 1 1.47 0.00 0.89 0.75 0.03 96.86 01:18:40 01:10:01 2 0.85 0.00 0.73 0.03 0.02 98.36 01:18:40 01:10:01 3 2.05 0.00 0.87 0.20 0.03 96.84 01:18:40 01:10:01 4 1.83 0.00 0.69 0.03 0.03 97.42 01:18:40 01:10:01 5 2.14 0.00 1.15 0.97 0.02 95.72 01:18:40 01:10:01 6 1.77 0.00 0.89 0.53 0.00 96.81 01:18:40 01:10:01 7 1.81 0.00 1.34 0.39 0.05 96.41 01:18:40 01:11:01 all 0.88 0.00 0.61 0.15 0.02 98.34 01:18:40 01:11:01 0 1.32 0.00 0.35 0.13 0.02 98.18 01:18:40 01:11:01 1 0.33 0.00 0.70 0.08 0.02 98.87 01:18:40 01:11:01 2 0.62 0.00 0.39 0.23 0.03 98.73 01:18:40 01:11:01 3 0.65 0.00 1.27 0.07 0.02 98.00 01:18:40 01:11:01 4 0.73 0.00 0.87 0.15 0.02 98.23 01:18:40 01:11:01 5 1.07 0.00 0.43 0.50 0.02 97.98 01:18:40 01:11:01 6 0.40 0.00 0.35 0.00 0.02 99.23 01:18:40 01:11:01 7 1.90 0.00 0.53 0.02 0.02 97.53 01:18:40 01:12:01 all 0.08 0.00 0.05 0.02 0.00 99.84 01:18:40 01:12:01 0 0.22 0.00 0.10 0.00 0.00 99.68 01:18:40 01:12:01 1 0.08 0.00 0.05 0.02 0.00 99.85 01:18:40 01:12:01 2 0.10 0.00 0.05 0.02 0.02 99.82 01:18:40 01:12:01 3 0.07 0.00 0.02 0.00 0.00 99.92 01:18:40 01:12:01 4 0.08 0.00 0.03 0.02 0.00 99.87 01:18:40 01:12:01 5 0.03 0.00 0.07 0.10 0.02 99.78 01:18:40 01:12:01 6 0.03 0.00 0.03 0.00 0.00 99.93 01:18:40 01:12:01 7 0.05 0.00 0.05 0.00 0.00 99.90 01:18:40 01:13:01 all 0.01 0.00 0.01 0.01 0.01 99.95 01:18:40 01:13:01 0 0.02 0.00 0.02 0.00 0.02 99.95 01:18:40 01:13:01 1 0.00 0.00 0.02 0.00 0.00 99.98 01:18:40 01:13:01 2 0.05 0.00 0.03 0.02 0.03 99.87 01:18:40 01:13:01 3 0.02 0.00 0.00 0.00 0.02 99.97 01:18:40 01:13:01 4 0.03 0.00 0.00 0.00 0.00 99.97 01:18:40 01:13:01 5 0.00 0.00 0.02 0.05 0.00 99.93 01:18:40 01:13:01 6 0.00 0.00 0.02 0.00 0.00 99.98 01:18:40 01:13:01 7 0.00 0.00 0.02 0.00 0.00 99.98 01:18:40 01:14:01 all 0.02 0.00 0.00 0.01 0.00 99.96 01:18:40 01:14:01 0 0.00 0.00 0.00 0.00 0.00 100.00 01:18:40 01:14:01 1 0.02 0.00 0.00 0.00 0.02 99.97 01:18:40 01:14:01 2 0.07 0.00 0.02 0.02 0.02 99.88 01:18:40 01:14:01 3 0.00 0.00 0.00 0.00 0.00 100.00 01:18:40 01:14:01 4 0.02 0.00 0.02 0.00 0.00 99.97 01:18:40 01:14:01 5 0.02 0.00 0.00 0.08 0.00 99.90 01:18:40 01:14:01 6 0.02 0.00 0.00 0.00 0.00 99.98 01:18:40 01:14:01 7 0.00 0.00 0.00 0.00 0.00 100.00 01:18:40 01:15:01 all 0.23 0.00 0.03 0.02 0.01 99.71 01:18:40 01:15:01 0 0.28 0.00 0.05 0.05 0.00 99.62 01:18:40 01:15:01 1 0.03 0.00 0.00 0.00 0.00 99.97 01:18:40 01:15:01 2 0.23 0.00 0.03 0.02 0.03 99.68 01:18:40 01:15:01 3 0.97 0.00 0.00 0.00 0.02 99.01 01:18:40 01:15:01 4 0.10 0.00 0.00 0.00 0.02 99.88 01:18:40 01:15:01 5 0.07 0.00 0.02 0.08 0.00 99.83 01:18:40 01:15:01 6 0.07 0.00 0.05 0.02 0.00 99.87 01:18:40 01:15:01 7 0.12 0.00 0.05 0.00 0.00 99.83 01:18:40 01:16:01 all 0.08 0.00 0.01 0.00 0.00 99.90 01:18:40 01:16:01 0 0.10 0.00 0.02 0.00 0.00 99.88 01:18:40 01:16:01 1 0.03 0.00 0.00 0.00 0.00 99.97 01:18:40 01:16:01 2 0.05 0.00 0.03 0.00 0.02 99.90 01:18:40 01:16:01 3 0.30 0.00 0.00 0.00 0.00 99.70 01:18:40 01:16:01 4 0.08 0.00 0.02 0.00 0.00 99.90 01:18:40 01:16:01 5 0.02 0.00 0.02 0.02 0.00 99.95 01:18:40 01:16:01 6 0.00 0.00 0.02 0.00 0.02 99.97 01:18:40 01:16:01 7 0.05 0.00 0.00 0.00 0.00 99.95 01:18:40 01:18:40 01:16:01 CPU %user %nice %system %iowait %steal %idle 01:18:40 01:17:01 all 0.02 0.00 0.01 0.01 0.00 99.95 01:18:40 01:17:01 0 0.03 0.00 0.02 0.00 0.00 99.95 01:18:40 01:17:01 1 0.00 0.00 0.00 0.02 0.00 99.98 01:18:40 01:17:01 2 0.05 0.00 0.03 0.00 0.02 99.90 01:18:40 01:17:01 3 0.02 0.00 0.00 0.00 0.02 99.97 01:18:40 01:17:01 4 0.03 0.00 0.00 0.00 0.00 99.97 01:18:40 01:17:01 5 0.02 0.00 0.02 0.03 0.00 99.93 01:18:40 01:17:01 6 0.02 0.00 0.00 0.00 0.00 99.98 01:18:40 01:17:01 7 0.02 0.00 0.03 0.00 0.00 99.95 01:18:40 01:18:01 all 0.02 0.00 0.01 0.01 0.01 99.96 01:18:40 01:18:01 0 0.00 0.00 0.00 0.00 0.00 100.00 01:18:40 01:18:01 1 0.00 0.00 0.00 0.00 0.02 99.98 01:18:40 01:18:01 2 0.05 0.00 0.03 0.02 0.02 99.88 01:18:40 01:18:01 3 0.00 0.00 0.00 0.00 0.00 100.00 01:18:40 01:18:01 4 0.00 0.00 0.02 0.00 0.00 99.98 01:18:40 01:18:01 5 0.00 0.00 0.00 0.03 0.02 99.95 01:18:40 01:18:01 6 0.02 0.00 0.02 0.00 0.00 99.97 01:18:40 01:18:01 7 0.08 0.00 0.02 0.00 0.00 99.90 01:18:40 Average: all 4.46 0.00 1.13 0.47 0.02 93.92 01:18:40 Average: 0 4.65 0.00 1.12 0.07 0.02 94.14 01:18:40 Average: 1 4.51 0.00 1.11 0.37 0.02 93.99 01:18:40 Average: 2 4.48 0.00 1.08 0.78 0.03 93.63 01:18:40 Average: 3 4.68 0.00 1.11 0.22 0.02 93.97 01:18:40 Average: 4 4.34 0.00 1.05 0.45 0.02 94.14 01:18:40 Average: 5 4.41 0.00 1.13 0.52 0.02 93.93 01:18:40 Average: 6 3.99 0.00 1.11 0.96 0.02 93.92 01:18:40 Average: 7 4.58 0.00 1.30 0.42 0.02 93.68 01:18:40 01:18:40 01:18:40