Pull request #99 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1aad797642e073bef8a406017961f2d4314d6116+9fd98a26a9ea9701925160950e3b0ed34522a85d (2d38f58bf455e1f06919b59916a4c17038cbd736) 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-ssh4306130062877046394.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh4744055378549577978.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-99/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-99/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5569990133522165934.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-99/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3554395588014226237.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh15606577562731269887.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-99/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-99/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8201982349266322861.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-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-5655 in /w/workspace/edgexfoundry_device-gpio_PR-99 [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-99 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/99/head:refs/remotes/origin/PR-99 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9fd98a26a9ea9701925160950e3b0ed34522a85d into PR head commit 1aad797642e073bef8a406017961f2d4314d6116 Merge succeeded, producing 1aad797642e073bef8a406017961f2d4314d6116 Checking out Revision 1aad797642e073bef8a406017961f2d4314d6116 (PR-99) 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:08:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:08:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git config core.sparsecheckout # timeout=10 > git checkout -f 1aad797642e073bef8a406017961f2d4314d6116 # 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 9fd98a26a9ea9701925160950e3b0ed34522a85d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1aad797642e073bef8a406017961f2d4314d6116 # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:08:48 ========================================================= 01:08:48 EdgeX Global Pipelines Version Info 01:08:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:08:49 ------------------- 01:08:49 stable info: 01:08:49 ------------------- 01:08:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:08:49 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 01:08:49 Message: update stable to v1.0.244 01:08:49 ------------------- 01:08:49 experimental info: 01:08:49 ------------------- 01:08:49 Commited By: **** collab-it+edgex@linuxfoundation.org 01:08:49 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 01:08:49 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:08:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 01:08:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 01:08:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:08:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:08:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:08:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:08:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:08:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:08:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:08:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:08:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:08:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 01:08:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:08:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:08:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:08:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:08:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:08:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:08:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:08:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:08:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:08:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:08:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:08:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:08:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:08:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:08:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:08:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-99 [Pipeline] echo 01:08:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-99 [Pipeline] echo 01:08:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-99 [Pipeline] echo 01:08:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1aad797642e073bef8a406017961f2d4314d6116 [Pipeline] echo 01:08:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1aad797 [Pipeline] echo 01:08:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:08:51 provisioning config files... 01:08:51 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-99@tmp/config12029494845900789996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:08:51 ---> docker-login.sh 01:08:51 nexus3.edgexfoundry.org:10001 01:08:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:51 Configure a credential helper to remove this warning. See 01:08:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:51 01:08:51 Login Succeeded 01:08:51 nexus3.edgexfoundry.org:10002 01:08:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:52 Configure a credential helper to remove this warning. See 01:08:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:52 01:08:52 Login Succeeded 01:08:52 nexus3.edgexfoundry.org:10003 01:08:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:52 Configure a credential helper to remove this warning. See 01:08:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:52 01:08:52 Login Succeeded 01:08:52 nexus3.edgexfoundry.org:10004 01:08:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:52 Configure a credential helper to remove this warning. See 01:08:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:52 01:08:52 Login Succeeded 01:08:52 docker.io 01:08:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:52 Configure a credential helper to remove this warning. See 01:08:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:52 01:08:52 Login Succeeded 01:08:52 ---> docker-login.sh ends [Pipeline] } 01:08:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:08:53 + git rev-list -1 --merges 1aad797642e073bef8a406017961f2d4314d6116~1..1aad797642e073bef8a406017961f2d4314d6116 [Pipeline] echo 01:08:53 -----------> git rev-list -1 --merges 1aad797642e073bef8a406017961f2d4314d6116~1..1aad797642e073bef8a406017961f2d4314d6116 1aad797642e073bef8a406017961f2d4314d6116 [false] [Pipeline] sh 01:08:53 + git log --format=format:%s -1 1aad797642e073bef8a406017961f2d4314d6116 [Pipeline] echo 01:08:53 ========================================================= 01:08:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:08:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:08:54 + git log --format=format:%s -1 1aad797642e073bef8a406017961f2d4314d6116 [Pipeline] echo 01:08:54 [semverPrep] GIT_COMMIT: 1aad797642e073bef8a406017961f2d4314d6116, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 01:08:54 [semverPrep] This is not a build commit. [Pipeline] sh 01:08:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:08:54 + grep -v github /etc/ssh/ssh_known_hosts 01:08:54 + [ -e /tmp/ssh_known_hosts ] 01:08:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:08:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:08:54 + sudo tee -a /etc/ssh/ssh_known_hosts 01:08:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:08:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:08:55 01:08:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:08:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:08:55 0.1.4: Pulling from edgex-devops/py-git-semver 01:08:55 b85a868b505f: Pulling fs layer 01:08:55 e2be974225ed: Pulling fs layer 01:08:55 339a4e72a1f5: Pulling fs layer 01:08:55 988bab9f4d93: Pulling fs layer 01:08:55 1469e6f7b9e6: Pulling fs layer 01:08:55 eaf3925da568: Pulling fs layer 01:08:55 bab4dde63d76: Pulling fs layer 01:08:55 bde34c3a00c8: Pulling fs layer 01:08:55 b352a97aabf1: Pulling fs layer 01:08:55 4872d77fe225: Pulling fs layer 01:08:55 5851b861e8e6: Pulling fs layer 01:08:55 bab4dde63d76: Waiting 01:08:55 bde34c3a00c8: Waiting 01:08:55 b352a97aabf1: Waiting 01:08:55 4872d77fe225: Waiting 01:08:55 5851b861e8e6: Waiting 01:08:55 988bab9f4d93: Waiting 01:08:55 1469e6f7b9e6: Waiting 01:08:55 eaf3925da568: Waiting 01:08:55 e2be974225ed: Verifying Checksum 01:08:55 e2be974225ed: Download complete 01:08:55 988bab9f4d93: Verifying Checksum 01:08:55 988bab9f4d93: Download complete 01:08:55 1469e6f7b9e6: Verifying Checksum 01:08:55 1469e6f7b9e6: Download complete 01:08:55 eaf3925da568: Verifying Checksum 01:08:55 eaf3925da568: Download complete 01:08:55 339a4e72a1f5: Verifying Checksum 01:08:55 339a4e72a1f5: Download complete 01:08:55 bde34c3a00c8: Verifying Checksum 01:08:55 bde34c3a00c8: Download complete 01:08:55 b352a97aabf1: Verifying Checksum 01:08:55 b352a97aabf1: Download complete 01:08:55 4872d77fe225: Download complete 01:08:55 b85a868b505f: Verifying Checksum 01:08:55 b85a868b505f: Download complete 01:08:56 bab4dde63d76: Verifying Checksum 01:08:56 bab4dde63d76: Download complete 01:08:57 b85a868b505f: Pull complete 01:08:57 e2be974225ed: Pull complete 01:08:57 339a4e72a1f5: Pull complete 01:08:57 988bab9f4d93: Pull complete 01:08:58 1469e6f7b9e6: Pull complete 01:08:58 eaf3925da568: Pull complete 01:09:00 bab4dde63d76: Pull complete 01:09:00 bde34c3a00c8: Pull complete 01:09:00 b352a97aabf1: Pull complete 01:09:00 4872d77fe225: Pull complete 01:09:00 5851b861e8e6: Pull complete 01:09:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:09:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:09:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:09:00 prd-ubuntu20.04-docker-8c-8g-5655 does not seem to be running inside a container 01:09:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-99 -v /w/workspace/edgexfoundry_device-gpio_PR-99:/w/workspace/edgexfoundry_device-gpio_PR-99:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-99@tmp:/w/workspace/edgexfoundry_device-gpio_PR-99@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:09:02 $ docker top 701e8bfed6c5dbbd6486377aaf8d6704c4e87d5ab936cc8766b6aa19e5bbaf10 -eo pid,comm 01:09:02 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:09:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:09:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:09:02 [ssh-agent] Looking for ssh-agent implementation... 01:09:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:09:02 $ docker exec 701e8bfed6c5dbbd6486377aaf8d6704c4e87d5ab936cc8766b6aa19e5bbaf10 ssh-agent 01:09:02 SSH_AUTH_SOCK=/tmp/ssh-fA9LG2aStmZm/agent.33 01:09:02 SSH_AGENT_PID=39 01:09:02 Running ssh-add (command line suppressed) 01:09:02 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-99@tmp/private_key_1379581521965356226.key (/w/workspace/edgexfoundry_device-gpio_PR-99@tmp/private_key_1379581521965356226.key) 01:09:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:09:02 + git tag --points-at HEAD [Pipeline] } 01:09:02 $ docker exec --env ******** --env ******** 701e8bfed6c5dbbd6486377aaf8d6704c4e87d5ab936cc8766b6aa19e5bbaf10 ssh-agent -k 01:09:03 unset SSH_AUTH_SOCK; 01:09:03 unset SSH_AGENT_PID; 01:09:03 echo Agent pid 39 killed; 01:09:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:09:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:09:03 [ssh-agent] Looking for ssh-agent implementation... 01:09:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:09:03 $ docker exec 701e8bfed6c5dbbd6486377aaf8d6704c4e87d5ab936cc8766b6aa19e5bbaf10 ssh-agent 01:09:03 SSH_AUTH_SOCK=/tmp/ssh-TTJMMwgDpP45/agent.71 01:09:03 SSH_AGENT_PID=78 01:09:03 Running ssh-add (command line suppressed) 01:09:03 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-99@tmp/private_key_12361137033588523732.key (/w/workspace/edgexfoundry_device-gpio_PR-99@tmp/private_key_12361137033588523732.key) 01:09:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:09:03 + git semver init 01:09:04 2023-02-14 01:09:04,060 [run_init] DEBUG init version:0.0.0 force:False 01:09:04 2023-02-14 01:09:04,061 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-99/.semver 01:09:04 2023-02-14 01:09:04,061 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-99/.semver 01:09:04 2023-02-14 01:09:04,061 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-99/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-99, universal_newlines=False, shell=None, istream=None) 01:09:05 2023-02-14 01:09:05,052 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-99/.git/info/exclude 01:09:05 2023-02-14 01:09:05,052 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-99/.semver/PR-99 with force:False 01:09:05 2023-02-14 01:09:05,052 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-99/.semver/PR-99 01:09:05 2023-02-14 01:09:05,055 [execute] INFO git cat-file --batch-check 01:09:05 2023-02-14 01:09:05,055 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-99/.semver, universal_newlines=False, shell=None, istream=) 01:09:05 2023-02-14 01:09:05,060 [execute] INFO git cat-file --batch 01:09:05 2023-02-14 01:09:05,060 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-99/.semver, universal_newlines=False, shell=None, istream=) 01:09:05 2023-02-14 01:09:05,065 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-99/.semver/PR-99 01:09:05 0.0.0 [Pipeline] } 01:09:05 $ docker exec --env ******** --env ******** 701e8bfed6c5dbbd6486377aaf8d6704c4e87d5ab936cc8766b6aa19e5bbaf10 ssh-agent -k 01:09:05 unset SSH_AUTH_SOCK; 01:09:05 unset SSH_AGENT_PID; 01:09:05 echo Agent pid 78 killed; 01:09:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:09:05 + git semver [Pipeline] } 01:09:06 $ docker stop --time=1 701e8bfed6c5dbbd6486377aaf8d6704c4e87d5ab936cc8766b6aa19e5bbaf10 01:09:07 $ docker rm -f --volumes 701e8bfed6c5dbbd6486377aaf8d6704c4e87d5ab936cc8766b6aa19e5bbaf10 [Pipeline] // withDockerContainer [Pipeline] sh 01:09:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:09:08 Stashed 1 file(s) [Pipeline] echo 01:09:08 [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:09:08 provisioning config files... 01:09:08 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-99@tmp/config14540351557347176433tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:09:09 ---> docker-login.sh 01:09:09 nexus3.edgexfoundry.org:10001 01:09:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:09 Configure a credential helper to remove this warning. See 01:09:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:09 01:09:09 Login Succeeded 01:09:09 nexus3.edgexfoundry.org:10002 01:09:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:09 Configure a credential helper to remove this warning. See 01:09:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:09 01:09:09 Login Succeeded 01:09:09 nexus3.edgexfoundry.org:10003 01:09:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:09 Configure a credential helper to remove this warning. See 01:09:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:09 01:09:09 Login Succeeded 01:09:09 nexus3.edgexfoundry.org:10004 01:09:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:09 Configure a credential helper to remove this warning. See 01:09:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:09 01:09:09 Login Succeeded 01:09:09 docker.io 01:09:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:09 Configure a credential helper to remove this warning. See 01:09:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:09 01:09:09 Login Succeeded 01:09:09 ---> docker-login.sh ends [Pipeline] } 01:09:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:09:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:09:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:09:10 ========================================================= 01:09:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:09:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:09:10 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 01:09:10 Sending build context to Docker daemon 15.98MB 01:09:10 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:09:10 Step 2/12 : FROM ${BASE} AS builder 01:09:10 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:09:10 213ec9aee27d: Pulling fs layer 01:09:10 4583459ba037: Pulling fs layer 01:09:10 93c1e223e6f2: Pulling fs layer 01:09:10 53926ce57604: Pulling fs layer 01:09:10 21b2b0c7a3f4: Pulling fs layer 01:09:10 22ff95d597cd: Pulling fs layer 01:09:10 12d6caf4c0d1: Pulling fs layer 01:09:10 96b7cbca73a9: Pulling fs layer 01:09:10 a7acece74701: Pulling fs layer 01:09:10 53926ce57604: Waiting 01:09:10 21b2b0c7a3f4: Waiting 01:09:10 22ff95d597cd: Waiting 01:09:10 12d6caf4c0d1: Waiting 01:09:10 96b7cbca73a9: Waiting 01:09:10 a7acece74701: Waiting 01:09:10 93c1e223e6f2: Verifying Checksum 01:09:10 93c1e223e6f2: Download complete 01:09:10 4583459ba037: Download complete 01:09:10 21b2b0c7a3f4: Verifying Checksum 01:09:10 21b2b0c7a3f4: Download complete 01:09:10 22ff95d597cd: Download complete 01:09:10 213ec9aee27d: Download complete 01:09:10 12d6caf4c0d1: Download complete 01:09:11 213ec9aee27d: Pull complete 01:09:11 4583459ba037: Pull complete 01:09:11 93c1e223e6f2: Pull complete 01:09:12 a7acece74701: Verifying Checksum 01:09:12 a7acece74701: Download complete 01:09:12 53926ce57604: Verifying Checksum 01:09:12 53926ce57604: Download complete 01:09:12 96b7cbca73a9: Verifying Checksum 01:09:12 96b7cbca73a9: Download complete 01:09:16 53926ce57604: Pull complete 01:09:16 21b2b0c7a3f4: Pull complete 01:09:16 22ff95d597cd: Pull complete 01:09:16 12d6caf4c0d1: Pull complete 01:09:18 96b7cbca73a9: Pull complete 01:09:19 a7acece74701: Pull complete 01:09:19 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 01:09:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:09:19 ---> db6d94c90886 01:09:19 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:09:21 ---> Running in 75e81fa22e38 01:09:21 Removing intermediate container 75e81fa22e38 01:09:21 ---> 73d7538e644f 01:09:21 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:09:21 ---> Running in 688fbb663861 01:09:21 Removing intermediate container 688fbb663861 01:09:21 ---> 71409e996d24 01:09:21 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:09:21 ---> Running in 4c28378fca9c 01:09:21 Removing intermediate container 4c28378fca9c 01:09:21 ---> 8f5b22bfce62 01:09:21 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:09:21 ---> Running in af465063aeef 01:09:21 Removing intermediate container af465063aeef 01:09:21 ---> 2ec47b08eeef 01:09:21 Step 7/12 : WORKDIR /device-gpio 01:09:21 ---> Running in 3764ae03996b 01:09:21 Removing intermediate container 3764ae03996b 01:09:21 ---> 7ea4c963ea33 01:09:21 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:09:21 ---> Running in 7a2c518616ee 01:09:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:09:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:09:22 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:09:22 (2/4) Installing libedit (20210910.3.1-r0) 01:09:22 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:09:22 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:09:22 Executing busybox-1.35.0-r17.trigger 01:09:22 OK: 216 MiB in 55 packages 01:09:23 Removing intermediate container 7a2c518616ee 01:09:23 ---> 01ade3b3b46e 01:09:23 Step 9/12 : COPY go.mod vendor* ./ 01:09:23 ---> 8fc41ad3e32f 01:09:23 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:09:23 ---> Running in 29bf54e6a069 01:09:23 Still waiting to schedule task 01:09:23 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:09:55 Removing intermediate container 29bf54e6a069 01:09:55 ---> d76c095dba8d 01:09:55 Step 11/12 : COPY . . 01:09:55 ---> 1f3d0731278f 01:09:55 Step 12/12 : RUN ${MAKE} 01:09:55 ---> Running in 59ca34de70f9 01:09:55 noop 01:09:55 Removing intermediate container 59ca34de70f9 01:09:55 ---> 5826164469c2 01:09:55 Successfully built 5826164469c2 01:09:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:09:56 + docker inspect -f . ci-base-image-x86_64 01:09:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:09:56 prd-ubuntu20.04-docker-8c-8g-5655 does not seem to be running inside a container 01:09:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-99 -v /w/workspace/edgexfoundry_device-gpio_PR-99:/w/workspace/edgexfoundry_device-gpio_PR-99:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-99@tmp:/w/workspace/edgexfoundry_device-gpio_PR-99@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:09:56 $ docker top 8c408fef78dc1d818552243c631bee27641fc1631562d6c6eead092818dca450 -eo pid,comm [Pipeline] { [Pipeline] sh 01:09:57 + go version 01:09:57 go version go1.18.7 linux/amd64 [Pipeline] } 01:09:57 $ docker stop --time=1 8c408fef78dc1d818552243c631bee27641fc1631562d6c6eead092818dca450 01:09:58 $ docker rm -f --volumes 8c408fef78dc1d818552243c631bee27641fc1631562d6c6eead092818dca450 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:09:59 + docker inspect -f . ci-base-image-x86_64 01:09:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:09:59 prd-ubuntu20.04-docker-8c-8g-5655 does not seem to be running inside a container 01:09:59 $ 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-99 -v /w/workspace/edgexfoundry_device-gpio_PR-99:/w/workspace/edgexfoundry_device-gpio_PR-99:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-99@tmp:/w/workspace/edgexfoundry_device-gpio_PR-99@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:09:59 $ docker top 5b795a7ee4687868acf7348bea0b27d44efd8356eff4dbc02844c75f27d65b73 -eo pid,comm [Pipeline] { [Pipeline] sh 01:10:00 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-99 [Pipeline] fileExists [Pipeline] sh 01:10:00 + make test 01:10:00 go test ./... -coverprofile=coverage.out ./... 01:10:00 ? github.com/edgexfoundry/device-gpio [no test files] 01:10:10 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:10:10 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:10:17 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 01:10:17 go vet ./... 01:10:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:10:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:10:20 ./bin/test-attribution-txt.sh 01:10:20 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 01:10:20 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 01:10:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:10:20 $ docker stop --time=1 5b795a7ee4687868acf7348bea0b27d44efd8356eff4dbc02844c75f27d65b73 01:10:22 $ docker rm -f --volumes 5b795a7ee4687868acf7348bea0b27d44efd8356eff4dbc02844c75f27d65b73 [Pipeline] // withDockerContainer [Pipeline] sh 01:10:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:10:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:10:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:10:23 + ls -al . 01:10:23 total 160 01:10:23 drwxrwxr-x 9 jenkins jenkins 4096 Feb 14 01:10 . 01:10:23 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 01:08 .. 01:10:23 -rw-rw-r-- 1 jenkins jenkins 120 Feb 14 01:08 .dockerignore 01:10:23 drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 01:10 .git 01:10:23 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 01:08 .github 01:10:23 -rw-rw-r-- 1 jenkins jenkins 343 Feb 14 01:08 .gitignore 01:10:23 -rw-rw-r-- 1 jenkins jenkins 41 Feb 14 01:08 .golangci.yml 01:10:23 drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 01:09 .semver 01:10:23 -rw-rw-r-- 1 jenkins jenkins 9587 Feb 14 01:08 Attribution.txt 01:10:23 -rw-rw-r-- 1 jenkins jenkins 4069 Feb 14 01:08 CHANGELOG.md 01:10:23 -rw-rw-r-- 1 jenkins jenkins 1542 Feb 14 01:08 Dockerfile 01:10:23 -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 01:08 GOVERNANCE.md 01:10:23 -rw-rw-r-- 1 jenkins jenkins 657 Feb 14 01:08 Jenkinsfile 01:10:23 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 14 01:08 LICENSE 01:10:23 -rw-rw-r-- 1 jenkins jenkins 1657 Feb 14 01:08 Makefile 01:10:23 -rw-rw-r-- 1 jenkins jenkins 617 Feb 14 01:08 OWNERS.md 01:10:23 -rw-rw-r-- 1 jenkins jenkins 11842 Feb 14 01:08 README.md 01:10:23 -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 01:09 VERSION 01:10:23 drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 01:08 bin 01:10:23 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 01:08 cmd 01:10:23 -rw-r--r-- 1 jenkins jenkins 10 Feb 14 01:10 coverage.out 01:10:23 -rw-rw-r-- 1 jenkins jenkins 3312 Feb 14 01:08 go.mod 01:10:23 -rw-rw-r-- 1 jenkins jenkins 33120 Feb 14 01:08 go.sum 01:10:23 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 01:08 internal 01:10:23 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 01:08 snap 01:10:23 -rw-rw-r-- 1 jenkins jenkins 209 Feb 14 01:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:10:24 + 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=1aad797642e073bef8a406017961f2d4314d6116 --label arch=amd64 --label version=0.0.0 . 01:10:24 Sending build context to Docker daemon 15.98MB 01:10:24 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 01:10:24 Step 2/25 : FROM ${BASE} AS builder 01:10:24 ---> 5826164469c2 01:10:24 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:10:24 ---> Running in 4127e30d5092 01:10:24 Removing intermediate container 4127e30d5092 01:10:24 ---> ddc363d27927 01:10:24 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:10:24 ---> Running in f9b75e00d7de 01:10:24 Removing intermediate container f9b75e00d7de 01:10:24 ---> a1e7c46c2b38 01:10:24 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:10:24 ---> Running in d01a625a4b8d 01:10:24 Removing intermediate container d01a625a4b8d 01:10:24 ---> fd139ea7bec8 01:10:24 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:10:24 ---> Running in 72ee67a4c789 01:10:24 Removing intermediate container 72ee67a4c789 01:10:24 ---> b0f8d5b0a321 01:10:24 Step 7/25 : WORKDIR /device-gpio 01:10:25 ---> Running in 4d4d67eb7963 01:10:25 Removing intermediate container 4d4d67eb7963 01:10:25 ---> 68a962798945 01:10:25 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:10:25 ---> Running in 37d1ae266acf 01:10:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:10:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:10:25 OK: 216 MiB in 55 packages 01:10:26 Removing intermediate container 37d1ae266acf 01:10:26 ---> 4f2c7bdb5441 01:10:26 Step 9/25 : COPY go.mod vendor* ./ 01:10:26 ---> 7635ff0b02ce 01:10:26 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:10:26 ---> Running in 564cacc3cc85 01:10:27 Removing intermediate container 564cacc3cc85 01:10:27 ---> a82166bf66c9 01:10:27 Step 11/25 : COPY . . 01:10:27 ---> 004b80b1c387 01:10:27 Step 12/25 : RUN ${MAKE} 01:10:27 ---> Running in 9f3ef539f01f 01:10:28 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 01:10:50 Removing intermediate container 9f3ef539f01f 01:10:50 ---> 97bfbb9642d0 01:10:50 Step 13/25 : FROM alpine:3.16 01:10:50 3.16: Pulling from library/alpine 01:10:50 ef5531b6e74e: Pulling fs layer 01:10:50 ef5531b6e74e: Verifying Checksum 01:10:50 ef5531b6e74e: Download complete 01:10:50 ef5531b6e74e: Pull complete 01:10:50 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 01:10:50 Status: Downloaded newer image for alpine:3.16 01:10:50 ---> dfd21b5a31f5 01:10:50 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:10:50 ---> Running in 2099a4a0f8c5 01:10:50 Removing intermediate container 2099a4a0f8c5 01:10:50 ---> d8339a71af64 01:10:50 Step 15/25 : RUN apk add --update --no-cache 01:10:50 ---> Running in 9667127b2d5b 01:10:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:10:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:10:50 OK: 6 MiB in 14 packages 01:10:50 Removing intermediate container 9667127b2d5b 01:10:50 ---> 7c5ffb366618 01:10:50 Step 16/25 : WORKDIR / 01:10:50 ---> Running in 2cb65a897e64 01:10:50 Removing intermediate container 2cb65a897e64 01:10:50 ---> 543837769691 01:10:50 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 01:10:50 ---> 4446d39120ec 01:10:50 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 01:10:50 ---> 29e3c777f8f2 01:10:50 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 01:10:50 ---> d37fe9b59f69 01:10:50 Step 20/25 : EXPOSE 59910 01:10:50 ---> Running in 1c8cffed40b5 01:10:50 Removing intermediate container 1c8cffed40b5 01:10:50 ---> 7d34ed247226 01:10:50 Step 21/25 : ENTRYPOINT ["/device-gpio"] 01:10:50 ---> Running in 8d82158319e7 01:10:50 Removing intermediate container 8d82158319e7 01:10:50 ---> e9b6daa8708f 01:10:50 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:10:50 ---> Running in ed43799b3a0f 01:10:50 Removing intermediate container ed43799b3a0f 01:10:50 ---> 3e70a2c285cd 01:10:50 Step 23/25 : LABEL arch=amd64 01:10:50 ---> Running in 7eec7fb4395b 01:10:51 Removing intermediate container 7eec7fb4395b 01:10:51 ---> 0b98c0797a51 01:10:51 Step 24/25 : LABEL git_sha=1aad797642e073bef8a406017961f2d4314d6116 01:10:51 ---> Running in 6074989bee17 01:10:51 Removing intermediate container 6074989bee17 01:10:51 ---> 9434c5ab3862 01:10:51 Step 25/25 : LABEL version=0.0.0 01:10:51 ---> Running in 20c5abfe7725 01:10:51 Removing intermediate container 20c5abfe7725 01:10:51 ---> af97bd472eb9 01:10:51 [Warning] One or more build-args [ARCH] were not consumed 01:10:51 Successfully built af97bd472eb9 01:10:51 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:10:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:10:52 01:10:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:10:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:10:52 latest: Pulling from edgex-lftools-log-publisher 01:10:52 5eb5b503b376: Pulling fs layer 01:10:52 5c69ac0246d0: Pulling fs layer 01:10:52 ec43610c2a17: Pulling fs layer 01:10:52 3a2ae6a8a46f: Pulling fs layer 01:10:52 33b1e0a273af: Pulling fs layer 01:10:52 5d3b04190fa2: Pulling fs layer 01:10:52 2f39f015ded8: Pulling fs layer 01:10:52 5d3b04190fa2: Waiting 01:10:52 33b1e0a273af: Waiting 01:10:52 2f39f015ded8: Waiting 01:10:52 3a2ae6a8a46f: Waiting 01:10:52 5c69ac0246d0: Download complete 01:10:52 3a2ae6a8a46f: Verifying Checksum 01:10:52 3a2ae6a8a46f: Download complete 01:10:52 33b1e0a273af: Verifying Checksum 01:10:52 33b1e0a273af: Download complete 01:10:52 ec43610c2a17: Verifying Checksum 01:10:52 ec43610c2a17: Download complete 01:10:52 5d3b04190fa2: Verifying Checksum 01:10:52 5d3b04190fa2: Download complete 01:10:53 5eb5b503b376: Verifying Checksum 01:10:53 5eb5b503b376: Download complete 01:10:53 2f39f015ded8: Download complete 01:10:54 5eb5b503b376: Pull complete 01:10:54 5c69ac0246d0: Pull complete 01:10:54 ec43610c2a17: Pull complete 01:10:54 3a2ae6a8a46f: Pull complete 01:10:55 33b1e0a273af: Pull complete 01:10:55 5d3b04190fa2: Pull complete 01:10:59 2f39f015ded8: Pull complete 01:10:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:10:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:10:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:10:59 prd-ubuntu20.04-docker-8c-8g-5655 does not seem to be running inside a container 01:10:59 $ 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-99 -v /w/workspace/edgexfoundry_device-gpio_PR-99:/w/workspace/edgexfoundry_device-gpio_PR-99:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-99@tmp:/w/workspace/edgexfoundry_device-gpio_PR-99@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:11:01 $ docker top 50867d383e66512c378578b9fcf5684ac08764f2330b71b48ec0d68523aefabc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:11:01 ---> job-cost.sh 01:11:01 lf-activate-venv: SKIPPING 01:11:01 INFO: No Stack... 01:11:02 INFO: Retrieving Pricing Info for: v3-standard-8 01:11:02 INFO: Archiving Costs [Pipeline] sh 01:11:02 + cat /w/workspace/edgexfoundry_device-gpio_PR-99/archives/cost.csv 01:11:02 + cut -d, -f6 [Pipeline] lock 01:11:02 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-99-1-stack-cost] 01:11:02 Resource [jenkins-edgexfoundry-device-gpio-PR-99-1-stack-cost] did not exist. Created. 01:11:02 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-99-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:11:03 + echo total: 0.2199999988079071 [Pipeline] stash 01:11:03 Stashed 1 file(s) [Pipeline] } 01:11:03 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-99-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:11:03 $ docker stop --time=1 50867d383e66512c378578b9fcf5684ac08764f2330b71b48ec0d68523aefabc 01:11:04 $ docker rm -f --volumes 50867d383e66512c378578b9fcf5684ac08764f2330b71b48ec0d68523aefabc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:12:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5657 in /w/workspace/edgexfoundry_device-gpio_PR-99 [Pipeline] { [Pipeline] ws 01:12:27 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 01:12:28 The recommended git tool is: git 01:12:35 using credential edgex-jenkins-ssh 01:12:35 Cloning the remote Git repository 01:12:35 Cloning repository git@github.com:edgexfoundry/device-gpio.git 01:12:35 > git init /w/workspace/device-gpio/1 # timeout=10 01:12:36 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:12:36 > git --version # timeout=10 01:12:36 > git --version # 'git version 2.25.1' 01:12:36 using GIT_SSH to set credentials SSH Credentials for GitHub 01:12:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:12:38 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:12:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:12:39 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:12:39 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:12:39 using GIT_SSH to set credentials SSH Credentials for GitHub 01:12:40 Merging remotes/origin/main commit 9fd98a26a9ea9701925160950e3b0ed34522a85d into PR head commit 1aad797642e073bef8a406017961f2d4314d6116 01:12:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/99/head:refs/remotes/origin/PR-99 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:12:40 > git config core.sparsecheckout # timeout=10 01:12:41 > git checkout -f 1aad797642e073bef8a406017961f2d4314d6116 # timeout=10 01:12:41 > git remote # timeout=10 01:12:41 > git config --get remote.origin.url # timeout=10 01:12:41 using GIT_SSH to set credentials SSH Credentials for GitHub 01:12:41 > git merge 9fd98a26a9ea9701925160950e3b0ed34522a85d # timeout=10 01:12:41 > git rev-parse HEAD^{commit} # timeout=10 01:12:41 Merge succeeded, producing 1aad797642e073bef8a406017961f2d4314d6116 01:12:41 Checking out Revision 1aad797642e073bef8a406017961f2d4314d6116 (PR-99) 01:12:42 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 01:12:42 > git --version # timeout=10 01:12:42 > git --version # 'git version 2.25.1' 01:12:42 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 01:12:41 > git config core.sparsecheckout # timeout=10 01:12:41 > git checkout -f 1aad797642e073bef8a406017961f2d4314d6116 # timeout=10 [Pipeline] sh 01:12:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:12:43 % Total % Received % Xferd Average Speed Time Time Time Current 01:12:43 Dload Upload Total Spent Left Speed 01:12:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 70838 0 --:--:-- --:--:-- --:--:-- 70838 [Pipeline] sh 01:12:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:12:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:12:45 + sudo tee /etc/docker/daemon.new 01:12:45 { 01:12:45 "registry-mirrors": [ 01:12:45 "https://nexus3.edgexfoundry.org:10001" 01:12:45 ], 01:12:45 "bip": "10.250.0.254/24", 01:12:45 "hosts": [ 01:12:45 "tcp://0.0.0.0:5555", 01:12:45 "unix:///var/run/docker.sock" 01:12:45 ], 01:12:45 "mtu": 1458, 01:12:45 "selinux-enabled": true, 01:12:45 "seccomp-profile": "/etc/docker/seccomp.json" 01:12:45 } [Pipeline] sh 01:12:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:12:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:13:04 provisioning config files... 01:13:04 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config5185094581811158365tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:13:05 ---> docker-login.sh 01:13:05 nexus3.edgexfoundry.org:10001 01:13:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:13:05 Configure a credential helper to remove this warning. See 01:13:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:13:05 01:13:05 Login Succeeded 01:13:05 nexus3.edgexfoundry.org:10002 01:13:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:13:06 Configure a credential helper to remove this warning. See 01:13:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:13:06 01:13:06 Login Succeeded 01:13:06 nexus3.edgexfoundry.org:10003 01:13:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:13:06 Configure a credential helper to remove this warning. See 01:13:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:13:06 01:13:06 Login Succeeded 01:13:06 nexus3.edgexfoundry.org:10004 01:13:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:13:07 Configure a credential helper to remove this warning. See 01:13:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:13:07 01:13:07 Login Succeeded 01:13:07 docker.io 01:13:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:13:07 Configure a credential helper to remove this warning. See 01:13:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:13:07 01:13:07 Login Succeeded 01:13:07 ---> docker-login.sh ends [Pipeline] } 01:13:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:13:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:13:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:13:08 ========================================================= 01:13:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:13:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:13:08 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 01:13:09 Sending build context to Docker daemon 8.065MB 01:13:09 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:13:09 Step 2/12 : FROM ${BASE} AS builder 01:13:09 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:13:09 9b18e9b68314: Pulling fs layer 01:13:09 35d82f9e3411: Pulling fs layer 01:13:09 e16973657156: Pulling fs layer 01:13:09 fc693d55d65f: Pulling fs layer 01:13:09 7e9fc2657dce: Pulling fs layer 01:13:09 dda99020689f: Pulling fs layer 01:13:09 db1c61fa0a46: Pulling fs layer 01:13:09 891c053d2c06: Pulling fs layer 01:13:09 dda99020689f: Waiting 01:13:09 db1c61fa0a46: Waiting 01:13:09 891c053d2c06: Waiting 01:13:09 fc693d55d65f: Waiting 01:13:09 7e9fc2657dce: Waiting 01:13:09 e16973657156: Verifying Checksum 01:13:09 e16973657156: Download complete 01:13:09 35d82f9e3411: Download complete 01:13:09 7e9fc2657dce: Download complete 01:13:09 9b18e9b68314: Verifying Checksum 01:13:09 9b18e9b68314: Download complete 01:13:10 9b18e9b68314: Pull complete 01:13:10 891c053d2c06: Verifying Checksum 01:13:10 891c053d2c06: Download complete 01:13:11 35d82f9e3411: Pull complete 01:13:11 e16973657156: Pull complete 01:13:11 db1c61fa0a46: Verifying Checksum 01:13:12 fc693d55d65f: Verifying Checksum 01:13:12 fc693d55d65f: Download complete 01:13:24 fc693d55d65f: Pull complete 01:13:24 7e9fc2657dce: Pull complete 01:13:24 dda99020689f: Pull complete 01:13:29 db1c61fa0a46: Pull complete 01:13:31 891c053d2c06: Pull complete 01:13:31 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 01:13:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:13:31 ---> f96f9c87975a 01:13:31 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:13:33 ---> Running in 6cac6a1d5f36 01:13:34 Removing intermediate container 6cac6a1d5f36 01:13:34 ---> e34f999c7fee 01:13:34 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:13:34 ---> Running in 391c0a5a0c50 01:13:34 Removing intermediate container 391c0a5a0c50 01:13:34 ---> f1729afb7540 01:13:34 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:13:34 ---> Running in 7dba0949394e 01:13:34 Removing intermediate container 7dba0949394e 01:13:34 ---> 50913a5c554c 01:13:34 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:13:34 ---> Running in 2610c881918a 01:13:35 Removing intermediate container 2610c881918a 01:13:35 ---> 8c69115a3afd 01:13:35 Step 7/12 : WORKDIR /device-gpio 01:13:35 ---> Running in b4015a5dd1e3 01:13:35 Removing intermediate container b4015a5dd1e3 01:13:35 ---> 8ee226475454 01:13:35 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:13:35 ---> Running in 2214bab6dbc8 01:13:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:13:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:13:38 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:13:38 (2/4) Installing libedit (20210910.3.1-r0) 01:13:38 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:13:38 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:13:38 Executing busybox-1.35.0-r17.trigger 01:13:38 OK: 226 MiB in 55 packages 01:13:39 Removing intermediate container 2214bab6dbc8 01:13:39 ---> 5361614b4ddd 01:13:39 Step 9/12 : COPY go.mod vendor* ./ 01:13:39 ---> 3e53831bd836 01:13:39 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:13:39 ---> Running in 4258593fd7d8 01:15:01 Removing intermediate container 4258593fd7d8 01:15:01 ---> caacc6c94a8e 01:15:01 Step 11/12 : COPY . . 01:15:01 ---> 3010e34bbcf2 01:15:01 Step 12/12 : RUN ${MAKE} 01:15:01 ---> Running in 7c0d4f7d77ef 01:15:01 noop 01:15:01 Removing intermediate container 7c0d4f7d77ef 01:15:01 ---> 287952678d51 01:15:01 Successfully built 287952678d51 01:15:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:02 + docker inspect -f . ci-base-image-arm64 01:15:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:15:02 prd-ubuntu20.04-docker-arm64-4c-16g-5657 does not seem to be running inside a container 01:15:02 $ 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:15:03 $ docker top 3edaf1938ed167ec5fb78f09cee0e574363620b41dd3857c9ce1b64446b1e04c -eo pid,comm [Pipeline] { [Pipeline] sh 01:15:04 + go version 01:15:04 go version go1.18.7 linux/arm64 [Pipeline] } 01:15:04 $ docker stop --time=1 3edaf1938ed167ec5fb78f09cee0e574363620b41dd3857c9ce1b64446b1e04c 01:15:06 $ docker rm -f --volumes 3edaf1938ed167ec5fb78f09cee0e574363620b41dd3857c9ce1b64446b1e04c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:07 + docker inspect -f . ci-base-image-arm64 01:15:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:15:07 prd-ubuntu20.04-docker-arm64-4c-16g-5657 does not seem to be running inside a container 01:15:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:15:08 $ docker top 54bcaeca9c457eb5e8e4a58438fe71d39771e93f1d2025cac53ff64dcbef4f9e -eo pid,comm [Pipeline] { [Pipeline] sh 01:15:09 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 01:15:09 + make test 01:15:09 go test ./... -coverprofile=coverage.out ./... 01:15:11 ? github.com/edgexfoundry/device-gpio [no test files] 01:16:33 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:16:33 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:16:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:16:33 go vet ./... 01:16:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:16:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:16:55 ./bin/test-attribution-txt.sh 01:16:55 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 01:16:55 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 01:16:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:16:55 $ docker stop --time=1 54bcaeca9c457eb5e8e4a58438fe71d39771e93f1d2025cac53ff64dcbef4f9e 01:16:57 $ docker rm -f --volumes 54bcaeca9c457eb5e8e4a58438fe71d39771e93f1d2025cac53ff64dcbef4f9e [Pipeline] // withDockerContainer [Pipeline] sh 01:16:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:16:58 Warning: overwriting stash ‘coverage-report’ 01:16:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:16:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:17:00 + ls -al . 01:17:00 total 156 01:17:00 drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 01:15 . 01:17:00 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 01:12 .. 01:17:00 -rw-rw-r-- 1 jenkins jenkins 120 Feb 14 01:12 .dockerignore 01:17:00 drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 01:12 .git 01:17:00 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 01:12 .github 01:17:00 -rw-rw-r-- 1 jenkins jenkins 343 Feb 14 01:12 .gitignore 01:17:00 -rw-rw-r-- 1 jenkins jenkins 41 Feb 14 01:12 .golangci.yml 01:17:00 -rw-rw-r-- 1 jenkins jenkins 9587 Feb 14 01:12 Attribution.txt 01:17:00 -rw-rw-r-- 1 jenkins jenkins 4069 Feb 14 01:12 CHANGELOG.md 01:17:00 -rw-rw-r-- 1 jenkins jenkins 1542 Feb 14 01:12 Dockerfile 01:17:00 -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 01:12 GOVERNANCE.md 01:17:00 -rw-rw-r-- 1 jenkins jenkins 657 Feb 14 01:12 Jenkinsfile 01:17:00 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 14 01:12 LICENSE 01:17:00 -rw-rw-r-- 1 jenkins jenkins 1657 Feb 14 01:12 Makefile 01:17:00 -rw-rw-r-- 1 jenkins jenkins 617 Feb 14 01:12 OWNERS.md 01:17:00 -rw-rw-r-- 1 jenkins jenkins 11842 Feb 14 01:12 README.md 01:17:00 -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 01:09 VERSION 01:17:00 drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 01:12 bin 01:17:00 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 01:12 cmd 01:17:00 -rw-r--r-- 1 jenkins jenkins 10 Feb 14 01:15 coverage.out 01:17:00 -rw-rw-r-- 1 jenkins jenkins 3312 Feb 14 01:12 go.mod 01:17:00 -rw-rw-r-- 1 jenkins jenkins 33120 Feb 14 01:12 go.sum 01:17:00 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 01:12 internal 01:17:00 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 01:12 snap 01:17:00 -rw-rw-r-- 1 jenkins jenkins 209 Feb 14 01:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:00 + 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=1aad797642e073bef8a406017961f2d4314d6116 --label arch=arm64 --label version=0.0.0 . 01:17:00 Sending build context to Docker daemon 8.066MB 01:17:00 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 01:17:00 Step 2/25 : FROM ${BASE} AS builder 01:17:00 ---> 287952678d51 01:17:00 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:17:01 ---> Running in fd125cdcc758 01:17:01 Removing intermediate container fd125cdcc758 01:17:01 ---> c1b38523d49c 01:17:01 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:17:01 ---> Running in ce51fa196f66 01:17:01 Removing intermediate container ce51fa196f66 01:17:01 ---> dd18d86b9fa6 01:17:01 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:17:02 ---> Running in ff7699aa1928 01:17:02 Removing intermediate container ff7699aa1928 01:17:02 ---> 753591094172 01:17:02 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:17:02 ---> Running in 01177ea0708f 01:17:02 Removing intermediate container 01177ea0708f 01:17:02 ---> 4b1179e307f4 01:17:02 Step 7/25 : WORKDIR /device-gpio 01:17:02 ---> Running in 3183e21a8b1e 01:17:03 Removing intermediate container 3183e21a8b1e 01:17:03 ---> cdb8ff30a4bc 01:17:03 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:17:03 ---> Running in 137f01441683 01:17:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:17:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:17:05 OK: 226 MiB in 55 packages 01:17:06 Removing intermediate container 137f01441683 01:17:06 ---> 8594cc609588 01:17:06 Step 9/25 : COPY go.mod vendor* ./ 01:17:07 ---> fa3a83eced44 01:17:07 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:17:07 ---> Running in 7fc563f1b6e5 01:17:10 Removing intermediate container 7fc563f1b6e5 01:17:10 ---> 6123f89ccf55 01:17:10 Step 11/25 : COPY . . 01:17:11 ---> f013e4803d5f 01:17:11 Step 12/25 : RUN ${MAKE} 01:17:11 ---> Running in 3aae618041d8 01:17:12 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:19:18 Removing intermediate container 3aae618041d8 01:19:18 ---> a879fd115d35 01:19:18 Step 13/25 : FROM alpine:3.16 01:19:18 3.16: Pulling from library/alpine 01:19:18 3760b48202b3: Pulling fs layer 01:19:18 3760b48202b3: Verifying Checksum 01:19:18 3760b48202b3: Download complete 01:19:18 3760b48202b3: Pull complete 01:19:18 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 01:19:18 Status: Downloaded newer image for alpine:3.16 01:19:18 ---> 4c81e5bf8899 01:19:18 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:19:18 ---> Running in b4f2f88bc896 01:19:18 Removing intermediate container b4f2f88bc896 01:19:18 ---> c36ed821e86e 01:19:18 Step 15/25 : RUN apk add --update --no-cache 01:19:18 ---> Running in ac8c6133522a 01:19:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:19:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:19:18 OK: 5 MiB in 14 packages 01:19:18 Removing intermediate container ac8c6133522a 01:19:18 ---> 26d843e7f7f7 01:19:18 Step 16/25 : WORKDIR / 01:19:18 ---> Running in 12463b755d55 01:19:18 Removing intermediate container 12463b755d55 01:19:18 ---> a19f8d4543ac 01:19:18 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 01:19:18 ---> f81ee0b1026f 01:19:18 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 01:19:18 ---> a274e97a63f1 01:19:18 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 01:19:19 ---> a7650ebc2446 01:19:19 Step 20/25 : EXPOSE 59910 01:19:19 ---> Running in 5739a0d544d6 01:19:19 Removing intermediate container 5739a0d544d6 01:19:19 ---> a38fc0e7639e 01:19:19 Step 21/25 : ENTRYPOINT ["/device-gpio"] 01:19:19 ---> Running in c3339dd7e759 01:19:19 Removing intermediate container c3339dd7e759 01:19:19 ---> 25f2908a3faf 01:19:19 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:19:19 ---> Running in 21951889f4cc 01:19:20 Removing intermediate container 21951889f4cc 01:19:20 ---> 6146d05fef3e 01:19:20 Step 23/25 : LABEL arch=arm64 01:19:20 ---> Running in f1586fc351f4 01:19:20 Removing intermediate container f1586fc351f4 01:19:20 ---> 5b84a9958568 01:19:20 Step 24/25 : LABEL git_sha=1aad797642e073bef8a406017961f2d4314d6116 01:19:20 ---> Running in afaf5e28ff3b 01:19:21 Removing intermediate container afaf5e28ff3b 01:19:21 ---> ed313c5d07d0 01:19:21 Step 25/25 : LABEL version=0.0.0 01:19:21 ---> Running in 80a86d85e765 01:19:21 Removing intermediate container 80a86d85e765 01:19:21 ---> 168600ebeb14 01:19:21 [Warning] One or more build-args [ARCH] were not consumed 01:19:21 Successfully built 168600ebeb14 01:19:21 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:19:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:19:22 01:19:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:19:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:19:22 arm64: Pulling from edgex-lftools-log-publisher 01:19:22 8998bd30e6a1: Pulling fs layer 01:19:22 04944245beec: Pulling fs layer 01:19:22 699f458cf7ca: Pulling fs layer 01:19:22 765212b225bb: Pulling fs layer 01:19:22 f23df028b6ca: Pulling fs layer 01:19:22 d65c8cfc05b1: Pulling fs layer 01:19:22 2437ff75d9bd: Pulling fs layer 01:19:22 765212b225bb: Waiting 01:19:22 f23df028b6ca: Waiting 01:19:22 d65c8cfc05b1: Waiting 01:19:22 2437ff75d9bd: Waiting 01:19:23 04944245beec: Verifying Checksum 01:19:23 04944245beec: Download complete 01:19:23 765212b225bb: Verifying Checksum 01:19:23 765212b225bb: Download complete 01:19:23 f23df028b6ca: Verifying Checksum 01:19:23 f23df028b6ca: Download complete 01:19:23 d65c8cfc05b1: Verifying Checksum 01:19:23 d65c8cfc05b1: Download complete 01:19:23 699f458cf7ca: Verifying Checksum 01:19:23 699f458cf7ca: Download complete 01:19:23 8998bd30e6a1: Verifying Checksum 01:19:23 8998bd30e6a1: Download complete 01:19:26 2437ff75d9bd: Verifying Checksum 01:19:28 8998bd30e6a1: Pull complete 01:19:28 04944245beec: Pull complete 01:19:29 699f458cf7ca: Pull complete 01:19:30 765212b225bb: Pull complete 01:19:31 f23df028b6ca: Pull complete 01:19:31 d65c8cfc05b1: Pull complete 01:19:46 2437ff75d9bd: Pull complete 01:19:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:19:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:19:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:19:46 prd-ubuntu20.04-docker-arm64-4c-16g-5657 does not seem to be running inside a container 01:19:46 $ 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:19:49 $ docker top b00ea98f5b5f23e61be9e31ea449e8129e3349c1c402f3a09c3832f8ec979e54 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:19:50 ---> job-cost.sh 01:19:50 lf-activate-venv: SKIPPING 01:19:50 INFO: No Stack... 01:19:50 INFO: Retrieving Pricing Info for: v3-standard-4 01:19:51 INFO: Archiving Costs [Pipeline] sh 01:19:52 + cat /w/workspace/device-gpio/1/archives/cost.csv 01:19:52 + cut -d, -f6 [Pipeline] lock 01:19:52 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-99-1-stack-cost] 01:19:52 Resource [jenkins-edgexfoundry-device-gpio-PR-99-1-stack-cost] did not exist. Created. 01:19:52 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-99-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:19:53 /w/workspace/device-gpio/1@tmp/durable-c75087bc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:19:53 + echo total: 0.10999999940395355 [Pipeline] stash 01:19:54 Warning: overwriting stash ‘stack-cost’ 01:19:54 Stashed 1 file(s) [Pipeline] } 01:19:54 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-99-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:19:54 $ docker stop --time=1 b00ea98f5b5f23e61be9e31ea449e8129e3349c1c402f3a09c3832f8ec979e54 01:19:55 $ docker rm -f --volumes b00ea98f5b5f23e61be9e31ea449e8129e3349c1c402f3a09c3832f8ec979e54 [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:19:56 provisioning config files... 01:19:56 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-99@tmp/config14930166830393869764tmp [Pipeline] { [Pipeline] sh 01:19:56 + set +x 01:19:56 + curl -s https://codecov.io/bash 01:19:56 + bash -s -- 01:19:56 01:19:56 _____ _ 01:19:56 / ____| | | 01:19:56 | | ___ __| | ___ ___ _____ __ 01:19:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:19:56 | |___| (_) | (_| | __/ (_| (_) \ V / 01:19:56 \_____\___/ \__,_|\___|\___\___/ \_/ 01:19:56 Bash-1.0.6 01:19:56 01:19:56 01:19:56 ==> git version 2.25.1 found 01:19:56 ==> 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:19:56 Release-Date: 2020-01-08 01:19:56 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:19:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:19:56 ==> Jenkins CI detected. 01:19:56 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-99 01:19:56 project root: . 01:19:56 --> token set from env 01:19:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:19:56 ==> Running gcov in . (disable via -X gcov) 01:19:56 ==> Python coveragepy not found 01:19:56 ==> Searching for coverage reports in: 01:19:56 + . 01:19:56 -> Found 1 reports 01:19:56 ==> Detecting git/mercurial file structure 01:19:56 ==> Reading reports 01:19:56 + ./coverage.out bytes=10 01:19:57 ==> Appending adjustments 01:19:57 https://docs.codecov.io/docs/fixing-reports 01:19:57 + Found adjustments 01:19:57 ==> Gzipping contents 01:19:57 4.0K /tmp/codecov.m0FVvi.gz 01:19:57 ==> Uploading reports 01:19:57 url: https://codecov.io 01:19:57 query: branch=PR-99&commit=1aad797642e073bef8a406017961f2d4314d6116&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-99%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=99&job=&cmd_args= 01:19:57 -> Pinging Codecov 01:19:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-99&commit=1aad797642e073bef8a406017961f2d4314d6116&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-99%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=99&job=&cmd_args= 01:19:57 -> Uploading to 01:19:57 https://storage.googleapis.com/codecov/v4/raw/2023-02-14/3EC07B1A8CA8AF9BCAA0BB9F0134797F/1aad797642e073bef8a406017961f2d4314d6116/480fbbdc-645f-46de-9797-10e3f1f56d31.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230214T011957Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ca0a57580204b53cb6bf11c5327c4c481e83dd3175a7b8e369df5127905cf407 01:19:57 % Total % Received % Xferd Average Speed Time Time Time Current 01:19:57 Dload Upload Total Spent Left Speed 01:19:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 742 0 0 100 742 0 2481 --:--:-- --:--:-- --:--:-- 2481 01:19:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/1aad797642e073bef8a406017961f2d4314d6116 [Pipeline] } 01:19:57 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:19:59 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-99/archives ] 01:19:59 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-99/archives 01:19:59 total 16 01:19:59 drwxr-xr-x 3 root root 4096 Feb 14 01:11 . 01:19:59 drwxrwxr-x 10 jenkins jenkins 4096 Feb 14 01:11 .. 01:19:59 drwxr-xr-x 2 root root 4096 Feb 14 01:11 cost 01:19:59 -rw-r--r-- 1 root root 82 Feb 14 01:11 cost.csv 01:19:59 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-99/archives 01:19:59 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-99/archives 01:19:59 total 16 01:19:59 drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 01:11 . 01:19:59 drwxrwxr-x 10 jenkins jenkins 4096 Feb 14 01:11 .. 01:19:59 drwxr-xr-x 2 jenkins jenkins 4096 Feb 14 01:11 cost 01:19:59 -rw-r--r-- 1 jenkins jenkins 82 Feb 14 01:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:19:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:20:00 ---> package-listing.sh 01:20:00 ++ tr '[:upper:]' '[:lower:]' 01:20:00 ++ facter osfamily 01:20:01 + OS_FAMILY=debian 01:20:01 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-99 01:20:01 + START_PACKAGES=/tmp/packages_start.txt 01:20:01 + END_PACKAGES=/tmp/packages_end.txt 01:20:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:20:01 + PACKAGES=/tmp/packages_start.txt 01:20:01 + '[' /w/workspace/edgexfoundry_device-gpio_PR-99 ']' 01:20:01 + PACKAGES=/tmp/packages_end.txt 01:20:01 + case "${OS_FAMILY}" in 01:20:01 + dpkg -l 01:20:01 + grep '^ii' 01:20:01 + '[' -f /tmp/packages_start.txt ']' 01:20:01 + '[' -f /tmp/packages_end.txt ']' 01:20:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:20:01 + '[' /w/workspace/edgexfoundry_device-gpio_PR-99 ']' 01:20:01 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-99/archives/ 01:20:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-99/archives/ [Pipeline] echo 01:20:01 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-99/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:20:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:20:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:20:02 prd-ubuntu20.04-docker-8c-8g-5655 does not seem to be running inside a container 01:20:02 $ 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-99/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-99 -v /w/workspace/edgexfoundry_device-gpio_PR-99:/w/workspace/edgexfoundry_device-gpio_PR-99:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-99@tmp:/w/workspace/edgexfoundry_device-gpio_PR-99@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:20:02 $ docker top 84a16b07b139a7c2843193b8f745cc92ecb4a02bed8ebdaa5f1379aad8df1bcb -eo pid,comm [Pipeline] { [Pipeline] sh 01:20:02 + touch /tmp/pre-build-complete [Pipeline] sh 01:20:03 + mkdir -p /var/log/sysstat [Pipeline] sh 01:20:03 + ls /var/log/sa-host 01:20:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:20:03 provisioning config files... 01:20:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-99@tmp/config3409419757554289051tmp [Pipeline] { [Pipeline] echo 01:20:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:20:04 ---> create-netrc.sh [Pipeline] } 01:20:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:20:04 ---> python-tools-install.sh [Pipeline] echo 01:20:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:20:04 ---> sudo-logs.sh 01:20:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:20:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:20:05 ---> job-cost.sh 01:20:05 lf-activate-venv: SKIPPING 01:20:05 DEBUG: total: 0.2199999988079071 01:20:05 INFO: Retrieving Stack Cost... 01:20:05 INFO: Retrieving Pricing Info for: v3-standard-8 01:20:06 INFO: Archiving Costs [Pipeline] echo 01:20:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:20:06 ---> logs-deploy.sh 01:20:06 lf-activate-venv: SKIPPING 01:20:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-99/1 01:20:06 INFO: archiving workspace using pattern(s): 01:20:07 Archives upload complete. 01:20:07 INFO: archiving logs to Nexus 01:20:08 ---> uname -a: 01:20:08 Linux prd-ubuntu20-04-docker-8c-8g-5655 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 01:20:08 01:20:08 01:20:08 ---> lscpu: 01:20:08 Architecture: x86_64 01:20:08 CPU op-mode(s): 32-bit, 64-bit 01:20:08 Byte Order: Little Endian 01:20:08 Address sizes: 40 bits physical, 48 bits virtual 01:20:08 CPU(s): 8 01:20:08 On-line CPU(s) list: 0-7 01:20:08 Thread(s) per core: 1 01:20:08 Core(s) per socket: 1 01:20:08 Socket(s): 8 01:20:08 NUMA node(s): 1 01:20:08 Vendor ID: AuthenticAMD 01:20:08 CPU family: 23 01:20:08 Model: 49 01:20:08 Model name: AMD EPYC-Rome Processor 01:20:08 Stepping: 0 01:20:08 CPU MHz: 2799.994 01:20:08 BogoMIPS: 5599.98 01:20:08 Virtualization: AMD-V 01:20:08 Hypervisor vendor: KVM 01:20:08 Virtualization type: full 01:20:08 L1d cache: 256 KiB 01:20:08 L1i cache: 256 KiB 01:20:08 L2 cache: 4 MiB 01:20:08 L3 cache: 128 MiB 01:20:08 NUMA node0 CPU(s): 0-7 01:20:08 Vulnerability Itlb multihit: Not affected 01:20:08 Vulnerability L1tf: Not affected 01:20:08 Vulnerability Mds: Not affected 01:20:08 Vulnerability Meltdown: Not affected 01:20:08 Vulnerability Mmio stale data: Not affected 01:20:08 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:20:08 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 01:20:08 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 01:20:08 Vulnerability Srbds: Not affected 01:20:08 Vulnerability Tsx async abort: Not affected 01:20:08 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:20:08 01:20:08 01:20:08 ---> nproc: 01:20:08 8 01:20:08 01:20:08 01:20:08 ---> df -h: 01:20:08 Filesystem Size Used Avail Use% Mounted on 01:20:08 overlay 155G 12G 144G 8% / 01:20:08 tmpfs 64M 0 64M 0% /dev 01:20:08 tmpfs 16G 0 16G 0% /sys/fs/cgroup 01:20:08 shm 64M 0 64M 0% /dev/shm 01:20:08 /dev/vda1 155G 12G 144G 8% /facter-os 01:20:08 01:20:08 01:20:08 ---> sar -b -r -n DEV: 01:20:08 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-5655) 02/14/23 _x86_64_ (8 CPU) 01:20:08 01:20:08 01:08:12 LINUX RESTART (8 CPU) 01:20:08 01:20:08 01:09:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 01:20:08 01:10:01 197.54 1.64 195.90 0.00 66.01 73957.57 0.00 01:20:08 01:11:01 169.52 0.17 169.36 0.00 8.13 40375.40 0.00 01:20:08 01:12:01 4.40 0.00 4.40 0.00 0.00 65.61 0.00 01:20:08 01:13:01 1.57 0.00 1.57 0.00 0.00 17.46 0.00 01:20:08 01:14:01 54.61 11.60 43.01 0.00 5176.74 8793.20 0.00 01:20:08 01:15:01 5.22 0.02 5.20 0.00 0.13 113.98 0.00 01:20:08 01:16:01 1.53 0.00 1.53 0.00 0.00 16.93 0.00 01:20:08 01:17:01 1.63 0.02 1.62 0.00 0.13 18.13 0.00 01:20:08 01:18:01 1.13 0.00 1.13 0.00 0.00 12.00 0.00 01:20:08 01:19:01 1.83 0.00 1.83 0.00 0.00 20.66 0.00 01:20:08 01:20:01 2.70 0.25 2.45 0.00 19.33 32.66 0.00 01:20:08 Average: 39.92 1.24 38.67 0.00 479.74 11125.76 0.00 01:20:08 01:20:08 01:09:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 01:20:08 01:10:01 28219716 31384136 918104 2.79 145908 3217404 2339328 6.89 1324704 2884116 15940 01:20:08 01:11:01 27660636 31570784 730080 2.22 159572 3894424 1817484 5.36 1218172 3494872 308 01:20:08 01:12:01 27671440 31582008 718932 2.19 159696 3894428 1795360 5.29 1218628 3482744 8 01:20:08 01:13:01 27670484 31581296 719016 2.19 159728 3894428 1795360 5.29 1218936 3482744 12 01:20:08 01:14:01 27151700 31564960 716780 2.18 193280 4349568 1820088 5.36 1538304 3647324 1008 01:20:08 01:15:01 27157468 31565728 716444 2.18 191828 4346316 1801580 5.31 1536768 3644108 220 01:20:08 01:16:01 27167352 31575680 706540 2.15 191848 4346320 1801580 5.31 1527756 3644112 8 01:20:08 01:17:01 27167028 31575488 706724 2.15 191880 4346320 1801580 5.31 1527716 3644196 8 01:20:08 01:18:01 27167152 31575728 706328 2.15 191904 4346324 1801580 5.31 1527392 3644196 12 01:20:08 01:19:01 27167032 31575676 706324 2.15 191944 4346328 1801580 5.31 1527624 3644200 4 01:20:08 01:20:01 27162576 31572824 708996 2.16 192028 4347556 1812976 5.34 1530968 3644768 496 01:20:08 Average: 27396599 31556755 732206 2.23 179056 4120856 1853500 5.46 1426997 3532489 1639 01:20:08 01:20:08 01:09:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 01:20:08 01:10:01 vethdd8d0d0 0.00 0.12 0.00 0.01 0.00 0.00 0.00 0.00 01:20:08 01:10:01 lo 2.78 2.78 0.27 0.27 0.00 0.00 0.00 0.00 01:20:08 01:10:01 ens3 447.07 345.68 6209.98 48.00 0.00 0.00 0.00 0.00 01:20:08 01:10:01 docker0 204.13 262.64 16.28 2092.72 0.00 0.00 0.00 0.00 01:20:08 01:11:01 lo 2.07 2.07 0.20 0.20 0.00 0.00 0.00 0.00 01:20:08 01:11:01 ens3 189.82 145.38 2667.87 99.53 0.00 0.00 0.00 0.00 01:20:08 01:11:01 docker0 7.02 11.78 0.40 81.39 0.00 0.00 0.00 0.00 01:20:08 01:12:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 01:20:08 01:12:01 ens3 7.57 4.55 10.77 2.38 0.00 0.00 0.00 0.00 01:20:08 01:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:20:08 01:13:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:20:08 01:13:01 ens3 1.08 0.45 0.40 0.28 0.00 0.00 0.00 0.00 01:20:08 01:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:20:08 01:14:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 01:20:08 01:14:01 ens3 179.25 95.15 2787.98 7.16 0.00 0.00 0.00 0.00 01:20:08 01:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:20:08 01:15:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:20:08 01:15:01 ens3 0.28 0.22 0.02 0.02 0.00 0.00 0.00 0.00 01:20:08 01:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:20:08 01:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:20:08 01:16:01 ens3 1.03 0.53 0.37 0.22 0.00 0.00 0.00 0.00 01:20:08 01:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:20:08 01:17:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:20:08 01:17:01 ens3 0.15 0.13 0.01 0.01 0.00 0.00 0.00 0.00 01:20:08 01:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:20:08 01:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:20:08 01:18:01 ens3 0.13 0.00 0.01 0.00 0.00 0.00 0.00 0.00 01:20:08 01:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:20:08 01:19:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:20:08 01:19:01 ens3 0.35 0.23 0.09 0.07 0.00 0.00 0.00 0.00 01:20:08 01:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:20:08 01:20:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 01:20:08 01:20:01 ens3 10.25 6.23 10.48 3.52 0.00 0.00 0.00 0.00 01:20:08 01:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:20:08 Average: lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 01:20:08 Average: ens3 75.53 53.97 1054.78 14.60 0.00 0.00 0.00 0.00 01:20:08 Average: docker0 18.92 24.59 1.49 194.79 0.00 0.00 0.00 0.00 01:20:08 01:20:08 01:20:08 ---> sar -P ALL: 01:20:08 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-5655) 02/14/23 _x86_64_ (8 CPU) 01:20:08 01:20:08 01:08:12 LINUX RESTART (8 CPU) 01:20:08 01:20:08 01:09:02 CPU %user %nice %system %iowait %steal %idle 01:20:08 01:10:01 all 10.69 0.00 4.89 1.47 0.07 82.89 01:20:08 01:10:01 0 11.33 0.00 5.17 0.24 0.07 83.19 01:20:08 01:10:01 1 10.40 0.00 4.40 0.12 0.07 85.00 01:20:08 01:10:01 2 11.52 0.00 5.61 0.77 0.07 82.03 01:20:08 01:10:01 3 9.53 0.00 5.08 5.60 0.07 79.72 01:20:08 01:10:01 4 11.37 0.00 4.83 1.37 0.07 82.36 01:20:08 01:10:01 5 11.11 0.00 5.08 2.38 0.07 81.37 01:20:08 01:10:01 6 9.26 0.00 4.67 1.01 0.07 85.00 01:20:08 01:10:01 7 10.96 0.00 4.28 0.28 0.05 84.43 01:20:08 01:11:01 all 38.91 0.00 7.20 1.05 0.09 52.75 01:20:08 01:11:01 0 37.64 0.00 8.21 0.42 0.08 53.64 01:20:08 01:11:01 1 39.68 0.00 7.06 0.03 0.07 53.16 01:20:08 01:11:01 2 38.23 0.00 7.56 0.15 0.08 53.97 01:20:08 01:11:01 3 37.61 0.00 6.31 0.22 0.08 55.77 01:20:08 01:11:01 4 36.12 0.00 6.98 5.85 0.10 50.95 01:20:08 01:11:01 5 41.41 0.00 7.37 0.19 0.08 50.95 01:20:08 01:11:01 6 40.95 0.00 6.79 0.27 0.08 51.91 01:20:08 01:11:01 7 39.62 0.00 7.32 1.28 0.10 51.68 01:20:08 01:12:01 all 0.15 0.00 0.10 0.01 0.00 99.74 01:20:08 01:12:01 0 0.12 0.00 0.13 0.02 0.00 99.73 01:20:08 01:12:01 1 0.18 0.00 0.07 0.00 0.00 99.75 01:20:08 01:12:01 2 0.13 0.00 0.12 0.00 0.00 99.75 01:20:08 01:12:01 3 0.17 0.00 0.08 0.00 0.02 99.73 01:20:08 01:12:01 4 0.10 0.00 0.07 0.08 0.00 99.75 01:20:08 01:12:01 5 0.13 0.00 0.12 0.02 0.00 99.73 01:20:08 01:12:01 6 0.18 0.00 0.13 0.00 0.00 99.68 01:20:08 01:12:01 7 0.17 0.00 0.05 0.00 0.02 99.77 01:20:08 01:13:01 all 0.02 0.00 0.01 0.00 0.01 99.95 01:20:08 01:13:01 0 0.00 0.00 0.00 0.02 0.00 99.98 01:20:08 01:13:01 1 0.00 0.00 0.02 0.00 0.00 99.98 01:20:08 01:13:01 2 0.02 0.00 0.00 0.00 0.00 99.98 01:20:08 01:13:01 3 0.05 0.00 0.03 0.00 0.02 99.90 01:20:08 01:13:01 4 0.03 0.00 0.00 0.02 0.02 99.93 01:20:08 01:13:01 5 0.00 0.00 0.02 0.00 0.02 99.97 01:20:08 01:13:01 6 0.05 0.00 0.00 0.00 0.02 99.93 01:20:08 01:13:01 7 0.03 0.00 0.02 0.00 0.00 99.95 01:20:08 01:14:01 all 2.27 0.00 1.48 0.41 0.02 95.82 01:20:08 01:14:01 0 2.96 0.00 2.07 0.10 0.02 94.85 01:20:08 01:14:01 1 2.26 0.00 0.92 0.27 0.03 96.52 01:20:08 01:14:01 2 2.09 0.00 1.77 0.28 0.02 95.83 01:20:08 01:14:01 3 2.06 0.00 1.21 0.25 0.03 96.45 01:20:08 01:14:01 4 1.29 0.00 0.77 1.42 0.00 96.52 01:20:08 01:14:01 5 1.97 0.00 0.78 0.08 0.03 97.13 01:20:08 01:14:01 6 3.59 0.00 1.69 0.08 0.02 94.62 01:20:08 01:14:01 7 1.90 0.00 2.62 0.82 0.02 94.64 01:20:08 01:15:01 all 0.08 0.00 0.05 0.02 0.00 99.85 01:20:08 01:15:01 0 0.10 0.00 0.05 0.02 0.00 99.83 01:20:08 01:15:01 1 0.03 0.00 0.03 0.00 0.00 99.93 01:20:08 01:15:01 2 0.03 0.00 0.03 0.02 0.00 99.92 01:20:08 01:15:01 3 0.12 0.00 0.07 0.05 0.02 99.75 01:20:08 01:15:01 4 0.27 0.00 0.07 0.07 0.02 99.58 01:20:08 01:15:01 5 0.07 0.00 0.08 0.00 0.00 99.85 01:20:08 01:15:01 6 0.03 0.00 0.03 0.00 0.00 99.93 01:20:08 01:15:01 7 0.00 0.00 0.03 0.00 0.00 99.97 01:20:08 01:16:01 all 0.02 0.00 0.01 0.00 0.00 99.96 01:20:08 01:16:01 0 0.02 0.00 0.00 0.00 0.00 99.98 01:20:08 01:16:01 1 0.00 0.00 0.00 0.00 0.00 100.00 01:20:08 01:16:01 2 0.02 0.00 0.02 0.00 0.02 99.95 01:20:08 01:16:01 3 0.02 0.00 0.05 0.02 0.00 99.92 01:20:08 01:16:01 4 0.02 0.00 0.00 0.02 0.00 99.97 01:20:08 01:16:01 5 0.03 0.00 0.02 0.00 0.00 99.95 01:20:08 01:16:01 6 0.03 0.00 0.02 0.00 0.00 99.95 01:20:08 01:16:01 7 0.02 0.00 0.00 0.00 0.00 99.98 01:20:08 01:17:01 all 0.02 0.00 0.02 0.00 0.01 99.95 01:20:08 01:17:01 0 0.02 0.00 0.00 0.00 0.00 99.98 01:20:08 01:17:01 1 0.02 0.00 0.02 0.00 0.02 99.95 01:20:08 01:17:01 2 0.03 0.00 0.02 0.00 0.00 99.95 01:20:08 01:17:01 3 0.02 0.00 0.05 0.02 0.02 99.90 01:20:08 01:17:01 4 0.00 0.00 0.00 0.00 0.00 100.00 01:20:08 01:17:01 5 0.03 0.00 0.03 0.02 0.02 99.90 01:20:08 01:17:01 6 0.05 0.00 0.03 0.00 0.02 99.90 01:20:08 01:17:01 7 0.02 0.00 0.00 0.00 0.00 99.98 01:20:08 01:18:01 all 0.02 0.00 0.01 0.00 0.00 99.96 01:20:08 01:18:01 0 0.02 0.00 0.02 0.00 0.00 99.97 01:20:08 01:18:01 1 0.00 0.00 0.00 0.00 0.00 100.00 01:20:08 01:18:01 2 0.02 0.00 0.00 0.00 0.00 99.98 01:20:08 01:18:01 3 0.02 0.00 0.03 0.00 0.02 99.93 01:20:08 01:18:01 4 0.02 0.00 0.00 0.02 0.00 99.97 01:20:08 01:18:01 5 0.05 0.00 0.03 0.02 0.00 99.90 01:20:08 01:18:01 6 0.03 0.00 0.00 0.00 0.00 99.97 01:20:08 01:18:01 7 0.02 0.00 0.02 0.00 0.02 99.95 01:20:08 01:19:01 all 0.19 0.00 0.02 0.01 0.01 99.78 01:20:08 01:19:01 0 0.00 0.00 0.02 0.00 0.02 99.97 01:20:08 01:19:01 1 0.02 0.00 0.02 0.00 0.00 99.97 01:20:08 01:19:01 2 1.39 0.00 0.03 0.00 0.02 98.56 01:20:08 01:19:01 3 0.03 0.00 0.03 0.02 0.00 99.92 01:20:08 01:19:01 4 0.00 0.00 0.00 0.03 0.00 99.97 01:20:08 01:19:01 5 0.07 0.00 0.03 0.00 0.02 99.88 01:20:08 01:19:01 6 0.02 0.00 0.00 0.00 0.00 99.98 01:20:08 01:19:01 7 0.02 0.00 0.02 0.00 0.00 99.97 01:20:08 01:20:01 all 0.44 0.00 0.11 0.00 0.00 99.44 01:20:08 01:20:01 0 0.32 0.00 0.12 0.00 0.00 99.57 01:20:08 01:20:01 1 0.60 0.00 0.23 0.00 0.00 99.17 01:20:08 01:20:01 2 0.86 0.00 0.08 0.00 0.00 99.05 01:20:08 01:20:01 3 0.15 0.00 0.13 0.00 0.02 99.70 01:20:08 01:20:01 4 0.05 0.00 0.07 0.03 0.00 99.85 01:20:08 01:20:01 5 0.38 0.00 0.12 0.00 0.00 99.50 01:20:08 01:20:01 6 0.47 0.00 0.05 0.00 0.00 99.48 01:20:08 01:20:01 7 0.72 0.00 0.10 0.00 0.00 99.18 01:20:08 01:20:08 Average: CPU %user %nice %system %iowait %steal %idle 01:20:08 Average: all 4.74 0.00 1.25 0.27 0.02 93.72 01:20:08 Average: 0 4.71 0.00 1.42 0.07 0.02 93.79 01:20:08 Average: 1 4.79 0.00 1.15 0.04 0.02 94.01 01:20:08 Average: 2 4.89 0.00 1.37 0.11 0.02 93.62 01:20:08 Average: 3 4.46 0.00 1.17 0.55 0.03 93.80 01:20:08 Average: 4 4.42 0.00 1.14 0.80 0.02 93.62 01:20:08 Average: 5 4.97 0.00 1.23 0.24 0.02 93.54 01:20:08 Average: 6 4.92 0.00 1.20 0.12 0.02 93.74 01:20:08 Average: 7 4.80 0.00 1.30 0.21 0.02 93.67 01:20:08 01:20:08 01:20:08