Pull request #93 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c+07860bbab13f2ff928825cd544dbeda419b1d542 (0afbb6922dbb8c90b274add2d1aca9c9f03e29ab) 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-ssh14364088260784999150.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7579018740650303542.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-93/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-93/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2715201043554038094.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-93/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14596824222617828647.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12404007278312477889.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-93/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-93/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2818459737951026929.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4784’ Running on prd-ubuntu20.04-docker-8c-8g-4788 in /w/workspace/edgexfoundry_device-gpio_PR-93 [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-93 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/93/head:refs/remotes/origin/PR-93 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 07860bbab13f2ff928825cd544dbeda419b1d542 into PR head commit 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c Merge succeeded, producing 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c Checking out Revision 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c (PR-93) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 07860bbab13f2ff928825cd544dbeda419b1d542 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:12:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:12:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:12:11 ========================================================= 00:12:11 EdgeX Global Pipelines Version Info 00:12:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:12:11 ------------------- 00:12:11 stable info: 00:12:11 ------------------- 00:12:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:12:11 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:12:11 Message: update stable to v1.0.244 00:12:12 ------------------- 00:12:12 experimental info: 00:12:12 ------------------- 00:12:12 Commited By: **** collab-it+edgex@linuxfoundation.org 00:12:12 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:12:12 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:12:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 00:12:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 00:12:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:12:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:12:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:12:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 00:12:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:12:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:12:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:12:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:12:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:12:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 00:12:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:12:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:12:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:12:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:12:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:12:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:12:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:12:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:12:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:12:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:12:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:12:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:12:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:12:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:12:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:12:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-93 [Pipeline] echo 00:12:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-93 [Pipeline] echo 00:12:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-93 [Pipeline] echo 00:12:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c [Pipeline] echo 00:12:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2593ac4 [Pipeline] echo 00:12:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:12:14 provisioning config files... 00:12:14 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-93@tmp/config8510613726277822903tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:12:14 ---> docker-login.sh 00:12:14 nexus3.edgexfoundry.org:10001 00:12:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:16 Configure a credential helper to remove this warning. See 00:12:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:16 00:12:16 Login Succeeded 00:12:16 nexus3.edgexfoundry.org:10002 00:12:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:16 Configure a credential helper to remove this warning. See 00:12:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:16 00:12:16 Login Succeeded 00:12:16 nexus3.edgexfoundry.org:10003 00:12:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:16 Configure a credential helper to remove this warning. See 00:12:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:16 00:12:16 Login Succeeded 00:12:16 nexus3.edgexfoundry.org:10004 00:12:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:16 Configure a credential helper to remove this warning. See 00:12:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:16 00:12:16 Login Succeeded 00:12:16 docker.io 00:12:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:16 Configure a credential helper to remove this warning. See 00:12:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:16 00:12:16 Login Succeeded 00:12:16 ---> docker-login.sh ends [Pipeline] } 00:12:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:12:17 + git rev-list -1 --merges 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c~1..2593ac435c90d2c565e1ce183428ea2e9e1eeb2c [Pipeline] echo 00:12:17 -----------> git rev-list -1 --merges 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c~1..2593ac435c90d2c565e1ce183428ea2e9e1eeb2c 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c [false] [Pipeline] sh 00:12:17 + git log --format=format:%s -1 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c [Pipeline] echo 00:12:17 ========================================================= 00:12:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:12:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:12:18 + git log --format=format:%s -1 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c [Pipeline] echo 00:12:18 [semverPrep] GIT_COMMIT: 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 00:12:18 [semverPrep] This is not a build commit. [Pipeline] sh 00:12:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:12:18 + grep -v github /etc/ssh/ssh_known_hosts 00:12:18 + [ -e /tmp/ssh_known_hosts ] 00:12:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:12:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:12:18 + sudo tee -a /etc/ssh/ssh_known_hosts 00:12:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:12:19 00:12:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:12:19 0.1.4: Pulling from edgex-devops/py-git-semver 00:12:19 b85a868b505f: Pulling fs layer 00:12:19 e2be974225ed: Pulling fs layer 00:12:19 339a4e72a1f5: Pulling fs layer 00:12:19 988bab9f4d93: Pulling fs layer 00:12:19 1469e6f7b9e6: Pulling fs layer 00:12:19 eaf3925da568: Pulling fs layer 00:12:19 988bab9f4d93: Waiting 00:12:19 1469e6f7b9e6: Waiting 00:12:19 eaf3925da568: Waiting 00:12:19 bab4dde63d76: Pulling fs layer 00:12:19 bde34c3a00c8: Pulling fs layer 00:12:19 b352a97aabf1: Pulling fs layer 00:12:19 4872d77fe225: Pulling fs layer 00:12:19 5851b861e8e6: Pulling fs layer 00:12:19 b352a97aabf1: Waiting 00:12:19 5851b861e8e6: Waiting 00:12:19 4872d77fe225: Waiting 00:12:19 e2be974225ed: Verifying Checksum 00:12:19 e2be974225ed: Download complete 00:12:19 988bab9f4d93: Download complete 00:12:19 1469e6f7b9e6: Verifying Checksum 00:12:19 1469e6f7b9e6: Download complete 00:12:19 eaf3925da568: Verifying Checksum 00:12:19 eaf3925da568: Download complete 00:12:19 339a4e72a1f5: Verifying Checksum 00:12:19 339a4e72a1f5: Download complete 00:12:20 bde34c3a00c8: Verifying Checksum 00:12:20 bde34c3a00c8: Download complete 00:12:20 b352a97aabf1: Download complete 00:12:20 4872d77fe225: Verifying Checksum 00:12:20 4872d77fe225: Download complete 00:12:20 5851b861e8e6: Download complete 00:12:20 b85a868b505f: Download complete 00:12:20 bab4dde63d76: Verifying Checksum 00:12:20 bab4dde63d76: Download complete 00:12:21 b85a868b505f: Pull complete 00:12:21 e2be974225ed: Pull complete 00:12:22 339a4e72a1f5: Pull complete 00:12:22 988bab9f4d93: Pull complete 00:12:22 1469e6f7b9e6: Pull complete 00:12:22 eaf3925da568: Pull complete 00:12:24 bab4dde63d76: Pull complete 00:12:24 bde34c3a00c8: Pull complete 00:12:24 b352a97aabf1: Pull complete 00:12:24 4872d77fe225: Pull complete 00:12:24 5851b861e8e6: Pull complete 00:12:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:12:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:12:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:25 prd-ubuntu20.04-docker-8c-8g-4788 does not seem to be running inside a container 00:12:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-93 -v /w/workspace/edgexfoundry_device-gpio_PR-93:/w/workspace/edgexfoundry_device-gpio_PR-93:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-93@tmp:/w/workspace/edgexfoundry_device-gpio_PR-93@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:12:28 $ docker top 60617a76a01d496ed2e5d1e4653b468cbba23e462412efd86793349d00fffdf5 -eo pid,comm 00:12:28 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). 00:12:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:12:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:12:29 [ssh-agent] Looking for ssh-agent implementation... 00:12:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:12:29 $ docker exec 60617a76a01d496ed2e5d1e4653b468cbba23e462412efd86793349d00fffdf5 ssh-agent 00:12:29 SSH_AUTH_SOCK=/tmp/ssh-Q6xP2IvviCvG/agent.33 00:12:29 SSH_AGENT_PID=39 00:12:29 Running ssh-add (command line suppressed) 00:12:29 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-93@tmp/private_key_10289082932708275536.key (/w/workspace/edgexfoundry_device-gpio_PR-93@tmp/private_key_10289082932708275536.key) 00:12:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:12:29 + git tag --points-at HEAD [Pipeline] } 00:12:29 $ docker exec --env ******** --env ******** 60617a76a01d496ed2e5d1e4653b468cbba23e462412efd86793349d00fffdf5 ssh-agent -k 00:12:29 unset SSH_AUTH_SOCK; 00:12:29 unset SSH_AGENT_PID; 00:12:29 echo Agent pid 39 killed; 00:12:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:12:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:12:30 [ssh-agent] Looking for ssh-agent implementation... 00:12:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:12:30 $ docker exec 60617a76a01d496ed2e5d1e4653b468cbba23e462412efd86793349d00fffdf5 ssh-agent 00:12:30 SSH_AUTH_SOCK=/tmp/ssh-wvkbsNRlamOn/agent.72 00:12:30 SSH_AGENT_PID=78 00:12:30 Running ssh-add (command line suppressed) 00:12:30 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-93@tmp/private_key_17397393557501791040.key (/w/workspace/edgexfoundry_device-gpio_PR-93@tmp/private_key_17397393557501791040.key) 00:12:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:12:30 + git semver init 00:12:30 2023-02-07 00:12:30,904 [run_init] DEBUG init version:0.0.0 force:False 00:12:30 2023-02-07 00:12:30,905 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-93/.semver 00:12:30 2023-02-07 00:12:30,906 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-93/.semver 00:12:30 2023-02-07 00:12:30,906 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-93/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-93, universal_newlines=False, shell=None, istream=None) 00:12:32 2023-02-07 00:12:32,057 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-93/.git/info/exclude 00:12:32 2023-02-07 00:12:32,058 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-93/.semver/PR-93 with force:False 00:12:32 2023-02-07 00:12:32,058 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-93/.semver/PR-93 00:12:32 2023-02-07 00:12:32,062 [execute] INFO git cat-file --batch-check 00:12:32 2023-02-07 00:12:32,062 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-93/.semver, universal_newlines=False, shell=None, istream=) 00:12:32 2023-02-07 00:12:32,068 [execute] INFO git cat-file --batch 00:12:32 2023-02-07 00:12:32,068 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-93/.semver, universal_newlines=False, shell=None, istream=) 00:12:32 2023-02-07 00:12:32,072 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-93/.semver/PR-93 00:12:32 0.0.0 [Pipeline] } 00:12:32 $ docker exec --env ******** --env ******** 60617a76a01d496ed2e5d1e4653b468cbba23e462412efd86793349d00fffdf5 ssh-agent -k 00:12:32 unset SSH_AUTH_SOCK; 00:12:32 unset SSH_AGENT_PID; 00:12:32 echo Agent pid 78 killed; 00:12:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:12:32 + git semver [Pipeline] } 00:12:33 $ docker stop --time=1 60617a76a01d496ed2e5d1e4653b468cbba23e462412efd86793349d00fffdf5 00:12:34 $ docker rm -f --volumes 60617a76a01d496ed2e5d1e4653b468cbba23e462412efd86793349d00fffdf5 [Pipeline] // withDockerContainer [Pipeline] sh 00:12:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:12:35 Stashed 1 file(s) [Pipeline] echo 00:12:35 [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 00:12:36 provisioning config files... 00:12:36 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-93@tmp/config9623379686382464880tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:12:36 ---> docker-login.sh 00:12:36 nexus3.edgexfoundry.org:10001 00:12:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:36 Configure a credential helper to remove this warning. See 00:12:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:36 00:12:36 Login Succeeded 00:12:36 nexus3.edgexfoundry.org:10002 00:12:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:36 Configure a credential helper to remove this warning. See 00:12:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:36 00:12:36 Login Succeeded 00:12:36 nexus3.edgexfoundry.org:10003 00:12:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:36 Configure a credential helper to remove this warning. See 00:12:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:36 00:12:36 Login Succeeded 00:12:36 nexus3.edgexfoundry.org:10004 00:12:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:36 Configure a credential helper to remove this warning. See 00:12:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:36 00:12:36 Login Succeeded 00:12:36 docker.io 00:12:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:37 Configure a credential helper to remove this warning. See 00:12:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:37 00:12:37 Login Succeeded 00:12:37 ---> docker-login.sh ends [Pipeline] } 00:12:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:12:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:12:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:12:37 ========================================================= 00:12:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 00:12:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:37 + 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 . 00:12:37 Sending build context to Docker daemon 15.97MB 00:12:37 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 00:12:37 Step 2/12 : FROM ${BASE} AS builder 00:12:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 00:12:38 213ec9aee27d: Pulling fs layer 00:12:38 4583459ba037: Pulling fs layer 00:12:38 93c1e223e6f2: Pulling fs layer 00:12:38 53926ce57604: Pulling fs layer 00:12:38 21b2b0c7a3f4: Pulling fs layer 00:12:38 22ff95d597cd: Pulling fs layer 00:12:38 12d6caf4c0d1: Pulling fs layer 00:12:38 96b7cbca73a9: Pulling fs layer 00:12:38 a7acece74701: Pulling fs layer 00:12:38 12d6caf4c0d1: Waiting 00:12:38 53926ce57604: Waiting 00:12:38 21b2b0c7a3f4: Waiting 00:12:38 22ff95d597cd: Waiting 00:12:38 96b7cbca73a9: Waiting 00:12:38 a7acece74701: Waiting 00:12:38 93c1e223e6f2: Download complete 00:12:38 4583459ba037: Verifying Checksum 00:12:38 4583459ba037: Download complete 00:12:38 21b2b0c7a3f4: Verifying Checksum 00:12:38 21b2b0c7a3f4: Download complete 00:12:38 22ff95d597cd: Download complete 00:12:38 213ec9aee27d: Verifying Checksum 00:12:38 213ec9aee27d: Download complete 00:12:38 12d6caf4c0d1: Verifying Checksum 00:12:38 12d6caf4c0d1: Download complete 00:12:38 213ec9aee27d: Pull complete 00:12:38 4583459ba037: Pull complete 00:12:39 a7acece74701: Verifying Checksum 00:12:39 a7acece74701: Download complete 00:12:39 93c1e223e6f2: Pull complete 00:12:39 53926ce57604: Verifying Checksum 00:12:39 53926ce57604: Download complete 00:12:39 96b7cbca73a9: Verifying Checksum 00:12:39 96b7cbca73a9: Download complete 00:12:43 53926ce57604: Pull complete 00:12:43 21b2b0c7a3f4: Pull complete 00:12:43 22ff95d597cd: Pull complete 00:12:43 12d6caf4c0d1: Pull complete 00:12:45 96b7cbca73a9: Pull complete 00:12:46 a7acece74701: Pull complete 00:12:46 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 00:12:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:12:46 ---> db6d94c90886 00:12:46 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:12:51 Still waiting to schedule task 00:12:51 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4785’ 00:12:53 ---> Running in b5a01cf3f6c4 00:12:54 Removing intermediate container b5a01cf3f6c4 00:12:54 ---> e99e6dd79c31 00:12:54 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:12:54 ---> Running in 4644c0f3bf4f 00:12:54 Removing intermediate container 4644c0f3bf4f 00:12:54 ---> e157b72118d4 00:12:54 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:12:55 ---> Running in 3354365fc8bf 00:12:55 Removing intermediate container 3354365fc8bf 00:12:55 ---> ea9d777430cc 00:12:55 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:12:55 ---> Running in 669560d8682e 00:12:56 Removing intermediate container 669560d8682e 00:12:56 ---> 26c67cbdfaa3 00:12:56 Step 7/12 : WORKDIR /device-gpio 00:12:56 ---> Running in 22746287fbdb 00:12:56 Removing intermediate container 22746287fbdb 00:12:56 ---> 7ec5a243d63f 00:12:56 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:12:56 ---> Running in 2bcf9554c52a 00:12:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:12:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:12:57 (1/4) Installing openssh-keygen (9.0_p1-r2) 00:12:57 (2/4) Installing libedit (20210910.3.1-r0) 00:12:57 (3/4) Installing openssh-client-common (9.0_p1-r2) 00:12:57 (4/4) Installing openssh-client-default (9.0_p1-r2) 00:12:57 Executing busybox-1.35.0-r17.trigger 00:12:57 OK: 216 MiB in 55 packages 00:12:58 Removing intermediate container 2bcf9554c52a 00:12:58 ---> e3c274361f5f 00:12:58 Step 9/12 : COPY go.mod vendor* ./ 00:12:58 ---> ca411f5084b3 00:12:58 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:12:58 ---> Running in 532e45a7b83f 00:13:45 Removing intermediate container 532e45a7b83f 00:13:45 ---> c8b47de245de 00:13:45 Step 11/12 : COPY . . 00:13:45 ---> 369695945391 00:13:45 Step 12/12 : RUN ${MAKE} 00:13:45 ---> Running in 55e4b7a48b44 00:13:45 noop 00:13:45 Removing intermediate container 55e4b7a48b44 00:13:45 ---> 60ffe03c6378 00:13:45 Successfully built 60ffe03c6378 00:13:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:45 + docker inspect -f . ci-base-image-x86_64 00:13:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:46 prd-ubuntu20.04-docker-8c-8g-4788 does not seem to be running inside a container 00:13:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-93 -v /w/workspace/edgexfoundry_device-gpio_PR-93:/w/workspace/edgexfoundry_device-gpio_PR-93:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-93@tmp:/w/workspace/edgexfoundry_device-gpio_PR-93@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:13:46 $ docker top ef18796d8543c3fc7edb175e3868858a3ce3a01cd7164e7114148a19777829a5 -eo pid,comm [Pipeline] { [Pipeline] sh 00:13:46 + go version 00:13:46 go version go1.18.7 linux/amd64 [Pipeline] } 00:13:46 $ docker stop --time=1 ef18796d8543c3fc7edb175e3868858a3ce3a01cd7164e7114148a19777829a5 00:13:48 $ docker rm -f --volumes ef18796d8543c3fc7edb175e3868858a3ce3a01cd7164e7114148a19777829a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:48 + docker inspect -f . ci-base-image-x86_64 00:13:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:48 prd-ubuntu20.04-docker-8c-8g-4788 does not seem to be running inside a container 00:13:49 $ 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-93 -v /w/workspace/edgexfoundry_device-gpio_PR-93:/w/workspace/edgexfoundry_device-gpio_PR-93:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-93@tmp:/w/workspace/edgexfoundry_device-gpio_PR-93@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:13:49 $ docker top 496b0bb926f421670e05e3a0ca17fdedacbd16a4b9c0b58ff04e876e8b1b9a4a -eo pid,comm [Pipeline] { [Pipeline] sh 00:13:49 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-93 [Pipeline] fileExists [Pipeline] sh 00:13:50 + make test 00:13:50 go test ./... -coverprofile=coverage.out ./... 00:13:50 ? github.com/edgexfoundry/device-gpio [no test files] 00:14:00 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:14:00 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:14:05 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." 00:14:05 go vet ./... 00:14:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:14:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:14:08 ./bin/test-attribution-txt.sh 00:14:08 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 00:14:08 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 00:14:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:14:08 $ docker stop --time=1 496b0bb926f421670e05e3a0ca17fdedacbd16a4b9c0b58ff04e876e8b1b9a4a 00:14:10 $ docker rm -f --volumes 496b0bb926f421670e05e3a0ca17fdedacbd16a4b9c0b58ff04e876e8b1b9a4a [Pipeline] // withDockerContainer [Pipeline] sh 00:14:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:14:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:14:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:14:12 + ls -al . 00:14:12 total 160 00:14:12 drwxrwxr-x 9 jenkins jenkins 4096 Feb 7 00:13 . 00:14:12 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 00:12 .. 00:14:12 -rw-rw-r-- 1 jenkins jenkins 120 Feb 7 00:12 .dockerignore 00:14:12 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 00:13 .git 00:14:12 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 00:12 .github 00:14:12 -rw-rw-r-- 1 jenkins jenkins 343 Feb 7 00:12 .gitignore 00:14:12 -rw-rw-r-- 1 jenkins jenkins 41 Feb 7 00:12 .golangci.yml 00:14:12 drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 00:12 .semver 00:14:12 -rw-rw-r-- 1 jenkins jenkins 9587 Feb 7 00:12 Attribution.txt 00:14:12 -rw-rw-r-- 1 jenkins jenkins 4069 Feb 7 00:12 CHANGELOG.md 00:14:12 -rw-rw-r-- 1 jenkins jenkins 1542 Feb 7 00:12 Dockerfile 00:14:12 -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 00:12 GOVERNANCE.md 00:14:12 -rw-rw-r-- 1 jenkins jenkins 657 Feb 7 00:12 Jenkinsfile 00:14:12 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 7 00:12 LICENSE 00:14:12 -rw-rw-r-- 1 jenkins jenkins 1658 Feb 7 00:12 Makefile 00:14:12 -rw-rw-r-- 1 jenkins jenkins 617 Feb 7 00:12 OWNERS.md 00:14:12 -rw-rw-r-- 1 jenkins jenkins 11842 Feb 7 00:12 README.md 00:14:12 -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 00:12 VERSION 00:14:12 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 00:12 bin 00:14:12 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 00:12 cmd 00:14:12 -rw-r--r-- 1 jenkins jenkins 10 Feb 7 00:13 coverage.out 00:14:12 -rw-rw-r-- 1 jenkins jenkins 3311 Feb 7 00:12 go.mod 00:14:12 -rw-rw-r-- 1 jenkins jenkins 33118 Feb 7 00:12 go.sum 00:14:12 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 00:12 internal 00:14:12 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 00:12 snap 00:14:12 -rw-rw-r-- 1 jenkins jenkins 209 Feb 7 00:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:12 + 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=2593ac435c90d2c565e1ce183428ea2e9e1eeb2c --label arch=amd64 --label version=0.0.0 . 00:14:12 Sending build context to Docker daemon 15.97MB 00:14:12 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 00:14:12 Step 2/25 : FROM ${BASE} AS builder 00:14:12 ---> 60ffe03c6378 00:14:12 Step 3/25 : ARG ADD_BUILD_TAGS="" 00:14:13 ---> Running in c95a9f17f4b4 00:14:13 Removing intermediate container c95a9f17f4b4 00:14:13 ---> 5306a43bd06d 00:14:13 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:14:13 ---> Running in 8fbd7f7eeaa1 00:14:13 Removing intermediate container 8fbd7f7eeaa1 00:14:13 ---> 8f65ee9d6d40 00:14:13 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:14:13 ---> Running in 4ec395392ad3 00:14:13 Removing intermediate container 4ec395392ad3 00:14:13 ---> 87a58f756a31 00:14:13 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 00:14:13 ---> Running in d8773df02016 00:14:13 Removing intermediate container d8773df02016 00:14:13 ---> b05df366ea3a 00:14:13 Step 7/25 : WORKDIR /device-gpio 00:14:13 ---> Running in 7008516ae03a 00:14:13 Removing intermediate container 7008516ae03a 00:14:13 ---> fbf74bdf37cf 00:14:13 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:14:13 ---> Running in a72f87197ab2 00:14:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:14:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:14:14 OK: 216 MiB in 55 packages 00:14:14 Removing intermediate container a72f87197ab2 00:14:14 ---> d81413499bb1 00:14:14 Step 9/25 : COPY go.mod vendor* ./ 00:14:14 ---> 0c6a532281f4 00:14:14 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:14:14 ---> Running in a3f606a4eaac 00:14:15 Removing intermediate container a3f606a4eaac 00:14:15 ---> bc8c3d3bfb50 00:14:15 Step 11/25 : COPY . . 00:14:16 ---> 1c0856c0c004 00:14:16 Step 12/25 : RUN ${MAKE} 00:14:16 ---> Running in d6c4988b1f92 00:14:16 CGO_ENABLED=0 go build -tags "" -o cmd/device-gpio ./cmd 00:14:31 Removing intermediate container d6c4988b1f92 00:14:31 ---> 25cba9b509fe 00:14:31 Step 13/25 : FROM alpine:3.16 00:14:31 3.16: Pulling from library/alpine 00:14:31 ca7dd9ec2225: Pulling fs layer 00:14:31 ca7dd9ec2225: Download complete 00:14:31 ca7dd9ec2225: Pull complete 00:14:31 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 00:14:31 Status: Downloaded newer image for alpine:3.16 00:14:31 ---> bfe296a52501 00:14:31 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:14:31 ---> Running in 9b73473c00e7 00:14:31 Removing intermediate container 9b73473c00e7 00:14:31 ---> 2949767ce325 00:14:31 Step 15/25 : RUN apk add --update --no-cache 00:14:31 ---> Running in 27c27cae31a5 00:14:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:14:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:14:31 OK: 6 MiB in 14 packages 00:14:31 Removing intermediate container 27c27cae31a5 00:14:31 ---> 49a43165ed67 00:14:31 Step 16/25 : WORKDIR / 00:14:31 ---> Running in ba4abb0ad5c0 00:14:31 Removing intermediate container ba4abb0ad5c0 00:14:31 ---> 0176308a9b55 00:14:31 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 00:14:31 ---> bb1e4df19228 00:14:31 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 00:14:31 ---> 182e06c065ae 00:14:31 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 00:14:32 ---> eb9691b80f98 00:14:32 Step 20/25 : EXPOSE 59910 00:14:32 ---> Running in eb143f6f142d 00:14:32 Removing intermediate container eb143f6f142d 00:14:32 ---> 6b966fec9530 00:14:32 Step 21/25 : ENTRYPOINT ["/device-gpio"] 00:14:32 ---> Running in 1b15d6ea4a07 00:14:32 Removing intermediate container 1b15d6ea4a07 00:14:32 ---> 839c10bc74c3 00:14:32 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:14:32 ---> Running in 71030fc86746 00:14:32 Removing intermediate container 71030fc86746 00:14:32 ---> 0f07640a9ae7 00:14:32 Step 23/25 : LABEL arch=amd64 00:14:32 ---> Running in f8a2c374696b 00:14:32 Removing intermediate container f8a2c374696b 00:14:32 ---> b72c16f0a983 00:14:32 Step 24/25 : LABEL git_sha=2593ac435c90d2c565e1ce183428ea2e9e1eeb2c 00:14:32 ---> Running in 5760bf32f0a5 00:14:32 Removing intermediate container 5760bf32f0a5 00:14:32 ---> 777e5e44dff4 00:14:32 Step 25/25 : LABEL version=0.0.0 00:14:32 ---> Running in 98a23e2639e2 00:14:33 Removing intermediate container 98a23e2639e2 00:14:33 ---> db39a6255d10 00:14:33 [Warning] One or more build-args [ARCH] were not consumed 00:14:33 Successfully built db39a6255d10 00:14:33 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 00:14:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:14:33 00:14:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:14:34 latest: Pulling from edgex-lftools-log-publisher 00:14:34 5eb5b503b376: Pulling fs layer 00:14:34 5c69ac0246d0: Pulling fs layer 00:14:34 ec43610c2a17: Pulling fs layer 00:14:34 3a2ae6a8a46f: Pulling fs layer 00:14:34 33b1e0a273af: Pulling fs layer 00:14:34 5d3b04190fa2: Pulling fs layer 00:14:34 2f39f015ded8: Pulling fs layer 00:14:34 5d3b04190fa2: Waiting 00:14:34 33b1e0a273af: Waiting 00:14:34 2f39f015ded8: Waiting 00:14:34 3a2ae6a8a46f: Waiting 00:14:34 5c69ac0246d0: Verifying Checksum 00:14:34 5c69ac0246d0: Download complete 00:14:34 3a2ae6a8a46f: Verifying Checksum 00:14:34 3a2ae6a8a46f: Download complete 00:14:34 33b1e0a273af: Download complete 00:14:34 5d3b04190fa2: Verifying Checksum 00:14:34 5d3b04190fa2: Download complete 00:14:34 ec43610c2a17: Verifying Checksum 00:14:34 ec43610c2a17: Download complete 00:14:34 5eb5b503b376: Verifying Checksum 00:14:34 5eb5b503b376: Download complete 00:14:35 2f39f015ded8: Download complete 00:14:36 5eb5b503b376: Pull complete 00:14:36 5c69ac0246d0: Pull complete 00:14:36 ec43610c2a17: Pull complete 00:14:36 3a2ae6a8a46f: Pull complete 00:14:37 33b1e0a273af: Pull complete 00:14:37 5d3b04190fa2: Pull complete 00:14:41 2f39f015ded8: Pull complete 00:14:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:14:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:14:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:14:41 prd-ubuntu20.04-docker-8c-8g-4788 does not seem to be running inside a container 00:14:41 $ 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-93 -v /w/workspace/edgexfoundry_device-gpio_PR-93:/w/workspace/edgexfoundry_device-gpio_PR-93:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-93@tmp:/w/workspace/edgexfoundry_device-gpio_PR-93@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:14:45 $ docker top beeef245474d6939b4a555e17bedd8e0dc5ec7c6242ce1e89e9c4b13aaae629e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:14:45 ---> job-cost.sh 00:14:45 lf-activate-venv: SKIPPING 00:14:45 INFO: No Stack... 00:14:46 INFO: Retrieving Pricing Info for: v3-standard-8 00:14:46 INFO: Archiving Costs [Pipeline] sh 00:14:46 + cat /w/workspace/edgexfoundry_device-gpio_PR-93/archives/cost.csv 00:14:46 + cut -d, -f6 [Pipeline] lock 00:14:46 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-93-1-stack-cost] 00:14:46 Resource [jenkins-edgexfoundry-device-gpio-PR-93-1-stack-cost] did not exist. Created. 00:14:46 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-93-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:14:47 + echo total: 0.2199999988079071 [Pipeline] stash 00:14:47 Stashed 1 file(s) [Pipeline] } 00:14:47 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-93-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:14:47 $ docker stop --time=1 beeef245474d6939b4a555e17bedd8e0dc5ec7c6242ce1e89e9c4b13aaae629e 00:14:48 $ docker rm -f --volumes beeef245474d6939b4a555e17bedd8e0dc5ec7c6242ce1e89e9c4b13aaae629e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:15:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4790 in /w/workspace/edgexfoundry_device-gpio_PR-93 [Pipeline] { [Pipeline] ws 00:15:53 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 00:15:53 The recommended git tool is: git 00:15:59 using credential edgex-jenkins-ssh 00:15:59 Cloning the remote Git repository 00:15:59 Cloning repository git@github.com:edgexfoundry/device-gpio.git 00:15:59 > git init /w/workspace/device-gpio/1 # timeout=10 00:15:59 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:15:59 > git --version # timeout=10 00:15:59 > git --version # 'git version 2.25.1' 00:15:59 using GIT_SSH to set credentials SSH Credentials for GitHub 00:15:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:16:01 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:16:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:16:03 Merging remotes/origin/main commit 07860bbab13f2ff928825cd544dbeda419b1d542 into PR head commit 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c 00:16:02 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:16:02 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:16:02 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/93/head:refs/remotes/origin/PR-93 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:16:03 > git config core.sparsecheckout # timeout=10 00:16:03 > git checkout -f 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c # timeout=10 00:16:03 > git remote # timeout=10 00:16:03 > git config --get remote.origin.url # timeout=10 00:16:03 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:03 > git merge 07860bbab13f2ff928825cd544dbeda419b1d542 # timeout=10 00:16:03 Merge succeeded, producing 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c 00:16:03 Checking out Revision 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c (PR-93) 00:16:04 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 00:16:04 > git --version # timeout=10 00:16:04 > git --version # 'git version 2.25.1' 00:16:04 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:16:03 > git rev-parse HEAD^{commit} # timeout=10 00:16:03 > git config core.sparsecheckout # timeout=10 00:16:03 > git checkout -f 2593ac435c90d2c565e1ce183428ea2e9e1eeb2c # timeout=10 00:16:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:16:05 % Total % Received % Xferd Average Speed Time Time Time Current 00:16:05 Dload Upload Total Spent Left Speed 00:16:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] sh 00:16:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:16:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:16:06 + sudo tee /etc/docker/daemon.new 00:16:06 { 00:16:06 "registry-mirrors": [ 00:16:06 "https://nexus3.edgexfoundry.org:10001" 00:16:06 ], 00:16:06 "bip": "10.250.0.254/24", 00:16:06 "hosts": [ 00:16:06 "tcp://0.0.0.0:5555", 00:16:06 "unix:///var/run/docker.sock" 00:16:06 ], 00:16:06 "mtu": 1458, 00:16:06 "selinux-enabled": true, 00:16:06 "seccomp-profile": "/etc/docker/seccomp.json" 00:16:06 } [Pipeline] sh 00:16:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:16:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:16:29 provisioning config files... 00:16:29 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config1338239555915066972tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:16:29 ---> docker-login.sh 00:16:29 nexus3.edgexfoundry.org:10001 00:16:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:30 Configure a credential helper to remove this warning. See 00:16:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:30 00:16:30 Login Succeeded 00:16:30 nexus3.edgexfoundry.org:10002 00:16:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:30 Configure a credential helper to remove this warning. See 00:16:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:30 00:16:30 Login Succeeded 00:16:30 nexus3.edgexfoundry.org:10003 00:16:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:31 Configure a credential helper to remove this warning. See 00:16:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:31 00:16:31 Login Succeeded 00:16:31 nexus3.edgexfoundry.org:10004 00:16:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:31 Configure a credential helper to remove this warning. See 00:16:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:31 00:16:31 Login Succeeded 00:16:31 docker.io 00:16:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:32 Configure a credential helper to remove this warning. See 00:16:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:32 00:16:32 Login Succeeded 00:16:32 ---> docker-login.sh ends [Pipeline] } 00:16:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:16:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:16:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:16:32 ========================================================= 00:16:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:16:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:33 + 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 . 00:16:33 Sending build context to Docker daemon 8.06MB 00:16:33 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 00:16:33 Step 2/12 : FROM ${BASE} AS builder 00:16:33 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:16:33 9b18e9b68314: Pulling fs layer 00:16:33 35d82f9e3411: Pulling fs layer 00:16:33 e16973657156: Pulling fs layer 00:16:33 fc693d55d65f: Pulling fs layer 00:16:33 7e9fc2657dce: Pulling fs layer 00:16:33 dda99020689f: Pulling fs layer 00:16:33 db1c61fa0a46: Pulling fs layer 00:16:33 891c053d2c06: Pulling fs layer 00:16:33 fc693d55d65f: Waiting 00:16:33 7e9fc2657dce: Waiting 00:16:33 dda99020689f: Waiting 00:16:33 db1c61fa0a46: Waiting 00:16:33 891c053d2c06: Waiting 00:16:33 e16973657156: Verifying Checksum 00:16:33 e16973657156: Download complete 00:16:33 35d82f9e3411: Verifying Checksum 00:16:33 35d82f9e3411: Download complete 00:16:33 7e9fc2657dce: Verifying Checksum 00:16:33 7e9fc2657dce: Download complete 00:16:34 dda99020689f: Verifying Checksum 00:16:34 dda99020689f: Download complete 00:16:34 9b18e9b68314: Verifying Checksum 00:16:34 9b18e9b68314: Download complete 00:16:35 9b18e9b68314: Pull complete 00:16:35 891c053d2c06: Verifying Checksum 00:16:35 891c053d2c06: Download complete 00:16:35 35d82f9e3411: Pull complete 00:16:36 e16973657156: Pull complete 00:16:36 db1c61fa0a46: Download complete 00:16:37 fc693d55d65f: Verifying Checksum 00:16:37 fc693d55d65f: Download complete 00:16:52 fc693d55d65f: Pull complete 00:16:52 7e9fc2657dce: Pull complete 00:16:52 dda99020689f: Pull complete 00:16:59 db1c61fa0a46: Pull complete 00:17:01 891c053d2c06: Pull complete 00:17:01 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 00:17:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:17:01 ---> f96f9c87975a 00:17:01 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:17:02 ---> Running in a7f83992d90f 00:17:02 Removing intermediate container a7f83992d90f 00:17:02 ---> 1b12c2d1bdde 00:17:02 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:17:03 ---> Running in 8ae063ad2a41 00:17:03 Removing intermediate container 8ae063ad2a41 00:17:03 ---> d77f8e76d03a 00:17:03 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:17:03 ---> Running in f92b8b640f10 00:17:03 Removing intermediate container f92b8b640f10 00:17:03 ---> d2e627da3859 00:17:03 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:17:03 ---> Running in 86d9eaaacd46 00:17:04 Removing intermediate container 86d9eaaacd46 00:17:04 ---> 1a9427a3909b 00:17:04 Step 7/12 : WORKDIR /device-gpio 00:17:04 ---> Running in eaa4c4d12662 00:17:04 Removing intermediate container eaa4c4d12662 00:17:04 ---> 463d369a9b07 00:17:04 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:17:04 ---> Running in a9f3b5d17487 00:17:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:17:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:17:07 (1/4) Installing openssh-keygen (9.0_p1-r2) 00:17:07 (2/4) Installing libedit (20210910.3.1-r0) 00:17:07 (3/4) Installing openssh-client-common (9.0_p1-r2) 00:17:07 (4/4) Installing openssh-client-default (9.0_p1-r2) 00:17:07 Executing busybox-1.35.0-r17.trigger 00:17:07 OK: 226 MiB in 55 packages 00:17:08 Removing intermediate container a9f3b5d17487 00:17:08 ---> 19dbccf849a7 00:17:08 Step 9/12 : COPY go.mod vendor* ./ 00:17:08 ---> 3ee2acbc3b3d 00:17:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:17:08 ---> Running in 924277d25faf 00:18:30 Removing intermediate container 924277d25faf 00:18:30 ---> a3cc36fc0b0a 00:18:30 Step 11/12 : COPY . . 00:18:30 ---> db2c740f18b6 00:18:30 Step 12/12 : RUN ${MAKE} 00:18:30 ---> Running in 9a4a32127ffd 00:18:30 noop 00:18:30 Removing intermediate container 9a4a32127ffd 00:18:30 ---> 24de5f8ae687 00:18:30 Successfully built 24de5f8ae687 00:18:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:30 + docker inspect -f . ci-base-image-arm64 00:18:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:18:31 prd-ubuntu20.04-docker-arm64-4c-16g-4790 does not seem to be running inside a container 00:18:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:18:33 $ docker top 14b8b59ef720a9c4d258dfe7a0529872e392d6a23126a9372d5cd2cd3e9357f0 -eo pid,comm [Pipeline] { [Pipeline] sh 00:18:34 + go version 00:18:34 go version go1.18.7 linux/arm64 [Pipeline] } 00:18:34 $ docker stop --time=1 14b8b59ef720a9c4d258dfe7a0529872e392d6a23126a9372d5cd2cd3e9357f0 00:18:36 $ docker rm -f --volumes 14b8b59ef720a9c4d258dfe7a0529872e392d6a23126a9372d5cd2cd3e9357f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:37 + docker inspect -f . ci-base-image-arm64 00:18:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:18:37 prd-ubuntu20.04-docker-arm64-4c-16g-4790 does not seem to be running inside a container 00:18:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:18:39 $ docker top e852c417bc618966d93a742cb9ca270c5b68165be98be267016500a27d601d88 -eo pid,comm [Pipeline] { [Pipeline] sh 00:18:40 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 00:18:40 + make test 00:18:40 go test ./... -coverprofile=coverage.out ./... 00:18:42 ? github.com/edgexfoundry/device-gpio [no test files] 00:20:18 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:20:18 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:20:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:20:18 go vet ./... 00:20:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:20:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:20:41 ./bin/test-attribution-txt.sh 00:20:41 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 00:20:41 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 00:20:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:20:41 $ docker stop --time=1 e852c417bc618966d93a742cb9ca270c5b68165be98be267016500a27d601d88 00:20:43 $ docker rm -f --volumes e852c417bc618966d93a742cb9ca270c5b68165be98be267016500a27d601d88 [Pipeline] // withDockerContainer [Pipeline] sh 00:20:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:20:44 Warning: overwriting stash ‘coverage-report’ 00:20:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:20:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:20:45 + ls -al . 00:20:45 total 156 00:20:45 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 00:18 . 00:20:45 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 00:15 .. 00:20:45 -rw-rw-r-- 1 jenkins jenkins 120 Feb 7 00:16 .dockerignore 00:20:45 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 00:16 .git 00:20:45 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 00:16 .github 00:20:45 -rw-rw-r-- 1 jenkins jenkins 343 Feb 7 00:16 .gitignore 00:20:45 -rw-rw-r-- 1 jenkins jenkins 41 Feb 7 00:16 .golangci.yml 00:20:45 -rw-rw-r-- 1 jenkins jenkins 9587 Feb 7 00:16 Attribution.txt 00:20:45 -rw-rw-r-- 1 jenkins jenkins 4069 Feb 7 00:16 CHANGELOG.md 00:20:45 -rw-rw-r-- 1 jenkins jenkins 1542 Feb 7 00:16 Dockerfile 00:20:45 -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 00:16 GOVERNANCE.md 00:20:45 -rw-rw-r-- 1 jenkins jenkins 657 Feb 7 00:16 Jenkinsfile 00:20:45 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 7 00:16 LICENSE 00:20:45 -rw-rw-r-- 1 jenkins jenkins 1658 Feb 7 00:16 Makefile 00:20:45 -rw-rw-r-- 1 jenkins jenkins 617 Feb 7 00:16 OWNERS.md 00:20:45 -rw-rw-r-- 1 jenkins jenkins 11842 Feb 7 00:16 README.md 00:20:45 -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 00:12 VERSION 00:20:45 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 00:16 bin 00:20:45 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 00:16 cmd 00:20:45 -rw-r--r-- 1 jenkins jenkins 10 Feb 7 00:18 coverage.out 00:20:45 -rw-rw-r-- 1 jenkins jenkins 3311 Feb 7 00:16 go.mod 00:20:45 -rw-rw-r-- 1 jenkins jenkins 33118 Feb 7 00:16 go.sum 00:20:45 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 00:16 internal 00:20:45 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 00:16 snap 00:20:45 -rw-rw-r-- 1 jenkins jenkins 209 Feb 7 00:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:46 + 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=2593ac435c90d2c565e1ce183428ea2e9e1eeb2c --label arch=arm64 --label version=0.0.0 . 00:20:46 Sending build context to Docker daemon 8.061MB 00:20:46 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 00:20:46 Step 2/25 : FROM ${BASE} AS builder 00:20:46 ---> 24de5f8ae687 00:20:46 Step 3/25 : ARG ADD_BUILD_TAGS="" 00:20:46 ---> Running in 6f084c43f04b 00:20:47 Removing intermediate container 6f084c43f04b 00:20:47 ---> 0c73bddf213d 00:20:47 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:20:47 ---> Running in 0ce0e6d176e8 00:20:47 Removing intermediate container 0ce0e6d176e8 00:20:47 ---> 3b20f6bdea75 00:20:47 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:20:47 ---> Running in e218c943a660 00:20:48 Removing intermediate container e218c943a660 00:20:48 ---> 80c561fa96f4 00:20:48 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 00:20:48 ---> Running in 0c53166c0671 00:20:48 Removing intermediate container 0c53166c0671 00:20:48 ---> 78a59b106b1e 00:20:48 Step 7/25 : WORKDIR /device-gpio 00:20:48 ---> Running in 79fe033ad9d5 00:20:50 Removing intermediate container 79fe033ad9d5 00:20:50 ---> a89d43df299f 00:20:50 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:20:50 ---> Running in 9f39a750f5aa 00:20:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:20:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:20:52 OK: 226 MiB in 55 packages 00:20:53 Removing intermediate container 9f39a750f5aa 00:20:53 ---> e08ec7febc4f 00:20:53 Step 9/25 : COPY go.mod vendor* ./ 00:20:54 ---> 3fa7abc559b4 00:20:54 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:20:54 ---> Running in 920cdb203954 00:20:57 Removing intermediate container 920cdb203954 00:20:57 ---> 52b5165f5f20 00:20:57 Step 11/25 : COPY . . 00:20:58 ---> 958d8c8bfe6b 00:20:58 Step 12/25 : RUN ${MAKE} 00:20:58 ---> Running in 063808f0b2bc 00:20:59 CGO_ENABLED=0 go build -tags "" -o cmd/device-gpio ./cmd 00:22:39 Removing intermediate container 063808f0b2bc 00:22:39 ---> c79cab900272 00:22:39 Step 13/25 : FROM alpine:3.16 00:22:39 3.16: Pulling from library/alpine 00:22:39 6875df1f5354: Pulling fs layer 00:22:39 6875df1f5354: Verifying Checksum 00:22:39 6875df1f5354: Download complete 00:22:39 6875df1f5354: Pull complete 00:22:39 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 00:22:39 Status: Downloaded newer image for alpine:3.16 00:22:39 ---> 2b4661558fb8 00:22:39 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:22:39 ---> Running in 00891d47a73f 00:22:39 Removing intermediate container 00891d47a73f 00:22:39 ---> 85fae982602d 00:22:39 Step 15/25 : RUN apk add --update --no-cache 00:22:39 ---> Running in 3007c410f346 00:22:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:22:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:22:39 OK: 5 MiB in 14 packages 00:22:40 Removing intermediate container 3007c410f346 00:22:40 ---> 9d8703d04716 00:22:40 Step 16/25 : WORKDIR / 00:22:40 ---> Running in 40affa9de6d8 00:22:40 Removing intermediate container 40affa9de6d8 00:22:40 ---> 5a2636862f8d 00:22:40 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 00:22:41 ---> 4c800fc9d253 00:22:41 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 00:22:41 ---> ff800a5199fb 00:22:41 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 00:22:43 ---> 13b0c9b4a04c 00:22:43 Step 20/25 : EXPOSE 59910 00:22:43 ---> Running in b890041b2cfc 00:22:43 Removing intermediate container b890041b2cfc 00:22:43 ---> 07c0266a0489 00:22:43 Step 21/25 : ENTRYPOINT ["/device-gpio"] 00:22:43 ---> Running in b951b0898408 00:22:43 Removing intermediate container b951b0898408 00:22:43 ---> 158ae4b554aa 00:22:43 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:22:44 ---> Running in 271a1100d9ca 00:22:44 Removing intermediate container 271a1100d9ca 00:22:44 ---> 093d2d6eca69 00:22:44 Step 23/25 : LABEL arch=arm64 00:22:44 ---> Running in 27bc9ddf48da 00:22:44 Removing intermediate container 27bc9ddf48da 00:22:44 ---> f5289fde6940 00:22:44 Step 24/25 : LABEL git_sha=2593ac435c90d2c565e1ce183428ea2e9e1eeb2c 00:22:44 ---> Running in 633053bdc077 00:22:44 Removing intermediate container 633053bdc077 00:22:44 ---> 6ee0a0b7cfe5 00:22:44 Step 25/25 : LABEL version=0.0.0 00:22:45 ---> Running in 2f9b73501d5c 00:22:45 Removing intermediate container 2f9b73501d5c 00:22:45 ---> f79c7d7baa72 00:22:45 [Warning] One or more build-args [ARCH] were not consumed 00:22:45 Successfully built f79c7d7baa72 00:22:45 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 00:22:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:22:46 00:22:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:22:49 arm64: Pulling from edgex-lftools-log-publisher 00:22:49 8998bd30e6a1: Pulling fs layer 00:22:49 04944245beec: Pulling fs layer 00:22:49 699f458cf7ca: Pulling fs layer 00:22:49 765212b225bb: Pulling fs layer 00:22:49 f23df028b6ca: Pulling fs layer 00:22:49 d65c8cfc05b1: Pulling fs layer 00:22:49 2437ff75d9bd: Pulling fs layer 00:22:49 f23df028b6ca: Waiting 00:22:49 765212b225bb: Waiting 00:22:49 d65c8cfc05b1: Waiting 00:22:49 2437ff75d9bd: Waiting 00:22:49 04944245beec: Verifying Checksum 00:22:49 04944245beec: Download complete 00:22:49 765212b225bb: Verifying Checksum 00:22:49 765212b225bb: Download complete 00:22:49 f23df028b6ca: Download complete 00:22:49 d65c8cfc05b1: Verifying Checksum 00:22:49 d65c8cfc05b1: Download complete 00:22:49 699f458cf7ca: Verifying Checksum 00:22:49 699f458cf7ca: Download complete 00:22:50 8998bd30e6a1: Verifying Checksum 00:22:50 8998bd30e6a1: Download complete 00:22:52 2437ff75d9bd: Verifying Checksum 00:22:52 2437ff75d9bd: Download complete 00:22:53 8998bd30e6a1: Pull complete 00:22:54 04944245beec: Pull complete 00:22:55 699f458cf7ca: Pull complete 00:22:55 765212b225bb: Pull complete 00:22:56 f23df028b6ca: Pull complete 00:22:56 d65c8cfc05b1: Pull complete 00:23:11 2437ff75d9bd: Pull complete 00:23:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:23:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:23:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:23:12 prd-ubuntu20.04-docker-arm64-4c-16g-4790 does not seem to be running inside a container 00:23:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:23:15 $ docker top ce19c7dc26371d84ca8422874cbf945ea29decbf625e705e065ce0ee37f2e33b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:23:15 ---> job-cost.sh 00:23:15 lf-activate-venv: SKIPPING 00:23:15 INFO: No Stack... 00:23:16 INFO: Retrieving Pricing Info for: v3-standard-4 00:23:17 INFO: Archiving Costs [Pipeline] sh 00:23:18 + cat /w/workspace/device-gpio/1/archives/cost.csv 00:23:18 + cut -d, -f6 [Pipeline] lock 00:23:18 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-93-1-stack-cost] 00:23:18 Resource [jenkins-edgexfoundry-device-gpio-PR-93-1-stack-cost] did not exist. Created. 00:23:18 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-93-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:23:18 /w/workspace/device-gpio/1@tmp/durable-e38cd506/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:23:18 + echo total: 0.10999999940395355 [Pipeline] stash 00:23:19 Warning: overwriting stash ‘stack-cost’ 00:23:19 Stashed 1 file(s) [Pipeline] } 00:23:19 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-93-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:23:19 $ docker stop --time=1 ce19c7dc26371d84ca8422874cbf945ea29decbf625e705e065ce0ee37f2e33b 00:23:20 $ docker rm -f --volumes ce19c7dc26371d84ca8422874cbf945ea29decbf625e705e065ce0ee37f2e33b [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 00:23:21 provisioning config files... 00:23:21 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-93@tmp/config4832221804496796022tmp [Pipeline] { [Pipeline] sh 00:23:21 + set +x 00:23:21 + curl -s https://codecov.io/bash 00:23:21 + bash -s -- 00:23:21 00:23:21 _____ _ 00:23:21 / ____| | | 00:23:21 | | ___ __| | ___ ___ _____ __ 00:23:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:23:21 | |___| (_) | (_| | __/ (_| (_) \ V / 00:23:21 \_____\___/ \__,_|\___|\___\___/ \_/ 00:23:21 Bash-1.0.6 00:23:21 00:23:21 00:23:21 ==> git version 2.25.1 found 00:23:21 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 00:23:21 Release-Date: 2020-01-08 00:23:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:23:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:23:21 ==> Jenkins CI detected. 00:23:21 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-93 00:23:21 project root: . 00:23:21 --> token set from env 00:23:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:23:21 ==> Running gcov in . (disable via -X gcov) 00:23:21 ==> Python coveragepy not found 00:23:21 ==> Searching for coverage reports in: 00:23:21 + . 00:23:21 -> Found 1 reports 00:23:21 ==> Detecting git/mercurial file structure 00:23:21 ==> Reading reports 00:23:21 + ./coverage.out bytes=10 00:23:21 ==> Appending adjustments 00:23:21 https://docs.codecov.io/docs/fixing-reports 00:23:22 + Found adjustments 00:23:22 ==> Gzipping contents 00:23:22 4.0K /tmp/codecov.pE7cwl.gz 00:23:22 ==> Uploading reports 00:23:22 url: https://codecov.io 00:23:22 query: branch=PR-93&commit=2593ac435c90d2c565e1ce183428ea2e9e1eeb2c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-93%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=93&job=&cmd_args= 00:23:22 -> Pinging Codecov 00:23:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-93&commit=2593ac435c90d2c565e1ce183428ea2e9e1eeb2c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-93%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=93&job=&cmd_args= 00:23:22 -> Uploading to 00:23:22 https://storage.googleapis.com/codecov/v4/raw/2023-02-07/3EC07B1A8CA8AF9BCAA0BB9F0134797F/2593ac435c90d2c565e1ce183428ea2e9e1eeb2c/1b259a48-7483-4872-a068-2ca6612b94a8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230207%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230207T002322Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0b709a15a4d08c26196f517b1669e0e2c361cc8280efa4f68d5f05530d8db7c7 00:23:22 % Total % Received % Xferd Average Speed Time Time Time Current 00:23:22 Dload Upload Total Spent Left Speed 00:23:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 742 0 0 100 742 0 2481 --:--:-- --:--:-- --:--:-- 2481 00:23:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/2593ac435c90d2c565e1ce183428ea2e9e1eeb2c [Pipeline] } 00:23:23 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 00:23:24 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-93/archives ] 00:23:24 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-93/archives 00:23:24 total 16 00:23:24 drwxr-xr-x 3 root root 4096 Feb 7 00:14 . 00:23:24 drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 00:14 .. 00:23:24 drwxr-xr-x 2 root root 4096 Feb 7 00:14 cost 00:23:24 -rw-r--r-- 1 root root 82 Feb 7 00:14 cost.csv 00:23:24 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-93/archives 00:23:24 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-93/archives 00:23:24 total 16 00:23:24 drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 00:14 . 00:23:24 drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 00:14 .. 00:23:24 drwxr-xr-x 2 jenkins jenkins 4096 Feb 7 00:14 cost 00:23:24 -rw-r--r-- 1 jenkins jenkins 82 Feb 7 00:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:23:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:23:26 ---> package-listing.sh 00:23:26 ++ facter osfamily 00:23:26 ++ tr '[:upper:]' '[:lower:]' 00:23:26 + OS_FAMILY=debian 00:23:26 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-93 00:23:26 + START_PACKAGES=/tmp/packages_start.txt 00:23:26 + END_PACKAGES=/tmp/packages_end.txt 00:23:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:23:26 + PACKAGES=/tmp/packages_start.txt 00:23:26 + '[' /w/workspace/edgexfoundry_device-gpio_PR-93 ']' 00:23:26 + PACKAGES=/tmp/packages_end.txt 00:23:26 + case "${OS_FAMILY}" in 00:23:26 + dpkg -l 00:23:26 + grep '^ii' 00:23:26 + '[' -f /tmp/packages_start.txt ']' 00:23:26 + '[' -f /tmp/packages_end.txt ']' 00:23:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:23:26 + '[' /w/workspace/edgexfoundry_device-gpio_PR-93 ']' 00:23:26 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-93/archives/ 00:23:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-93/archives/ [Pipeline] echo 00:23:26 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-93/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:23:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:23:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:23:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:23:27 prd-ubuntu20.04-docker-8c-8g-4788 does not seem to be running inside a container 00:23:27 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-93/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-93 -v /w/workspace/edgexfoundry_device-gpio_PR-93:/w/workspace/edgexfoundry_device-gpio_PR-93:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-93@tmp:/w/workspace/edgexfoundry_device-gpio_PR-93@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:23:27 $ docker top db719c1baeb2aaaa1061621b467e311ff939c7c39ea3ac338ae183d9473c56d9 -eo pid,comm [Pipeline] { [Pipeline] sh 00:23:28 + touch /tmp/pre-build-complete [Pipeline] sh 00:23:28 + mkdir -p /var/log/sysstat [Pipeline] sh 00:23:28 + ls /var/log/sa-host 00:23:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:23:28 provisioning config files... 00:23:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-93@tmp/config3257991510352027484tmp [Pipeline] { [Pipeline] echo 00:23:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:23:29 ---> create-netrc.sh [Pipeline] } 00:23:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:23:29 ---> python-tools-install.sh [Pipeline] echo 00:23:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:23:30 ---> sudo-logs.sh 00:23:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:23:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:23:30 ---> job-cost.sh 00:23:30 lf-activate-venv: SKIPPING 00:23:30 DEBUG: total: 0.2199999988079071 00:23:30 INFO: Retrieving Stack Cost... 00:23:31 INFO: Retrieving Pricing Info for: v3-standard-8 00:23:31 INFO: Archiving Costs [Pipeline] echo 00:23:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:23:31 ---> logs-deploy.sh 00:23:31 lf-activate-venv: SKIPPING 00:23:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-93/1 00:23:31 INFO: archiving workspace using pattern(s): 00:23:32 Archives upload complete. 00:23:32 INFO: archiving logs to Nexus