Pull request #55 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-gpio Obtained Jenkinsfile from 32a302445b6feca8f4c5609d98185124129eaf95+260cec84f3d8422d1b27e17805dfcbed9444425b (0a56ca646566e7b334f3d3d1115c5dab833fbf02) 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-ssh16222267270343292767.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh11208183129460700059.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-55/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-55/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9629812608155437319.key Verifying host key using known hosts file > 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-55/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3957162838298157152.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh14426908660002007702.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-55/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-55/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12578221096543270767.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 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-684 in /w/workspace/edgexfoundry_device-gpio_PR-55 [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-55 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/55/head:refs/remotes/origin/PR-55 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 260cec84f3d8422d1b27e17805dfcbed9444425b into PR head commit 32a302445b6feca8f4c5609d98185124129eaf95 Merge succeeded, producing 32a302445b6feca8f4c5609d98185124129eaf95 Checking out Revision 32a302445b6feca8f4c5609d98185124129eaf95 (PR-55) > git config core.sparsecheckout # timeout=10 > git checkout -f 32a302445b6feca8f4c5609d98185124129eaf95 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 260cec84f3d8422d1b27e17805dfcbed9444425b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 32a302445b6feca8f4c5609d98185124129eaf95 # timeout=10 Commit message: "build: Add option to build Service with NATS Capability" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:13:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:13:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:13:43 ========================================================= 23:13:43 EdgeX Global Pipelines Version Info 23:13:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:13:44 ------------------- 23:13:44 stable info: 23:13:44 ------------------- 23:13:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:13:44 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 23:13:44 Message: update stable to v1.0.239 23:13:44 ------------------- 23:13:44 experimental info: 23:13:44 ------------------- 23:13:44 Commited By: **** collab-it+edgex@linuxfoundation.org 23:13:44 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 23:13:44 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:13:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 23:13:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 23:13:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:13:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:13:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:13:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:13:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:13:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:13:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:13:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:13:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:13:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 23:13:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:13:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:13:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:13:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:13:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:13:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:13:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:13:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:13:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:13:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:13:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:13:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:13:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:13:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:13:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:13:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-55 [Pipeline] echo 23:13:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-55 [Pipeline] echo 23:13:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-55 [Pipeline] echo 23:13:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 32a302445b6feca8f4c5609d98185124129eaf95 [Pipeline] echo 23:13:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 32a3024 [Pipeline] echo 23:13:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:13:46 provisioning config files... 23:13:46 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-55@tmp/config15370836598140801857tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:13:46 ---> docker-login.sh 23:13:46 nexus3.edgexfoundry.org:10001 23:13:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:47 Configure a credential helper to remove this warning. See 23:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:47 23:13:47 Login Succeeded 23:13:47 nexus3.edgexfoundry.org:10002 23:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:47 Configure a credential helper to remove this warning. See 23:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:47 23:13:47 Login Succeeded 23:13:47 nexus3.edgexfoundry.org:10003 23:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:47 Configure a credential helper to remove this warning. See 23:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:47 23:13:47 Login Succeeded 23:13:47 nexus3.edgexfoundry.org:10004 23:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:47 Configure a credential helper to remove this warning. See 23:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:47 23:13:47 Login Succeeded 23:13:47 docker.io 23:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:48 Configure a credential helper to remove this warning. See 23:13:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:48 23:13:48 Login Succeeded 23:13:48 ---> docker-login.sh ends [Pipeline] } 23:13:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:13:48 + git rev-list -1 --merges 32a302445b6feca8f4c5609d98185124129eaf95~1..32a302445b6feca8f4c5609d98185124129eaf95 [Pipeline] echo 23:13:48 -----------> git rev-list -1 --merges 32a302445b6feca8f4c5609d98185124129eaf95~1..32a302445b6feca8f4c5609d98185124129eaf95 32a302445b6feca8f4c5609d98185124129eaf95 [false] [Pipeline] sh 23:13:49 + git log --format=format:%s -1 32a302445b6feca8f4c5609d98185124129eaf95 [Pipeline] echo 23:13:49 ========================================================= 23:13:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:13:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:13:49 + git log --format=format:%s -1 32a302445b6feca8f4c5609d98185124129eaf95 [Pipeline] echo 23:13:49 [semverPrep] GIT_COMMIT: 32a302445b6feca8f4c5609d98185124129eaf95, Commit Message: build: Add option to build Service with NATS Capability [Pipeline] echo 23:13:49 [semverPrep] This is not a build commit. [Pipeline] sh 23:13:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:13:49 + grep -v github /etc/ssh/ssh_known_hosts 23:13:49 + [ -e /tmp/ssh_known_hosts ] 23:13:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:13:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:13:49 + sudo tee -a /etc/ssh/ssh_known_hosts 23:13:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:13:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:13:50 23:13:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:13:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:13:50 0.1.4: Pulling from edgex-devops/py-git-semver 23:13:50 b85a868b505f: Pulling fs layer 23:13:50 e2be974225ed: Pulling fs layer 23:13:50 339a4e72a1f5: Pulling fs layer 23:13:50 988bab9f4d93: Pulling fs layer 23:13:50 1469e6f7b9e6: Pulling fs layer 23:13:50 eaf3925da568: Pulling fs layer 23:13:50 988bab9f4d93: Waiting 23:13:50 bab4dde63d76: Pulling fs layer 23:13:50 eaf3925da568: Waiting 23:13:50 bde34c3a00c8: Pulling fs layer 23:13:50 bab4dde63d76: Waiting 23:13:50 b352a97aabf1: Pulling fs layer 23:13:50 bde34c3a00c8: Waiting 23:13:50 4872d77fe225: Pulling fs layer 23:13:50 b352a97aabf1: Waiting 23:13:50 5851b861e8e6: Pulling fs layer 23:13:50 4872d77fe225: Waiting 23:13:50 5851b861e8e6: Waiting 23:13:50 e2be974225ed: Verifying Checksum 23:13:50 e2be974225ed: Download complete 23:13:50 988bab9f4d93: Verifying Checksum 23:13:50 988bab9f4d93: Download complete 23:13:51 1469e6f7b9e6: Download complete 23:13:51 eaf3925da568: Download complete 23:13:51 339a4e72a1f5: Verifying Checksum 23:13:51 339a4e72a1f5: Download complete 23:13:51 bde34c3a00c8: Download complete 23:13:51 b352a97aabf1: Verifying Checksum 23:13:51 b352a97aabf1: Download complete 23:13:51 4872d77fe225: Verifying Checksum 23:13:51 4872d77fe225: Download complete 23:13:51 5851b861e8e6: Download complete 23:13:51 b85a868b505f: Verifying Checksum 23:13:51 b85a868b505f: Download complete 23:13:51 bab4dde63d76: Verifying Checksum 23:13:51 bab4dde63d76: Download complete 23:13:52 b85a868b505f: Pull complete 23:13:52 e2be974225ed: Pull complete 23:13:52 339a4e72a1f5: Pull complete 23:13:53 988bab9f4d93: Pull complete 23:13:53 1469e6f7b9e6: Pull complete 23:13:53 eaf3925da568: Pull complete 23:13:55 bab4dde63d76: Pull complete 23:13:55 bde34c3a00c8: Pull complete 23:13:55 b352a97aabf1: Pull complete 23:13:55 4872d77fe225: Pull complete 23:13:55 5851b861e8e6: Pull complete 23:13:55 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:13:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:13:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:13:56 prd-ubuntu20.04-docker-8c-8g-684 does not seem to be running inside a container 23:13:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-55 -v /w/workspace/edgexfoundry_device-gpio_PR-55:/w/workspace/edgexfoundry_device-gpio_PR-55:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-55@tmp:/w/workspace/edgexfoundry_device-gpio_PR-55@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:13:58 $ docker top 484fee7f07de85c5836ba00922d9ed4241b0acd04965b5717d3166804c2e83cd -eo pid,comm 23:13:58 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). 23:13:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:13:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:13:58 [ssh-agent] Looking for ssh-agent implementation... 23:13:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:13:58 $ docker exec 484fee7f07de85c5836ba00922d9ed4241b0acd04965b5717d3166804c2e83cd ssh-agent 23:13:58 SSH_AUTH_SOCK=/tmp/ssh-0iA8atqDhLWP/agent.32 23:13:58 SSH_AGENT_PID=38 23:13:58 Running ssh-add (command line suppressed) 23:13:59 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-55@tmp/private_key_4742555266683390714.key (/w/workspace/edgexfoundry_device-gpio_PR-55@tmp/private_key_4742555266683390714.key) 23:13:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:13:59 + git tag --points-at HEAD [Pipeline] } 23:13:59 $ docker exec --env ******** --env ******** 484fee7f07de85c5836ba00922d9ed4241b0acd04965b5717d3166804c2e83cd ssh-agent -k 23:13:59 unset SSH_AUTH_SOCK; 23:13:59 unset SSH_AGENT_PID; 23:13:59 echo Agent pid 38 killed; 23:13:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:13:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:13:59 [ssh-agent] Looking for ssh-agent implementation... 23:13:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:13:59 $ docker exec 484fee7f07de85c5836ba00922d9ed4241b0acd04965b5717d3166804c2e83cd ssh-agent 23:13:59 SSH_AUTH_SOCK=/tmp/ssh-axSj6bmxy5tL/agent.70 23:13:59 SSH_AGENT_PID=76 23:13:59 Running ssh-add (command line suppressed) 23:13:59 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-55@tmp/private_key_9171832563615963742.key (/w/workspace/edgexfoundry_device-gpio_PR-55@tmp/private_key_9171832563615963742.key) 23:14:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:14:00 + git semver init 23:14:00 2022-09-22 23:14:00,528 [run_init] DEBUG init version:0.0.0 force:False 23:14:00 2022-09-22 23:14:00,529 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-55/.semver 23:14:00 2022-09-22 23:14:00,529 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-55/.semver 23:14:00 2022-09-22 23:14:00,530 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-55/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-55, universal_newlines=False, shell=None, istream=None) 23:14:01 2022-09-22 23:14:01,615 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-55/.git/info/exclude 23:14:01 2022-09-22 23:14:01,615 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-55/.semver/PR-55 with force:False 23:14:01 2022-09-22 23:14:01,615 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-55/.semver/PR-55 23:14:01 2022-09-22 23:14:01,620 [execute] INFO git cat-file --batch-check 23:14:01 2022-09-22 23:14:01,621 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-55/.semver, universal_newlines=False, shell=None, istream=) 23:14:01 2022-09-22 23:14:01,628 [execute] INFO git cat-file --batch 23:14:01 2022-09-22 23:14:01,629 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-55/.semver, universal_newlines=False, shell=None, istream=) 23:14:01 2022-09-22 23:14:01,634 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-55/.semver/PR-55 23:14:01 0.0.0 [Pipeline] } 23:14:02 $ docker exec --env ******** --env ******** 484fee7f07de85c5836ba00922d9ed4241b0acd04965b5717d3166804c2e83cd ssh-agent -k 23:14:02 unset SSH_AUTH_SOCK; 23:14:02 unset SSH_AGENT_PID; 23:14:02 echo Agent pid 76 killed; 23:14:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:14:02 + git semver [Pipeline] } 23:14:02 $ docker stop --time=1 484fee7f07de85c5836ba00922d9ed4241b0acd04965b5717d3166804c2e83cd 23:14:04 $ docker rm -f 484fee7f07de85c5836ba00922d9ed4241b0acd04965b5717d3166804c2e83cd [Pipeline] // withDockerContainer [Pipeline] sh 23:14:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:14:04 Stashed 1 file(s) [Pipeline] echo 23:14:04 [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 23:14:05 provisioning config files... 23:14:05 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-55@tmp/config17544346145770601786tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:14:05 ---> docker-login.sh 23:14:05 nexus3.edgexfoundry.org:10001 23:14:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:05 Configure a credential helper to remove this warning. See 23:14:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:05 23:14:05 Login Succeeded 23:14:05 nexus3.edgexfoundry.org:10002 23:14:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:05 Configure a credential helper to remove this warning. See 23:14:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:05 23:14:05 Login Succeeded 23:14:05 nexus3.edgexfoundry.org:10003 23:14:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:05 Configure a credential helper to remove this warning. See 23:14:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:05 23:14:05 Login Succeeded 23:14:05 nexus3.edgexfoundry.org:10004 23:14:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:05 Configure a credential helper to remove this warning. See 23:14:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:05 23:14:05 Login Succeeded 23:14:05 docker.io 23:14:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:06 Configure a credential helper to remove this warning. See 23:14:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:06 23:14:06 Login Succeeded 23:14:06 ---> docker-login.sh ends [Pipeline] } 23:14:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:14:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:14:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:14:06 ========================================================= 23:14:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:14:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:14:07 + 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 . 23:14:07 Sending build context to Docker daemon 15.85MB 23:14:07 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:14:07 Step 2/13 : FROM ${BASE} AS builder 23:14:07 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:14:07 2408cc74d12b: Pulling fs layer 23:14:07 ea60b727a1ce: Pulling fs layer 23:14:07 30c4a7721957: Pulling fs layer 23:14:07 370296b7ddb6: Pulling fs layer 23:14:07 7c6cee850709: Pulling fs layer 23:14:07 39a5fcdaea64: Pulling fs layer 23:14:07 d94ebbe4e438: Pulling fs layer 23:14:07 370296b7ddb6: Waiting 23:14:07 7c6cee850709: Waiting 23:14:07 39a5fcdaea64: Waiting 23:14:07 bcfd1f05c69d: Pulling fs layer 23:14:07 59ccb84bbe0f: Pulling fs layer 23:14:07 bcfd1f05c69d: Waiting 23:14:07 59ccb84bbe0f: Waiting 23:14:07 d94ebbe4e438: Waiting 23:14:07 30c4a7721957: Verifying Checksum 23:14:07 30c4a7721957: Download complete 23:14:07 ea60b727a1ce: Download complete 23:14:07 7c6cee850709: Verifying Checksum 23:14:07 7c6cee850709: Download complete 23:14:07 39a5fcdaea64: Download complete 23:14:07 2408cc74d12b: Verifying Checksum 23:14:07 2408cc74d12b: Download complete 23:14:07 d94ebbe4e438: Download complete 23:14:07 2408cc74d12b: Pull complete 23:14:07 ea60b727a1ce: Pull complete 23:14:07 30c4a7721957: Pull complete 23:14:08 59ccb84bbe0f: Verifying Checksum 23:14:08 59ccb84bbe0f: Download complete 23:14:08 bcfd1f05c69d: Verifying Checksum 23:14:08 bcfd1f05c69d: Download complete 23:14:08 370296b7ddb6: Verifying Checksum 23:14:08 370296b7ddb6: Download complete 23:14:12 370296b7ddb6: Pull complete 23:14:12 7c6cee850709: Pull complete 23:14:12 39a5fcdaea64: Pull complete 23:14:12 d94ebbe4e438: Pull complete 23:14:14 bcfd1f05c69d: Pull complete 23:14:15 59ccb84bbe0f: Pull complete 23:14:15 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 23:14:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:14:15 ---> a4fb48ad2a94 23:14:15 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:14:18 ---> Running in 86c942c302d6 23:14:18 Removing intermediate container 86c942c302d6 23:14:18 ---> ecc81e0106b3 23:14:18 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:14:18 ---> Running in 4818e26b64f4 23:14:18 Removing intermediate container 4818e26b64f4 23:14:18 ---> ad6205f6288c 23:14:18 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:14:18 ---> Running in f66267e747f3 23:14:18 Removing intermediate container f66267e747f3 23:14:18 ---> e9834ccd32ca 23:14:18 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:14:18 ---> Running in c77180d05767 23:14:18 Removing intermediate container c77180d05767 23:14:18 ---> 83cbc479c341 23:14:18 Step 7/13 : WORKDIR /device-gpio 23:14:18 ---> Running in b0b395f290e0 23:14:19 Removing intermediate container b0b395f290e0 23:14:19 ---> 1e7f21f82913 23:14:19 Step 8/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:14:19 ---> Running in 7b2903c33e3f 23:14:19 Removing intermediate container 7b2903c33e3f 23:14:19 ---> 57673ccd8294 23:14:19 Step 9/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:14:19 ---> Running in 6314ecaef02a 23:14:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:14:20 Still waiting to schedule task 23:14:20 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:14:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:14:21 (1/4) Installing openssh-keygen (9.0_p1-r2) 23:14:21 (2/4) Installing libedit (20210910.3.1-r0) 23:14:21 (3/4) Installing openssh-client-common (9.0_p1-r2) 23:14:21 (4/4) Installing openssh-client-default (9.0_p1-r2) 23:14:21 Executing busybox-1.35.0-r13.trigger 23:14:21 OK: 216 MiB in 55 packages 23:14:21 Removing intermediate container 6314ecaef02a 23:14:21 ---> 5a7cd89938d2 23:14:21 Step 10/13 : COPY go.mod vendor* ./ 23:14:21 ---> 060677deb282 23:14:21 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:14:22 ---> Running in 6e54d305f001 23:14:48 Removing intermediate container 6e54d305f001 23:14:48 ---> 1decc9a9a91b 23:14:48 Step 12/13 : COPY . . 23:14:48 ---> dbf13ebe8380 23:14:48 Step 13/13 : RUN ${MAKE} 23:14:48 ---> Running in 9794c1378859 23:14:48 noop 23:14:48 Removing intermediate container 9794c1378859 23:14:48 ---> c97d7d14e287 23:14:48 Successfully built c97d7d14e287 23:14:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:14:49 + docker inspect -f . ci-base-image-x86_64 23:14:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:14:49 prd-ubuntu20.04-docker-8c-8g-684 does not seem to be running inside a container 23:14:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-55 -v /w/workspace/edgexfoundry_device-gpio_PR-55:/w/workspace/edgexfoundry_device-gpio_PR-55:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-55@tmp:/w/workspace/edgexfoundry_device-gpio_PR-55@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:14:49 $ docker top 2667fde420ec3fcbc4dc1d71cb125d1d4499e9abba99ab6d61923e806d47227f -eo pid,comm [Pipeline] { [Pipeline] sh 23:14:50 + go version 23:14:50 go version go1.18.3 linux/amd64 [Pipeline] } 23:14:50 $ docker stop --time=1 2667fde420ec3fcbc4dc1d71cb125d1d4499e9abba99ab6d61923e806d47227f 23:14:51 $ docker rm -f 2667fde420ec3fcbc4dc1d71cb125d1d4499e9abba99ab6d61923e806d47227f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:14:52 + docker inspect -f . ci-base-image-x86_64 23:14:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:14:52 prd-ubuntu20.04-docker-8c-8g-684 does not seem to be running inside a container 23:14:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_PR-55 -v /w/workspace/edgexfoundry_device-gpio_PR-55:/w/workspace/edgexfoundry_device-gpio_PR-55:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-55@tmp:/w/workspace/edgexfoundry_device-gpio_PR-55@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:14:52 $ docker top 3f0ebd510de3d444244c8f3bfd4b4db9b8f128cde32253a5e5f41086dfad9a4f -eo pid,comm [Pipeline] { [Pipeline] sh 23:14:53 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-55 [Pipeline] fileExists [Pipeline] sh 23:14:53 + make test 23:14:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:14:53 ? github.com/edgexfoundry/device-gpio [no test files] 23:15:03 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 23:15:03 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 23:15:10 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." 23:15:10 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:15:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:15:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:15:13 ./bin/test-attribution-txt.sh [Pipeline] echo 23:15:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:15:13 $ docker stop --time=1 3f0ebd510de3d444244c8f3bfd4b4db9b8f128cde32253a5e5f41086dfad9a4f 23:15:16 $ docker rm -f 3f0ebd510de3d444244c8f3bfd4b4db9b8f128cde32253a5e5f41086dfad9a4f [Pipeline] // withDockerContainer [Pipeline] sh 23:15:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:15:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:15:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:15:17 + ls -al . 23:15:17 total 164 23:15:17 drwxrwxr-x 9 jenkins jenkins 4096 Sep 22 23:14 . 23:15:17 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 23:13 .. 23:15:17 -rw-rw-r-- 1 jenkins jenkins 120 Sep 22 23:13 .dockerignore 23:15:17 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 23:15 .git 23:15:17 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:13 .github 23:15:17 -rw-rw-r-- 1 jenkins jenkins 343 Sep 22 23:13 .gitignore 23:15:17 -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 23:13 .golangci.yml 23:15:17 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 23:14 .semver 23:15:17 -rw-rw-r-- 1 jenkins jenkins 9691 Sep 22 23:13 Attribution.txt 23:15:17 -rw-rw-r-- 1 jenkins jenkins 3081 Sep 22 23:13 CHANGELOG.md 23:15:17 -rw-rw-r-- 1 jenkins jenkins 1929 Sep 22 23:13 Dockerfile 23:15:17 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 23:13 GOVERNANCE.md 23:15:17 -rw-rw-r-- 1 jenkins jenkins 657 Sep 22 23:13 Jenkinsfile 23:15:17 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 23:13 LICENSE 23:15:17 -rw-rw-r-- 1 jenkins jenkins 2085 Sep 22 23:13 Makefile 23:15:17 -rw-rw-r-- 1 jenkins jenkins 617 Sep 22 23:13 OWNERS.md 23:15:17 -rw-rw-r-- 1 jenkins jenkins 11842 Sep 22 23:13 README.md 23:15:17 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 23:14 VERSION 23:15:17 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 23:13 bin 23:15:17 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:13 cmd 23:15:17 -rw-r--r-- 1 jenkins jenkins 10 Sep 22 23:14 coverage.out 23:15:17 -rw-rw-r-- 1 jenkins jenkins 3459 Sep 22 23:13 go.mod 23:15:17 -rw-rw-r-- 1 jenkins jenkins 38053 Sep 22 23:13 go.sum 23:15:17 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:13 internal 23:15:17 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 23:13 snap 23:15:17 -rw-rw-r-- 1 jenkins jenkins 209 Sep 22 23:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:15:18 + 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=32a302445b6feca8f4c5609d98185124129eaf95 --label arch=amd64 --label version=0.0.0 . 23:15:18 Sending build context to Docker daemon 15.85MB 23:15:18 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 23:15:18 Step 2/27 : FROM ${BASE} AS builder 23:15:18 ---> c97d7d14e287 23:15:18 Step 3/27 : ARG ADD_BUILD_TAGS="" 23:15:18 ---> Running in db0640bc5ba3 23:15:18 Removing intermediate container db0640bc5ba3 23:15:18 ---> 56b7384bf8ce 23:15:18 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:15:18 ---> Running in 6c6fd3817ed1 23:15:18 Removing intermediate container 6c6fd3817ed1 23:15:18 ---> 1c61a722c143 23:15:18 Step 5/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:15:18 ---> Running in 0f1053918c78 23:15:18 Removing intermediate container 0f1053918c78 23:15:18 ---> 8b4010405c5d 23:15:18 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 23:15:18 ---> Running in 49e8a56e80e7 23:15:18 Removing intermediate container 49e8a56e80e7 23:15:18 ---> fecdd93ee96a 23:15:18 Step 7/27 : WORKDIR /device-gpio 23:15:18 ---> Running in 257c12d47826 23:15:18 Removing intermediate container 257c12d47826 23:15:18 ---> 4defc53a8b68 23:15:18 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:15:18 ---> Running in 8795798e740c 23:15:19 Removing intermediate container 8795798e740c 23:15:19 ---> 9d4c499ab687 23:15:19 Step 9/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:15:19 ---> Running in eda79ce08c66 23:15:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:15:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:15:20 OK: 216 MiB in 55 packages 23:15:21 Removing intermediate container eda79ce08c66 23:15:21 ---> 419b482dd9e7 23:15:21 Step 10/27 : COPY go.mod vendor* ./ 23:15:21 ---> b98ec8314bd2 23:15:21 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:15:21 ---> Running in 05dc9d3e611e 23:15:21 Removing intermediate container 05dc9d3e611e 23:15:21 ---> 3fdc8eae06c4 23:15:21 Step 12/27 : COPY . . 23:15:22 ---> 3dc5da3c3ab5 23:15:22 Step 13/27 : RUN ${MAKE} 23:15:22 ---> Running in ae3975d66497 23:15:22 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 23:15:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-686 in /w/workspace/edgexfoundry_device-gpio_PR-55 [Pipeline] { [Pipeline] ws 23:15:41 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 23:15:41 The recommended git tool is: git 23:15:46 using credential edgex-jenkins-ssh 23:15:46 Cloning the remote Git repository 23:15:46 Cloning repository git@github.com:edgexfoundry/device-gpio.git 23:15:46 > git init /w/workspace/device-gpio/1 # timeout=10 23:15:46 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 23:15:46 > git --version # timeout=10 23:15:46 > git --version # 'git version 2.25.1' 23:15:46 using GIT_SSH to set credentials SSH Credentials for GitHub 23:15:46 Verifying host key using known hosts file 23:15:46 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 23:15:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:15:48 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 23:15:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:15:49 Removing intermediate container ae3975d66497 23:15:49 ---> f94f45c2b692 23:15:49 Step 14/27 : FROM alpine:3.16 23:15:49 3.16: Pulling from library/alpine 23:15:49 213ec9aee27d: Pulling fs layer 23:15:49 213ec9aee27d: Verifying Checksum 23:15:49 213ec9aee27d: Download complete 23:15:49 213ec9aee27d: Pull complete 23:15:49 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:15:49 Status: Downloaded newer image for alpine:3.16 23:15:49 ---> 9c6f07244728 23:15:49 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 23:15:49 ---> Running in 294a57583000 23:15:49 Removing intermediate container 294a57583000 23:15:49 ---> 777c826c4d77 23:15:49 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:15:49 ---> Running in 2aaec6cdcc1e 23:15:49 Removing intermediate container 2aaec6cdcc1e 23:15:49 ---> 886a07ba7f5c 23:15:49 Step 17/27 : RUN apk add --update --no-cache zeromq 23:15:49 ---> Running in 1dd574c6a6c2 23:15:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:15:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:15:49 (1/5) Installing libgcc (11.2.1_git20220219-r2) 23:15:49 (2/5) Installing libsodium (1.0.18-r0) 23:15:49 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 23:15:49 (4/5) Installing libzmq (4.3.4-r0) 23:15:49 (5/5) Installing zeromq (4.3.4-r0) 23:15:49 Executing busybox-1.35.0-r17.trigger 23:15:49 OK: 8 MiB in 19 packages 23:15:49 Removing intermediate container 1dd574c6a6c2 23:15:49 ---> e8f10adf340a 23:15:49 Step 18/27 : WORKDIR / 23:15:49 ---> Running in 2391a90ac8d9 23:15:49 Removing intermediate container 2391a90ac8d9 23:15:49 ---> e004969fe8be 23:15:49 Step 19/27 : COPY --from=builder /device-gpio/Attribution.txt / 23:15:49 Merging remotes/origin/main commit 260cec84f3d8422d1b27e17805dfcbed9444425b into PR head commit 32a302445b6feca8f4c5609d98185124129eaf95 23:15:50 ---> 3fdbf0c29afe 23:15:50 Step 20/27 : COPY --from=builder /device-gpio/LICENSE / 23:15:50 ---> c9667fbdf957 23:15:50 Step 21/27 : COPY --from=builder /device-gpio/cmd/ / 23:15:50 Merge succeeded, producing 32a302445b6feca8f4c5609d98185124129eaf95 23:15:50 Checking out Revision 32a302445b6feca8f4c5609d98185124129eaf95 (PR-55) 23:15:49 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 23:15:49 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 23:15:49 using GIT_SSH to set credentials SSH Credentials for GitHub 23:15:49 Verifying host key using known hosts file 23:15:49 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 23:15:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/55/head:refs/remotes/origin/PR-55 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:15:50 > git config core.sparsecheckout # timeout=10 23:15:50 > git checkout -f 32a302445b6feca8f4c5609d98185124129eaf95 # timeout=10 23:15:50 > git remote # timeout=10 23:15:50 > git config --get remote.origin.url # timeout=10 23:15:50 using GIT_SSH to set credentials SSH Credentials for GitHub 23:15:50 Verifying host key using known hosts file 23:15:50 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 23:15:50 > git merge 260cec84f3d8422d1b27e17805dfcbed9444425b # timeout=10 23:15:50 > git rev-parse HEAD^{commit} # timeout=10 23:15:50 > git config core.sparsecheckout # timeout=10 23:15:50 > git checkout -f 32a302445b6feca8f4c5609d98185124129eaf95 # timeout=10 23:15:50 ---> 7dca1b667ed1 23:15:50 Step 22/27 : EXPOSE 59910 23:15:51 ---> Running in c5e362212ab8 23:15:51 Removing intermediate container c5e362212ab8 23:15:51 ---> cbc9c0c8acae 23:15:51 Step 23/27 : ENTRYPOINT ["/device-gpio"] 23:15:51 ---> Running in 3b3ed2e860a8 23:15:51 Removing intermediate container 3b3ed2e860a8 23:15:51 ---> 993299a4d5ed 23:15:51 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:15:51 ---> Running in 6c512b3703b9 23:15:51 Removing intermediate container 6c512b3703b9 23:15:51 ---> 387bbdb2eadb 23:15:51 Step 25/27 : LABEL arch=amd64 23:15:51 ---> Running in 296a3db9d814 23:15:51 Removing intermediate container 296a3db9d814 23:15:51 ---> b72ced88cadf 23:15:51 Step 26/27 : LABEL git_sha=32a302445b6feca8f4c5609d98185124129eaf95 23:15:51 ---> Running in f2fd5850676b 23:15:51 Removing intermediate container f2fd5850676b 23:15:51 ---> 86684a70ce91 23:15:51 Step 27/27 : LABEL version=0.0.0 23:15:51 ---> Running in b0f796ee9ef3 23:15:51 Removing intermediate container b0f796ee9ef3 23:15:51 ---> 15723ced03a1 23:15:51 [Warning] One or more build-args [ARCH] were not consumed 23:15:51 Successfully built 15723ced03a1 23:15:51 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:15:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:15:52 23:15:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:15:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:15:52 latest: Pulling from edgex-lftools-log-publisher 23:15:52 5eb5b503b376: Pulling fs layer 23:15:52 5c69ac0246d0: Pulling fs layer 23:15:52 ec43610c2a17: Pulling fs layer 23:15:52 3a2ae6a8a46f: Pulling fs layer 23:15:52 33b1e0a273af: Pulling fs layer 23:15:52 5d3b04190fa2: Pulling fs layer 23:15:52 2f39f015ded8: Pulling fs layer 23:15:52 33b1e0a273af: Waiting 23:15:52 3a2ae6a8a46f: Waiting 23:15:52 5d3b04190fa2: Waiting 23:15:52 2f39f015ded8: Waiting 23:15:52 5c69ac0246d0: Download complete 23:15:52 3a2ae6a8a46f: Verifying Checksum 23:15:52 3a2ae6a8a46f: Download complete 23:15:52 33b1e0a273af: Verifying Checksum 23:15:52 33b1e0a273af: Download complete 23:15:52 5d3b04190fa2: Download complete 23:15:53 ec43610c2a17: Verifying Checksum 23:15:53 ec43610c2a17: Download complete 23:15:53 5eb5b503b376: Verifying Checksum 23:15:53 5eb5b503b376: Download complete 23:15:53 2f39f015ded8: Download complete 23:15:53 Commit message: "build: Add option to build Service with NATS Capability" 23:15:53 > git --version # timeout=10 23:15:53 > git --version # 'git version 2.25.1' 23:15:53 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 23:15:54 5eb5b503b376: Pull complete 23:15:54 23:15:54 GitHub has been notified of this commit’s build result 23:15:54 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script 23:15:54 5c69ac0246d0: Pull complete [Pipeline] { [Pipeline] sh 23:15:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:15:54 % Total % Received % Xferd Average Speed Time Time Time Current 23:15:54 Dload Upload Total Spent Left Speed 23:15:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 86315 0 --:--:-- --:--:-- --:--:-- 86315 23:15:54 ec43610c2a17: Pull complete 23:15:54 3a2ae6a8a46f: Pull complete 23:15:54 33b1e0a273af: Pull complete 23:15:55 5d3b04190fa2: Pull complete [Pipeline] sh 23:15:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:15:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:15:55 + sudo tee /etc/docker/daemon.new 23:15:55 { 23:15:55 "registry-mirrors": [ 23:15:55 "https://nexus3.edgexfoundry.org:10001" 23:15:55 ], 23:15:55 "bip": "10.250.0.254/24", 23:15:55 "hosts": [ 23:15:55 "tcp://0.0.0.0:5555", 23:15:55 "unix:///var/run/docker.sock" 23:15:55 ], 23:15:55 "mtu": 1458, 23:15:55 "selinux-enabled": true, 23:15:55 "seccomp-profile": "/etc/docker/seccomp.json" 23:15:55 } [Pipeline] sh 23:15:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:15:56 + sudo service docker restart 23:15:59 2f39f015ded8: Pull complete 23:15:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:15:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:15:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:15:59 prd-ubuntu20.04-docker-8c-8g-684 does not seem to be running inside a container 23:15:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-55 -v /w/workspace/edgexfoundry_device-gpio_PR-55:/w/workspace/edgexfoundry_device-gpio_PR-55:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-55@tmp:/w/workspace/edgexfoundry_device-gpio_PR-55@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:16:03 $ docker top 0dbe2e79ced40072e7058ef7da46b97fe43404af5ac2cd0221a5e3ba04b467a4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:16:03 ---> job-cost.sh 23:16:03 lf-activate-venv: SKIPPING 23:16:03 INFO: No Stack... 23:16:03 INFO: Retrieving Pricing Info for: v3-standard-8 23:16:04 INFO: Archiving Costs [Pipeline] sh 23:16:04 + cat /w/workspace/edgexfoundry_device-gpio_PR-55/archives/cost.csv 23:16:04 + cut -d, -f6 [Pipeline] lock 23:16:04 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-55-1-stack-cost] 23:16:04 Resource [jenkins-edgexfoundry-device-gpio-PR-55-1-stack-cost] did not exist. Created. 23:16:04 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-55-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:16:05 + echo total: 0.2199999988079071 [Pipeline] stash 23:16:05 Stashed 1 file(s) [Pipeline] } 23:16:05 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-55-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:16:05 $ docker stop --time=1 0dbe2e79ced40072e7058ef7da46b97fe43404af5ac2cd0221a5e3ba04b467a4 23:16:06 $ docker rm -f 0dbe2e79ced40072e7058ef7da46b97fe43404af5ac2cd0221a5e3ba04b467a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:16:15 provisioning config files... 23:16:15 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config10752955993054883906tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:16:15 ---> docker-login.sh 23:16:15 nexus3.edgexfoundry.org:10001 23:16:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:16 Configure a credential helper to remove this warning. See 23:16:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:16 23:16:16 Login Succeeded 23:16:16 nexus3.edgexfoundry.org:10002 23:16:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:16 Configure a credential helper to remove this warning. See 23:16:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:16 23:16:16 Login Succeeded 23:16:16 nexus3.edgexfoundry.org:10003 23:16:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:17 Configure a credential helper to remove this warning. See 23:16:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:17 23:16:17 Login Succeeded 23:16:17 nexus3.edgexfoundry.org:10004 23:16:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:17 Configure a credential helper to remove this warning. See 23:16:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:17 23:16:17 Login Succeeded 23:16:17 docker.io 23:16:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:18 Configure a credential helper to remove this warning. See 23:16:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:18 23:16:18 Login Succeeded 23:16:18 ---> docker-login.sh ends [Pipeline] } 23:16:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:16:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:16:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:16:18 ========================================================= 23:16:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:16:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16:19 + 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 . 23:16:19 Sending build context to Docker daemon 8.006MB 23:16:19 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:16:19 Step 2/13 : FROM ${BASE} AS builder 23:16:19 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:16:19 b3c136eddcbf: Pulling fs layer 23:16:19 c0a3192eca97: Pulling fs layer 23:16:19 a050256f5b6f: Pulling fs layer 23:16:19 656be50a0ddc: Pulling fs layer 23:16:19 2bbca73fdf42: Pulling fs layer 23:16:19 46d945488cbd: Pulling fs layer 23:16:19 8a5474983e97: Pulling fs layer 23:16:19 329c88fbcd65: Pulling fs layer 23:16:19 8a5474983e97: Waiting 23:16:19 2bbca73fdf42: Waiting 23:16:19 46d945488cbd: Waiting 23:16:19 656be50a0ddc: Waiting 23:16:19 329c88fbcd65: Waiting 23:16:19 a050256f5b6f: Verifying Checksum 23:16:19 a050256f5b6f: Download complete 23:16:19 c0a3192eca97: Verifying Checksum 23:16:19 c0a3192eca97: Download complete 23:16:19 2bbca73fdf42: Verifying Checksum 23:16:19 2bbca73fdf42: Download complete 23:16:19 46d945488cbd: Verifying Checksum 23:16:19 46d945488cbd: Download complete 23:16:19 b3c136eddcbf: Verifying Checksum 23:16:19 b3c136eddcbf: Download complete 23:16:20 b3c136eddcbf: Pull complete 23:16:20 329c88fbcd65: Verifying Checksum 23:16:20 329c88fbcd65: Download complete 23:16:21 c0a3192eca97: Pull complete 23:16:21 a050256f5b6f: Pull complete 23:16:21 8a5474983e97: Verifying Checksum 23:16:21 8a5474983e97: Download complete 23:16:22 656be50a0ddc: Verifying Checksum 23:16:22 656be50a0ddc: Download complete 23:16:34 656be50a0ddc: Pull complete 23:16:34 2bbca73fdf42: Pull complete 23:16:34 46d945488cbd: Pull complete 23:16:40 8a5474983e97: Pull complete 23:16:42 329c88fbcd65: Pull complete 23:16:42 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 23:16:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:16:42 ---> ff4287adb874 23:16:42 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:16:44 ---> Running in 07fcc2cfcc69 23:16:44 Removing intermediate container 07fcc2cfcc69 23:16:44 ---> 1a5018473b11 23:16:44 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:16:44 ---> Running in 133336030d54 23:16:44 Removing intermediate container 133336030d54 23:16:44 ---> bfc7d608cf13 23:16:44 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:16:44 ---> Running in 28f85f84a478 23:16:45 Removing intermediate container 28f85f84a478 23:16:45 ---> 0b0857020122 23:16:45 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:16:45 ---> Running in af57aa6b01a1 23:16:46 Removing intermediate container af57aa6b01a1 23:16:46 ---> 0950e4f70ae6 23:16:46 Step 7/13 : WORKDIR /device-gpio 23:16:46 ---> Running in 2b9677dfb2f6 23:16:46 Removing intermediate container 2b9677dfb2f6 23:16:46 ---> 405cc648c278 23:16:46 Step 8/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:16:46 ---> Running in 0aaf923e2d43 23:16:48 Removing intermediate container 0aaf923e2d43 23:16:48 ---> 0b74691626eb 23:16:48 Step 9/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:16:48 ---> Running in 182d572402a5 23:16:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:16:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:16:51 (1/4) Installing openssh-keygen (9.0_p1-r2) 23:16:51 (2/4) Installing libedit (20210910.3.1-r0) 23:16:51 (3/4) Installing openssh-client-common (9.0_p1-r2) 23:16:51 (4/4) Installing openssh-client-default (9.0_p1-r2) 23:16:51 Executing busybox-1.35.0-r13.trigger 23:16:51 OK: 226 MiB in 55 packages 23:16:52 Removing intermediate container 182d572402a5 23:16:52 ---> 0a7317efdd6f 23:16:52 Step 10/13 : COPY go.mod vendor* ./ 23:16:52 ---> 7e292f4fd789 23:16:52 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:16:53 ---> Running in 088ad85e49e5 23:17:39 Removing intermediate container 088ad85e49e5 23:17:39 ---> 5782bce03b41 23:17:39 Step 12/13 : COPY . . 23:17:40 ---> abc9c2648cb4 23:17:40 Step 13/13 : RUN ${MAKE} 23:17:40 ---> Running in 723669f2a0ce 23:17:41 noop 23:17:42 Removing intermediate container 723669f2a0ce 23:17:42 ---> 9db48f648d19 23:17:42 Successfully built 9db48f648d19 23:17:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:42 + docker inspect -f . ci-base-image-arm64 23:17:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:17:42 prd-ubuntu20.04-docker-arm64-4c-16g-686 does not seem to be running inside a container 23:17:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:17:44 $ docker top 87530f46be06ffa47d0cd6f369952ac143bbae494cab1d8cbda5e729fc098b6a -eo pid,comm [Pipeline] { [Pipeline] sh 23:17:45 + go version 23:17:45 go version go1.18.3 linux/arm64 [Pipeline] } 23:17:45 $ docker stop --time=1 87530f46be06ffa47d0cd6f369952ac143bbae494cab1d8cbda5e729fc098b6a 23:17:46 $ docker rm -f 87530f46be06ffa47d0cd6f369952ac143bbae494cab1d8cbda5e729fc098b6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:47 + docker inspect -f . ci-base-image-arm64 23:17:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:17:47 prd-ubuntu20.04-docker-arm64-4c-16g-686 does not seem to be running inside a container 23:17:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:17:49 $ docker top 896e5f5c9ba2d3097e284c796b934a518da86ab03ba77edca278e7881b50a349 -eo pid,comm [Pipeline] { [Pipeline] sh 23:17:49 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 23:17:50 + make test 23:17:50 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:17:51 ? github.com/edgexfoundry/device-gpio [no test files] 23:19:13 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 23:19:13 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 23:19:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:19:13 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:19:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:19:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:19:28 ./bin/test-attribution-txt.sh [Pipeline] echo 23:19:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:19:28 $ docker stop --time=1 896e5f5c9ba2d3097e284c796b934a518da86ab03ba77edca278e7881b50a349 23:19:30 $ docker rm -f 896e5f5c9ba2d3097e284c796b934a518da86ab03ba77edca278e7881b50a349 [Pipeline] // withDockerContainer [Pipeline] sh 23:19:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:19:31 Warning: overwriting stash ‘coverage-report’ 23:19:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:19:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:19:32 + ls -al . 23:19:32 total 160 23:19:32 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 23:17 . 23:19:32 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 23:15 .. 23:19:32 -rw-rw-r-- 1 jenkins jenkins 120 Sep 22 23:15 .dockerignore 23:19:32 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 23:15 .git 23:19:32 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:15 .github 23:19:32 -rw-rw-r-- 1 jenkins jenkins 343 Sep 22 23:15 .gitignore 23:19:32 -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 23:15 .golangci.yml 23:19:32 -rw-rw-r-- 1 jenkins jenkins 9691 Sep 22 23:15 Attribution.txt 23:19:32 -rw-rw-r-- 1 jenkins jenkins 3081 Sep 22 23:15 CHANGELOG.md 23:19:32 -rw-rw-r-- 1 jenkins jenkins 1929 Sep 22 23:15 Dockerfile 23:19:32 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 23:15 GOVERNANCE.md 23:19:32 -rw-rw-r-- 1 jenkins jenkins 657 Sep 22 23:15 Jenkinsfile 23:19:32 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 23:15 LICENSE 23:19:32 -rw-rw-r-- 1 jenkins jenkins 2085 Sep 22 23:15 Makefile 23:19:32 -rw-rw-r-- 1 jenkins jenkins 617 Sep 22 23:15 OWNERS.md 23:19:32 -rw-rw-r-- 1 jenkins jenkins 11842 Sep 22 23:15 README.md 23:19:32 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 23:14 VERSION 23:19:32 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 23:15 bin 23:19:32 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:15 cmd 23:19:32 -rw-r--r-- 1 jenkins jenkins 10 Sep 22 23:17 coverage.out 23:19:32 -rw-rw-r-- 1 jenkins jenkins 3459 Sep 22 23:15 go.mod 23:19:32 -rw-rw-r-- 1 jenkins jenkins 38053 Sep 22 23:15 go.sum 23:19:32 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:15 internal 23:19:32 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 23:15 snap 23:19:32 -rw-rw-r-- 1 jenkins jenkins 209 Sep 22 23:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:32 + 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=32a302445b6feca8f4c5609d98185124129eaf95 --label arch=arm64 --label version=0.0.0 . 23:19:33 Sending build context to Docker daemon 8.007MB 23:19:33 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 23:19:33 Step 2/27 : FROM ${BASE} AS builder 23:19:33 ---> 9db48f648d19 23:19:33 Step 3/27 : ARG ADD_BUILD_TAGS="" 23:19:33 ---> Running in 773eb830f8a2 23:19:33 Removing intermediate container 773eb830f8a2 23:19:33 ---> 3d3f55d2817c 23:19:33 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:19:33 ---> Running in a25a8ce3d432 23:19:33 Removing intermediate container a25a8ce3d432 23:19:33 ---> 359bfb8d0ac2 23:19:33 Step 5/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:19:33 ---> Running in ade815fa1f3e 23:19:34 Removing intermediate container ade815fa1f3e 23:19:34 ---> cb1c9738b336 23:19:34 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 23:19:34 ---> Running in 493cb3c30670 23:19:34 Removing intermediate container 493cb3c30670 23:19:34 ---> 43a7f60ce33e 23:19:34 Step 7/27 : WORKDIR /device-gpio 23:19:34 ---> Running in cae3a9224d8b 23:19:35 Removing intermediate container cae3a9224d8b 23:19:35 ---> 4d82c3208a6d 23:19:35 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:19:35 ---> Running in 64ac45658158 23:19:37 Removing intermediate container 64ac45658158 23:19:37 ---> 4360e9d059aa 23:19:37 Step 9/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:19:37 ---> Running in c6c74aa0f6ab 23:19:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:19:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:19:39 OK: 226 MiB in 55 packages 23:19:40 Removing intermediate container c6c74aa0f6ab 23:19:40 ---> 24e0ce1166a4 23:19:40 Step 10/27 : COPY go.mod vendor* ./ 23:19:40 ---> 1217a63bc6bd 23:19:40 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:19:40 ---> Running in cb3e5adb716b 23:19:42 Removing intermediate container cb3e5adb716b 23:19:42 ---> b236471922ce 23:19:42 Step 12/27 : COPY . . 23:19:43 ---> 6cf3bda53338 23:19:43 Step 13/27 : RUN ${MAKE} 23:19:43 ---> Running in b346e83b68bb 23:19:44 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 23:22:21 Removing intermediate container b346e83b68bb 23:22:21 ---> e01b77d271d1 23:22:21 Step 14/27 : FROM alpine:3.16 23:22:21 3.16: Pulling from library/alpine 23:22:21 9b18e9b68314: Pulling fs layer 23:22:21 9b18e9b68314: Verifying Checksum 23:22:21 9b18e9b68314: Pull complete 23:22:21 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:22:21 Status: Downloaded newer image for alpine:3.16 23:22:21 ---> a6215f271958 23:22:21 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 23:22:21 ---> Running in 28a96ded8932 23:22:21 Removing intermediate container 28a96ded8932 23:22:21 ---> 26b3abd5c07b 23:22:21 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:22:21 ---> Running in ee52b2b36f13 23:22:21 Removing intermediate container ee52b2b36f13 23:22:21 ---> f0fc68eb35a7 23:22:21 Step 17/27 : RUN apk add --update --no-cache zeromq 23:22:21 ---> Running in 6a3f225fd23a 23:22:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:22:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:22:21 (1/5) Installing libgcc (11.2.1_git20220219-r2) 23:22:21 (2/5) Installing libsodium (1.0.18-r0) 23:22:21 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 23:22:21 (4/5) Installing libzmq (4.3.4-r0) 23:22:21 (5/5) Installing zeromq (4.3.4-r0) 23:22:21 Executing busybox-1.35.0-r17.trigger 23:22:21 OK: 8 MiB in 19 packages 23:22:21 Removing intermediate container 6a3f225fd23a 23:22:21 ---> c2f6ec2f95b9 23:22:21 Step 18/27 : WORKDIR / 23:22:21 ---> Running in 992ad22a684b 23:22:21 Removing intermediate container 992ad22a684b 23:22:21 ---> 23289c2268c2 23:22:21 Step 19/27 : COPY --from=builder /device-gpio/Attribution.txt / 23:22:21 ---> 7e4f51b5d7c3 23:22:21 Step 20/27 : COPY --from=builder /device-gpio/LICENSE / 23:22:21 ---> 0ca55dd11876 23:22:21 Step 21/27 : COPY --from=builder /device-gpio/cmd/ / 23:22:21 ---> c0f5bb2025e4 23:22:21 Step 22/27 : EXPOSE 59910 23:22:21 ---> Running in f109dfad3a10 23:22:21 Removing intermediate container f109dfad3a10 23:22:21 ---> 84c9f487cba6 23:22:21 Step 23/27 : ENTRYPOINT ["/device-gpio"] 23:22:21 ---> Running in 6e98d0606f4b 23:22:21 Removing intermediate container 6e98d0606f4b 23:22:21 ---> 41a9da9ca6bd 23:22:21 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:22:21 ---> Running in 00453d527abf 23:22:21 Removing intermediate container 00453d527abf 23:22:21 ---> 4794561fbd29 23:22:21 Step 25/27 : LABEL arch=arm64 23:22:21 ---> Running in ceb3f47f1002 23:22:21 Removing intermediate container ceb3f47f1002 23:22:21 ---> 76ede0e3582c 23:22:21 Step 26/27 : LABEL git_sha=32a302445b6feca8f4c5609d98185124129eaf95 23:22:21 ---> Running in 5f6cb2457c00 23:22:21 Removing intermediate container 5f6cb2457c00 23:22:21 ---> 45bfbfeb78a2 23:22:21 Step 27/27 : LABEL version=0.0.0 23:22:21 ---> Running in 05389a84eec6 23:22:21 Removing intermediate container 05389a84eec6 23:22:21 ---> bac5611195c0 23:22:21 [Warning] One or more build-args [ARCH] were not consumed 23:22:21 Successfully built bac5611195c0 23:22:21 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:22:22 23:22:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:22:22 arm64: Pulling from edgex-lftools-log-publisher 23:22:22 8998bd30e6a1: Pulling fs layer 23:22:22 04944245beec: Pulling fs layer 23:22:22 699f458cf7ca: Pulling fs layer 23:22:22 765212b225bb: Pulling fs layer 23:22:22 f23df028b6ca: Pulling fs layer 23:22:22 d65c8cfc05b1: Pulling fs layer 23:22:22 2437ff75d9bd: Pulling fs layer 23:22:22 765212b225bb: Waiting 23:22:22 f23df028b6ca: Waiting 23:22:22 d65c8cfc05b1: Waiting 23:22:22 2437ff75d9bd: Waiting 23:22:22 04944245beec: Verifying Checksum 23:22:22 04944245beec: Download complete 23:22:22 765212b225bb: Verifying Checksum 23:22:22 765212b225bb: Download complete 23:22:22 f23df028b6ca: Download complete 23:22:22 d65c8cfc05b1: Verifying Checksum 23:22:22 d65c8cfc05b1: Download complete 23:22:22 699f458cf7ca: Verifying Checksum 23:22:22 699f458cf7ca: Download complete 23:22:23 8998bd30e6a1: Verifying Checksum 23:22:23 8998bd30e6a1: Download complete 23:22:25 2437ff75d9bd: Verifying Checksum 23:22:25 2437ff75d9bd: Download complete 23:22:27 8998bd30e6a1: Pull complete 23:22:27 04944245beec: Pull complete 23:22:29 699f458cf7ca: Pull complete 23:22:29 765212b225bb: Pull complete 23:22:29 f23df028b6ca: Pull complete 23:22:30 d65c8cfc05b1: Pull complete 23:22:45 2437ff75d9bd: Pull complete 23:22:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:22:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:22:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:22:45 prd-ubuntu20.04-docker-arm64-4c-16g-686 does not seem to be running inside a container 23:22:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:22:48 $ docker top df435d29c32e40846fa9b8154a4367f75b433d58575f17a246f26a5a9c025db5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:22:48 ---> job-cost.sh 23:22:48 lf-activate-venv: SKIPPING 23:22:48 INFO: No Stack... 23:22:49 INFO: Retrieving Pricing Info for: v3-standard-4 23:22:50 INFO: Archiving Costs [Pipeline] sh 23:22:50 + cat /w/workspace/device-gpio/1/archives/cost.csv 23:22:50 + cut -d, -f6 [Pipeline] lock 23:22:50 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-55-1-stack-cost] 23:22:50 Resource [jenkins-edgexfoundry-device-gpio-PR-55-1-stack-cost] did not exist. Created. 23:22:50 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-55-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:22:51 /w/workspace/device-gpio/1@tmp/durable-c335f7b1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:22:51 + echo total: 0.10999999940395355 [Pipeline] stash 23:22:51 Warning: overwriting stash ‘stack-cost’ 23:22:51 Stashed 1 file(s) [Pipeline] } 23:22:51 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-55-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:22:51 $ docker stop --time=1 df435d29c32e40846fa9b8154a4367f75b433d58575f17a246f26a5a9c025db5 23:22:52 $ docker rm -f df435d29c32e40846fa9b8154a4367f75b433d58575f17a246f26a5a9c025db5 [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 23:22:53 provisioning config files... 23:22:53 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-55@tmp/config3240023072193715370tmp [Pipeline] { [Pipeline] sh 23:22:54 + set +x 23:22:54 + curl -s https://codecov.io/bash 23:22:54 + bash -s -- 23:22:54 23:22:54 _____ _ 23:22:54 / ____| | | 23:22:54 | | ___ __| | ___ ___ _____ __ 23:22:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:22:54 | |___| (_) | (_| | __/ (_| (_) \ V / 23:22:54 \_____\___/ \__,_|\___|\___\___/ \_/ 23:22:54 Bash-1.0.6 23:22:54 23:22:54 23:22:54 ==> git version 2.25.1 found 23:22:54 ==> 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 23:22:54 Release-Date: 2020-01-08 23:22:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:22:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:22:54 ==> Jenkins CI detected. 23:22:54 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-55 23:22:54 project root: . 23:22:54 --> token set from env 23:22:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:22:54 ==> Running gcov in . (disable via -X gcov) 23:22:54 ==> Python coveragepy not found 23:22:54 ==> Searching for coverage reports in: 23:22:54 + . 23:22:54 -> Found 1 reports 23:22:54 ==> Detecting git/mercurial file structure 23:22:54 ==> Reading reports 23:22:54 + ./coverage.out bytes=10 23:22:54 ==> Appending adjustments 23:22:54 https://docs.codecov.io/docs/fixing-reports 23:22:54 + Found adjustments 23:22:54 ==> Gzipping contents 23:22:54 4.0K /tmp/codecov.cPNbeH.gz 23:22:54 ==> Uploading reports 23:22:54 url: https://codecov.io 23:22:54 query: branch=PR-55&commit=32a302445b6feca8f4c5609d98185124129eaf95&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-55%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=55&job=&cmd_args= 23:22:54 -> Pinging Codecov 23:22:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-55&commit=32a302445b6feca8f4c5609d98185124129eaf95&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-55%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=55&job=&cmd_args= 23:22:54 -> Uploading to 23:22:54 https://storage.googleapis.com/codecov/v4/raw/2022-09-22/3EC07B1A8CA8AF9BCAA0BB9F0134797F/32a302445b6feca8f4c5609d98185124129eaf95/89f38c30-61ec-4230-bcf2-4d2b284da107.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T232254Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2e271f1df8fb65013aa4aad5d87ebad100a02f47fe3a3594609e5c41afa17bd4 23:22:54 % Total % Received % Xferd Average Speed Time Time Time Current 23:22:54 Dload Upload Total Spent Left Speed 23:22:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 3200 --:--:-- --:--:-- --:--:-- 3200 23:22:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/32a302445b6feca8f4c5609d98185124129eaf95 [Pipeline] } 23:22:55 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 23:22:56 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-55/archives ] 23:22:56 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-55/archives 23:22:56 total 16 23:22:56 drwxr-xr-x 3 root root 4096 Sep 22 23:16 . 23:22:56 drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 23:16 .. 23:22:56 drwxr-xr-x 2 root root 4096 Sep 22 23:16 cost 23:22:56 -rw-r--r-- 1 root root 82 Sep 22 23:16 cost.csv 23:22:56 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-55/archives 23:22:56 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-55/archives 23:22:56 total 16 23:22:56 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 23:16 . 23:22:56 drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 23:16 .. 23:22:56 drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 23:16 cost 23:22:56 -rw-r--r-- 1 jenkins jenkins 82 Sep 22 23:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:22:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:22:57 ---> package-listing.sh 23:22:57 ++ facter osfamily 23:22:57 ++ tr '[:upper:]' '[:lower:]' 23:22:58 + OS_FAMILY=debian 23:22:58 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-55 23:22:58 + START_PACKAGES=/tmp/packages_start.txt 23:22:58 + END_PACKAGES=/tmp/packages_end.txt 23:22:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:22:58 + PACKAGES=/tmp/packages_start.txt 23:22:58 + '[' /w/workspace/edgexfoundry_device-gpio_PR-55 ']' 23:22:58 + PACKAGES=/tmp/packages_end.txt 23:22:58 + case "${OS_FAMILY}" in 23:22:58 + dpkg -l 23:22:58 + grep '^ii' 23:22:58 + '[' -f /tmp/packages_start.txt ']' 23:22:58 + '[' -f /tmp/packages_end.txt ']' 23:22:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:22:58 + '[' /w/workspace/edgexfoundry_device-gpio_PR-55 ']' 23:22:58 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-55/archives/ 23:22:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-55/archives/ [Pipeline] echo 23:22:58 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-55/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:22:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:22:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:22:59 prd-ubuntu20.04-docker-8c-8g-684 does not seem to be running inside a container 23:22:59 $ 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-55/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-55 -v /w/workspace/edgexfoundry_device-gpio_PR-55:/w/workspace/edgexfoundry_device-gpio_PR-55:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-55@tmp:/w/workspace/edgexfoundry_device-gpio_PR-55@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:22:59 $ docker top 557ef02674b21b62d3e57c050ca98c1529f64d5dae3f19fa4b8dd4a555fb42b0 -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:59 + touch /tmp/pre-build-complete [Pipeline] sh 23:23:00 + mkdir -p /var/log/sysstat [Pipeline] sh 23:23:00 + ls /var/log/sa-host 23:23:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:23:00 provisioning config files... 23:23:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-55@tmp/config150527310328974435tmp [Pipeline] { [Pipeline] echo 23:23:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:23:01 ---> create-netrc.sh [Pipeline] } 23:23:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:23:01 ---> python-tools-install.sh [Pipeline] echo 23:23:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:23:01 ---> sudo-logs.sh 23:23:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:23:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:23:02 ---> job-cost.sh 23:23:02 lf-activate-venv: SKIPPING 23:23:02 DEBUG: total: 0.2199999988079071 23:23:02 INFO: Retrieving Stack Cost... 23:23:02 INFO: Retrieving Pricing Info for: v3-standard-8 23:23:03 INFO: Archiving Costs [Pipeline] echo 23:23:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:23:03 ---> logs-deploy.sh 23:23:03 lf-activate-venv: SKIPPING 23:23:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-55/1 23:23:03 INFO: archiving workspace using pattern(s): 23:23:04 Archives upload complete. 23:23:04 INFO: archiving logs to Nexus 23:23:05 ---> uname -a: 23:23:05 Linux prd-ubuntu20-04-docker-8c-8g-684 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 23:23:05 23:23:05 23:23:05 ---> lscpu: 23:23:05 Architecture: x86_64 23:23:05 CPU op-mode(s): 32-bit, 64-bit 23:23:05 Byte Order: Little Endian 23:23:05 Address sizes: 40 bits physical, 48 bits virtual 23:23:05 CPU(s): 8 23:23:05 On-line CPU(s) list: 0-7 23:23:05 Thread(s) per core: 1 23:23:05 Core(s) per socket: 1 23:23:05 Socket(s): 8 23:23:05 NUMA node(s): 1 23:23:05 Vendor ID: AuthenticAMD 23:23:05 CPU family: 23 23:23:05 Model: 49 23:23:05 Model name: AMD EPYC-Rome Processor 23:23:05 Stepping: 0 23:23:05 CPU MHz: 2799.998 23:23:05 BogoMIPS: 5599.99 23:23:05 Virtualization: AMD-V 23:23:05 Hypervisor vendor: KVM 23:23:05 Virtualization type: full 23:23:05 L1d cache: 256 KiB 23:23:05 L1i cache: 256 KiB 23:23:05 L2 cache: 4 MiB 23:23:05 L3 cache: 128 MiB 23:23:05 NUMA node0 CPU(s): 0-7 23:23:05 Vulnerability Itlb multihit: Not affected 23:23:05 Vulnerability L1tf: Not affected 23:23:05 Vulnerability Mds: Not affected 23:23:05 Vulnerability Meltdown: Not affected 23:23:05 Vulnerability Mmio stale data: Not affected 23:23:05 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 23:23:05 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 23:23:05 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 23:23:05 Vulnerability Srbds: Not affected 23:23:05 Vulnerability Tsx async abort: Not affected 23:23:05 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 23:23:05 23:23:05 23:23:05 ---> nproc: 23:23:05 8 23:23:05 23:23:05 23:23:05 ---> df -h: 23:23:05 Filesystem Size Used Avail Use% Mounted on 23:23:05 overlay 155G 12G 144G 8% / 23:23:05 tmpfs 64M 0 64M 0% /dev 23:23:05 tmpfs 16G 0 16G 0% /sys/fs/cgroup 23:23:05 shm 64M 0 64M 0% /dev/shm 23:23:05 /dev/vda1 155G 12G 144G 8% /facter-os 23:23:05 23:23:05 23:23:05 ---> sar -b -r -n DEV: 23:23:05 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-684) 09/22/22 _x86_64_ (8 CPU) 23:23:05 23:23:05 23:13:05 LINUX RESTART (8 CPU) 23:23:05 23:23:05 23:14:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 23:23:05 23:15:01 181.62 1.32 180.30 0.00 47.86 62980.97 0.00 23:23:05 23:16:01 185.22 0.28 184.94 0.00 20.26 32670.15 0.00 23:23:05 23:17:01 19.11 0.02 19.09 0.00 0.13 8343.09 0.00 23:23:05 23:18:01 2.12 0.00 2.12 0.00 0.00 23.61 0.00 23:23:05 23:19:01 38.71 9.35 29.36 0.00 2885.25 4756.67 0.00 23:23:05 23:20:01 2.10 0.00 2.10 0.00 0.00 21.99 0.00 23:23:05 23:21:01 0.90 0.02 0.88 0.00 0.13 10.00 0.00 23:23:05 23:22:01 1.25 0.00 1.25 0.00 0.00 14.40 0.00 23:23:05 23:23:01 6.58 0.28 6.30 0.00 23.58 120.32 0.00 23:23:05 Average: 48.62 1.25 47.37 0.00 330.77 12103.40 0.00 23:23:05 23:23:05 23:14:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:23:05 23:15:01 28330236 31512220 788524 2.40 132684 3255188 2125972 6.27 1279460 2826312 201024 23:23:05 23:16:01 27823192 31564528 732952 2.23 146580 3754836 1801064 5.31 1201540 3363928 207512 23:23:05 23:17:01 27831848 31573436 725312 2.21 146824 3754840 1716100 5.06 1203140 3351696 144 23:23:05 23:18:01 27832556 31574260 724160 2.20 146860 3754848 1716100 5.06 1202968 3351696 40 23:23:05 23:19:01 27549944 31566584 718196 2.18 164992 4003524 1777388 5.24 1348584 3464404 168 23:23:05 23:20:01 27550124 31566864 717860 2.18 165040 4003528 1777388 5.24 1348268 3464412 12 23:23:05 23:21:01 27553644 31570772 714248 2.17 165064 4003540 1777388 5.24 1344456 3464764 8 23:23:05 23:22:01 27553532 31570724 714184 2.17 165096 4003544 1777388 5.24 1344488 3464768 8 23:23:05 23:23:01 27504492 31524056 757240 2.30 165268 4004796 2144408 6.32 1390240 3464688 40 23:23:05 Average: 27725508 31558160 732520 2.23 155379 3837627 1845911 5.44 1295905 3357408 45440 23:23:05 23:23:05 23:14:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:23:05 23:15:01 ens3 332.49 249.94 5552.47 38.23 0.00 0.00 0.00 0.00 23:23:05 23:15:01 docker0 145.94 165.94 11.75 1590.34 0.00 0.00 0.00 0.00 23:23:05 23:15:01 lo 2.80 2.80 0.27 0.27 0.00 0.00 0.00 0.00 23:23:05 23:15:01 vethf46c457 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 23:23:05 23:16:01 ens3 135.56 91.67 2691.53 19.92 0.00 0.00 0.00 0.00 23:23:05 23:16:01 docker0 14.33 17.93 0.83 98.40 0.00 0.00 0.00 0.00 23:23:05 23:16:01 lo 2.00 2.00 0.19 0.19 0.00 0.00 0.00 0.00 23:23:05 23:17:01 ens3 8.78 5.85 8.03 2.93 0.00 0.00 0.00 0.00 23:23:05 23:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:23:05 23:17:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 23:23:05 23:18:01 ens3 0.47 0.50 0.03 0.04 0.00 0.00 0.00 0.00 23:23:05 23:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:23:05 23:18:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 23:23:05 23:19:01 ens3 50.19 29.33 1297.16 2.36 0.00 0.00 0.00 0.00 23:23:05 23:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:23:05 23:19:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 23:23:05 23:20:01 ens3 1.07 0.52 1.47 0.04 0.00 0.00 0.00 0.00 23:23:05 23:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:23:05 23:20:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 23:23:05 23:21:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:23:05 23:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:23:05 23:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:23:05 23:22:01 ens3 0.12 0.13 0.01 0.01 0.00 0.00 0.00 0.00 23:23:05 23:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:23:05 23:22:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 23:23:05 23:23:01 ens3 22.58 13.64 23.95 7.91 0.00 0.00 0.00 0.00 23:23:05 23:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:23:05 23:23:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 23:23:05 Average: ens3 61.25 43.50 1063.73 7.94 0.00 0.00 0.00 0.00 23:23:05 Average: docker0 17.81 20.43 1.40 187.62 0.00 0.00 0.00 0.00 23:23:05 Average: lo 0.69 0.69 0.06 0.06 0.00 0.00 0.00 0.00 23:23:05 23:23:05 23:23:05 ---> sar -P ALL: 23:23:05 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-684) 09/22/22 _x86_64_ (8 CPU) 23:23:05 23:23:05 23:13:05 LINUX RESTART (8 CPU) 23:23:05 23:23:05 23:14:01 CPU %user %nice %system %iowait %steal %idle 23:23:05 23:15:01 all 17.78 0.00 5.26 2.74 0.07 74.15 23:23:05 23:15:01 0 17.89 0.00 5.32 1.16 0.10 75.53 23:23:05 23:15:01 1 17.27 0.00 4.58 2.76 0.07 75.32 23:23:05 23:15:01 2 17.45 0.00 4.83 0.29 0.05 77.38 23:23:05 23:15:01 3 17.09 0.00 5.19 0.34 0.05 77.33 23:23:05 23:15:01 4 16.86 0.00 6.18 15.68 0.08 61.20 23:23:05 23:15:01 5 17.30 0.00 5.44 0.98 0.07 76.21 23:23:05 23:15:01 6 18.26 0.00 5.06 0.14 0.07 76.47 23:23:05 23:15:01 7 20.15 0.00 5.49 0.63 0.07 73.67 23:23:05 23:16:01 all 32.13 0.00 5.99 1.83 0.08 59.97 23:23:05 23:16:01 0 32.44 0.00 5.93 0.13 0.08 61.41 23:23:05 23:16:01 1 33.45 0.00 6.72 0.05 0.07 59.71 23:23:05 23:16:01 2 33.19 0.00 5.95 0.35 0.08 60.42 23:23:05 23:16:01 3 33.76 0.00 6.51 0.40 0.08 59.24 23:23:05 23:16:01 4 32.17 0.00 5.58 0.76 0.08 61.42 23:23:05 23:16:01 5 28.54 0.00 4.94 8.75 0.08 57.68 23:23:05 23:16:01 6 32.40 0.00 6.16 0.73 0.10 60.61 23:23:05 23:16:01 7 31.06 0.00 6.13 3.45 0.08 59.27 23:23:05 23:17:01 all 0.45 0.00 0.19 0.33 0.01 99.01 23:23:05 23:17:01 0 0.33 0.00 0.18 0.00 0.02 99.47 23:23:05 23:17:01 1 0.12 0.00 0.13 0.00 0.00 99.75 23:23:05 23:17:01 2 0.17 0.00 0.15 0.00 0.00 99.68 23:23:05 23:17:01 3 0.50 0.00 0.20 0.10 0.02 99.18 23:23:05 23:17:01 4 0.22 0.00 0.15 0.07 0.02 99.55 23:23:05 23:17:01 5 0.17 0.00 0.22 0.47 0.02 99.13 23:23:05 23:17:01 6 0.15 0.00 0.12 0.00 0.02 99.72 23:23:05 23:17:01 7 1.95 0.00 0.40 2.01 0.00 95.65 23:23:05 23:18:01 all 0.01 0.00 0.01 0.01 0.00 99.97 23:23:05 23:18:01 0 0.02 0.00 0.03 0.00 0.00 99.95 23:23:05 23:18:01 1 0.00 0.00 0.00 0.00 0.02 99.98 23:23:05 23:18:01 2 0.00 0.00 0.00 0.00 0.00 100.00 23:23:05 23:18:01 3 0.00 0.00 0.00 0.00 0.00 100.00 23:23:05 23:18:01 4 0.03 0.00 0.02 0.02 0.00 99.93 23:23:05 23:18:01 5 0.02 0.00 0.00 0.02 0.00 99.97 23:23:05 23:18:01 6 0.00 0.00 0.00 0.00 0.00 100.00 23:23:05 23:18:01 7 0.02 0.00 0.00 0.02 0.00 99.97 23:23:05 23:19:01 all 1.18 0.00 0.87 0.42 0.01 97.51 23:23:05 23:19:01 0 2.28 0.00 2.20 0.98 0.02 94.52 23:23:05 23:19:01 1 1.58 0.00 0.62 0.50 0.00 97.30 23:23:05 23:19:01 2 0.88 0.00 0.53 0.43 0.02 98.13 23:23:05 23:19:01 3 1.27 0.00 0.87 0.07 0.02 97.78 23:23:05 23:19:01 4 0.72 0.00 0.93 0.33 0.02 98.00 23:23:05 23:19:01 5 0.58 0.00 0.83 0.95 0.02 97.61 23:23:05 23:19:01 6 0.93 0.00 0.47 0.08 0.00 98.51 23:23:05 23:19:01 7 1.19 0.00 0.52 0.03 0.02 98.24 23:23:05 23:20:01 all 0.01 0.00 0.02 0.00 0.01 99.96 23:23:05 23:20:01 0 0.00 0.00 0.02 0.02 0.02 99.95 23:23:05 23:20:01 1 0.00 0.00 0.02 0.00 0.02 99.97 23:23:05 23:20:01 2 0.05 0.00 0.05 0.00 0.02 99.88 23:23:05 23:20:01 3 0.00 0.00 0.02 0.00 0.00 99.98 23:23:05 23:20:01 4 0.02 0.00 0.02 0.02 0.00 99.95 23:23:05 23:20:01 5 0.02 0.00 0.02 0.00 0.00 99.97 23:23:05 23:20:01 6 0.03 0.00 0.00 0.00 0.00 99.97 23:23:05 23:20:01 7 0.00 0.00 0.00 0.00 0.02 99.98 23:23:05 23:21:01 all 0.03 0.00 0.01 0.00 0.01 99.95 23:23:05 23:21:01 0 0.03 0.00 0.03 0.02 0.00 99.92 23:23:05 23:21:01 1 0.00 0.00 0.00 0.00 0.00 100.00 23:23:05 23:21:01 2 0.03 0.00 0.02 0.02 0.02 99.92 23:23:05 23:21:01 3 0.02 0.00 0.00 0.00 0.00 99.98 23:23:05 23:21:01 4 0.05 0.00 0.00 0.00 0.02 99.93 23:23:05 23:21:01 5 0.05 0.00 0.00 0.00 0.00 99.95 23:23:05 23:21:01 6 0.03 0.00 0.00 0.00 0.02 99.95 23:23:05 23:21:01 7 0.05 0.00 0.02 0.00 0.00 99.93 23:23:05 23:22:01 all 0.03 0.00 0.01 0.00 0.00 99.96 23:23:05 23:22:01 0 0.00 0.00 0.00 0.03 0.00 99.97 23:23:05 23:22:01 1 0.00 0.00 0.02 0.00 0.00 99.98 23:23:05 23:22:01 2 0.03 0.00 0.03 0.00 0.00 99.93 23:23:05 23:22:01 3 0.00 0.00 0.00 0.00 0.00 100.00 23:23:05 23:22:01 4 0.02 0.00 0.00 0.00 0.00 99.98 23:23:05 23:22:01 5 0.02 0.00 0.02 0.00 0.00 99.97 23:23:05 23:22:01 6 0.05 0.00 0.00 0.00 0.00 99.95 23:23:05 23:22:01 7 0.08 0.00 0.02 0.00 0.02 99.88 23:23:05 23:23:01 all 0.43 0.00 0.24 0.01 0.01 99.32 23:23:05 23:23:01 0 0.53 0.00 0.35 0.05 0.00 99.07 23:23:05 23:23:01 1 0.10 0.00 0.13 0.00 0.00 99.77 23:23:05 23:23:01 2 0.25 0.00 0.17 0.02 0.02 99.55 23:23:05 23:23:01 3 0.77 0.00 0.30 0.00 0.00 98.93 23:23:05 23:23:01 4 0.38 0.00 0.25 0.02 0.02 99.33 23:23:05 23:23:01 5 0.23 0.00 0.18 0.00 0.02 99.57 23:23:05 23:23:01 6 0.53 0.00 0.27 0.00 0.00 99.20 23:23:05 23:23:01 7 0.64 0.00 0.23 0.00 0.00 99.13 23:23:05 Average: all 5.73 0.00 1.39 0.59 0.02 92.26 23:23:05 Average: 0 5.90 0.00 1.55 0.27 0.03 92.25 23:23:05 Average: 1 5.78 0.00 1.35 0.37 0.02 92.49 23:23:05 Average: 2 5.74 0.00 1.29 0.12 0.02 92.82 23:23:05 Average: 3 5.88 0.00 1.44 0.10 0.02 92.56 23:23:05 Average: 4 5.56 0.00 1.44 1.85 0.03 91.12 23:23:05 Average: 5 5.15 0.00 1.28 1.23 0.02 92.32 23:23:05 Average: 6 5.77 0.00 1.33 0.10 0.02 92.77 23:23:05 Average: 7 6.09 0.00 1.41 0.68 0.02 91.79 23:23:05 23:23:05 23:23:05