Pull request #48 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 40a119d5aa28ac5bc873694a37b9077de3deed35+438e9b89ef4afb0993607790962057af5e89a430 (2a37ff4e10ef3cecb45ff053046902299754f6d9) 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-ssh8951877640810391450.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh9383496267780578627.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-48/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-48/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh620891228018382511.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-48/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6578037248875521144.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh11317686336813662133.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-48/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-48/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6027243452440293187.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-20345 in /w/workspace/edgexfoundry_device-gpio_PR-48 [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-48 # 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 Merging remotes/origin/main commit 438e9b89ef4afb0993607790962057af5e89a430 into PR head commit 40a119d5aa28ac5bc873694a37b9077de3deed35 Merge succeeded, producing 40a119d5aa28ac5bc873694a37b9077de3deed35 Checking out Revision 40a119d5aa28ac5bc873694a37b9077de3deed35 (PR-48) > 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/48/head:refs/remotes/origin/PR-48 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 40a119d5aa28ac5bc873694a37b9077de3deed35 # 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 438e9b89ef4afb0993607790962057af5e89a430 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 40a119d5aa28ac5bc873694a37b9077de3deed35 # timeout=10 Commit message: "build(deps): bump github.com/canonical/edgex-snap-hooks/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:15:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:15:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:15:37 ========================================================= 01:15:37 EdgeX Global Pipelines Version Info 01:15:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:15:38 ------------------- 01:15:38 stable info: 01:15:38 ------------------- 01:15:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:15:38 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 01:15:38 Message: update stable to v1.0.238 01:15:38 ------------------- 01:15:38 experimental info: 01:15:38 ------------------- 01:15:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:15:38 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 01:15:38 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:15:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 01:15:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 01:15:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:15:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:15:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:15:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:15:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:15:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:15:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:15:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:15:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:15:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 01:15:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:15:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:15:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:15:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:15:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:15:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:15:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:15:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:15:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:15:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:15:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:15:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:15:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:15:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:15:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:15:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-48 [Pipeline] echo 01:15:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-48 [Pipeline] echo 01:15:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-48 [Pipeline] echo 01:15:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 40a119d5aa28ac5bc873694a37b9077de3deed35 [Pipeline] echo 01:15:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 40a119d [Pipeline] echo 01:15:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:15:40 provisioning config files... 01:15:40 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-48@tmp/config1462757189027282916tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:15:40 ---> docker-login.sh 01:15:40 nexus3.edgexfoundry.org:10001 01:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:41 Configure a credential helper to remove this warning. See 01:15:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:41 01:15:41 Login Succeeded 01:15:41 nexus3.edgexfoundry.org:10002 01:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:41 Configure a credential helper to remove this warning. See 01:15:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:41 01:15:41 Login Succeeded 01:15:41 nexus3.edgexfoundry.org:10003 01:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:41 Configure a credential helper to remove this warning. See 01:15:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:41 01:15:41 Login Succeeded 01:15:41 nexus3.edgexfoundry.org:10004 01:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:41 Configure a credential helper to remove this warning. See 01:15:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:41 01:15:41 Login Succeeded 01:15:41 docker.io 01:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:41 Configure a credential helper to remove this warning. See 01:15:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:41 01:15:41 Login Succeeded 01:15:41 ---> docker-login.sh ends [Pipeline] } 01:15:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:15:42 + git rev-list -1 --merges 40a119d5aa28ac5bc873694a37b9077de3deed35~1..40a119d5aa28ac5bc873694a37b9077de3deed35 [Pipeline] echo 01:15:42 -----------> git rev-list -1 --merges 40a119d5aa28ac5bc873694a37b9077de3deed35~1..40a119d5aa28ac5bc873694a37b9077de3deed35 40a119d5aa28ac5bc873694a37b9077de3deed35 [false] [Pipeline] sh 01:15:43 + git log --format=format:%s -1 40a119d5aa28ac5bc873694a37b9077de3deed35 [Pipeline] echo 01:15:43 ========================================================= 01:15:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:15:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:15:43 + git log --format=format:%s -1 40a119d5aa28ac5bc873694a37b9077de3deed35 [Pipeline] echo 01:15:43 [semverPrep] GIT_COMMIT: 40a119d5aa28ac5bc873694a37b9077de3deed35, Commit Message: build(deps): bump github.com/canonical/edgex-snap-hooks/v2 [Pipeline] echo 01:15:43 [semverPrep] This is not a build commit. [Pipeline] sh 01:15:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:15:43 + grep -v github /etc/ssh/ssh_known_hosts 01:15:43 + [ -e /tmp/ssh_known_hosts ] 01:15:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:15:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:15:43 + sudo tee -a /etc/ssh/ssh_known_hosts 01:15:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:15:44 01:15:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:15:45 0.1.4: Pulling from edgex-devops/py-git-semver 01:15:45 b85a868b505f: Pulling fs layer 01:15:45 e2be974225ed: Pulling fs layer 01:15:45 339a4e72a1f5: Pulling fs layer 01:15:45 988bab9f4d93: Pulling fs layer 01:15:45 1469e6f7b9e6: Pulling fs layer 01:15:45 988bab9f4d93: Waiting 01:15:45 1469e6f7b9e6: Waiting 01:15:45 eaf3925da568: Pulling fs layer 01:15:45 bab4dde63d76: Pulling fs layer 01:15:45 bde34c3a00c8: Pulling fs layer 01:15:45 b352a97aabf1: Pulling fs layer 01:15:45 4872d77fe225: Pulling fs layer 01:15:45 5851b861e8e6: Pulling fs layer 01:15:45 b352a97aabf1: Waiting 01:15:45 bab4dde63d76: Waiting 01:15:45 4872d77fe225: Waiting 01:15:45 5851b861e8e6: Waiting 01:15:45 bde34c3a00c8: Waiting 01:15:45 e2be974225ed: Download complete 01:15:45 988bab9f4d93: Download complete 01:15:45 339a4e72a1f5: Verifying Checksum 01:15:45 339a4e72a1f5: Download complete 01:15:45 1469e6f7b9e6: Verifying Checksum 01:15:45 1469e6f7b9e6: Download complete 01:15:45 eaf3925da568: Verifying Checksum 01:15:45 eaf3925da568: Download complete 01:15:45 bde34c3a00c8: Verifying Checksum 01:15:45 bde34c3a00c8: Download complete 01:15:45 b352a97aabf1: Verifying Checksum 01:15:45 b352a97aabf1: Download complete 01:15:45 4872d77fe225: Verifying Checksum 01:15:45 4872d77fe225: Download complete 01:15:45 5851b861e8e6: Download complete 01:15:45 b85a868b505f: Verifying Checksum 01:15:45 b85a868b505f: Download complete 01:15:45 bab4dde63d76: Verifying Checksum 01:15:45 bab4dde63d76: Download complete 01:15:47 b85a868b505f: Pull complete 01:15:47 e2be974225ed: Pull complete 01:15:47 339a4e72a1f5: Pull complete 01:15:48 988bab9f4d93: Pull complete 01:15:48 1469e6f7b9e6: Pull complete 01:15:49 eaf3925da568: Pull complete 01:15:51 bab4dde63d76: Pull complete 01:15:51 bde34c3a00c8: Pull complete 01:15:51 b352a97aabf1: Pull complete 01:15:51 4872d77fe225: Pull complete 01:15:51 5851b861e8e6: Pull complete 01:15:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:15:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:15:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:15:51 prd-ubuntu20.04-docker-8c-8g-20345 does not seem to be running inside a container 01:15:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-48 -v /w/workspace/edgexfoundry_device-gpio_PR-48:/w/workspace/edgexfoundry_device-gpio_PR-48:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-48@tmp:/w/workspace/edgexfoundry_device-gpio_PR-48@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:15:55 $ docker top 7d2728d9f324fb94203fa8b769c396610da864fd46480c315967d2c4ffdb2981 -eo pid,comm 01:15:55 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:15:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:15:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:15:55 [ssh-agent] Looking for ssh-agent implementation... 01:15:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:15:55 $ docker exec 7d2728d9f324fb94203fa8b769c396610da864fd46480c315967d2c4ffdb2981 ssh-agent 01:15:55 SSH_AUTH_SOCK=/tmp/ssh-fZw8cQKWHGsF/agent.32 01:15:55 SSH_AGENT_PID=38 01:15:55 Running ssh-add (command line suppressed) 01:15:55 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-48@tmp/private_key_8401810632152421512.key (/w/workspace/edgexfoundry_device-gpio_PR-48@tmp/private_key_8401810632152421512.key) 01:15:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:15:56 + git tag --points-at HEAD [Pipeline] } 01:15:56 $ docker exec --env ******** --env ******** 7d2728d9f324fb94203fa8b769c396610da864fd46480c315967d2c4ffdb2981 ssh-agent -k 01:15:56 unset SSH_AUTH_SOCK; 01:15:56 unset SSH_AGENT_PID; 01:15:56 echo Agent pid 38 killed; 01:15:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:15:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:15:56 [ssh-agent] Looking for ssh-agent implementation... 01:15:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:15:56 $ docker exec 7d2728d9f324fb94203fa8b769c396610da864fd46480c315967d2c4ffdb2981 ssh-agent 01:15:56 SSH_AUTH_SOCK=/tmp/ssh-fpnJC67DDhLQ/agent.74 01:15:56 SSH_AGENT_PID=80 01:15:56 Running ssh-add (command line suppressed) 01:15:56 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-48@tmp/private_key_7968293669648929369.key (/w/workspace/edgexfoundry_device-gpio_PR-48@tmp/private_key_7968293669648929369.key) 01:15:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:15:57 + git semver init 01:15:57 2022-07-18 01:15:57,323 [run_init] DEBUG init version:0.0.0 force:False 01:15:57 2022-07-18 01:15:57,324 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-48/.semver 01:15:57 2022-07-18 01:15:57,325 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-48/.semver 01:15:57 2022-07-18 01:15:57,326 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-48/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-48, universal_newlines=False, shell=None, istream=None) 01:15:58 2022-07-18 01:15:58,212 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-48/.git/info/exclude 01:15:58 2022-07-18 01:15:58,213 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-48/.semver/PR-48 with force:False 01:15:58 2022-07-18 01:15:58,213 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-48/.semver/PR-48 01:15:58 2022-07-18 01:15:58,217 [execute] INFO git cat-file --batch-check 01:15:58 2022-07-18 01:15:58,217 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-48/.semver, universal_newlines=False, shell=None, istream=) 01:15:58 2022-07-18 01:15:58,222 [execute] INFO git cat-file --batch 01:15:58 2022-07-18 01:15:58,222 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-48/.semver, universal_newlines=False, shell=None, istream=) 01:15:58 2022-07-18 01:15:58,227 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-48/.semver/PR-48 01:15:58 0.0.0 [Pipeline] } 01:15:58 $ docker exec --env ******** --env ******** 7d2728d9f324fb94203fa8b769c396610da864fd46480c315967d2c4ffdb2981 ssh-agent -k 01:15:58 unset SSH_AUTH_SOCK; 01:15:58 unset SSH_AGENT_PID; 01:15:58 echo Agent pid 80 killed; 01:15:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:15:58 + git semver [Pipeline] } 01:15:59 $ docker stop --time=1 7d2728d9f324fb94203fa8b769c396610da864fd46480c315967d2c4ffdb2981 01:16:00 $ docker rm -f 7d2728d9f324fb94203fa8b769c396610da864fd46480c315967d2c4ffdb2981 [Pipeline] // withDockerContainer [Pipeline] sh 01:16:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:16:01 Stashed 1 file(s) [Pipeline] echo 01:16:01 [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:16:02 provisioning config files... 01:16:02 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-48@tmp/config6860861808100464523tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:16:02 ---> docker-login.sh 01:16:02 nexus3.edgexfoundry.org:10001 01:16:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:16:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:16:02 Configure a credential helper to remove this warning. See 01:16:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:16:02 01:16:02 Login Succeeded 01:16:02 nexus3.edgexfoundry.org:10002 01:16:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:16:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:16:02 Configure a credential helper to remove this warning. See 01:16:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:16:02 01:16:02 Login Succeeded 01:16:02 nexus3.edgexfoundry.org:10003 01:16:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:16:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:16:02 Configure a credential helper to remove this warning. See 01:16:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:16:02 01:16:02 Login Succeeded 01:16:02 nexus3.edgexfoundry.org:10004 01:16:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:16:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:16:02 Configure a credential helper to remove this warning. See 01:16:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:16:02 01:16:02 Login Succeeded 01:16:02 docker.io 01:16:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:16:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:16:03 Configure a credential helper to remove this warning. See 01:16:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:16:03 01:16:03 Login Succeeded 01:16:03 ---> docker-login.sh ends [Pipeline] } 01:16:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:16:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:16:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:16:03 ========================================================= 01:16:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:16:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:16:03 + 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:16:03 Sending build context to Docker daemon 15.77MB 01:16:03 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:16:03 Step 2/12 : FROM ${BASE} AS builder 01:16:04 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:16:04 2408cc74d12b: Pulling fs layer 01:16:04 ea60b727a1ce: Pulling fs layer 01:16:04 30c4a7721957: Pulling fs layer 01:16:04 370296b7ddb6: Pulling fs layer 01:16:04 7c6cee850709: Pulling fs layer 01:16:04 39a5fcdaea64: Pulling fs layer 01:16:04 d94ebbe4e438: Pulling fs layer 01:16:04 bcfd1f05c69d: Pulling fs layer 01:16:04 59ccb84bbe0f: Pulling fs layer 01:16:04 7c6cee850709: Waiting 01:16:04 39a5fcdaea64: Waiting 01:16:04 d94ebbe4e438: Waiting 01:16:04 370296b7ddb6: Waiting 01:16:04 59ccb84bbe0f: Waiting 01:16:04 30c4a7721957: Download complete 01:16:04 ea60b727a1ce: Verifying Checksum 01:16:04 ea60b727a1ce: Download complete 01:16:04 7c6cee850709: Verifying Checksum 01:16:04 7c6cee850709: Download complete 01:16:04 39a5fcdaea64: Verifying Checksum 01:16:04 39a5fcdaea64: Download complete 01:16:04 2408cc74d12b: Verifying Checksum 01:16:04 2408cc74d12b: Download complete 01:16:04 d94ebbe4e438: Download complete 01:16:04 2408cc74d12b: Pull complete 01:16:04 59ccb84bbe0f: Verifying Checksum 01:16:04 59ccb84bbe0f: Download complete 01:16:05 ea60b727a1ce: Pull complete 01:16:05 30c4a7721957: Pull complete 01:16:05 370296b7ddb6: Verifying Checksum 01:16:05 370296b7ddb6: Download complete 01:16:05 bcfd1f05c69d: Verifying Checksum 01:16:05 bcfd1f05c69d: Download complete 01:16:09 370296b7ddb6: Pull complete 01:16:09 7c6cee850709: Pull complete 01:16:09 39a5fcdaea64: Pull complete 01:16:09 d94ebbe4e438: Pull complete 01:16:12 bcfd1f05c69d: Pull complete 01:16:13 59ccb84bbe0f: Pull complete 01:16:13 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 01:16:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:16:13 ---> a4fb48ad2a94 01:16:13 Step 3/12 : ARG MAKE="make build" 01:16:16 Still waiting to schedule task 01:16:16 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-20342’ 01:16:19 ---> Running in 4223a2cfc53d 01:16:19 Removing intermediate container 4223a2cfc53d 01:16:19 ---> f5485cba6e30 01:16:19 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:16:19 ---> Running in 3a2d3919cd60 01:16:19 Removing intermediate container 3a2d3919cd60 01:16:19 ---> 4af58e489da0 01:16:19 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 01:16:19 ---> Running in 8efb2e2bc38c 01:16:19 Removing intermediate container 8efb2e2bc38c 01:16:19 ---> 00c3ccf219a6 01:16:19 Step 6/12 : WORKDIR /device-gpio 01:16:20 ---> Running in aa6017e50b77 01:16:20 Removing intermediate container aa6017e50b77 01:16:20 ---> 13c70df15ebf 01:16:20 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:16:20 ---> Running in c90243349f22 01:16:20 Removing intermediate container c90243349f22 01:16:20 ---> b9676db6846b 01:16:20 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:16:20 ---> Running in bfe2c6e81fbb 01:16:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:16:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:16:22 (1/4) Installing openssh-keygen (9.0_p1-r1) 01:16:22 (2/4) Installing libedit (20210910.3.1-r0) 01:16:22 (3/4) Installing openssh-client-common (9.0_p1-r1) 01:16:22 (4/4) Installing openssh-client-default (9.0_p1-r1) 01:16:22 Executing busybox-1.35.0-r13.trigger 01:16:22 OK: 216 MiB in 55 packages 01:16:23 Removing intermediate container bfe2c6e81fbb 01:16:23 ---> a5a3caa4aa2d 01:16:23 Step 9/12 : COPY go.mod vendor* ./ 01:16:24 ---> 20682b1835ed 01:16:24 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:16:24 ---> Running in f505031664e3 01:16:46 Removing intermediate container f505031664e3 01:16:46 ---> b9d13eb76133 01:16:46 Step 11/12 : COPY . . 01:16:46 ---> 7568a3ce6f3e 01:16:46 Step 12/12 : RUN ${MAKE} 01:16:46 ---> Running in b8291bb652c2 01:16:46 noop 01:16:46 Removing intermediate container b8291bb652c2 01:16:46 ---> 158df5b4f663 01:16:46 Successfully built 158df5b4f663 01:16:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:16:46 + docker inspect -f . ci-base-image-x86_64 01:16:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:16:47 prd-ubuntu20.04-docker-8c-8g-20345 does not seem to be running inside a container 01:16:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-48 -v /w/workspace/edgexfoundry_device-gpio_PR-48:/w/workspace/edgexfoundry_device-gpio_PR-48:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-48@tmp:/w/workspace/edgexfoundry_device-gpio_PR-48@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 ******** ci-base-image-x86_64 cat 01:16:47 $ docker top a3af7b5a7a83ac0fc331459e5a7de2e9681c08400a2a5976c91c62abc4d17151 -eo pid,comm [Pipeline] { [Pipeline] sh 01:16:47 + go version 01:16:47 go version go1.18.3 linux/amd64 [Pipeline] } 01:16:48 $ docker stop --time=1 a3af7b5a7a83ac0fc331459e5a7de2e9681c08400a2a5976c91c62abc4d17151 01:16:49 $ docker rm -f a3af7b5a7a83ac0fc331459e5a7de2e9681c08400a2a5976c91c62abc4d17151 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:16:50 + docker inspect -f . ci-base-image-x86_64 01:16:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:16:50 prd-ubuntu20.04-docker-8c-8g-20345 does not seem to be running inside a container 01:16:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/edgexfoundry_device-gpio_PR-48 -v /w/workspace/edgexfoundry_device-gpio_PR-48:/w/workspace/edgexfoundry_device-gpio_PR-48:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-48@tmp:/w/workspace/edgexfoundry_device-gpio_PR-48@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 ******** ci-base-image-x86_64 cat 01:16:50 $ docker top 08b0a28f1415b14531c6cc7960425cb214a1e5fce5cd2e9eb605794ec0983092 -eo pid,comm [Pipeline] { [Pipeline] sh 01:16:51 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-48 [Pipeline] fileExists [Pipeline] sh 01:16:51 + make test 01:16:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:16:51 ? github.com/edgexfoundry/device-gpio [no test files] 01:17:01 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:17:01 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:17:08 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:17:08 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:17:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:17:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:17:12 ./bin/test-attribution-txt.sh [Pipeline] echo 01:17:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:17:12 $ docker stop --time=1 08b0a28f1415b14531c6cc7960425cb214a1e5fce5cd2e9eb605794ec0983092 01:17:15 $ docker rm -f 08b0a28f1415b14531c6cc7960425cb214a1e5fce5cd2e9eb605794ec0983092 [Pipeline] // withDockerContainer [Pipeline] sh 01:17:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:17:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:17:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:17:16 + ls -al . 01:17:16 total 160 01:17:16 drwxrwxr-x 9 jenkins jenkins 4096 Jul 18 01:16 . 01:17:16 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 01:15 .. 01:17:16 -rw-rw-r-- 1 jenkins jenkins 120 Jul 18 01:15 .dockerignore 01:17:16 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 01:17 .git 01:17:16 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:15 .github 01:17:16 -rw-rw-r-- 1 jenkins jenkins 343 Jul 18 01:15 .gitignore 01:17:16 -rw-rw-r-- 1 jenkins jenkins 41 Jul 18 01:15 .golangci.yml 01:17:16 drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 01:15 .semver 01:17:16 -rw-rw-r-- 1 jenkins jenkins 9182 Jul 18 01:15 Attribution.txt 01:17:16 -rw-rw-r-- 1 jenkins jenkins 3081 Jul 18 01:15 CHANGELOG.md 01:17:16 -rw-rw-r-- 1 jenkins jenkins 1872 Jul 18 01:15 Dockerfile 01:17:16 -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 01:15 GOVERNANCE.md 01:17:16 -rw-rw-r-- 1 jenkins jenkins 657 Jul 18 01:15 Jenkinsfile 01:17:16 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 18 01:15 LICENSE 01:17:16 -rw-rw-r-- 1 jenkins jenkins 1876 Jul 18 01:15 Makefile 01:17:16 -rw-rw-r-- 1 jenkins jenkins 617 Jul 18 01:15 OWNERS.md 01:17:16 -rw-rw-r-- 1 jenkins jenkins 11178 Jul 18 01:15 README.md 01:17:16 -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 01:16 VERSION 01:17:16 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 01:15 bin 01:17:16 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:15 cmd 01:17:16 -rw-r--r-- 1 jenkins jenkins 10 Jul 18 01:16 coverage.out 01:17:16 -rw-rw-r-- 1 jenkins jenkins 3287 Jul 18 01:15 go.mod 01:17:16 -rw-rw-r-- 1 jenkins jenkins 35448 Jul 18 01:15 go.sum 01:17:16 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:15 internal 01:17:16 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:15 snap 01:17:16 -rw-rw-r-- 1 jenkins jenkins 209 Jul 18 01:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:16 + 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=40a119d5aa28ac5bc873694a37b9077de3deed35 --label arch=amd64 --label version=0.0.0 . 01:17:16 Sending build context to Docker daemon 15.77MB 01:17:16 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 01:17:16 Step 2/26 : FROM ${BASE} AS builder 01:17:16 ---> 158df5b4f663 01:17:16 Step 3/26 : ARG MAKE="make build" 01:17:17 ---> Running in 371333d62f13 01:17:17 Removing intermediate container 371333d62f13 01:17:17 ---> 392d3e65781e 01:17:17 Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:17:17 ---> Running in 112f67acbb73 01:17:17 Removing intermediate container 112f67acbb73 01:17:17 ---> c0e833494cbe 01:17:17 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 01:17:17 ---> Running in f0487e785b1c 01:17:17 Removing intermediate container f0487e785b1c 01:17:17 ---> 0b22cf33aa65 01:17:17 Step 6/26 : WORKDIR /device-gpio 01:17:17 ---> Running in b1429bed5864 01:17:17 Removing intermediate container b1429bed5864 01:17:17 ---> 39df1d47b773 01:17:17 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:17:17 ---> Running in f4f2e3df7a5c 01:17:18 Removing intermediate container f4f2e3df7a5c 01:17:18 ---> af00b2c9e437 01:17:18 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:17:18 ---> Running in bdad87e882d0 01:17:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:17:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:17:20 OK: 216 MiB in 55 packages 01:17:20 Removing intermediate container bdad87e882d0 01:17:20 ---> d60f94bde728 01:17:20 Step 9/26 : COPY go.mod vendor* ./ 01:17:20 ---> d90cf0231279 01:17:20 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:17:20 ---> Running in 4be12a941105 01:17:20 Removing intermediate container 4be12a941105 01:17:20 ---> 5c91dc6992cc 01:17:20 Step 11/26 : COPY . . 01:17:21 ---> 9ae4e4e3227d 01:17:21 Step 12/26 : RUN ${MAKE} 01:17:21 ---> Running in 926177d28860 01:17:22 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 01:17:49 Removing intermediate container 926177d28860 01:17:49 ---> b63979b0d8db 01:17:49 Step 13/26 : FROM alpine:3.16 01:17:49 3.16: Pulling from library/alpine 01:17:49 2408cc74d12b: Already exists 01:17:49 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 01:17:49 Status: Downloaded newer image for alpine:3.16 01:17:49 ---> e66264b98777 01:17:49 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:17:49 ---> Running in 05b7ad3df556 01:17:49 Removing intermediate container 05b7ad3df556 01:17:49 ---> ed35cf134d6f 01:17:49 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:17:49 ---> Running in 7a6e1eb0e914 01:17:49 Removing intermediate container 7a6e1eb0e914 01:17:49 ---> 2b6ddd83522e 01:17:49 Step 16/26 : RUN apk add --update --no-cache zeromq 01:17:49 ---> Running in be776985e2b7 01:17:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:17:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:17:49 (1/5) Installing libgcc (11.2.1_git20220219-r2) 01:17:49 (2/5) Installing libsodium (1.0.18-r0) 01:17:49 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 01:17:49 (4/5) Installing libzmq (4.3.4-r0) 01:17:49 (5/5) Installing zeromq (4.3.4-r0) 01:17:49 Executing busybox-1.35.0-r13.trigger 01:17:49 OK: 8 MiB in 19 packages 01:17:50 Removing intermediate container be776985e2b7 01:17:50 ---> 65e11d8e4cb3 01:17:50 Step 17/26 : WORKDIR / 01:17:50 ---> Running in 223d45296a09 01:17:50 Removing intermediate container 223d45296a09 01:17:50 ---> 2d6d80de1035 01:17:50 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 01:17:50 ---> c66c952bc482 01:17:50 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 01:17:50 ---> 5f2d4710bc06 01:17:50 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 01:17:51 ---> 9531a888ecc7 01:17:51 Step 21/26 : EXPOSE 59910 01:17:51 ---> Running in 83e115910130 01:17:51 Removing intermediate container 83e115910130 01:17:51 ---> fee7b760edce 01:17:51 Step 22/26 : ENTRYPOINT ["/device-gpio"] 01:17:51 ---> Running in 9ff1a2a058b4 01:17:51 Removing intermediate container 9ff1a2a058b4 01:17:51 ---> d6b4a44ea8f4 01:17:51 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:17:51 ---> Running in df9b7c8076f0 01:17:51 Removing intermediate container df9b7c8076f0 01:17:51 ---> 80da75343af4 01:17:51 Step 24/26 : LABEL arch=amd64 01:17:52 ---> Running in 90162e61edaf 01:17:52 Removing intermediate container 90162e61edaf 01:17:52 ---> 508fa12bc0d0 01:17:52 Step 25/26 : LABEL git_sha=40a119d5aa28ac5bc873694a37b9077de3deed35 01:17:52 ---> Running in b80e47f5ce1c 01:17:52 Removing intermediate container b80e47f5ce1c 01:17:52 ---> d15504a66805 01:17:52 Step 26/26 : LABEL version=0.0.0 01:17:52 ---> Running in bb6920d5f4f8 01:17:53 Removing intermediate container bb6920d5f4f8 01:17:53 ---> c56267e390a6 01:17:53 [Warning] One or more build-args [ARCH] were not consumed 01:17:53 Successfully built c56267e390a6 01:17:53 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:17:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:17:54 01:17:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:17:54 latest: Pulling from edgex-lftools-log-publisher 01:17:54 5eb5b503b376: Pulling fs layer 01:17:54 5c69ac0246d0: Pulling fs layer 01:17:54 ec43610c2a17: Pulling fs layer 01:17:54 3a2ae6a8a46f: Pulling fs layer 01:17:54 33b1e0a273af: Pulling fs layer 01:17:54 5d3b04190fa2: Pulling fs layer 01:17:54 2f39f015ded8: Pulling fs layer 01:17:54 3a2ae6a8a46f: Waiting 01:17:54 33b1e0a273af: Waiting 01:17:54 5d3b04190fa2: Waiting 01:17:54 2f39f015ded8: Waiting 01:17:54 5c69ac0246d0: Verifying Checksum 01:17:54 5c69ac0246d0: Download complete 01:17:54 3a2ae6a8a46f: Verifying Checksum 01:17:54 3a2ae6a8a46f: Download complete 01:17:55 33b1e0a273af: Verifying Checksum 01:17:55 33b1e0a273af: Download complete 01:17:55 ec43610c2a17: Verifying Checksum 01:17:55 ec43610c2a17: Download complete 01:17:55 5d3b04190fa2: Verifying Checksum 01:17:55 5d3b04190fa2: Download complete 01:17:55 5eb5b503b376: Download complete 01:17:55 2f39f015ded8: Verifying Checksum 01:17:55 2f39f015ded8: Download complete 01:17:56 5eb5b503b376: Pull complete 01:17:56 5c69ac0246d0: Pull complete 01:17:57 ec43610c2a17: Pull complete 01:17:57 3a2ae6a8a46f: Pull complete 01:17:57 33b1e0a273af: Pull complete 01:17:57 5d3b04190fa2: Pull complete 01:18:02 2f39f015ded8: Pull complete 01:18:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:18:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:18:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:18:03 prd-ubuntu20.04-docker-8c-8g-20345 does not seem to be running inside a container 01:18:03 $ 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-48 -v /w/workspace/edgexfoundry_device-gpio_PR-48:/w/workspace/edgexfoundry_device-gpio_PR-48:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-48@tmp:/w/workspace/edgexfoundry_device-gpio_PR-48@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:18:06 $ docker top a2d7518f4e11631ccb1b985d8c761cfaec198132e9fc34399081172802853f8d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:18:07 ---> job-cost.sh 01:18:07 lf-activate-venv: SKIPPING 01:18:07 INFO: No Stack... 01:18:07 INFO: Retrieving Pricing Info for: v3-standard-8 01:18:08 INFO: Archiving Costs [Pipeline] sh 01:18:08 + cat /w/workspace/edgexfoundry_device-gpio_PR-48/archives/cost.csv 01:18:08 + cut -d, -f6 [Pipeline] lock 01:18:08 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-48-1-stack-cost] 01:18:08 Resource [jenkins-edgexfoundry-device-gpio-PR-48-1-stack-cost] did not exist. Created. 01:18:08 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-48-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:18:09 + echo total: 0.2199999988079071 [Pipeline] stash 01:18:09 Stashed 1 file(s) [Pipeline] } 01:18:09 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-48-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:18:09 $ docker stop --time=1 a2d7518f4e11631ccb1b985d8c761cfaec198132e9fc34399081172802853f8d 01:18:10 $ docker rm -f a2d7518f4e11631ccb1b985d8c761cfaec198132e9fc34399081172802853f8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:19:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20347 in /w/workspace/edgexfoundry_device-gpio_PR-48 [Pipeline] { [Pipeline] ws 01:19:10 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 01:19:10 The recommended git tool is: git 01:19:17 using credential edgex-jenkins-ssh 01:19:17 Cloning the remote Git repository 01:19:17 Cloning repository git@github.com:edgexfoundry/device-gpio.git 01:19:17 > git init /w/workspace/device-gpio/1 # timeout=10 01:19:17 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:19:17 > git --version # timeout=10 01:19:17 > git --version # 'git version 2.25.1' 01:19:17 using GIT_SSH to set credentials SSH Credentials for GitHub 01:19:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:19:20 Merging remotes/origin/main commit 438e9b89ef4afb0993607790962057af5e89a430 into PR head commit 40a119d5aa28ac5bc873694a37b9077de3deed35 01:19:19 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:19:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:19:19 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:19:19 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:19:19 using GIT_SSH to set credentials SSH Credentials for GitHub 01:19:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/48/head:refs/remotes/origin/PR-48 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:19:20 > git config core.sparsecheckout # timeout=10 01:19:20 Merge succeeded, producing 40a119d5aa28ac5bc873694a37b9077de3deed35 01:19:20 Checking out Revision 40a119d5aa28ac5bc873694a37b9077de3deed35 (PR-48) 01:19:20 > git checkout -f 40a119d5aa28ac5bc873694a37b9077de3deed35 # timeout=10 01:19:20 > git remote # timeout=10 01:19:20 > git config --get remote.origin.url # timeout=10 01:19:20 using GIT_SSH to set credentials SSH Credentials for GitHub 01:19:20 > git merge 438e9b89ef4afb0993607790962057af5e89a430 # timeout=10 01:19:20 > git rev-parse HEAD^{commit} # timeout=10 01:19:20 > git config core.sparsecheckout # timeout=10 01:19:20 > git checkout -f 40a119d5aa28ac5bc873694a37b9077de3deed35 # timeout=10 01:19:24 Commit message: "build(deps): bump github.com/canonical/edgex-snap-hooks/v2" 01:19:24 > git --version # timeout=10 01:19:24 > git --version # 'git version 2.25.1' 01:19:24 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:19:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:19:25 % Total % Received % Xferd Average Speed Time Time Time Current 01:19:25 Dload Upload Total Spent Left Speed 01:19:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 200k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh 01:19:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:19:27 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:19:27 sudo tee /etc/docker/daemon.new 01:19:27 { 01:19:27 "registry-mirrors": [ 01:19:27 "https://nexus3.edgexfoundry.org:10001" 01:19:27 ], 01:19:27 "bip": "10.250.0.254/24", 01:19:27 "hosts": [ 01:19:27 "tcp://0.0.0.0:5555", 01:19:27 "unix:///var/run/docker.sock" 01:19:27 ], 01:19:27 "mtu": 1458, 01:19:27 "selinux-enabled": true, 01:19:27 "seccomp-profile": "/etc/docker/seccomp.json" 01:19:27 } [Pipeline] sh 01:19:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:19:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:19:46 provisioning config files... 01:19:46 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config8108986691648582998tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:19:46 ---> docker-login.sh 01:19:46 nexus3.edgexfoundry.org:10001 01:19:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:47 Configure a credential helper to remove this warning. See 01:19:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:47 01:19:47 Login Succeeded 01:19:47 nexus3.edgexfoundry.org:10002 01:19:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:48 Configure a credential helper to remove this warning. See 01:19:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:48 01:19:48 Login Succeeded 01:19:48 nexus3.edgexfoundry.org:10003 01:19:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:48 Configure a credential helper to remove this warning. See 01:19:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:48 01:19:48 Login Succeeded 01:19:48 nexus3.edgexfoundry.org:10004 01:19:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:49 Configure a credential helper to remove this warning. See 01:19:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:49 01:19:49 Login Succeeded 01:19:49 docker.io 01:19:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:49 Configure a credential helper to remove this warning. See 01:19:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:49 01:19:49 Login Succeeded 01:19:49 ---> docker-login.sh ends [Pipeline] } 01:19:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:19:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:19:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:19:50 ========================================================= 01:19:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:19:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:19:50 + 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:19:51 Sending build context to Docker daemon 7.949MB 01:19:51 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:19:51 Step 2/12 : FROM ${BASE} AS builder 01:19:51 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:19:51 b3c136eddcbf: Pulling fs layer 01:19:51 c0a3192eca97: Pulling fs layer 01:19:51 a050256f5b6f: Pulling fs layer 01:19:51 656be50a0ddc: Pulling fs layer 01:19:51 2bbca73fdf42: Pulling fs layer 01:19:51 46d945488cbd: Pulling fs layer 01:19:51 8a5474983e97: Pulling fs layer 01:19:51 329c88fbcd65: Pulling fs layer 01:19:51 2bbca73fdf42: Waiting 01:19:51 46d945488cbd: Waiting 01:19:51 8a5474983e97: Waiting 01:19:51 329c88fbcd65: Waiting 01:19:51 656be50a0ddc: Waiting 01:19:51 a050256f5b6f: Verifying Checksum 01:19:51 a050256f5b6f: Download complete 01:19:51 c0a3192eca97: Verifying Checksum 01:19:51 c0a3192eca97: Download complete 01:19:51 2bbca73fdf42: Verifying Checksum 01:19:51 2bbca73fdf42: Download complete 01:19:51 46d945488cbd: Verifying Checksum 01:19:51 46d945488cbd: Download complete 01:19:51 b3c136eddcbf: Verifying Checksum 01:19:51 b3c136eddcbf: Download complete 01:19:52 b3c136eddcbf: Pull complete 01:19:52 329c88fbcd65: Verifying Checksum 01:19:52 329c88fbcd65: Download complete 01:19:53 c0a3192eca97: Pull complete 01:19:53 a050256f5b6f: Pull complete 01:19:53 8a5474983e97: Verifying Checksum 01:19:53 8a5474983e97: Download complete 01:19:54 656be50a0ddc: Verifying Checksum 01:19:54 656be50a0ddc: Download complete 01:20:10 656be50a0ddc: Pull complete 01:20:10 2bbca73fdf42: Pull complete 01:20:10 46d945488cbd: Pull complete 01:20:14 8a5474983e97: Pull complete 01:20:17 329c88fbcd65: Pull complete 01:20:17 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 01:20:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:20:17 ---> ff4287adb874 01:20:17 Step 3/12 : ARG MAKE="make build" 01:20:18 ---> Running in 56d815ff85ef 01:20:18 Removing intermediate container 56d815ff85ef 01:20:18 ---> 691af60850f6 01:20:18 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:20:18 ---> Running in b39712a384ed 01:20:19 Removing intermediate container b39712a384ed 01:20:19 ---> 7e7db21e786a 01:20:19 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 01:20:19 ---> Running in 1a6e049b72c3 01:20:19 Removing intermediate container 1a6e049b72c3 01:20:19 ---> 366db13e5c5e 01:20:19 Step 6/12 : WORKDIR /device-gpio 01:20:19 ---> Running in 53cf9741ff55 01:20:20 Removing intermediate container 53cf9741ff55 01:20:20 ---> dc23b92e94cf 01:20:20 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:20:20 ---> Running in d56d1b686cfe 01:20:22 Removing intermediate container d56d1b686cfe 01:20:22 ---> 47af5e4b3094 01:20:22 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:20:22 ---> Running in 62c72f620898 01:20:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:20:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:20:25 (1/4) Installing openssh-keygen (9.0_p1-r1) 01:20:25 (2/4) Installing libedit (20210910.3.1-r0) 01:20:25 (3/4) Installing openssh-client-common (9.0_p1-r1) 01:20:25 (4/4) Installing openssh-client-default (9.0_p1-r1) 01:20:25 Executing busybox-1.35.0-r13.trigger 01:20:25 OK: 226 MiB in 55 packages 01:20:26 Removing intermediate container 62c72f620898 01:20:26 ---> a11f822787fe 01:20:26 Step 9/12 : COPY go.mod vendor* ./ 01:20:27 ---> 75e17471d01c 01:20:27 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:20:27 ---> Running in 6692542cac92 01:21:14 Removing intermediate container 6692542cac92 01:21:14 ---> f4bfa0d1de27 01:21:14 Step 11/12 : COPY . . 01:21:14 ---> 17a1341808e5 01:21:14 Step 12/12 : RUN ${MAKE} 01:21:14 ---> Running in d1d023387a6a 01:21:14 noop 01:21:14 Removing intermediate container d1d023387a6a 01:21:14 ---> baa25accdbd8 01:21:14 Successfully built baa25accdbd8 01:21:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:21:14 + docker inspect -f . ci-base-image-arm64 01:21:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:21:15 prd-ubuntu20.04-docker-arm64-4c-16g-20347 does not seem to be running inside a container 01:21:15 $ 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:21:16 $ docker top 151d5f115bd7d807937365ad0983ec6daeda0a618d2613a6cfac1b53a34d1402 -eo pid,comm [Pipeline] { [Pipeline] sh 01:21:17 + go version 01:21:17 go version go1.18.3 linux/arm64 [Pipeline] } 01:21:17 $ docker stop --time=1 151d5f115bd7d807937365ad0983ec6daeda0a618d2613a6cfac1b53a34d1402 01:21:19 $ docker rm -f 151d5f115bd7d807937365ad0983ec6daeda0a618d2613a6cfac1b53a34d1402 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:21:20 + docker inspect -f . ci-base-image-arm64 01:21:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:21:20 prd-ubuntu20.04-docker-arm64-4c-16g-20347 does not seem to be running inside a container 01:21:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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:21:22 $ docker top c16ca3a0fe2eb74b3e77a3f0fcd764a1708fedb0f9a7efccca5e70f561fb7e56 -eo pid,comm [Pipeline] { [Pipeline] sh 01:21:23 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 01:21:23 + make test 01:21:23 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:21:25 ? github.com/edgexfoundry/device-gpio [no test files] 01:23:02 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:23:02 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:23:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:23:02 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:23:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:23:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:23:10 ./bin/test-attribution-txt.sh [Pipeline] echo 01:23:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:23:10 $ docker stop --time=1 c16ca3a0fe2eb74b3e77a3f0fcd764a1708fedb0f9a7efccca5e70f561fb7e56 01:23:12 $ docker rm -f c16ca3a0fe2eb74b3e77a3f0fcd764a1708fedb0f9a7efccca5e70f561fb7e56 [Pipeline] // withDockerContainer [Pipeline] sh 01:23:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:23:13 Warning: overwriting stash ‘coverage-report’ 01:23:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:23:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:23:15 + ls -al . 01:23:15 total 156 01:23:15 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 01:21 . 01:23:15 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 01:19 .. 01:23:15 -rw-rw-r-- 1 jenkins jenkins 120 Jul 18 01:19 .dockerignore 01:23:15 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 01:19 .git 01:23:15 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:19 .github 01:23:15 -rw-rw-r-- 1 jenkins jenkins 343 Jul 18 01:19 .gitignore 01:23:15 -rw-rw-r-- 1 jenkins jenkins 41 Jul 18 01:19 .golangci.yml 01:23:15 -rw-rw-r-- 1 jenkins jenkins 9182 Jul 18 01:19 Attribution.txt 01:23:15 -rw-rw-r-- 1 jenkins jenkins 3081 Jul 18 01:19 CHANGELOG.md 01:23:15 -rw-rw-r-- 1 jenkins jenkins 1872 Jul 18 01:19 Dockerfile 01:23:15 -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 01:19 GOVERNANCE.md 01:23:15 -rw-rw-r-- 1 jenkins jenkins 657 Jul 18 01:19 Jenkinsfile 01:23:15 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 18 01:19 LICENSE 01:23:15 -rw-rw-r-- 1 jenkins jenkins 1876 Jul 18 01:19 Makefile 01:23:15 -rw-rw-r-- 1 jenkins jenkins 617 Jul 18 01:19 OWNERS.md 01:23:15 -rw-rw-r-- 1 jenkins jenkins 11178 Jul 18 01:19 README.md 01:23:15 -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 01:16 VERSION 01:23:15 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 01:19 bin 01:23:15 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:19 cmd 01:23:15 -rw-r--r-- 1 jenkins jenkins 10 Jul 18 01:21 coverage.out 01:23:15 -rw-rw-r-- 1 jenkins jenkins 3287 Jul 18 01:19 go.mod 01:23:15 -rw-rw-r-- 1 jenkins jenkins 35448 Jul 18 01:19 go.sum 01:23:15 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:19 internal 01:23:15 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:19 snap 01:23:15 -rw-rw-r-- 1 jenkins jenkins 209 Jul 18 01:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:23:15 + docker build -t device-gpio-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=40a119d5aa28ac5bc873694a37b9077de3deed35 --label arch=arm64 --label version=0.0.0 . 01:23:16 Sending build context to Docker daemon 7.95MB 01:23:16 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 01:23:16 Step 2/26 : FROM ${BASE} AS builder 01:23:16 ---> baa25accdbd8 01:23:16 Step 3/26 : ARG MAKE="make build" 01:23:16 ---> Running in 479560479ddd 01:23:16 Removing intermediate container 479560479ddd 01:23:16 ---> b55d306caa55 01:23:16 Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:23:16 ---> Running in 8a350d38526b 01:23:17 Removing intermediate container 8a350d38526b 01:23:17 ---> 591e13df12a0 01:23:17 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 01:23:17 ---> Running in 5b96805ad0dd 01:23:17 Removing intermediate container 5b96805ad0dd 01:23:17 ---> 3dfca9c8c8b6 01:23:17 Step 6/26 : WORKDIR /device-gpio 01:23:17 ---> Running in 0f68caae8605 01:23:17 Removing intermediate container 0f68caae8605 01:23:17 ---> dc4cef7fa7dd 01:23:17 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:23:17 ---> Running in 15058b6b4369 01:23:19 Removing intermediate container 15058b6b4369 01:23:19 ---> f7bfe975fcab 01:23:19 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:23:19 ---> Running in 65f77f3cba79 01:23:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:23:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:23:22 OK: 226 MiB in 55 packages 01:23:23 Removing intermediate container 65f77f3cba79 01:23:23 ---> 5b9cab3a6470 01:23:23 Step 9/26 : COPY go.mod vendor* ./ 01:23:23 ---> 877e9dfeb8c0 01:23:23 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:23:23 ---> Running in 08e425a8bbbc 01:23:25 Removing intermediate container 08e425a8bbbc 01:23:25 ---> dba73e3dd4da 01:23:25 Step 11/26 : COPY . . 01:23:26 ---> cfa1e2e3efd7 01:23:26 Step 12/26 : RUN ${MAKE} 01:23:26 ---> Running in 71edd27856c5 01:23:27 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 01:25:49 Removing intermediate container 71edd27856c5 01:25:49 ---> 109bfb6dce98 01:25:49 Step 13/26 : FROM alpine:3.16 01:25:49 3.16: Pulling from library/alpine 01:25:49 b3c136eddcbf: Already exists 01:25:49 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 01:25:49 Status: Downloaded newer image for alpine:3.16 01:25:49 ---> 6e30ab57aeee 01:25:49 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:25:49 ---> Running in 2cfc1fbf64cb 01:25:49 Removing intermediate container 2cfc1fbf64cb 01:25:49 ---> 64955d118c28 01:25:49 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:25:49 ---> Running in bbdbe14ab916 01:25:49 Removing intermediate container bbdbe14ab916 01:25:49 ---> d67be9b2b4a5 01:25:49 Step 16/26 : RUN apk add --update --no-cache zeromq 01:25:49 ---> Running in 77dafc112d35 01:25:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:25:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:25:49 (1/5) Installing libgcc (11.2.1_git20220219-r2) 01:25:49 (2/5) Installing libsodium (1.0.18-r0) 01:25:49 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 01:25:49 (4/5) Installing libzmq (4.3.4-r0) 01:25:49 (5/5) Installing zeromq (4.3.4-r0) 01:25:49 Executing busybox-1.35.0-r13.trigger 01:25:49 OK: 8 MiB in 19 packages 01:25:49 Removing intermediate container 77dafc112d35 01:25:49 ---> 0c74d111902c 01:25:49 Step 17/26 : WORKDIR / 01:25:49 ---> Running in a15cff9ea4cb 01:25:49 Removing intermediate container a15cff9ea4cb 01:25:49 ---> 4f923462e50e 01:25:49 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 01:25:49 ---> c69fc5a805d8 01:25:49 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 01:25:49 ---> a131026bfc90 01:25:49 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 01:25:49 ---> 6a14cc8dac55 01:25:49 Step 21/26 : EXPOSE 59910 01:25:49 ---> Running in dfdd74efa56b 01:25:49 Removing intermediate container dfdd74efa56b 01:25:49 ---> f2028241a278 01:25:49 Step 22/26 : ENTRYPOINT ["/device-gpio"] 01:25:49 ---> Running in 766dced019e1 01:25:49 Removing intermediate container 766dced019e1 01:25:49 ---> 30c4454481b4 01:25:49 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:25:49 ---> Running in f6903ee9a2d4 01:25:50 Removing intermediate container f6903ee9a2d4 01:25:50 ---> a8a941a2850d 01:25:50 Step 24/26 : LABEL arch=arm64 01:25:50 ---> Running in 6842ae6b8664 01:25:50 Removing intermediate container 6842ae6b8664 01:25:50 ---> d8fb4d1a120c 01:25:50 Step 25/26 : LABEL git_sha=40a119d5aa28ac5bc873694a37b9077de3deed35 01:25:50 ---> Running in 32cc22d3ca76 01:25:50 Removing intermediate container 32cc22d3ca76 01:25:50 ---> 5b1fb96bf547 01:25:50 Step 26/26 : LABEL version=0.0.0 01:25:50 ---> Running in 2e53b0160beb 01:25:51 Removing intermediate container 2e53b0160beb 01:25:51 ---> 334064c92b3d 01:25:51 [Warning] One or more build-args [ARCH] were not consumed 01:25:51 Successfully built 334064c92b3d 01:25:51 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:25:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:25:51 01:25:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:25:52 arm64: Pulling from edgex-lftools-log-publisher 01:25:52 8998bd30e6a1: Pulling fs layer 01:25:52 04944245beec: Pulling fs layer 01:25:52 699f458cf7ca: Pulling fs layer 01:25:52 765212b225bb: Pulling fs layer 01:25:52 f23df028b6ca: Pulling fs layer 01:25:52 d65c8cfc05b1: Pulling fs layer 01:25:52 2437ff75d9bd: Pulling fs layer 01:25:52 765212b225bb: Waiting 01:25:52 f23df028b6ca: Waiting 01:25:52 d65c8cfc05b1: Waiting 01:25:52 2437ff75d9bd: Waiting 01:25:52 04944245beec: Verifying Checksum 01:25:52 04944245beec: Download complete 01:25:52 765212b225bb: Verifying Checksum 01:25:52 765212b225bb: Download complete 01:25:52 f23df028b6ca: Verifying Checksum 01:25:52 f23df028b6ca: Download complete 01:25:52 d65c8cfc05b1: Verifying Checksum 01:25:52 d65c8cfc05b1: Download complete 01:25:52 699f458cf7ca: Verifying Checksum 01:25:52 699f458cf7ca: Download complete 01:25:53 8998bd30e6a1: Verifying Checksum 01:25:53 8998bd30e6a1: Download complete 01:25:55 2437ff75d9bd: Verifying Checksum 01:25:55 2437ff75d9bd: Download complete 01:25:57 8998bd30e6a1: Pull complete 01:25:57 04944245beec: Pull complete 01:25:59 699f458cf7ca: Pull complete 01:25:59 765212b225bb: Pull complete 01:26:00 f23df028b6ca: Pull complete 01:26:00 d65c8cfc05b1: Pull complete 01:26:15 2437ff75d9bd: Pull complete 01:26:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:26:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:26:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:26:16 prd-ubuntu20.04-docker-arm64-4c-16g-20347 does not seem to be running inside a container 01:26:16 $ 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:26:19 $ docker top b558d09b5b6ca1ff26c9e847be99acf123faaa66ddeb4f9d4f2387ac55b0bf30 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:26:20 ---> job-cost.sh 01:26:20 lf-activate-venv: SKIPPING 01:26:20 INFO: No Stack... 01:26:20 INFO: Retrieving Pricing Info for: v3-standard-4 01:26:21 INFO: Archiving Costs [Pipeline] sh 01:26:21 + cat /w/workspace/device-gpio/1/archives/cost.csv 01:26:21 + cut -d, -f6 [Pipeline] lock 01:26:21 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-48-1-stack-cost] 01:26:21 Resource [jenkins-edgexfoundry-device-gpio-PR-48-1-stack-cost] did not exist. Created. 01:26:21 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-48-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:26:22 /w/workspace/device-gpio/1@tmp/durable-fa103780/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:26:23 + echo total: 0.10999999940395355 [Pipeline] stash 01:26:23 Warning: overwriting stash ‘stack-cost’ 01:26:23 Stashed 1 file(s) [Pipeline] } 01:26:23 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-48-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:26:23 $ docker stop --time=1 b558d09b5b6ca1ff26c9e847be99acf123faaa66ddeb4f9d4f2387ac55b0bf30 01:26:25 $ docker rm -f b558d09b5b6ca1ff26c9e847be99acf123faaa66ddeb4f9d4f2387ac55b0bf30 [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:26:26 provisioning config files... 01:26:26 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-48@tmp/config109567760463411202tmp [Pipeline] { [Pipeline] sh 01:26:26 + set +x 01:26:26 + curl -s https://codecov.io/bash 01:26:26 + bash -s -- 01:26:26 01:26:26 _____ _ 01:26:26 / ____| | | 01:26:26 | | ___ __| | ___ ___ _____ __ 01:26:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:26:26 | |___| (_) | (_| | __/ (_| (_) \ V / 01:26:26 \_____\___/ \__,_|\___|\___\___/ \_/ 01:26:26 Bash-1.0.6 01:26:26 01:26:26 01:26:26 ==> git version 2.25.1 found 01:26:26 ==> 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:26:26 Release-Date: 2020-01-08 01:26:26 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:26:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:26:26 ==> Jenkins CI detected. 01:26:26 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-48 01:26:26 project root: . 01:26:26 --> token set from env 01:26:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:26:26 ==> Running gcov in . (disable via -X gcov) 01:26:26 ==> Python coveragepy not found 01:26:26 ==> Searching for coverage reports in: 01:26:26 + . 01:26:26 -> Found 1 reports 01:26:26 ==> Detecting git/mercurial file structure 01:26:26 ==> Reading reports 01:26:26 + ./coverage.out bytes=10 01:26:26 ==> Appending adjustments 01:26:26 https://docs.codecov.io/docs/fixing-reports 01:26:26 + Found adjustments 01:26:26 ==> Gzipping contents 01:26:26 4.0K /tmp/codecov.wLdaHg.gz 01:26:26 ==> Uploading reports 01:26:26 url: https://codecov.io 01:26:26 query: branch=PR-48&commit=40a119d5aa28ac5bc873694a37b9077de3deed35&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-48%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=48&job=&cmd_args= 01:26:26 -> Pinging Codecov 01:26:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-48&commit=40a119d5aa28ac5bc873694a37b9077de3deed35&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-48%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=48&job=&cmd_args= 01:26:27 -> Uploading to 01:26:27 https://storage.googleapis.com/codecov/v4/raw/2022-07-18/3EC07B1A8CA8AF9BCAA0BB9F0134797F/40a119d5aa28ac5bc873694a37b9077de3deed35/1866408e-1325-45b6-8e0e-d28ab8257c8c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220718%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220718T012626Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5318527e336ee71fc8af93046baee36e299e91da50dcd42c0f4a4b44089d50c6 01:26:27 % Total % Received % Xferd Average Speed Time Time Time Current 01:26:27 Dload Upload Total Spent Left Speed 01:26:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3314 --:--:-- --:--:-- --:--:-- 3314 01:26:27 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/40a119d5aa28ac5bc873694a37b9077de3deed35 [Pipeline] } 01:26:27 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:26:29 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-48/archives ] 01:26:29 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-48/archives 01:26:29 total 16 01:26:29 drwxr-xr-x 3 root root 4096 Jul 18 01:18 . 01:26:29 drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 01:18 .. 01:26:29 drwxr-xr-x 2 root root 4096 Jul 18 01:18 cost 01:26:29 -rw-r--r-- 1 root root 81 Jul 18 01:18 cost.csv 01:26:29 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-48/archives 01:26:29 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-48/archives 01:26:29 total 16 01:26:29 drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 01:18 . 01:26:29 drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 01:18 .. 01:26:29 drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 01:18 cost 01:26:29 -rw-r--r-- 1 jenkins jenkins 81 Jul 18 01:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:26:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:26:30 ---> package-listing.sh 01:26:30 ++ facter osfamily 01:26:30 ++ tr '[:upper:]' '[:lower:]' 01:26:30 + OS_FAMILY=debian 01:26:30 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-48 01:26:30 + START_PACKAGES=/tmp/packages_start.txt 01:26:30 + END_PACKAGES=/tmp/packages_end.txt 01:26:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:26:30 + PACKAGES=/tmp/packages_start.txt 01:26:30 + '[' /w/workspace/edgexfoundry_device-gpio_PR-48 ']' 01:26:30 + PACKAGES=/tmp/packages_end.txt 01:26:30 + case "${OS_FAMILY}" in 01:26:30 + dpkg -l 01:26:30 + grep '^ii' 01:26:30 + '[' -f /tmp/packages_start.txt ']' 01:26:30 + '[' -f /tmp/packages_end.txt ']' 01:26:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:26:30 + '[' /w/workspace/edgexfoundry_device-gpio_PR-48 ']' 01:26:30 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-48/archives/ 01:26:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-48/archives/ [Pipeline] echo 01:26:30 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-48/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:26:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:26:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:26:31 prd-ubuntu20.04-docker-8c-8g-20345 does not seem to be running inside a container 01:26:31 $ 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-48/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-48 -v /w/workspace/edgexfoundry_device-gpio_PR-48:/w/workspace/edgexfoundry_device-gpio_PR-48:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-48@tmp:/w/workspace/edgexfoundry_device-gpio_PR-48@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:26:32 $ docker top 80541d7c67dbe281c3c26a6b3c94badcda6ac945c8d205c2ac9e4ba357f0d911 -eo pid,comm [Pipeline] { [Pipeline] sh 01:26:32 + touch /tmp/pre-build-complete [Pipeline] sh 01:26:32 + mkdir -p /var/log/sysstat [Pipeline] sh 01:26:33 + ls /var/log/sa-host 01:26:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:26:33 provisioning config files... 01:26:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-48@tmp/config8442867013961993334tmp [Pipeline] { [Pipeline] echo 01:26:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:26:33 ---> create-netrc.sh [Pipeline] } 01:26:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:26:34 ---> python-tools-install.sh [Pipeline] echo 01:26:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:26:34 ---> sudo-logs.sh 01:26:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:26:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:26:34 ---> job-cost.sh 01:26:34 lf-activate-venv: SKIPPING 01:26:34 DEBUG: total: 0.2199999988079071 01:26:34 INFO: Retrieving Stack Cost... 01:26:35 INFO: Retrieving Pricing Info for: v3-standard-8 01:26:35 INFO: Archiving Costs [Pipeline] echo 01:26:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:26:35 ---> logs-deploy.sh 01:26:35 lf-activate-venv: SKIPPING 01:26:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-48/1 01:26:35 INFO: archiving workspace using pattern(s): 01:26:37 Archives upload complete. 01:26:37 INFO: archiving logs to Nexus 01:26:37 ---> uname -a: 01:26:37 Linux prd-ubuntu20-04-docker-8c-8g-20345 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 01:26:37 01:26:37 01:26:37 ---> lscpu: 01:26:37 Architecture: x86_64 01:26:37 CPU op-mode(s): 32-bit, 64-bit 01:26:37 Byte Order: Little Endian 01:26:37 Address sizes: 40 bits physical, 48 bits virtual 01:26:37 CPU(s): 8 01:26:37 On-line CPU(s) list: 0-7 01:26:37 Thread(s) per core: 1 01:26:37 Core(s) per socket: 1 01:26:37 Socket(s): 8 01:26:37 NUMA node(s): 1 01:26:37 Vendor ID: AuthenticAMD 01:26:37 CPU family: 23 01:26:37 Model: 49 01:26:37 Model name: AMD EPYC-Rome Processor 01:26:37 Stepping: 0 01:26:37 CPU MHz: 2799.864 01:26:37 BogoMIPS: 5599.72 01:26:37 Virtualization: AMD-V 01:26:37 Hypervisor vendor: KVM 01:26:37 Virtualization type: full 01:26:37 L1d cache: 256 KiB 01:26:37 L1i cache: 256 KiB 01:26:37 L2 cache: 4 MiB 01:26:37 L3 cache: 128 MiB 01:26:37 NUMA node0 CPU(s): 0-7 01:26:37 Vulnerability Itlb multihit: Not affected 01:26:37 Vulnerability L1tf: Not affected 01:26:37 Vulnerability Mds: Not affected 01:26:37 Vulnerability Meltdown: Not affected 01:26:37 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:26:37 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 01:26:37 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 01:26:37 Vulnerability Srbds: Not affected 01:26:37 Vulnerability Tsx async abort: Not affected 01:26:37 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:26:37 01:26:37 01:26:37 ---> nproc: 01:26:37 8 01:26:37 01:26:37 01:26:37 ---> df -h: 01:26:37 Filesystem Size Used Avail Use% Mounted on 01:26:37 overlay 155G 11G 145G 7% / 01:26:37 tmpfs 64M 0 64M 0% /dev 01:26:37 tmpfs 16G 0 16G 0% /sys/fs/cgroup 01:26:37 shm 64M 0 64M 0% /dev/shm 01:26:37 /dev/vda1 155G 11G 145G 7% /facter-os 01:26:37 01:26:37 01:26:37 ---> sar -b -r -n DEV: 01:26:37 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-20345) 07/18/22 _x86_64_ (8 CPU) 01:26:37 01:26:37 01:14:53 LINUX RESTART (8 CPU) 01:26:37 01:26:37 01:15:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 01:26:37 01:16:01 372.95 62.56 310.40 0.00 8262.22 186861.12 0.00 01:26:37 01:17:01 157.65 1.42 156.23 0.00 24.79 57415.39 0.00 01:26:37 01:18:01 156.64 0.10 156.54 0.00 4.40 23848.43 0.00 01:26:37 01:19:01 32.01 0.02 31.99 0.00 1.33 16463.67 0.00 01:26:37 01:20:01 1.08 0.02 1.07 0.00 0.13 13.46 0.00 01:26:37 01:21:01 0.90 0.00 0.90 0.00 0.00 10.13 0.00 01:26:37 01:22:01 1.20 0.00 1.20 0.00 0.00 14.00 0.00 01:26:37 01:23:01 0.90 0.00 0.90 0.00 0.00 10.13 0.00 01:26:37 01:24:01 1.18 0.00 1.18 0.00 0.00 13.20 0.00 01:26:37 01:25:01 2.22 0.00 2.22 0.00 0.00 24.93 0.00 01:26:37 01:26:01 1.62 0.00 1.62 0.00 0.00 22.53 0.00 01:26:37 Average: 66.21 5.83 60.39 0.00 753.86 25881.24 0.00 01:26:37 01:26:37 01:15:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 01:26:37 01:16:01 29661960 31820748 509396 1.55 104508 2347900 1807792 5.33 1071356 1824036 396 01:26:37 01:17:01 28288456 31745468 546860 1.66 160312 3494284 1921772 5.66 1238472 2895780 110180 01:26:37 01:18:01 27514456 31715192 576900 1.75 173588 4179232 2224204 6.55 1330412 3528044 559088 01:26:37 01:19:01 27674164 31772436 518900 1.58 174184 4077568 1816176 5.35 1285480 3413952 172 01:26:37 01:20:01 27674464 31772736 518528 1.58 174208 4077576 1816176 5.35 1285344 3413956 44 01:26:37 01:21:01 27680340 31778600 512696 1.56 174220 4077576 1816176 5.35 1280368 3413956 144 01:26:37 01:22:01 27680604 31778796 512636 1.56 174248 4077580 1816176 5.35 1280224 3413960 180 01:26:37 01:23:01 27686668 31785620 506560 1.54 174264 4077584 1816176 5.35 1273880 3414684 212 01:26:37 01:24:01 27686384 31785340 506784 1.54 174284 4077584 1816176 5.35 1273620 3414684 176 01:26:37 01:25:01 27686376 31785416 506656 1.54 174348 4077588 1816176 5.35 1273592 3414688 40 01:26:37 01:26:01 27686296 31785356 506628 1.54 174416 4077560 1816176 5.35 1273948 3414668 12 01:26:37 Average: 27901833 31775064 520231 1.58 166598 3876548 1862107 5.49 1260609 3232946 60968 01:26:37 01:26:37 01:15:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 01:26:37 01:16:01 ens3 632.36 362.72 3663.23 95.90 0.00 0.00 0.00 0.00 01:26:37 01:16:01 docker0 13.15 13.96 1.16 126.65 0.00 0.00 0.00 0.00 01:26:37 01:16:01 lo 4.87 4.87 0.46 0.46 0.00 0.00 0.00 0.00 01:26:37 01:17:01 ens3 319.21 241.44 5014.05 87.42 0.00 0.00 0.00 0.00 01:26:37 01:17:01 docker0 106.18 129.02 8.54 1056.54 0.00 0.00 0.00 0.00 01:26:37 01:17:01 veth2796de6 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 01:26:37 01:17:01 lo 2.80 2.80 0.27 0.27 0.00 0.00 0.00 0.00 01:26:37 01:18:01 ens3 133.16 84.49 2632.77 19.05 0.00 0.00 0.00 0.00 01:26:37 01:18:01 docker0 16.26 19.95 0.96 98.60 0.00 0.00 0.00 0.00 01:26:37 01:18:01 lo 1.80 1.80 0.18 0.18 0.00 0.00 0.00 0.00 01:26:37 01:19:01 ens3 44.26 39.54 26.82 53.55 0.00 0.00 0.00 0.00 01:26:37 01:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:26:37 01:19:01 lo 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 01:26:37 01:20:01 ens3 0.77 0.57 0.28 0.22 0.00 0.00 0.00 0.00 01:26:37 01:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:26:37 01:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:26:37 01:21:01 ens3 0.27 0.25 0.09 0.08 0.00 0.00 0.00 0.00 01:26:37 01:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:26:37 01:21:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:26:37 01:22:01 ens3 0.07 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:26:37 01:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:26:37 01:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:26:37 01:23:01 ens3 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 01:26:37 01:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:26:37 01:23:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:26:37 01:24:01 ens3 0.08 0.03 0.00 0.00 0.00 0.00 0.00 0.00 01:26:37 01:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:26:37 01:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:26:37 01:25:01 ens3 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 01:26:37 01:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:26:37 01:25:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:26:37 01:26:01 ens3 0.28 0.15 0.09 0.07 0.00 0.00 0.00 0.00 01:26:37 01:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:26:37 01:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:26:37 Average: ens3 102.79 66.31 1030.70 23.30 0.00 0.00 0.00 0.00 01:26:37 Average: docker0 12.33 14.81 0.97 116.54 0.00 0.00 0.00 0.00 01:26:37 Average: lo 0.94 0.94 0.09 0.09 0.00 0.00 0.00 0.00 01:26:37 01:26:37