Pull request #194 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d33eaf343a60a4253be29254b36ddcde5112af00+bc7e5252a6371971a8ca64433ac86b0abda7502e (dc7ffd8efc457292bb1eee65781cec8bde2077f0) 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-ssh14824803703323242102.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh7649888129041046319.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-194/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-194/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18045992804029865753.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-194/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14378104168922191871.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh7909302607611738095.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-194/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-194/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh222633696586955252.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6439 in /w/workspace/edgexfoundry_device-gpio_PR-194 [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-194 # 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/194/head:refs/remotes/origin/PR-194 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bc7e5252a6371971a8ca64433ac86b0abda7502e into PR head commit d33eaf343a60a4253be29254b36ddcde5112af00 Merge succeeded, producing d33eaf343a60a4253be29254b36ddcde5112af00 Checking out Revision d33eaf343a60a4253be29254b36ddcde5112af00 (PR-194) 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 e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:55:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f d33eaf343a60a4253be29254b36ddcde5112af00 # 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 bc7e5252a6371971a8ca64433ac86b0abda7502e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d33eaf343a60a4253be29254b36ddcde5112af00 # timeout=10 [Pipeline] withCredentials 00:55:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:55:16 ========================================================= 00:55:16 EdgeX Global Pipelines Version Info 00:55:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:55:17 ------------------- 00:55:17 stable info: 00:55:17 ------------------- 00:55:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:55:17 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 00:55:17 Message: update stable to v1.0.254 00:55:17 ------------------- 00:55:17 experimental info: 00:55:17 ------------------- 00:55:17 Commited By: **** collab-it+edgex@linuxfoundation.org 00:55:17 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 00:55:17 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:55:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 00:55:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 00:55:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:55:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:55:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:55:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 00:55:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:55:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:55:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:55:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:55:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:55:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 00:55:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:55:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:55:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:55:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:55:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:55:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:55:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:55:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:55:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:55:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:55:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:55:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:55:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:55:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:55:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:55:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-194 [Pipeline] echo 00:55:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-194 [Pipeline] echo 00:55:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-194 [Pipeline] echo 00:55:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d33eaf343a60a4253be29254b36ddcde5112af00 [Pipeline] echo 00:55:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d33eaf3 [Pipeline] echo 00:55:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:55:19 provisioning config files... 00:55:19 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-194@tmp/config5852206616887925747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:55:19 ---> docker-login.sh 00:55:19 nexus3.edgexfoundry.org:10001 00:55:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:20 Configure a credential helper to remove this warning. See 00:55:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:20 00:55:20 Login Succeeded 00:55:20 nexus3.edgexfoundry.org:10002 00:55:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:20 Configure a credential helper to remove this warning. See 00:55:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:20 00:55:20 Login Succeeded 00:55:20 nexus3.edgexfoundry.org:10003 00:55:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:20 Configure a credential helper to remove this warning. See 00:55:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:20 00:55:20 Login Succeeded 00:55:20 nexus3.edgexfoundry.org:10004 00:55:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:20 Configure a credential helper to remove this warning. See 00:55:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:20 00:55:20 Login Succeeded 00:55:20 docker.io 00:55:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:21 Configure a credential helper to remove this warning. See 00:55:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:21 00:55:21 Login Succeeded 00:55:21 ---> docker-login.sh ends [Pipeline] } 00:55:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:55:21 + git rev-list -1 --merges d33eaf343a60a4253be29254b36ddcde5112af00~1..d33eaf343a60a4253be29254b36ddcde5112af00 [Pipeline] echo 00:55:22 -----------> git rev-list -1 --merges d33eaf343a60a4253be29254b36ddcde5112af00~1..d33eaf343a60a4253be29254b36ddcde5112af00 d33eaf343a60a4253be29254b36ddcde5112af00 [false] [Pipeline] sh 00:55:22 + git log --format=format:%s -1 d33eaf343a60a4253be29254b36ddcde5112af00 [Pipeline] echo 00:55:22 ========================================================= 00:55:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:55:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:55:22 + git log --format=format:%s -1 d33eaf343a60a4253be29254b36ddcde5112af00 [Pipeline] echo 00:55:22 [semverPrep] GIT_COMMIT: d33eaf343a60a4253be29254b36ddcde5112af00, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 00:55:22 [semverPrep] This is not a build commit. [Pipeline] sh 00:55:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:55:23 + grep -v github /etc/ssh/ssh_known_hosts 00:55:23 + [ -e /tmp/ssh_known_hosts ] 00:55:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:55:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:55:23 + sudo tee -a /etc/ssh/ssh_known_hosts 00:55:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:55:23 00:55:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:55:24 0.1.4: Pulling from edgex-devops/py-git-semver 00:55:24 b85a868b505f: Pulling fs layer 00:55:24 e2be974225ed: Pulling fs layer 00:55:24 339a4e72a1f5: Pulling fs layer 00:55:24 988bab9f4d93: Pulling fs layer 00:55:24 1469e6f7b9e6: Pulling fs layer 00:55:24 eaf3925da568: Pulling fs layer 00:55:24 bab4dde63d76: Pulling fs layer 00:55:24 bde34c3a00c8: Pulling fs layer 00:55:24 988bab9f4d93: Waiting 00:55:24 b352a97aabf1: Pulling fs layer 00:55:24 4872d77fe225: Pulling fs layer 00:55:24 5851b861e8e6: Pulling fs layer 00:55:24 eaf3925da568: Waiting 00:55:24 bab4dde63d76: Waiting 00:55:24 bde34c3a00c8: Waiting 00:55:24 b352a97aabf1: Waiting 00:55:24 1469e6f7b9e6: Waiting 00:55:24 4872d77fe225: Waiting 00:55:24 5851b861e8e6: Waiting 00:55:24 e2be974225ed: Download complete 00:55:24 988bab9f4d93: Verifying Checksum 00:55:24 988bab9f4d93: Download complete 00:55:24 1469e6f7b9e6: Verifying Checksum 00:55:24 1469e6f7b9e6: Download complete 00:55:24 339a4e72a1f5: Verifying Checksum 00:55:24 339a4e72a1f5: Download complete 00:55:24 eaf3925da568: Verifying Checksum 00:55:24 eaf3925da568: Download complete 00:55:24 bde34c3a00c8: Download complete 00:55:24 b352a97aabf1: Download complete 00:55:24 4872d77fe225: Verifying Checksum 00:55:24 4872d77fe225: Download complete 00:55:24 5851b861e8e6: Download complete 00:55:24 b85a868b505f: Verifying Checksum 00:55:24 b85a868b505f: Download complete 00:55:24 bab4dde63d76: Verifying Checksum 00:55:24 bab4dde63d76: Download complete 00:55:26 b85a868b505f: Pull complete 00:55:26 e2be974225ed: Pull complete 00:55:26 339a4e72a1f5: Pull complete 00:55:26 988bab9f4d93: Pull complete 00:55:26 1469e6f7b9e6: Pull complete 00:55:26 eaf3925da568: Pull complete 00:55:28 bab4dde63d76: Pull complete 00:55:28 bde34c3a00c8: Pull complete 00:55:28 b352a97aabf1: Pull complete 00:55:29 4872d77fe225: Pull complete 00:55:29 5851b861e8e6: Pull complete 00:55:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:55:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:55:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:29 prd-ubuntu20.04-docker-8c-8g-6439 does not seem to be running inside a container 00:55:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-194 -v /w/workspace/edgexfoundry_device-gpio_PR-194:/w/workspace/edgexfoundry_device-gpio_PR-194:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-194@tmp:/w/workspace/edgexfoundry_device-gpio_PR-194@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:55:32 $ docker top e8ce7495454da82e58ab2beffac893b7169f3d12b7152e80c71835c9aa4c363e -eo pid,comm 00:55:32 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:55:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:55:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:55:32 [ssh-agent] Looking for ssh-agent implementation... 00:55:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:55:32 $ docker exec e8ce7495454da82e58ab2beffac893b7169f3d12b7152e80c71835c9aa4c363e ssh-agent 00:55:32 SSH_AUTH_SOCK=/tmp/ssh-TWftjXuX5doH/agent.31 00:55:32 SSH_AGENT_PID=37 00:55:32 Running ssh-add (command line suppressed) 00:55:32 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-194@tmp/private_key_12165090379680508836.key (/w/workspace/edgexfoundry_device-gpio_PR-194@tmp/private_key_12165090379680508836.key) 00:55:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:55:33 + git tag --points-at HEAD [Pipeline] } 00:55:33 $ docker exec --env ******** --env ******** e8ce7495454da82e58ab2beffac893b7169f3d12b7152e80c71835c9aa4c363e ssh-agent -k 00:55:33 unset SSH_AUTH_SOCK; 00:55:33 unset SSH_AGENT_PID; 00:55:33 echo Agent pid 37 killed; 00:55:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:55:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:55:33 [ssh-agent] Looking for ssh-agent implementation... 00:55:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:55:33 $ docker exec e8ce7495454da82e58ab2beffac893b7169f3d12b7152e80c71835c9aa4c363e ssh-agent 00:55:33 SSH_AUTH_SOCK=/tmp/ssh-FPffQ5J0GSQ5/agent.70 00:55:33 SSH_AGENT_PID=76 00:55:33 Running ssh-add (command line suppressed) 00:55:33 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-194@tmp/private_key_3012177186386170058.key (/w/workspace/edgexfoundry_device-gpio_PR-194@tmp/private_key_3012177186386170058.key) 00:55:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:55:34 + git semver init 00:55:34 2023-09-19 00:55:34,232 [run_init] DEBUG init version:0.0.0 force:False 00:55:34 2023-09-19 00:55:34,233 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-194/.semver 00:55:34 2023-09-19 00:55:34,233 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-194/.semver 00:55:34 2023-09-19 00:55:34,233 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-194/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-194, universal_newlines=False, shell=None, istream=None) 00:55:35 2023-09-19 00:55:35,225 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-194/.git/info/exclude 00:55:35 2023-09-19 00:55:35,226 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-194/.semver/PR-194 with force:False 00:55:35 2023-09-19 00:55:35,226 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-194/.semver/PR-194 00:55:35 2023-09-19 00:55:35,230 [execute] INFO git cat-file --batch-check 00:55:35 2023-09-19 00:55:35,230 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-194/.semver, universal_newlines=False, shell=None, istream=) 00:55:35 2023-09-19 00:55:35,236 [execute] INFO git cat-file --batch 00:55:35 2023-09-19 00:55:35,236 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-194/.semver, universal_newlines=False, shell=None, istream=) 00:55:35 2023-09-19 00:55:35,242 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-194/.semver/PR-194 00:55:35 0.0.0 [Pipeline] } 00:55:35 $ docker exec --env ******** --env ******** e8ce7495454da82e58ab2beffac893b7169f3d12b7152e80c71835c9aa4c363e ssh-agent -k 00:55:35 unset SSH_AUTH_SOCK; 00:55:35 unset SSH_AGENT_PID; 00:55:35 echo Agent pid 76 killed; 00:55:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:55:36 + git semver [Pipeline] } 00:55:36 $ docker stop --time=1 e8ce7495454da82e58ab2beffac893b7169f3d12b7152e80c71835c9aa4c363e 00:55:37 $ docker rm -f --volumes e8ce7495454da82e58ab2beffac893b7169f3d12b7152e80c71835c9aa4c363e [Pipeline] // withDockerContainer [Pipeline] sh 00:55:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:55:38 Stashed 1 file(s) [Pipeline] echo 00:55:38 [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:55:38 provisioning config files... 00:55:38 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-194@tmp/config1318973716431254634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:55:39 ---> docker-login.sh 00:55:39 nexus3.edgexfoundry.org:10001 00:55:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:39 Configure a credential helper to remove this warning. See 00:55:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:39 00:55:39 Login Succeeded 00:55:39 nexus3.edgexfoundry.org:10002 00:55:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:39 Configure a credential helper to remove this warning. See 00:55:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:39 00:55:39 Login Succeeded 00:55:39 nexus3.edgexfoundry.org:10003 00:55:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:39 Configure a credential helper to remove this warning. See 00:55:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:39 00:55:39 Login Succeeded 00:55:39 nexus3.edgexfoundry.org:10004 00:55:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:39 Configure a credential helper to remove this warning. See 00:55:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:39 00:55:39 Login Succeeded 00:55:39 docker.io 00:55:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:39 Configure a credential helper to remove this warning. See 00:55:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:39 00:55:39 Login Succeeded 00:55:39 ---> docker-login.sh ends [Pipeline] } 00:55:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:55:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:55:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:55:40 ========================================================= 00:55:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 00:55:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:40 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 00:55:40 Sending build context to Docker daemon 16.1MB 00:55:40 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 00:55:40 Step 2/12 : FROM ${BASE} AS builder 00:55:40 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 00:55:40 7264a8db6415: Pulling fs layer 00:55:40 c4d48a809fc2: Pulling fs layer 00:55:40 4f1c88b9dad5: Pulling fs layer 00:55:40 ad3a456e5733: Pulling fs layer 00:55:40 9e4f439ed901: Pulling fs layer 00:55:40 feaf6a47b606: Pulling fs layer 00:55:40 5e8b037d7d82: Pulling fs layer 00:55:40 8ac70367396e: Pulling fs layer 00:55:40 6db16350a2e2: Pulling fs layer 00:55:40 9250d5d63582: Pulling fs layer 00:55:40 9e4f439ed901: Waiting 00:55:40 feaf6a47b606: Waiting 00:55:40 5e8b037d7d82: Waiting 00:55:40 8ac70367396e: Waiting 00:55:40 6db16350a2e2: Waiting 00:55:40 9250d5d63582: Waiting 00:55:40 ad3a456e5733: Waiting 00:55:40 c4d48a809fc2: Verifying Checksum 00:55:40 c4d48a809fc2: Download complete 00:55:40 ad3a456e5733: Verifying Checksum 00:55:40 ad3a456e5733: Download complete 00:55:40 9e4f439ed901: Verifying Checksum 00:55:40 9e4f439ed901: Download complete 00:55:40 7264a8db6415: Verifying Checksum 00:55:40 7264a8db6415: Download complete 00:55:40 feaf6a47b606: Verifying Checksum 00:55:40 feaf6a47b606: Download complete 00:55:40 7264a8db6415: Pull complete 00:55:41 8ac70367396e: Verifying Checksum 00:55:41 8ac70367396e: Download complete 00:55:41 c4d48a809fc2: Pull complete 00:55:41 4f1c88b9dad5: Verifying Checksum 00:55:41 4f1c88b9dad5: Download complete 00:55:41 6db16350a2e2: Verifying Checksum 00:55:41 6db16350a2e2: Download complete 00:55:41 9250d5d63582: Verifying Checksum 00:55:41 9250d5d63582: Download complete 00:55:41 5e8b037d7d82: Verifying Checksum 00:55:41 5e8b037d7d82: Download complete 00:55:44 4f1c88b9dad5: Pull complete 00:55:44 ad3a456e5733: Pull complete 00:55:44 9e4f439ed901: Pull complete 00:55:44 feaf6a47b606: Pull complete 00:55:47 5e8b037d7d82: Pull complete 00:55:47 8ac70367396e: Pull complete 00:55:48 6db16350a2e2: Pull complete 00:55:48 9250d5d63582: Pull complete 00:55:48 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 00:55:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 00:55:48 ---> fa269f55d9b9 00:55:48 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:55:53 Still waiting to schedule task 00:55:53 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6438’ 00:55:53 ---> Running in 817979760f33 00:55:53 Removing intermediate container 817979760f33 00:55:53 ---> ae1734af4257 00:55:53 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:55:53 ---> Running in 514fe68e1b9b 00:55:53 Removing intermediate container 514fe68e1b9b 00:55:53 ---> e02ebaffe129 00:55:53 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:55:53 ---> Running in 441c92a3f86c 00:55:53 Removing intermediate container 441c92a3f86c 00:55:53 ---> 42e2c2bbb881 00:55:53 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:55:53 ---> Running in 7b782f102a4d 00:55:53 Removing intermediate container 7b782f102a4d 00:55:53 ---> ee78faedf5c1 00:55:53 Step 7/12 : WORKDIR /device-gpio 00:55:53 ---> Running in 3d46319e77a4 00:55:53 Removing intermediate container 3d46319e77a4 00:55:53 ---> eeaafcd54ca7 00:55:53 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:55:53 ---> Running in 1e542f50c968 00:55:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:55:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:55:54 (1/4) Installing openssh-keygen (9.3_p2-r0) 00:55:54 (2/4) Installing libedit (20221030.3.1-r1) 00:55:54 (3/4) Installing openssh-client-common (9.3_p2-r0) 00:55:54 (4/4) Installing openssh-client-default (9.3_p2-r0) 00:55:54 Executing busybox-1.36.1-r2.trigger 00:55:54 OK: 270 MiB in 60 packages 00:55:54 Removing intermediate container 1e542f50c968 00:55:54 ---> 225b2e73aa9c 00:55:54 Step 9/12 : COPY go.mod vendor* ./ 00:55:55 ---> 2ea96db388ab 00:55:55 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:55:55 ---> Running in 7febcca235e0 00:56:51 Removing intermediate container 7febcca235e0 00:56:51 ---> 9259bee710b2 00:56:51 Step 11/12 : COPY . . 00:56:51 ---> 6632398c2373 00:56:51 Step 12/12 : RUN ${MAKE} 00:56:51 ---> Running in 203268582db4 00:56:51 noop 00:56:51 Removing intermediate container 203268582db4 00:56:51 ---> a8be5eeb0dba 00:56:51 Successfully built a8be5eeb0dba 00:56:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:51 + docker inspect -f . ci-base-image-x86_64 00:56:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:52 prd-ubuntu20.04-docker-8c-8g-6439 does not seem to be running inside a container 00:56:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-194 -v /w/workspace/edgexfoundry_device-gpio_PR-194:/w/workspace/edgexfoundry_device-gpio_PR-194:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-194@tmp:/w/workspace/edgexfoundry_device-gpio_PR-194@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:56:52 $ docker top 27ba685938e241c9673b2dc8f086a2ce47034e9bf641fae2df9ebf3002c46ab0 -eo pid,comm [Pipeline] { [Pipeline] sh 00:56:52 + go version 00:56:52 go version go1.21.0 linux/amd64 [Pipeline] } 00:56:52 $ docker stop --time=1 27ba685938e241c9673b2dc8f086a2ce47034e9bf641fae2df9ebf3002c46ab0 00:56:54 $ docker rm -f --volumes 27ba685938e241c9673b2dc8f086a2ce47034e9bf641fae2df9ebf3002c46ab0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:54 + docker inspect -f . ci-base-image-x86_64 00:56:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:55 prd-ubuntu20.04-docker-8c-8g-6439 does not seem to be running inside a container 00:56:55 $ 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-194 -v /w/workspace/edgexfoundry_device-gpio_PR-194:/w/workspace/edgexfoundry_device-gpio_PR-194:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-194@tmp:/w/workspace/edgexfoundry_device-gpio_PR-194@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:56:55 $ docker top 3479c6f54e513b3ad7de247e631862aa80ad047535a7d20f4427b63eb860bb65 -eo pid,comm [Pipeline] { [Pipeline] sh 00:56:55 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-194 [Pipeline] fileExists [Pipeline] sh 00:56:56 + make test 00:56:56 go test ./... -coverprofile=coverage.out ./... 00:56:57 ? github.com/edgexfoundry/device-gpio [no test files] 00:57:07 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:57:07 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:57:12 go vet ./... 00:57:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:57:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:57:15 ./bin/test-attribution-txt.sh [Pipeline] echo 00:57:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:57:15 $ docker stop --time=1 3479c6f54e513b3ad7de247e631862aa80ad047535a7d20f4427b63eb860bb65 00:57:19 $ docker rm -f --volumes 3479c6f54e513b3ad7de247e631862aa80ad047535a7d20f4427b63eb860bb65 [Pipeline] // withDockerContainer [Pipeline] sh 00:57:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:57:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:57:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:57:20 + ls -al . 00:57:20 total 168 00:57:20 drwxrwxr-x 9 jenkins jenkins 4096 Sep 19 00:56 . 00:57:20 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 00:55 .. 00:57:20 -rw-rw-r-- 1 jenkins jenkins 120 Sep 19 00:55 .dockerignore 00:57:20 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 00:57 .git 00:57:20 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 00:55 .github 00:57:20 -rw-rw-r-- 1 jenkins jenkins 343 Sep 19 00:55 .gitignore 00:57:20 -rw-rw-r-- 1 jenkins jenkins 41 Sep 19 00:55 .golangci.yml 00:57:20 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 00:55 .semver 00:57:20 -rw-rw-r-- 1 jenkins jenkins 10671 Sep 19 00:55 Attribution.txt 00:57:20 -rw-rw-r-- 1 jenkins jenkins 6184 Sep 19 00:55 CHANGELOG.md 00:57:20 -rw-rw-r-- 1 jenkins jenkins 1542 Sep 19 00:55 Dockerfile 00:57:20 -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 00:55 GOVERNANCE.md 00:57:20 -rw-rw-r-- 1 jenkins jenkins 657 Sep 19 00:55 Jenkinsfile 00:57:20 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 19 00:55 LICENSE 00:57:20 -rw-rw-r-- 1 jenkins jenkins 1923 Sep 19 00:55 Makefile 00:57:20 -rw-rw-r-- 1 jenkins jenkins 617 Sep 19 00:55 OWNERS.md 00:57:20 -rw-rw-r-- 1 jenkins jenkins 12293 Sep 19 00:55 README.md 00:57:20 -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 00:55 VERSION 00:57:20 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 00:55 bin 00:57:20 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 00:55 cmd 00:57:20 -rw-r--r-- 1 jenkins jenkins 10 Sep 19 00:56 coverage.out 00:57:20 -rw-rw-r-- 1 jenkins jenkins 3697 Sep 19 00:55 go.mod 00:57:20 -rw-rw-r-- 1 jenkins jenkins 35979 Sep 19 00:55 go.sum 00:57:20 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 00:55 internal 00:57:20 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 00:55 snap 00:57:20 -rw-rw-r-- 1 jenkins jenkins 209 Sep 19 00:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:21 + 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=d33eaf343a60a4253be29254b36ddcde5112af00 --label arch=amd64 --label version=0.0.0 . 00:57:21 Sending build context to Docker daemon 16.1MB 00:57:21 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 00:57:21 Step 2/25 : FROM ${BASE} AS builder 00:57:21 ---> a8be5eeb0dba 00:57:21 Step 3/25 : ARG ADD_BUILD_TAGS="" 00:57:21 ---> Running in f6055dded567 00:57:21 Removing intermediate container f6055dded567 00:57:21 ---> 10cf416c465e 00:57:21 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:57:21 ---> Running in 93d67d515db9 00:57:21 Removing intermediate container 93d67d515db9 00:57:21 ---> 4d164720b7a6 00:57:21 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 00:57:21 ---> Running in 834359ce9932 00:57:21 Removing intermediate container 834359ce9932 00:57:21 ---> 733610291d92 00:57:21 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 00:57:21 ---> Running in 9a110d9a2091 00:57:21 Removing intermediate container 9a110d9a2091 00:57:21 ---> 729c8d1441a7 00:57:21 Step 7/25 : WORKDIR /device-gpio 00:57:21 ---> Running in 439fbdcb1304 00:57:21 Removing intermediate container 439fbdcb1304 00:57:21 ---> f86cbfe89ce8 00:57:21 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:57:21 ---> Running in 85b6eb35c26f 00:57:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:57:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:57:22 OK: 270 MiB in 60 packages 00:57:23 Removing intermediate container 85b6eb35c26f 00:57:23 ---> 90406e29a727 00:57:23 Step 9/25 : COPY go.mod vendor* ./ 00:57:23 ---> 4476e751965b 00:57:23 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:57:23 ---> Running in 869fdc0e055d 00:57:23 Removing intermediate container 869fdc0e055d 00:57:23 ---> 70ba2d02eca4 00:57:23 Step 11/25 : COPY . . 00:57:24 ---> 68bf901111a3 00:57:24 Step 12/25 : RUN ${MAKE} 00:57:24 ---> Running in a0cafe1c7334 00:57:24 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.24" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 00:57:46 Removing intermediate container a0cafe1c7334 00:57:46 ---> 04f352613303 00:57:46 Step 13/25 : FROM alpine:3.18 00:57:46 3.18: Pulling from library/alpine 00:57:46 7264a8db6415: Already exists 00:57:46 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 00:57:46 Status: Downloaded newer image for alpine:3.18 00:57:46 ---> 7e01a0d0a1dc 00:57:46 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:57:46 ---> Running in 9caad020e06d 00:57:46 Removing intermediate container 9caad020e06d 00:57:46 ---> 39c868539a1a 00:57:46 Step 15/25 : RUN apk add --update --no-cache 00:57:46 ---> Running in 821b6a74629d 00:57:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:57:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:57:46 OK: 7 MiB in 15 packages 00:57:46 Removing intermediate container 821b6a74629d 00:57:46 ---> 738280bd5ca1 00:57:46 Step 16/25 : WORKDIR / 00:57:46 ---> Running in b76f2944c3f9 00:57:46 Removing intermediate container b76f2944c3f9 00:57:46 ---> dc20fea524b8 00:57:46 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 00:57:46 ---> 898b89d55119 00:57:46 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 00:57:46 ---> dde2eb83a35f 00:57:46 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 00:57:46 ---> c80b36ed30b9 00:57:46 Step 20/25 : EXPOSE 59910 00:57:46 ---> Running in ccb9975ceca2 00:57:46 Removing intermediate container ccb9975ceca2 00:57:46 ---> ce3d1b177551 00:57:46 Step 21/25 : ENTRYPOINT ["/device-gpio"] 00:57:46 ---> Running in 975597fefffc 00:57:46 Removing intermediate container 975597fefffc 00:57:46 ---> 94a0e25dd9de 00:57:46 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:57:46 ---> Running in 701d38169476 00:57:46 Removing intermediate container 701d38169476 00:57:46 ---> 3638b8ba44ca 00:57:46 Step 23/25 : LABEL arch=amd64 00:57:46 ---> Running in 05db12dee074 00:57:46 Removing intermediate container 05db12dee074 00:57:46 ---> 84a5aea47057 00:57:46 Step 24/25 : LABEL git_sha=d33eaf343a60a4253be29254b36ddcde5112af00 00:57:46 ---> Running in ca5db38574a4 00:57:46 Removing intermediate container ca5db38574a4 00:57:46 ---> 13ce57f69677 00:57:46 Step 25/25 : LABEL version=0.0.0 00:57:46 ---> Running in 5e72d28da2e2 00:57:46 Removing intermediate container 5e72d28da2e2 00:57:46 ---> dfa8870bdad2 00:57:46 [Warning] One or more build-args [ARCH] were not consumed 00:57:46 Successfully built dfa8870bdad2 00:57:46 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:57:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:57:47 00:57:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:57:47 latest: Pulling from edgex-lftools-log-publisher 00:57:47 5eb5b503b376: Pulling fs layer 00:57:47 5c69ac0246d0: Pulling fs layer 00:57:47 ec43610c2a17: Pulling fs layer 00:57:47 3a2ae6a8a46f: Pulling fs layer 00:57:47 33b1e0a273af: Pulling fs layer 00:57:47 5d3b04190fa2: Pulling fs layer 00:57:47 2f39f015ded8: Pulling fs layer 00:57:47 3a2ae6a8a46f: Waiting 00:57:47 33b1e0a273af: Waiting 00:57:47 5d3b04190fa2: Waiting 00:57:47 2f39f015ded8: Waiting 00:57:47 5c69ac0246d0: Verifying Checksum 00:57:47 5c69ac0246d0: Download complete 00:57:47 3a2ae6a8a46f: Download complete 00:57:47 33b1e0a273af: Verifying Checksum 00:57:47 33b1e0a273af: Download complete 00:57:47 5d3b04190fa2: Verifying Checksum 00:57:47 5d3b04190fa2: Download complete 00:57:47 ec43610c2a17: Verifying Checksum 00:57:47 ec43610c2a17: Download complete 00:57:48 5eb5b503b376: Verifying Checksum 00:57:48 5eb5b503b376: Download complete 00:57:49 5eb5b503b376: Pull complete 00:57:49 5c69ac0246d0: Pull complete 00:57:49 ec43610c2a17: Pull complete 00:57:49 3a2ae6a8a46f: Pull complete 00:57:49 33b1e0a273af: Pull complete 00:57:49 5d3b04190fa2: Pull complete 00:57:54 2f39f015ded8: Pull complete 00:57:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:57:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:57:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:57:54 prd-ubuntu20.04-docker-8c-8g-6439 does not seem to be running inside a container 00:57:54 $ 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-194 -v /w/workspace/edgexfoundry_device-gpio_PR-194:/w/workspace/edgexfoundry_device-gpio_PR-194:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-194@tmp:/w/workspace/edgexfoundry_device-gpio_PR-194@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:57:59 $ docker top e8a4e55f02c3ddcf2b4c3c6638317b7dd143939849b8863089891d538edb1dea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:57:59 ---> job-cost.sh 00:57:59 lf-activate-venv: SKIPPING 00:57:59 INFO: No Stack... 00:58:00 INFO: Retrieving Pricing Info for: v3-standard-8 00:58:00 INFO: Archiving Costs [Pipeline] sh 00:58:00 + cat /w/workspace/edgexfoundry_device-gpio_PR-194/archives/cost.csv 00:58:00 + cut -d, -f6 [Pipeline] lock 00:58:00 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-194-1-stack-cost] 00:58:00 Resource [jenkins-edgexfoundry-device-gpio-PR-194-1-stack-cost] did not exist. Created. 00:58:00 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-194-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:58:01 + echo total: 0.2199999988079071 [Pipeline] stash 00:58:01 Stashed 1 file(s) [Pipeline] } 00:58:01 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-194-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:58:01 $ docker stop --time=1 e8a4e55f02c3ddcf2b4c3c6638317b7dd143939849b8863089891d538edb1dea 00:58:02 $ docker rm -f --volumes e8a4e55f02c3ddcf2b4c3c6638317b7dd143939849b8863089891d538edb1dea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:59:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6440 in /w/workspace/edgexfoundry_device-gpio_PR-194 [Pipeline] { [Pipeline] ws 00:59:37 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 00:59:37 The recommended git tool is: git 00:59:43 using credential edgex-jenkins-ssh 00:59:43 Cloning the remote Git repository 00:59:43 Cloning repository git@github.com:edgexfoundry/device-gpio.git 00:59:43 > git init /w/workspace/device-gpio/1 # timeout=10 00:59:43 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:59:43 > git --version # timeout=10 00:59:43 > git --version # 'git version 2.25.1' 00:59:43 using GIT_SSH to set credentials SSH Credentials for GitHub 00:59:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:59:47 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:59:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:59:48 Merging remotes/origin/main commit bc7e5252a6371971a8ca64433ac86b0abda7502e into PR head commit d33eaf343a60a4253be29254b36ddcde5112af00 00:59:48 Merge succeeded, producing d33eaf343a60a4253be29254b36ddcde5112af00 00:59:48 Checking out Revision d33eaf343a60a4253be29254b36ddcde5112af00 (PR-194) 00:59:48 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:59:48 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:59:48 using GIT_SSH to set credentials SSH Credentials for GitHub 00:59:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/194/head:refs/remotes/origin/PR-194 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:59:48 > git config core.sparsecheckout # timeout=10 00:59:48 > git checkout -f d33eaf343a60a4253be29254b36ddcde5112af00 # timeout=10 00:59:48 > git remote # timeout=10 00:59:48 > git config --get remote.origin.url # timeout=10 00:59:48 using GIT_SSH to set credentials SSH Credentials for GitHub 00:59:48 > git merge bc7e5252a6371971a8ca64433ac86b0abda7502e # timeout=10 00:59:48 > git rev-parse HEAD^{commit} # timeout=10 00:59:48 > git config core.sparsecheckout # timeout=10 00:59:48 > git checkout -f d33eaf343a60a4253be29254b36ddcde5112af00 # timeout=10 00:59:49 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 00:59:49 > git --version # timeout=10 00:59:49 > git --version # 'git version 2.25.1' 00:59:49 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:59:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:59:50 % Total % Received % Xferd Average Speed Time Time Time Current 00:59:50 Dload Upload Total Spent Left Speed 00:59:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 89795 [Pipeline] sh 00:59:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:59:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:59:51 + sudo tee /etc/docker/daemon.new 00:59:51 { 00:59:51 "registry-mirrors": [ 00:59:51 "https://nexus3.edgexfoundry.org:10001" 00:59:51 ], 00:59:51 "bip": "10.250.0.254/24", 00:59:51 "hosts": [ 00:59:51 "tcp://0.0.0.0:5555", 00:59:51 "unix:///var/run/docker.sock" 00:59:51 ], 00:59:51 "mtu": 1458, 00:59:51 "selinux-enabled": true, 00:59:51 "seccomp-profile": "/etc/docker/seccomp.json" 00:59:51 } [Pipeline] sh 00:59:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:59:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:00:10 provisioning config files... 01:00:10 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config1342040754867830383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:00:11 ---> docker-login.sh 01:00:11 nexus3.edgexfoundry.org:10001 01:00:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:00:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:00:11 Configure a credential helper to remove this warning. See 01:00:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:00:11 01:00:11 Login Succeeded 01:00:11 nexus3.edgexfoundry.org:10002 01:00:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:00:12 Configure a credential helper to remove this warning. See 01:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:00:12 01:00:12 Login Succeeded 01:00:12 nexus3.edgexfoundry.org:10003 01:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:00:12 Configure a credential helper to remove this warning. See 01:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:00:12 01:00:12 Login Succeeded 01:00:12 nexus3.edgexfoundry.org:10004 01:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:00:12 Configure a credential helper to remove this warning. See 01:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:00:12 01:00:12 Login Succeeded 01:00:12 docker.io 01:00:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:00:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:00:13 Configure a credential helper to remove this warning. See 01:00:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:00:13 01:00:13 Login Succeeded 01:00:13 ---> docker-login.sh ends [Pipeline] } 01:00:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:00:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:00:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:00:13 ========================================================= 01:00:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 01:00:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:14 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 01:00:14 Sending build context to Docker daemon 8.116MB 01:00:14 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:00:14 Step 2/12 : FROM ${BASE} AS builder 01:00:15 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:00:15 9fda8d8052c6: Pulling fs layer 01:00:15 5d54e960e981: Pulling fs layer 01:00:15 c4a7e357bf2a: Pulling fs layer 01:00:15 f0e02332f6b5: Pulling fs layer 01:00:15 66412af1f25a: Pulling fs layer 01:00:15 1baf3a5c0e64: Pulling fs layer 01:00:15 9a37bb91b891: Pulling fs layer 01:00:15 a29adfc67d43: Pulling fs layer 01:00:15 d5de9f91c1a4: Pulling fs layer 01:00:15 f0e02332f6b5: Waiting 01:00:15 66412af1f25a: Waiting 01:00:15 1baf3a5c0e64: Waiting 01:00:15 a29adfc67d43: Waiting 01:00:15 d5de9f91c1a4: Waiting 01:00:15 9a37bb91b891: Waiting 01:00:15 5d54e960e981: Verifying Checksum 01:00:15 5d54e960e981: Download complete 01:00:15 f0e02332f6b5: Verifying Checksum 01:00:15 f0e02332f6b5: Download complete 01:00:15 66412af1f25a: Verifying Checksum 01:00:15 66412af1f25a: Download complete 01:00:15 9fda8d8052c6: Verifying Checksum 01:00:15 9fda8d8052c6: Download complete 01:00:15 9a37bb91b891: Verifying Checksum 01:00:15 9a37bb91b891: Download complete 01:00:16 9fda8d8052c6: Pull complete 01:00:16 a29adfc67d43: Verifying Checksum 01:00:16 a29adfc67d43: Download complete 01:00:16 5d54e960e981: Pull complete 01:00:17 d5de9f91c1a4: Verifying Checksum 01:00:17 d5de9f91c1a4: Download complete 01:00:17 c4a7e357bf2a: Verifying Checksum 01:00:17 c4a7e357bf2a: Download complete 01:00:18 1baf3a5c0e64: Verifying Checksum 01:00:18 1baf3a5c0e64: Download complete 01:00:28 c4a7e357bf2a: Pull complete 01:00:28 f0e02332f6b5: Pull complete 01:00:28 66412af1f25a: Pull complete 01:00:35 1baf3a5c0e64: Pull complete 01:00:36 9a37bb91b891: Pull complete 01:00:37 a29adfc67d43: Pull complete 01:00:40 d5de9f91c1a4: Pull complete 01:00:40 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 01:00:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 01:00:40 ---> 746ca1b523b5 01:00:40 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:00:42 ---> Running in b66f4013193c 01:00:43 Removing intermediate container b66f4013193c 01:00:43 ---> 9339210c21d6 01:00:43 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:00:43 ---> Running in 26dcb89b8767 01:00:43 Removing intermediate container 26dcb89b8767 01:00:43 ---> 5f5483fef953 01:00:43 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:00:43 ---> Running in 84c9162d1e57 01:00:43 Removing intermediate container 84c9162d1e57 01:00:43 ---> 014579305cfe 01:00:43 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:00:43 ---> Running in 0a1b7af4f082 01:00:44 Removing intermediate container 0a1b7af4f082 01:00:44 ---> 2eb2530d0fd5 01:00:44 Step 7/12 : WORKDIR /device-gpio 01:00:44 ---> Running in a6680613cf61 01:00:44 Removing intermediate container a6680613cf61 01:00:44 ---> 6f0a5145297f 01:00:44 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:00:44 ---> Running in 2fab88b9eef4 01:00:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:00:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:00:48 (1/4) Installing openssh-keygen (9.3_p2-r0) 01:00:48 (2/4) Installing libedit (20221030.3.1-r1) 01:00:48 (3/4) Installing openssh-client-common (9.3_p2-r0) 01:00:48 (4/4) Installing openssh-client-default (9.3_p2-r0) 01:00:48 Executing busybox-1.36.1-r2.trigger 01:00:48 OK: 272 MiB in 60 packages 01:00:49 Removing intermediate container 2fab88b9eef4 01:00:49 ---> ed3eb059abb6 01:00:49 Step 9/12 : COPY go.mod vendor* ./ 01:00:50 ---> 961f08257f62 01:00:50 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:00:50 ---> Running in b97936ae24fd 01:02:16 Removing intermediate container b97936ae24fd 01:02:16 ---> b506fa7f9fba 01:02:16 Step 11/12 : COPY . . 01:02:16 ---> 93b3bccca636 01:02:16 Step 12/12 : RUN ${MAKE} 01:02:16 ---> Running in 453ff9b0a6c1 01:02:16 noop 01:02:16 Removing intermediate container 453ff9b0a6c1 01:02:16 ---> 3b67502029eb 01:02:16 Successfully built 3b67502029eb 01:02:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:16 + docker inspect -f . ci-base-image-arm64 01:02:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:02:17 prd-ubuntu20.04-docker-arm64-4c-16g-6440 does not seem to be running inside a container 01:02:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:02:18 $ docker top 93637787fb56b53426e723763b5b0c545429369b9557788614ebba1ed0831205 -eo pid,comm [Pipeline] { [Pipeline] sh 01:02:19 + go version 01:02:19 go version go1.21.0 linux/arm64 [Pipeline] } 01:02:19 $ docker stop --time=1 93637787fb56b53426e723763b5b0c545429369b9557788614ebba1ed0831205 01:02:20 $ docker rm -f --volumes 93637787fb56b53426e723763b5b0c545429369b9557788614ebba1ed0831205 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:21 + docker inspect -f . ci-base-image-arm64 01:02:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:02:21 prd-ubuntu20.04-docker-arm64-4c-16g-6440 does not seem to be running inside a container 01:02:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:02:23 $ docker top 50af20aee5caf913951933765491168ec2e82b869619e272eb60bbbe7899fb80 -eo pid,comm [Pipeline] { [Pipeline] sh 01:02:23 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 01:02:24 + make test 01:02:24 go test ./... -coverprofile=coverage.out ./... 01:02:29 ? github.com/edgexfoundry/device-gpio [no test files] 01:04:36 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:04:36 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:04:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:04:36 go vet ./... 01:05:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:05:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:05:08 ./bin/test-attribution-txt.sh [Pipeline] echo 01:05:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:05:09 $ docker stop --time=1 50af20aee5caf913951933765491168ec2e82b869619e272eb60bbbe7899fb80 01:05:11 $ docker rm -f --volumes 50af20aee5caf913951933765491168ec2e82b869619e272eb60bbbe7899fb80 [Pipeline] // withDockerContainer [Pipeline] sh 01:05:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:05:12 Warning: overwriting stash ‘coverage-report’ 01:05:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:05:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:05:13 + ls -al . 01:05:13 total 164 01:05:13 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 01:02 . 01:05:13 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 00:59 .. 01:05:13 -rw-rw-r-- 1 jenkins jenkins 120 Sep 19 00:59 .dockerignore 01:05:13 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 00:59 .git 01:05:13 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 00:59 .github 01:05:13 -rw-rw-r-- 1 jenkins jenkins 343 Sep 19 00:59 .gitignore 01:05:13 -rw-rw-r-- 1 jenkins jenkins 41 Sep 19 00:59 .golangci.yml 01:05:13 -rw-rw-r-- 1 jenkins jenkins 10671 Sep 19 00:59 Attribution.txt 01:05:13 -rw-rw-r-- 1 jenkins jenkins 6184 Sep 19 00:59 CHANGELOG.md 01:05:13 -rw-rw-r-- 1 jenkins jenkins 1542 Sep 19 00:59 Dockerfile 01:05:13 -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 00:59 GOVERNANCE.md 01:05:13 -rw-rw-r-- 1 jenkins jenkins 657 Sep 19 00:59 Jenkinsfile 01:05:13 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 19 00:59 LICENSE 01:05:13 -rw-rw-r-- 1 jenkins jenkins 1923 Sep 19 00:59 Makefile 01:05:13 -rw-rw-r-- 1 jenkins jenkins 617 Sep 19 00:59 OWNERS.md 01:05:13 -rw-rw-r-- 1 jenkins jenkins 12293 Sep 19 00:59 README.md 01:05:13 -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 00:55 VERSION 01:05:13 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 00:59 bin 01:05:13 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 00:59 cmd 01:05:13 -rw-r--r-- 1 jenkins jenkins 10 Sep 19 01:02 coverage.out 01:05:13 -rw-rw-r-- 1 jenkins jenkins 3697 Sep 19 00:59 go.mod 01:05:13 -rw-rw-r-- 1 jenkins jenkins 35979 Sep 19 00:59 go.sum 01:05:13 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 00:59 internal 01:05:13 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 00:59 snap 01:05:13 -rw-rw-r-- 1 jenkins jenkins 209 Sep 19 00:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:14 + 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=d33eaf343a60a4253be29254b36ddcde5112af00 --label arch=arm64 --label version=0.0.0 . 01:05:14 Sending build context to Docker daemon 8.117MB 01:05:14 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 01:05:14 Step 2/25 : FROM ${BASE} AS builder 01:05:14 ---> 3b67502029eb 01:05:14 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:05:14 ---> Running in d5406315d2f9 01:05:15 Removing intermediate container d5406315d2f9 01:05:15 ---> a5a119d7e1cb 01:05:15 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:05:15 ---> Running in a3fad0c682f4 01:05:15 Removing intermediate container a3fad0c682f4 01:05:15 ---> e824fa1b2857 01:05:15 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:05:15 ---> Running in 1a29a67a1a32 01:05:16 Removing intermediate container 1a29a67a1a32 01:05:16 ---> 3a3a6d165796 01:05:16 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:05:16 ---> Running in e3fb4a61fac2 01:05:16 Removing intermediate container e3fb4a61fac2 01:05:16 ---> 157c61c5600b 01:05:16 Step 7/25 : WORKDIR /device-gpio 01:05:16 ---> Running in 0a0195138e9f 01:05:16 Removing intermediate container 0a0195138e9f 01:05:16 ---> 10bb6c9da094 01:05:16 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:05:16 ---> Running in 9e484b3734ed 01:05:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:05:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:05:19 OK: 272 MiB in 60 packages 01:05:20 Removing intermediate container 9e484b3734ed 01:05:20 ---> 83b353361a49 01:05:20 Step 9/25 : COPY go.mod vendor* ./ 01:05:21 ---> d22f9d6947ee 01:05:21 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:05:21 ---> Running in 320744aa7788 01:05:23 Removing intermediate container 320744aa7788 01:05:23 ---> 48a9c9c836b6 01:05:23 Step 11/25 : COPY . . 01:05:24 ---> dc7d0c5c9a3d 01:05:24 Step 12/25 : RUN ${MAKE} 01:05:24 ---> Running in 79fada39e5c1 01:05:25 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.24" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 01:07:47 Removing intermediate container 79fada39e5c1 01:07:47 ---> 33de78b60db8 01:07:47 Step 13/25 : FROM alpine:3.18 01:07:47 3.18: Pulling from library/alpine 01:07:47 9fda8d8052c6: Already exists 01:07:47 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 01:07:47 Status: Downloaded newer image for alpine:3.18 01:07:47 ---> f6648c04cd6c 01:07:47 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:07:47 ---> Running in 3a75ee46dfed 01:07:47 Removing intermediate container 3a75ee46dfed 01:07:47 ---> 97b5d33c668d 01:07:47 Step 15/25 : RUN apk add --update --no-cache 01:07:47 ---> Running in b1b54b9d7a08 01:07:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:07:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:07:47 OK: 8 MiB in 15 packages 01:07:47 Removing intermediate container b1b54b9d7a08 01:07:47 ---> 1add31242aaa 01:07:47 Step 16/25 : WORKDIR / 01:07:47 ---> Running in 5b6d0650a148 01:07:47 Removing intermediate container 5b6d0650a148 01:07:47 ---> 61ddbb990618 01:07:47 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 01:07:47 ---> 557af5e39bcf 01:07:47 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 01:07:47 ---> c3acb7b85330 01:07:47 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 01:07:47 ---> 3d73e6716971 01:07:47 Step 20/25 : EXPOSE 59910 01:07:47 ---> Running in eccbcfaed13c 01:07:47 Removing intermediate container eccbcfaed13c 01:07:47 ---> b3cb361ca988 01:07:47 Step 21/25 : ENTRYPOINT ["/device-gpio"] 01:07:47 ---> Running in 3ec5b8ae30fe 01:07:47 Removing intermediate container 3ec5b8ae30fe 01:07:47 ---> 8f2deea7c4bf 01:07:47 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:07:47 ---> Running in c3f3a6eaa723 01:07:47 Removing intermediate container c3f3a6eaa723 01:07:47 ---> 6981c3815f25 01:07:47 Step 23/25 : LABEL arch=arm64 01:07:47 ---> Running in 1e40d4b6fd1f 01:07:47 Removing intermediate container 1e40d4b6fd1f 01:07:47 ---> e1b24241215e 01:07:47 Step 24/25 : LABEL git_sha=d33eaf343a60a4253be29254b36ddcde5112af00 01:07:47 ---> Running in 5a6b21bd24ca 01:07:47 Removing intermediate container 5a6b21bd24ca 01:07:47 ---> cbd4136f0c89 01:07:47 Step 25/25 : LABEL version=0.0.0 01:07:47 ---> Running in fe46def68824 01:07:47 Removing intermediate container fe46def68824 01:07:47 ---> 4630bdfc4693 01:07:47 [Warning] One or more build-args [ARCH] were not consumed 01:07:47 Successfully built 4630bdfc4693 01:07:47 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:07:48 01:07:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:07:48 arm64: Pulling from edgex-lftools-log-publisher 01:07:48 8998bd30e6a1: Pulling fs layer 01:07:48 04944245beec: Pulling fs layer 01:07:48 699f458cf7ca: Pulling fs layer 01:07:48 765212b225bb: Pulling fs layer 01:07:48 f23df028b6ca: Pulling fs layer 01:07:48 d65c8cfc05b1: Pulling fs layer 01:07:48 2437ff75d9bd: Pulling fs layer 01:07:48 f23df028b6ca: Waiting 01:07:48 765212b225bb: Waiting 01:07:48 2437ff75d9bd: Waiting 01:07:48 04944245beec: Verifying Checksum 01:07:48 04944245beec: Download complete 01:07:48 765212b225bb: Verifying Checksum 01:07:48 765212b225bb: Download complete 01:07:48 f23df028b6ca: Verifying Checksum 01:07:48 f23df028b6ca: Download complete 01:07:48 d65c8cfc05b1: Verifying Checksum 01:07:48 d65c8cfc05b1: Download complete 01:07:49 699f458cf7ca: Verifying Checksum 01:07:49 699f458cf7ca: Download complete 01:07:49 8998bd30e6a1: Verifying Checksum 01:07:49 8998bd30e6a1: Download complete 01:07:51 2437ff75d9bd: Verifying Checksum 01:07:51 2437ff75d9bd: Download complete 01:07:53 8998bd30e6a1: Pull complete 01:07:53 04944245beec: Pull complete 01:07:55 699f458cf7ca: Pull complete 01:07:55 765212b225bb: Pull complete 01:07:56 f23df028b6ca: Pull complete 01:07:56 d65c8cfc05b1: Pull complete 01:08:11 2437ff75d9bd: Pull complete 01:08:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:08:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:08:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:08:11 prd-ubuntu20.04-docker-arm64-4c-16g-6440 does not seem to be running inside a container 01:08:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:08:14 $ docker top c83884e6a206a4efb779abf07fa71d8c19107e1b4b61395493ee6e0f79618c9d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:08:15 ---> job-cost.sh 01:08:15 lf-activate-venv: SKIPPING 01:08:15 INFO: No Stack... 01:08:15 INFO: Retrieving Pricing Info for: v3-standard-4 01:08:16 INFO: Archiving Costs [Pipeline] sh 01:08:17 + cat /w/workspace/device-gpio/1/archives/cost.csv 01:08:17 + cut -d, -f6 [Pipeline] lock 01:08:17 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-194-1-stack-cost] 01:08:17 Resource [jenkins-edgexfoundry-device-gpio-PR-194-1-stack-cost] did not exist. Created. 01:08:17 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-194-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:08:17 /w/workspace/device-gpio/1@tmp/durable-0af65e17/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:08:18 + echo total: 0.10999999940395355 [Pipeline] stash 01:08:18 Warning: overwriting stash ‘stack-cost’ 01:08:18 Stashed 1 file(s) [Pipeline] } 01:08:18 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-194-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:08:18 $ docker stop --time=1 c83884e6a206a4efb779abf07fa71d8c19107e1b4b61395493ee6e0f79618c9d 01:08:20 $ docker rm -f --volumes c83884e6a206a4efb779abf07fa71d8c19107e1b4b61395493ee6e0f79618c9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:08:21 provisioning config files... 01:08:21 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-194@tmp/config10129516978245799935tmp [Pipeline] { [Pipeline] sh 01:08:21 + set +x 01:08:21 + bash -s -- 01:08:21 + curl -s https://codecov.io/bash 01:08:21 01:08:21 _____ _ 01:08:21 / ____| | | 01:08:21 | | ___ __| | ___ ___ _____ __ 01:08:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:08:21 | |___| (_) | (_| | __/ (_| (_) \ V / 01:08:21 \_____\___/ \__,_|\___|\___\___/ \_/ 01:08:21 Bash-1.0.6 01:08:21 01:08:21 01:08:21 ==> git version 2.25.1 found 01:08:21 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:08:21 Release-Date: 2020-01-08 01:08:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:08:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:08:21 ==> Jenkins CI detected. 01:08:21 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-194 01:08:21 project root: . 01:08:21 --> token set from env 01:08:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:08:21 ==> Running gcov in . (disable via -X gcov) 01:08:21 ==> Python coveragepy not found 01:08:21 ==> Searching for coverage reports in: 01:08:21 + . 01:08:21 -> Found 1 reports 01:08:21 ==> Detecting git/mercurial file structure 01:08:21 ==> Reading reports 01:08:21 + ./coverage.out bytes=10 01:08:21 ==> Appending adjustments 01:08:21 https://docs.codecov.io/docs/fixing-reports 01:08:21 + Found adjustments 01:08:21 ==> Gzipping contents 01:08:21 4.0K /tmp/codecov.ykLqZE.gz 01:08:21 ==> Uploading reports 01:08:21 url: https://codecov.io 01:08:21 query: branch=PR-194&commit=d33eaf343a60a4253be29254b36ddcde5112af00&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-194%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=194&job=&cmd_args= 01:08:21 -> Pinging Codecov 01:08:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-194&commit=d33eaf343a60a4253be29254b36ddcde5112af00&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-194%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=194&job=&cmd_args= 01:08:21 -> Uploading to 01:08:21 https://storage.googleapis.com/codecov/v4/raw/2023-09-19/3EC07B1A8CA8AF9BCAA0BB9F0134797F/d33eaf343a60a4253be29254b36ddcde5112af00/e856e8ee-e86f-49db-bed5-8d74021935ce.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230919%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230919T010821Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=964c475e2f3526c7b838416b26af9286316b428b3d4bf9b5aa46b299443bb347 01:08:21 % Total % Received % Xferd Average Speed Time Time Time Current 01:08:21 Dload Upload Total Spent Left Speed 01:08:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3656 --:--:-- --:--:-- --:--:-- 3656 01:08:22 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/d33eaf343a60a4253be29254b36ddcde5112af00 [Pipeline] } 01:08:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:08:24 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-194/archives ] 01:08:24 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-194/archives 01:08:24 total 16 01:08:24 drwxr-xr-x 3 root root 4096 Sep 19 00:58 . 01:08:24 drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 00:58 .. 01:08:24 drwxr-xr-x 2 root root 4096 Sep 19 00:58 cost 01:08:24 -rw-r--r-- 1 root root 83 Sep 19 00:58 cost.csv 01:08:24 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-194/archives 01:08:24 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-194/archives 01:08:24 total 16 01:08:24 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 00:58 . 01:08:24 drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 00:58 .. 01:08:24 drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 00:58 cost 01:08:24 -rw-r--r-- 1 jenkins jenkins 83 Sep 19 00:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:08:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:08:25 ---> package-listing.sh 01:08:25 ++ tr '[:upper:]' '[:lower:]' 01:08:25 ++ facter osfamily 01:08:25 + OS_FAMILY=debian 01:08:25 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-194 01:08:25 + START_PACKAGES=/tmp/packages_start.txt 01:08:25 + END_PACKAGES=/tmp/packages_end.txt 01:08:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:08:25 + PACKAGES=/tmp/packages_start.txt 01:08:25 + '[' /w/workspace/edgexfoundry_device-gpio_PR-194 ']' 01:08:25 + PACKAGES=/tmp/packages_end.txt 01:08:25 + case "${OS_FAMILY}" in 01:08:25 + dpkg -l 01:08:25 + grep '^ii' 01:08:25 + '[' -f /tmp/packages_start.txt ']' 01:08:25 + '[' -f /tmp/packages_end.txt ']' 01:08:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:08:25 + '[' /w/workspace/edgexfoundry_device-gpio_PR-194 ']' 01:08:25 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-194/archives/ 01:08:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-194/archives/ [Pipeline] echo 01:08:25 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-194/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:08:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:08:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:08:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:08:26 prd-ubuntu20.04-docker-8c-8g-6439 does not seem to be running inside a container 01:08:26 $ 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-194/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-194 -v /w/workspace/edgexfoundry_device-gpio_PR-194:/w/workspace/edgexfoundry_device-gpio_PR-194:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-194@tmp:/w/workspace/edgexfoundry_device-gpio_PR-194@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:08:27 $ docker top 3ded3ae3ff73319772a33fa3415b8dafe9c232e9c58c79b11432949428915757 -eo pid,comm [Pipeline] { [Pipeline] sh 01:08:27 + touch /tmp/pre-build-complete [Pipeline] sh 01:08:27 + mkdir -p /var/log/sysstat [Pipeline] sh 01:08:28 + ls /var/log/sa-host 01:08:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:08:28 provisioning config files... 01:08:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-194@tmp/config11868478562106506121tmp [Pipeline] { [Pipeline] echo 01:08:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:08:28 ---> create-netrc.sh [Pipeline] } 01:08:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:08:29 ---> python-tools-install.sh [Pipeline] echo 01:08:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:08:29 ---> sudo-logs.sh 01:08:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:08:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:08:30 ---> job-cost.sh 01:08:30 lf-activate-venv: SKIPPING 01:08:30 DEBUG: total: 0.2199999988079071 01:08:30 INFO: Retrieving Stack Cost... 01:08:30 INFO: Retrieving Pricing Info for: v3-standard-8 01:08:30 INFO: Archiving Costs [Pipeline] echo 01:08:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:08:31 ---> logs-deploy.sh 01:08:31 lf-activate-venv: SKIPPING 01:08:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-194/1 01:08:31 INFO: archiving workspace using pattern(s): 01:08:32 Archives upload complete. 01:08:32 INFO: archiving logs to Nexus