Pull request #236 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-gpio Obtained Jenkinsfile from fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c+af07e13c4a6a32ed5d117362dee089b4564efe25 (ec56920e69d896dcb7df0a1597fc46f83b542601) 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-ssh4756212200045934936.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh18306368552034920638.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 590556114a56c6d90cc8043840e039c2f74196dc 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-236/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-236/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3109967419208938089.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-236/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12809571892425657326.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh7474969658685307885.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-236/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-236/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5301027557359705659.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 590556114a56c6d90cc8043840e039c2f74196dc 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 ‘prd-ubuntu20.04-docker-8c-8g-1016’ Running on prd-ubuntu20.04-docker-8c-8g-1018 in /w/workspace/edgexfoundry_device-gpio_PR-236 [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-236 # 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/236/head:refs/remotes/origin/PR-236 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 Merging remotes/origin/napa commit af07e13c4a6a32ed5d117362dee089b4564efe25 into PR head commit fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c Merge succeeded, producing fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c Checking out Revision fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c (PR-236) Commit message: "build: Bump SDK to v3.1.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c # 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 af07e13c4a6a32ed5d117362dee089b4564efe25 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:09:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:09:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:09:36 ========================================================= 08:09:36 EdgeX Global Pipelines Version Info 08:09:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:09:37 ------------------- 08:09:37 stable info: 08:09:37 ------------------- 08:09:37 Commited By: Ginny Guan ginny@iotechsys.com 08:09:37 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 08:09:37 Message: update stable to v1.0.260 08:09:37 ------------------- 08:09:37 experimental info: 08:09:37 ------------------- 08:09:37 Commited By: Ginny Guan ginny@iotechsys.com 08:09:37 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 08:09:37 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:09:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 08:09:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 08:09:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:09:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:09:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:09:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 08:09:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:09:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:09:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:09:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:09:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:09:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 08:09:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:09:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:09:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:09:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:09:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:09:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:09:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:09:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:09:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:09:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:09:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:09:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:09:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:09:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:09:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:09:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-236 [Pipeline] echo 08:09:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-236 [Pipeline] echo 08:09:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-236 [Pipeline] echo 08:09:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c [Pipeline] echo 08:09:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fb2476f [Pipeline] echo 08:09:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:09:40 provisioning config files... 08:09:40 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-236@tmp/config4462337140258502225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:09:40 ---> ****-login.sh 08:09:40 nexus3.edgexfoundry.org:10001 08:09:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:09:40 Configure a credential helper to remove this warning. See 08:09:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:09:40 08:09:40 Login Succeeded 08:09:40 nexus3.edgexfoundry.org:10002 08:09:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:09:40 Configure a credential helper to remove this warning. See 08:09:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:09:40 08:09:40 Login Succeeded 08:09:40 nexus3.edgexfoundry.org:10003 08:09:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:09:41 Configure a credential helper to remove this warning. See 08:09:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:09:41 08:09:41 Login Succeeded 08:09:41 nexus3.edgexfoundry.org:10004 08:09:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:09:41 Configure a credential helper to remove this warning. See 08:09:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:09:41 08:09:41 Login Succeeded 08:09:41 ****.io 08:09:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:09:41 Configure a credential helper to remove this warning. See 08:09:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:09:41 08:09:41 Login Succeeded 08:09:41 ---> ****-login.sh ends [Pipeline] } 08:09:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:09:42 + git rev-list -1 --merges fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c~1..fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c [Pipeline] echo 08:09:42 -----------> git rev-list -1 --merges fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c~1..fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c [false] [Pipeline] sh 08:09:42 + git log --format=format:%s -1 fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c [Pipeline] echo 08:09:42 ========================================================= 08:09:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:09:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:09:44 + git log --format=format:%s -1 fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c [Pipeline] echo 08:09:44 [semverPrep] GIT_COMMIT: fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c, Commit Message: build: Bump SDK to v3.1.1 [Pipeline] echo 08:09:44 [semverPrep] This is not a build commit. [Pipeline] sh 08:09:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:09:47 + grep -v github /etc/ssh/ssh_known_hosts 08:09:47 + [ -e /tmp/ssh_known_hosts ] 08:09:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:09:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:09:47 + sudo tee -a /etc/ssh/ssh_known_hosts 08:09:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:09:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:09:47 08:09:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:09:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:09:48 0.1.4: Pulling from edgex-devops/py-git-semver 08:09:48 b85a868b505f: Pulling fs layer 08:09:48 e2be974225ed: Pulling fs layer 08:09:48 339a4e72a1f5: Pulling fs layer 08:09:48 988bab9f4d93: Pulling fs layer 08:09:48 1469e6f7b9e6: Pulling fs layer 08:09:48 eaf3925da568: Pulling fs layer 08:09:48 bab4dde63d76: Pulling fs layer 08:09:48 bde34c3a00c8: Pulling fs layer 08:09:48 b352a97aabf1: Pulling fs layer 08:09:48 4872d77fe225: Pulling fs layer 08:09:48 5851b861e8e6: Pulling fs layer 08:09:48 bab4dde63d76: Waiting 08:09:48 bde34c3a00c8: Waiting 08:09:48 b352a97aabf1: Waiting 08:09:48 4872d77fe225: Waiting 08:09:48 5851b861e8e6: Waiting 08:09:48 988bab9f4d93: Waiting 08:09:48 1469e6f7b9e6: Waiting 08:09:48 eaf3925da568: Waiting 08:09:48 988bab9f4d93: Verifying Checksum 08:09:48 988bab9f4d93: Download complete 08:09:48 1469e6f7b9e6: Verifying Checksum 08:09:48 1469e6f7b9e6: Download complete 08:09:48 eaf3925da568: Verifying Checksum 08:09:48 eaf3925da568: Download complete 08:09:48 339a4e72a1f5: Verifying Checksum 08:09:48 339a4e72a1f5: Download complete 08:09:48 bde34c3a00c8: Verifying Checksum 08:09:48 bde34c3a00c8: Download complete 08:09:48 b352a97aabf1: Verifying Checksum 08:09:48 b352a97aabf1: Download complete 08:09:48 4872d77fe225: Download complete 08:09:48 5851b861e8e6: Verifying Checksum 08:09:48 5851b861e8e6: Download complete 08:09:48 b85a868b505f: Verifying Checksum 08:09:48 b85a868b505f: Download complete 08:09:48 bab4dde63d76: Verifying Checksum 08:09:48 bab4dde63d76: Download complete 08:09:49 b85a868b505f: Pull complete 08:09:49 e2be974225ed: Pull complete 08:09:50 339a4e72a1f5: Pull complete 08:09:50 988bab9f4d93: Pull complete 08:09:50 1469e6f7b9e6: Pull complete 08:09:50 eaf3925da568: Pull complete 08:09:52 bab4dde63d76: Pull complete 08:09:52 bde34c3a00c8: Pull complete 08:09:52 b352a97aabf1: Pull complete 08:09:52 4872d77fe225: Pull complete 08:09:52 5851b861e8e6: Pull complete 08:09:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:09:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:09:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:09:53 prd-ubuntu20.04-docker-8c-8g-1018 does not seem to be running inside a container 08:09:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-236 -v /w/workspace/edgexfoundry_device-gpio_PR-236:/w/workspace/edgexfoundry_device-gpio_PR-236:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-236@tmp:/w/workspace/edgexfoundry_device-gpio_PR-236@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-devops/py-git-semver:0.1.4 cat 08:09:57 $ docker top 0215d209303f059eb69d10a7dcb1f49186326584c33aa235b4fc7c0066ce0c6a -eo pid,comm 08:09:57 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). 08:09:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:09:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:09:57 [ssh-agent] Looking for ssh-agent implementation... 08:09:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:09:57 $ docker exec 0215d209303f059eb69d10a7dcb1f49186326584c33aa235b4fc7c0066ce0c6a ssh-agent 08:09:57 SSH_AUTH_SOCK=/tmp/ssh-vrf8Fu6kwZL8/agent.32 08:09:57 SSH_AGENT_PID=38 08:09:57 Running ssh-add (command line suppressed) 08:09:57 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-236@tmp/private_key_10600685266949048924.key (/w/workspace/edgexfoundry_device-gpio_PR-236@tmp/private_key_10600685266949048924.key) 08:09:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:09:57 + git tag --points-at HEAD [Pipeline] } 08:09:58 $ docker exec --env ******** --env ******** 0215d209303f059eb69d10a7dcb1f49186326584c33aa235b4fc7c0066ce0c6a ssh-agent -k 08:09:58 unset SSH_AUTH_SOCK; 08:09:58 unset SSH_AGENT_PID; 08:09:58 echo Agent pid 38 killed; 08:09:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:09:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:09:58 [ssh-agent] Looking for ssh-agent implementation... 08:09:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:09:58 $ docker exec 0215d209303f059eb69d10a7dcb1f49186326584c33aa235b4fc7c0066ce0c6a ssh-agent 08:09:58 SSH_AUTH_SOCK=/tmp/ssh-tFLa438rljZU/agent.71 08:09:58 SSH_AGENT_PID=77 08:09:58 Running ssh-add (command line suppressed) 08:09:58 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-236@tmp/private_key_5076385770019442166.key (/w/workspace/edgexfoundry_device-gpio_PR-236@tmp/private_key_5076385770019442166.key) 08:09:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:09:59 + git semver init 08:09:59 2024-05-29 08:09:59,423 [run_init] DEBUG init version:0.0.0 force:False 08:09:59 2024-05-29 08:09:59,424 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-236/.semver 08:09:59 2024-05-29 08:09:59,425 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-236/.semver 08:09:59 2024-05-29 08:09:59,425 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-236/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-236, universal_newlines=False, shell=None, istream=None) 08:10:00 2024-05-29 08:10:00,572 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-236/.git/info/exclude 08:10:00 2024-05-29 08:10:00,572 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-236/.semver/PR-236 with force:False 08:10:00 2024-05-29 08:10:00,572 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-236/.semver/PR-236 08:10:00 2024-05-29 08:10:00,576 [execute] INFO git cat-file --batch-check 08:10:00 2024-05-29 08:10:00,577 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-236/.semver, universal_newlines=False, shell=None, istream=) 08:10:00 2024-05-29 08:10:00,582 [execute] INFO git cat-file --batch 08:10:00 2024-05-29 08:10:00,582 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-236/.semver, universal_newlines=False, shell=None, istream=) 08:10:00 2024-05-29 08:10:00,586 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-236/.semver/PR-236 08:10:00 0.0.0 [Pipeline] } 08:10:00 $ docker exec --env ******** --env ******** 0215d209303f059eb69d10a7dcb1f49186326584c33aa235b4fc7c0066ce0c6a ssh-agent -k 08:10:00 unset SSH_AUTH_SOCK; 08:10:00 unset SSH_AGENT_PID; 08:10:00 echo Agent pid 77 killed; 08:10:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:10:01 + git semver [Pipeline] } 08:10:01 $ docker stop --time=1 0215d209303f059eb69d10a7dcb1f49186326584c33aa235b4fc7c0066ce0c6a 08:10:03 $ docker rm -f --volumes 0215d209303f059eb69d10a7dcb1f49186326584c33aa235b4fc7c0066ce0c6a [Pipeline] // withDockerContainer [Pipeline] sh 08:10:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:10:03 Stashed 1 file(s) [Pipeline] echo 08:10:03 [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 08:10:04 provisioning config files... 08:10:04 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-236@tmp/config17890639232864769839tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:10:04 ---> ****-login.sh 08:10:04 nexus3.edgexfoundry.org:10001 08:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:10:04 Configure a credential helper to remove this warning. See 08:10:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:10:04 08:10:04 Login Succeeded 08:10:04 nexus3.edgexfoundry.org:10002 08:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:10:04 Configure a credential helper to remove this warning. See 08:10:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:10:04 08:10:04 Login Succeeded 08:10:04 nexus3.edgexfoundry.org:10003 08:10:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:10:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:10:05 Configure a credential helper to remove this warning. See 08:10:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:10:05 08:10:05 Login Succeeded 08:10:05 nexus3.edgexfoundry.org:10004 08:10:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:10:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:10:05 Configure a credential helper to remove this warning. See 08:10:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:10:05 08:10:05 Login Succeeded 08:10:05 ****.io 08:10:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:10:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:10:05 Configure a credential helper to remove this warning. See 08:10:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:10:05 08:10:05 Login Succeeded 08:10:05 ---> ****-login.sh ends [Pipeline] } 08:10:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:10:05 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 08:10:05 + grep ^go [0-9].[0-9]* go.mod 08:10:05 + cut -d -f 2 [Pipeline] echo 08:10:05 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:10:05 ========================================================= 08:10:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] 08:10:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:10:06 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 08:10:06 Sending build context to Docker daemon 55.67MB 08:10:06 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 08:10:06 Step 2/12 : FROM ${BASE} AS builder 08:10:07 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base 08:10:07 619be1103602: Pulling fs layer 08:10:07 7862e08f4a3e: Pulling fs layer 08:10:07 5df492c9dc93: Pulling fs layer 08:10:07 7629e6793208: Pulling fs layer 08:10:07 4f4fb700ef54: Pulling fs layer 08:10:07 8de7f028bff5: Pulling fs layer 08:10:07 44042ff1420b: Pulling fs layer 08:10:07 5cdaf54b7214: Pulling fs layer 08:10:07 38f3e5a9071a: Pulling fs layer 08:10:07 7629e6793208: Waiting 08:10:07 44042ff1420b: Waiting 08:10:07 8de7f028bff5: Waiting 08:10:07 4f4fb700ef54: Waiting 08:10:07 5cdaf54b7214: Waiting 08:10:07 38f3e5a9071a: Waiting 08:10:07 7862e08f4a3e: Download complete 08:10:07 7629e6793208: Verifying Checksum 08:10:07 7629e6793208: Download complete 08:10:07 4f4fb700ef54: Verifying Checksum 08:10:07 4f4fb700ef54: Download complete 08:10:07 8de7f028bff5: Verifying Checksum 08:10:07 8de7f028bff5: Download complete 08:10:07 619be1103602: Verifying Checksum 08:10:07 619be1103602: Download complete 08:10:07 44042ff1420b: Verifying Checksum 08:10:07 44042ff1420b: Download complete 08:10:07 619be1103602: Pull complete 08:10:07 38f3e5a9071a: Verifying Checksum 08:10:07 38f3e5a9071a: Download complete 08:10:07 7862e08f4a3e: Pull complete 08:10:07 5df492c9dc93: Verifying Checksum 08:10:07 5df492c9dc93: Download complete 08:10:07 5cdaf54b7214: Verifying Checksum 08:10:07 5cdaf54b7214: Download complete 08:10:10 5df492c9dc93: Pull complete 08:10:10 7629e6793208: Pull complete 08:10:10 4f4fb700ef54: Pull complete 08:10:10 8de7f028bff5: Pull complete 08:10:10 44042ff1420b: Pull complete 08:10:13 5cdaf54b7214: Pull complete 08:10:13 38f3e5a9071a: Pull complete 08:10:13 Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 08:10:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts 08:10:13 ---> 60b93f829570 08:10:13 Step 3/12 : ARG ADD_BUILD_TAGS="" 08:10:18 ---> Running in 64b766b2fc0f 08:10:18 Removing intermediate container 64b766b2fc0f 08:10:18 ---> 424b58d9be31 08:10:18 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:10:18 ---> Running in c8b78db00392 08:10:18 Removing intermediate container c8b78db00392 08:10:18 ---> e9afa16bd1c0 08:10:18 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 08:10:18 ---> Running in c1acff502930 08:10:18 Removing intermediate container c1acff502930 08:10:18 ---> 5769d0e92c01 08:10:18 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 08:10:18 ---> Running in dfefccc01a24 08:10:18 Removing intermediate container dfefccc01a24 08:10:18 ---> 1bed57d496ec 08:10:18 Step 7/12 : WORKDIR /device-gpio 08:10:18 ---> Running in 372df005d269 08:10:18 Removing intermediate container 372df005d269 08:10:18 ---> d8f9b4d596dd 08:10:18 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:10:18 ---> Running in f466d4a7c243 08:10:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:10:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:10:19 Still waiting to schedule task 08:10:19 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1017’ 08:10:19 (1/4) Installing openssh-keygen (9.3_p2-r1) 08:10:19 (2/4) Installing libedit (20221030.3.1-r1) 08:10:19 (3/4) Installing openssh-client-common (9.3_p2-r1) 08:10:19 (4/4) Installing openssh-client-default (9.3_p2-r1) 08:10:19 Executing busybox-1.36.1-r5.trigger 08:10:19 OK: 268 MiB in 56 packages 08:10:19 Removing intermediate container f466d4a7c243 08:10:19 ---> 5f4d11ac670c 08:10:19 Step 9/12 : COPY go.mod vendor* ./ 08:10:21 ---> 3784ba82caca 08:10:21 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:10:21 ---> Running in fc8f2bebd655 08:10:48 Removing intermediate container fc8f2bebd655 08:10:48 ---> 93faa2685eeb 08:10:48 Step 11/12 : COPY . . 08:10:49 ---> 7e97c8bbabf5 08:10:49 Step 12/12 : RUN ${MAKE} 08:10:49 ---> Running in f9c18edb0c22 08:10:49 noop 08:10:50 Removing intermediate container f9c18edb0c22 08:10:50 ---> 6fd4aa9332a5 08:10:50 Successfully built 6fd4aa9332a5 08:10:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:10:50 + docker inspect -f . ci-base-image-x86_64 08:10:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:10:51 prd-ubuntu20.04-docker-8c-8g-1018 does not seem to be running inside a container 08:10:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-236 -v /w/workspace/edgexfoundry_device-gpio_PR-236:/w/workspace/edgexfoundry_device-gpio_PR-236:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-236@tmp:/w/workspace/edgexfoundry_device-gpio_PR-236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:10:51 $ docker top 6d4fe7ee53872353173df0f5ff7df0ba6d403276cca28e0d154605838682eb6f -eo pid,comm [Pipeline] { [Pipeline] sh 08:10:51 + go version 08:10:51 go version go1.21.9 linux/amd64 [Pipeline] } 08:10:51 $ docker stop --time=1 6d4fe7ee53872353173df0f5ff7df0ba6d403276cca28e0d154605838682eb6f 08:10:53 $ docker rm -f --volumes 6d4fe7ee53872353173df0f5ff7df0ba6d403276cca28e0d154605838682eb6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:10:54 + docker inspect -f . ci-base-image-x86_64 08:10:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:10:54 prd-ubuntu20.04-docker-8c-8g-1018 does not seem to be running inside a container 08:10:54 $ 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-236 -v /w/workspace/edgexfoundry_device-gpio_PR-236:/w/workspace/edgexfoundry_device-gpio_PR-236:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-236@tmp:/w/workspace/edgexfoundry_device-gpio_PR-236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:10:54 $ docker top 5f210b04360876d793d9dd1c0c30452a5399aeb7a1e14e359e2c768ce8ee31a8 -eo pid,comm [Pipeline] { [Pipeline] sh 08:10:55 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-236 [Pipeline] fileExists [Pipeline] sh 08:10:55 + make test 08:10:55 go test ./... -coverprofile=coverage.out ./... 08:10:56 ? github.com/edgexfoundry/device-gpio [no test files] 08:11:06 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 08:11:06 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 08:11:12 go vet ./... 08:11:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:11:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:11:15 ./bin/test-attribution-txt.sh [Pipeline] echo 08:11:15 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 08:11:15 + go mod tidy [Pipeline] } 08:11:16 $ docker stop --time=1 5f210b04360876d793d9dd1c0c30452a5399aeb7a1e14e359e2c768ce8ee31a8 08:11:19 $ docker rm -f --volumes 5f210b04360876d793d9dd1c0c30452a5399aeb7a1e14e359e2c768ce8ee31a8 [Pipeline] // withDockerContainer [Pipeline] sh 08:11:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:11:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:11:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:11:21 + ls -al . 08:11:21 total 156 08:11:21 drwxrwxr-x 9 jenkins jenkins 4096 May 29 08:10 . 08:11:21 drwxrwxr-x 4 jenkins jenkins 4096 May 29 08:09 .. 08:11:21 -rw-rw-r-- 1 jenkins jenkins 120 May 29 08:09 .dockerignore 08:11:21 drwxrwxr-x 8 jenkins jenkins 4096 May 29 08:11 .git 08:11:21 drwxrwxr-x 3 jenkins jenkins 4096 May 29 08:09 .github 08:11:21 -rw-rw-r-- 1 jenkins jenkins 269 May 29 08:09 .gitignore 08:11:21 -rw-rw-r-- 1 jenkins jenkins 41 May 29 08:09 .golangci.yml 08:11:21 drwxr-xr-x 3 jenkins jenkins 4096 May 29 08:10 .semver 08:11:21 -rw-rw-r-- 1 jenkins jenkins 10690 May 29 08:09 Attribution.txt 08:11:21 -rw-rw-r-- 1 jenkins jenkins 7171 May 29 08:09 CHANGELOG.md 08:11:21 -rw-rw-r-- 1 jenkins jenkins 1661 May 29 08:09 Dockerfile 08:11:21 -rw-rw-r-- 1 jenkins jenkins 677 May 29 08:09 GOVERNANCE.md 08:11:21 -rw-rw-r-- 1 jenkins jenkins 657 May 29 08:09 Jenkinsfile 08:11:21 -rw-rw-r-- 1 jenkins jenkins 11340 May 29 08:09 LICENSE 08:11:21 -rw-rw-r-- 1 jenkins jenkins 1923 May 29 08:09 Makefile 08:11:21 -rw-rw-r-- 1 jenkins jenkins 617 May 29 08:09 OWNERS.md 08:11:21 -rw-rw-r-- 1 jenkins jenkins 3578 May 29 08:09 README.md 08:11:21 -rw-rw-r-- 1 jenkins jenkins 5 May 29 08:10 VERSION 08:11:21 drwxrwxr-x 2 jenkins jenkins 4096 May 29 08:09 bin 08:11:21 drwxrwxr-x 3 jenkins jenkins 4096 May 29 08:09 cmd 08:11:21 -rw-r--r-- 1 jenkins jenkins 10 May 29 08:10 coverage.out 08:11:21 -rw-rw-r-- 1 jenkins jenkins 3621 May 29 08:09 go.mod 08:11:21 -rw-rw-r-- 1 jenkins jenkins 34551 May 29 08:09 go.sum 08:11:21 drwxrwxr-x 3 jenkins jenkins 4096 May 29 08:09 internal 08:11:21 drwxrwxr-x 6 jenkins jenkins 4096 May 29 08:09 vendor 08:11:21 -rw-rw-r-- 1 jenkins jenkins 209 May 29 08:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:11: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=fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c --label arch=amd64 --label version=0.0.0 . 08:11:21 Sending build context to Docker daemon 55.67MB 08:11:21 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 08:11:21 Step 2/26 : FROM ${BASE} AS builder 08:11:21 ---> 6fd4aa9332a5 08:11:21 Step 3/26 : ARG ADD_BUILD_TAGS="" 08:11:22 ---> Running in 4d56e27478e6 08:11:22 Removing intermediate container 4d56e27478e6 08:11:22 ---> 98553e9017bd 08:11:22 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:11:22 ---> Running in fad4292852a2 08:11:22 Removing intermediate container fad4292852a2 08:11:22 ---> 55936a222151 08:11:22 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " 08:11:22 ---> Running in 035f668e5ea8 08:11:23 Removing intermediate container 035f668e5ea8 08:11:23 ---> ec4daa9dcf77 08:11:23 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 08:11:23 ---> Running in 50588f2c0bf0 08:11:23 Removing intermediate container 50588f2c0bf0 08:11:23 ---> d65bea67a043 08:11:23 Step 7/26 : WORKDIR /device-gpio 08:11:23 ---> Running in 478334417c6f 08:11:23 Removing intermediate container 478334417c6f 08:11:23 ---> e9c987475997 08:11:23 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:11:23 ---> Running in 4e8a3f676a2b 08:11:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:11:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:11:23 OK: 268 MiB in 56 packages 08:11:24 Removing intermediate container 4e8a3f676a2b 08:11:24 ---> d0c0f5d23891 08:11:24 Step 9/26 : COPY go.mod vendor* ./ 08:11:26 ---> cabefe5afd42 08:11:26 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:11:26 ---> Running in 5dbbc6dd0887 08:11:26 skipping... 08:11:26 Removing intermediate container 5dbbc6dd0887 08:11:26 ---> 3bbfdbbb21ad 08:11:26 Step 11/26 : COPY . . 08:11:29 ---> b6911635f1e3 08:11:29 Step 12/26 : RUN ${MAKE} 08:11:29 ---> Running in bd34d844b276 08:11:29 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.1" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 08:11:51 Removing intermediate container bd34d844b276 08:11:51 ---> 74c926f348ac 08:11:51 Step 13/26 : FROM alpine:3.18 08:11:51 3.18: Pulling from library/alpine 08:11:51 619be1103602: Already exists 08:11:51 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 08:11:51 Status: Downloaded newer image for alpine:3.18 08:11:51 ---> d3782b16ccc9 08:11:51 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 08:11:51 ---> Running in 1484cb8e6984 08:11:51 Removing intermediate container 1484cb8e6984 08:11:51 ---> c6d0d147ca0e 08:11:51 Step 15/26 : RUN apk add --update --no-cache dumb-init 08:11:51 ---> Running in 8368251b669c 08:11:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:11:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:11:51 (1/1) Installing dumb-init (1.2.5-r2) 08:11:51 Executing busybox-1.36.1-r5.trigger 08:11:51 OK: 7 MiB in 16 packages 08:11:51 Removing intermediate container 8368251b669c 08:11:51 ---> b0d82b67fdf6 08:11:51 Step 16/26 : RUN apk --no-cache upgrade 08:11:51 ---> Running in 2e385cadf878 08:11:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:11:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:11:51 Upgrading critical system libraries and apk-tools: 08:11:51 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 08:11:51 Executing busybox-1.36.1-r5.trigger 08:11:51 Continuing the upgrade transaction with new apk-tools: 08:11:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:11:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:11:51 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 08:11:51 Executing busybox-1.36.1-r6.post-upgrade 08:11:51 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 08:11:51 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 08:11:51 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 08:11:51 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 08:11:51 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 08:11:51 Executing busybox-1.36.1-r6.trigger 08:11:51 OK: 7 MiB in 16 packages 08:11:51 Removing intermediate container 2e385cadf878 08:11:51 ---> b6db7937edf1 08:11:51 Step 17/26 : WORKDIR / 08:11:51 ---> Running in dd1e0c5f8565 08:11:51 Removing intermediate container dd1e0c5f8565 08:11:51 ---> da803d5a8dcc 08:11:51 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 08:11:51 ---> f9c938c03f6d 08:11:51 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 08:11:51 ---> a2fdbc2bf72c 08:11:51 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 08:11:52 ---> b4be19692183 08:11:52 Step 21/26 : EXPOSE 59910 08:11:52 ---> Running in f32aa97cc39c 08:11:52 Removing intermediate container f32aa97cc39c 08:11:52 ---> 5d01b6170c13 08:11:52 Step 22/26 : ENTRYPOINT ["/device-gpio"] 08:11:52 ---> Running in b475e81fa3c3 08:11:52 Removing intermediate container b475e81fa3c3 08:11:52 ---> 264564db3066 08:11:52 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 08:11:52 ---> Running in fc47256da562 08:11:52 Removing intermediate container fc47256da562 08:11:52 ---> 7a3c70ab94ea 08:11:52 Step 24/26 : LABEL arch=amd64 08:11:52 ---> Running in bfa6b92b9bd1 08:11:52 Removing intermediate container bfa6b92b9bd1 08:11:52 ---> 94ad1681488e 08:11:52 Step 25/26 : LABEL git_sha=fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c 08:11:52 ---> Running in 2789aa595b2b 08:11:52 Removing intermediate container 2789aa595b2b 08:11:52 ---> ec0e253cd776 08:11:52 Step 26/26 : LABEL version=0.0.0 08:11:52 ---> Running in 25087bce93fe 08:11:52 Removing intermediate container 25087bce93fe 08:11:52 ---> e5ec00869da3 08:11:52 [Warning] One or more build-args [ARCH] were not consumed 08:11:52 Successfully built e5ec00869da3 08:11:52 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:11:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:11:53 08:11:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:11:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:11:54 latest: Pulling from edgex-lftools-log-publisher 08:11:54 5eb5b503b376: Pulling fs layer 08:11:54 5c69ac0246d0: Pulling fs layer 08:11:54 ec43610c2a17: Pulling fs layer 08:11:54 3a2ae6a8a46f: Pulling fs layer 08:11:54 33b1e0a273af: Pulling fs layer 08:11:54 5d3b04190fa2: Pulling fs layer 08:11:54 2f39f015ded8: Pulling fs layer 08:11:54 33b1e0a273af: Waiting 08:11:54 5d3b04190fa2: Waiting 08:11:54 2f39f015ded8: Waiting 08:11:54 3a2ae6a8a46f: Waiting 08:11:54 5c69ac0246d0: Verifying Checksum 08:11:54 5c69ac0246d0: Download complete 08:11:54 3a2ae6a8a46f: Verifying Checksum 08:11:54 3a2ae6a8a46f: Download complete 08:11:54 33b1e0a273af: Verifying Checksum 08:11:54 33b1e0a273af: Download complete 08:11:54 5d3b04190fa2: Verifying Checksum 08:11:54 5d3b04190fa2: Download complete 08:11:54 ec43610c2a17: Verifying Checksum 08:11:54 ec43610c2a17: Download complete 08:11:54 5eb5b503b376: Verifying Checksum 08:11:54 5eb5b503b376: Download complete 08:11:54 2f39f015ded8: Download complete 08:11:55 5eb5b503b376: Pull complete 08:11:55 5c69ac0246d0: Pull complete 08:11:55 ec43610c2a17: Pull complete 08:11:55 3a2ae6a8a46f: Pull complete 08:11:56 33b1e0a273af: Pull complete 08:11:56 5d3b04190fa2: Pull complete 08:12:00 2f39f015ded8: Pull complete 08:12:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:12:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:12:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:12:00 prd-ubuntu20.04-docker-8c-8g-1018 does not seem to be running inside a container 08:12:00 $ 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-236 -v /w/workspace/edgexfoundry_device-gpio_PR-236:/w/workspace/edgexfoundry_device-gpio_PR-236:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-236@tmp:/w/workspace/edgexfoundry_device-gpio_PR-236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:12:06 $ docker top 52778a5199e8b46d08ab3175e8e73e87c1d4e50b31bcfe74ba3d8bf9f5e23e4b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:12:06 ---> job-cost.sh 08:12:06 lf-activate-venv: SKIPPING 08:12:06 INFO: No Stack... 08:12:07 INFO: Retrieving Pricing Info for: v3-standard-8 08:12:07 INFO: Archiving Costs [Pipeline] sh 08:12:07 + cat /w/workspace/edgexfoundry_device-gpio_PR-236/archives/cost.csv 08:12:07 + cut -d, -f6 [Pipeline] lock 08:12:07 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-gpio-PR-236-1-stack-cost] 08:12:07 Resource [jenkins-edgexfoundry-device-gpio-PR-236-1-stack-cost] did not exist. Created. 08:12:07 Lock acquired on [Resource: jenkins-edgexfoundry-device-gpio-PR-236-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:12:08 + echo total: 0.2199999988079071 [Pipeline] stash 08:12:08 Stashed 1 file(s) [Pipeline] } 08:12:08 Lock released on resource [Resource: jenkins-edgexfoundry-device-gpio-PR-236-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:12:08 $ docker stop --time=1 52778a5199e8b46d08ab3175e8e73e87c1d4e50b31bcfe74ba3d8bf9f5e23e4b 08:12:09 $ docker rm -f --volumes 52778a5199e8b46d08ab3175e8e73e87c1d4e50b31bcfe74ba3d8bf9f5e23e4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:13:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1019 in /w/workspace/edgexfoundry_device-gpio_PR-236 [Pipeline] { [Pipeline] ws 08:13:48 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 08:13:48 The recommended git tool is: git 08:13:57 using credential edgex-jenkins-ssh 08:13:57 Cloning the remote Git repository 08:13:57 Cloning repository git@github.com:edgexfoundry/device-gpio.git 08:13:57 > git init /w/workspace/device-gpio/1 # timeout=10 08:13:57 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 08:13:57 > git --version # timeout=10 08:13:57 > git --version # 'git version 2.25.1' 08:13:57 using GIT_SSH to set credentials SSH Credentials for GitHub 08:13:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:14:00 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 08:14:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:14:01 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 08:14:01 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 08:14:01 using GIT_SSH to set credentials SSH Credentials for GitHub 08:14:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 08:14:03 Merging remotes/origin/napa commit af07e13c4a6a32ed5d117362dee089b4564efe25 into PR head commit fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c 08:14:03 > git config core.sparsecheckout # timeout=10 08:14:03 > git checkout -f fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c # timeout=10 08:14:04 Merge succeeded, producing fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c 08:14:04 Checking out Revision fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c (PR-236) 08:14:04 > git remote # timeout=10 08:14:04 > git config --get remote.origin.url # timeout=10 08:14:04 using GIT_SSH to set credentials SSH Credentials for GitHub 08:14:04 > git merge af07e13c4a6a32ed5d117362dee089b4564efe25 # timeout=10 08:14:04 > git rev-parse HEAD^{commit} # timeout=10 08:14:04 > git config core.sparsecheckout # timeout=10 08:14:04 > git checkout -f fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c # timeout=10 08:14:05 Commit message: "build: Bump SDK to v3.1.1" 08:14:05 > git --version # timeout=10 08:14:05 > git --version # 'git version 2.25.1' 08:14:05 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:14:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:14:10 % Total % Received % Xferd Average Speed Time Time Time Current 08:14:10 Dload Upload Total Spent Left Speed 08:14:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97k 0 --:--:-- --:--:-- --:--:-- 97k [Pipeline] sh 08:14:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:14:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:14:11 + sudo tee /etc/docker/daemon.new 08:14:11 { 08:14:11 "registry-mirrors": [ 08:14:11 "https://nexus3.edgexfoundry.org:10001" 08:14:11 ], 08:14:11 "bip": "10.250.0.254/24", 08:14:11 "hosts": [ 08:14:11 "tcp://0.0.0.0:5555", 08:14:11 "unix:///var/run/docker.sock" 08:14:11 ], 08:14:11 "mtu": 1458, 08:14:11 "selinux-enabled": true, 08:14:11 "seccomp-profile": "/etc/docker/seccomp.json" 08:14:11 } [Pipeline] sh 08:14:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:14:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:14:30 provisioning config files... 08:14:30 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config466415270058259697tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:14:31 ---> ****-login.sh 08:14:31 nexus3.edgexfoundry.org:10001 08:14:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:14:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:14:31 Configure a credential helper to remove this warning. See 08:14:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:14:31 08:14:31 Login Succeeded 08:14:31 nexus3.edgexfoundry.org:10002 08:14:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:14:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:14:32 Configure a credential helper to remove this warning. See 08:14:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:14:32 08:14:32 Login Succeeded 08:14:32 nexus3.edgexfoundry.org:10003 08:14:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:14:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:14:32 Configure a credential helper to remove this warning. See 08:14:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:14:32 08:14:32 Login Succeeded 08:14:32 nexus3.edgexfoundry.org:10004 08:14:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:14:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:14:32 Configure a credential helper to remove this warning. See 08:14:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:14:32 08:14:32 Login Succeeded 08:14:32 ****.io 08:14:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:14:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:14:33 Configure a credential helper to remove this warning. See 08:14:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:14:33 08:14:33 Login Succeeded 08:14:33 ---> ****-login.sh ends [Pipeline] } 08:14:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:14:33 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 08:14:34 + grep ^go [0-9].[0-9]* go.mod 08:14:34 + cut -d -f 2 [Pipeline] echo 08:14:34 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:14:34 ========================================================= 08:14:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] 08:14:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:14:34 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 08:14:37 Sending build context to Docker daemon 43.43MB 08:14:37 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 08:14:37 Step 2/12 : FROM ${BASE} AS builder 08:14:37 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 08:14:37 c6b39de5b339: Pulling fs layer 08:14:37 a69c41024577: Pulling fs layer 08:14:37 d6de4b400683: Pulling fs layer 08:14:37 35cb2a7552d0: Pulling fs layer 08:14:37 4f4fb700ef54: Pulling fs layer 08:14:37 9e011611b7f5: Pulling fs layer 08:14:37 3bd174042beb: Pulling fs layer 08:14:37 4476f39b5e91: Pulling fs layer 08:14:37 4f4fb700ef54: Waiting 08:14:37 9e011611b7f5: Waiting 08:14:37 3bd174042beb: Waiting 08:14:37 4476f39b5e91: Waiting 08:14:37 35cb2a7552d0: Waiting 08:14:37 a69c41024577: Download complete 08:14:37 35cb2a7552d0: Verifying Checksum 08:14:37 35cb2a7552d0: Download complete 08:14:37 4f4fb700ef54: Download complete 08:14:37 9e011611b7f5: Verifying Checksum 08:14:37 9e011611b7f5: Download complete 08:14:37 c6b39de5b339: Verifying Checksum 08:14:37 c6b39de5b339: Download complete 08:14:38 4476f39b5e91: Verifying Checksum 08:14:38 4476f39b5e91: Download complete 08:14:38 c6b39de5b339: Pull complete 08:14:39 a69c41024577: Pull complete 08:14:39 d6de4b400683: Verifying Checksum 08:14:39 d6de4b400683: Download complete 08:14:40 3bd174042beb: Verifying Checksum 08:14:40 3bd174042beb: Download complete 08:14:53 d6de4b400683: Pull complete 08:14:53 35cb2a7552d0: Pull complete 08:14:53 4f4fb700ef54: Pull complete 08:14:53 9e011611b7f5: Pull complete 08:15:03 3bd174042beb: Pull complete 08:15:03 4476f39b5e91: Pull complete 08:15:03 Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 08:15:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts 08:15:03 ---> 981a0608b64a 08:15:03 Step 3/12 : ARG ADD_BUILD_TAGS="" 08:15:05 ---> Running in 722e6b087a28 08:15:05 Removing intermediate container 722e6b087a28 08:15:05 ---> d6884ffa1420 08:15:05 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:15:06 ---> Running in 37bc8dbd3298 08:15:07 Removing intermediate container 37bc8dbd3298 08:15:07 ---> 777755fc71f0 08:15:07 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 08:15:07 ---> Running in 4ae8dce914a7 08:15:07 Removing intermediate container 4ae8dce914a7 08:15:07 ---> 6a0aa6aec080 08:15:07 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 08:15:07 ---> Running in c854fbd4cbe9 08:15:08 Removing intermediate container c854fbd4cbe9 08:15:08 ---> b6346c9ac54e 08:15:08 Step 7/12 : WORKDIR /device-gpio 08:15:08 ---> Running in 8b929b5254fc 08:15:08 Removing intermediate container 8b929b5254fc 08:15:08 ---> 889a84b1e91f 08:15:08 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:15:08 ---> Running in ade190cc3748 08:15:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:15:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:15:10 (1/4) Installing openssh-keygen (9.3_p2-r1) 08:15:11 (2/4) Installing libedit (20221030.3.1-r1) 08:15:11 (3/4) Installing openssh-client-common (9.3_p2-r1) 08:15:11 (4/4) Installing openssh-client-default (9.3_p2-r1) 08:15:11 Executing busybox-1.36.1-r5.trigger 08:15:11 OK: 271 MiB in 56 packages 08:15:12 Removing intermediate container ade190cc3748 08:15:12 ---> 4f6c06699596 08:15:12 Step 9/12 : COPY go.mod vendor* ./ 08:15:18 ---> 1d09f7a42a0f 08:15:18 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:15:18 ---> Running in 19d3d7471770 08:16:15 Removing intermediate container 19d3d7471770 08:16:15 ---> 32df59794647 08:16:15 Step 11/12 : COPY . . 08:16:19 ---> 1d67631170a1 08:16:19 Step 12/12 : RUN ${MAKE} 08:16:19 ---> Running in 7e66d88105ba 08:16:20 noop 08:16:20 Removing intermediate container 7e66d88105ba 08:16:20 ---> 3bc433b530af 08:16:20 Successfully built 3bc433b530af 08:16:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:16:21 + docker inspect -f . ci-base-image-arm64 08:16:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:16:21 prd-ubuntu20.04-docker-arm64-4c-16g-1019 does not seem to be running inside a container 08:16:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:16:22 $ docker top 00bb0737614071e532d0627e74bee8584f148f41a87cb8526ff60bc1fcca2642 -eo pid,comm [Pipeline] { [Pipeline] sh 08:16:23 + go version 08:16:23 go version go1.21.9 linux/arm64 [Pipeline] } 08:16:23 $ docker stop --time=1 00bb0737614071e532d0627e74bee8584f148f41a87cb8526ff60bc1fcca2642 08:16:25 $ docker rm -f --volumes 00bb0737614071e532d0627e74bee8584f148f41a87cb8526ff60bc1fcca2642 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:16:26 + docker inspect -f . ci-base-image-arm64 08:16:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:16:26 prd-ubuntu20.04-docker-arm64-4c-16g-1019 does not seem to be running inside a container 08:16:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:16:27 $ docker top 3e2743f586f3521550d1e0b2525c4f48927cb2a44535f09c23846c4299abbfb7 -eo pid,comm [Pipeline] { [Pipeline] sh 08:16:28 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 08:16:29 + make test 08:16:29 go test ./... -coverprofile=coverage.out ./... 08:16:32 ? github.com/edgexfoundry/device-gpio [no test files] 08:18:23 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 08:18:23 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 08:18:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:18:23 go vet ./... 08:18:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:18:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:18:45 ./bin/test-attribution-txt.sh [Pipeline] echo 08:18:45 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 08:18:46 + go mod tidy [Pipeline] } 08:18:49 $ docker stop --time=1 3e2743f586f3521550d1e0b2525c4f48927cb2a44535f09c23846c4299abbfb7 08:18:51 $ docker rm -f --volumes 3e2743f586f3521550d1e0b2525c4f48927cb2a44535f09c23846c4299abbfb7 [Pipeline] // withDockerContainer [Pipeline] sh 08:18:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:18:52 Warning: overwriting stash ‘coverage-report’ 08:18:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:18:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:18:54 + ls -al . 08:18:54 total 152 08:18:54 drwxrwxr-x 8 jenkins jenkins 4096 May 29 08:16 . 08:18:54 drwxrwxr-x 4 jenkins jenkins 4096 May 29 08:13 .. 08:18:54 -rw-rw-r-- 1 jenkins jenkins 120 May 29 08:14 .dockerignore 08:18:54 drwxrwxr-x 8 jenkins jenkins 4096 May 29 08:14 .git 08:18:54 drwxrwxr-x 3 jenkins jenkins 4096 May 29 08:14 .github 08:18:54 -rw-rw-r-- 1 jenkins jenkins 269 May 29 08:14 .gitignore 08:18:54 -rw-rw-r-- 1 jenkins jenkins 41 May 29 08:14 .golangci.yml 08:18:54 -rw-rw-r-- 1 jenkins jenkins 10690 May 29 08:14 Attribution.txt 08:18:54 -rw-rw-r-- 1 jenkins jenkins 7171 May 29 08:14 CHANGELOG.md 08:18:54 -rw-rw-r-- 1 jenkins jenkins 1661 May 29 08:14 Dockerfile 08:18:54 -rw-rw-r-- 1 jenkins jenkins 677 May 29 08:14 GOVERNANCE.md 08:18:54 -rw-rw-r-- 1 jenkins jenkins 657 May 29 08:14 Jenkinsfile 08:18:54 -rw-rw-r-- 1 jenkins jenkins 11340 May 29 08:14 LICENSE 08:18:54 -rw-rw-r-- 1 jenkins jenkins 1923 May 29 08:14 Makefile 08:18:54 -rw-rw-r-- 1 jenkins jenkins 617 May 29 08:14 OWNERS.md 08:18:54 -rw-rw-r-- 1 jenkins jenkins 3578 May 29 08:14 README.md 08:18:54 -rw-rw-r-- 1 jenkins jenkins 5 May 29 08:10 VERSION 08:18:54 drwxrwxr-x 2 jenkins jenkins 4096 May 29 08:14 bin 08:18:54 drwxrwxr-x 3 jenkins jenkins 4096 May 29 08:14 cmd 08:18:54 -rw-r--r-- 1 jenkins jenkins 10 May 29 08:16 coverage.out 08:18:54 -rw-rw-r-- 1 jenkins jenkins 3621 May 29 08:14 go.mod 08:18:54 -rw-rw-r-- 1 jenkins jenkins 34551 May 29 08:14 go.sum 08:18:54 drwxrwxr-x 3 jenkins jenkins 4096 May 29 08:14 internal 08:18:54 drwxrwxr-x 6 jenkins jenkins 4096 May 29 08:14 vendor 08:18:54 -rw-rw-r-- 1 jenkins jenkins 209 May 29 08:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:18:55 + 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=fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c --label arch=arm64 --label version=0.0.0 . 08:18:57 Sending build context to Docker daemon 43.43MB 08:18:57 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 08:18:57 Step 2/26 : FROM ${BASE} AS builder 08:18:57 ---> 3bc433b530af 08:18:57 Step 3/26 : ARG ADD_BUILD_TAGS="" 08:18:57 ---> Running in 22b91559308b 08:18:58 Removing intermediate container 22b91559308b 08:18:58 ---> c10b7598bc3e 08:18:58 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:18:58 ---> Running in 3824f4098b7d 08:18:58 Removing intermediate container 3824f4098b7d 08:18:58 ---> bebe1c1eabdd 08:18:58 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " 08:18:58 ---> Running in 1bd23cda24e1 08:18:59 Removing intermediate container 1bd23cda24e1 08:18:59 ---> eef1ed7641a5 08:18:59 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 08:18:59 ---> Running in 63a5fdf4ef23 08:18:59 Removing intermediate container 63a5fdf4ef23 08:18:59 ---> 9bc9d41d3ca7 08:18:59 Step 7/26 : WORKDIR /device-gpio 08:18:59 ---> Running in 5e92f674e751 08:18:59 Removing intermediate container 5e92f674e751 08:18:59 ---> 90968ec0dbe8 08:18:59 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:18:59 ---> Running in 055f73cb61ff 08:19:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:19:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:19:01 OK: 271 MiB in 56 packages 08:19:02 Removing intermediate container 055f73cb61ff 08:19:02 ---> 1fbed9aa0454 08:19:02 Step 9/26 : COPY go.mod vendor* ./ 08:19:09 ---> 075201e3a2f8 08:19:09 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:19:09 ---> Running in aad909d3208e 08:19:10 skipping... 08:19:11 Removing intermediate container aad909d3208e 08:19:11 ---> 87899628aab8 08:19:11 Step 11/26 : COPY . . 08:19:19 ---> 7ef3d3770153 08:19:19 Step 12/26 : RUN ${MAKE} 08:19:19 ---> Running in 442dcf33450f 08:19:19 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.1" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 08:21:40 Removing intermediate container 442dcf33450f 08:21:40 ---> 339a7c976d4e 08:21:40 Step 13/26 : FROM alpine:3.18 08:21:40 3.18: Pulling from library/alpine 08:21:40 c6b39de5b339: Already exists 08:21:40 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 08:21:40 Status: Downloaded newer image for alpine:3.18 08:21:40 ---> 33abbf032149 08:21:40 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 08:21:40 ---> Running in 16c4777d4c5a 08:21:40 Removing intermediate container 16c4777d4c5a 08:21:40 ---> 8c03da192406 08:21:40 Step 15/26 : RUN apk add --update --no-cache dumb-init 08:21:40 ---> Running in 48c3834f6721 08:21:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:21:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:21:40 (1/1) Installing dumb-init (1.2.5-r2) 08:21:40 Executing busybox-1.36.1-r5.trigger 08:21:40 OK: 8 MiB in 16 packages 08:21:40 Removing intermediate container 48c3834f6721 08:21:40 ---> 43cae31fb468 08:21:40 Step 16/26 : RUN apk --no-cache upgrade 08:21:40 ---> Running in d495119fed3c 08:21:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:21:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:21:40 Upgrading critical system libraries and apk-tools: 08:21:40 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 08:21:40 Executing busybox-1.36.1-r5.trigger 08:21:40 Continuing the upgrade transaction with new apk-tools: 08:21:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:21:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:21:41 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 08:21:41 Executing busybox-1.36.1-r6.post-upgrade 08:21:41 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 08:21:41 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 08:21:41 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 08:21:41 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 08:21:41 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 08:21:41 Executing busybox-1.36.1-r6.trigger 08:21:41 OK: 8 MiB in 16 packages 08:21:43 Removing intermediate container d495119fed3c 08:21:43 ---> 7bf103eeff84 08:21:43 Step 17/26 : WORKDIR / 08:21:43 ---> Running in abbc61210d5a 08:21:43 Removing intermediate container abbc61210d5a 08:21:43 ---> 352a0670f376 08:21:43 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 08:21:43 ---> c163995c454e 08:21:43 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 08:21:44 ---> dd0d00b2e6fb 08:21:44 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 08:21:46 ---> b164a2635156 08:21:46 Step 21/26 : EXPOSE 59910 08:21:46 ---> Running in 364902245aec 08:21:46 Removing intermediate container 364902245aec 08:21:46 ---> 0f6876134de5 08:21:46 Step 22/26 : ENTRYPOINT ["/device-gpio"] 08:21:46 ---> Running in 66df6f7b240c 08:21:46 Removing intermediate container 66df6f7b240c 08:21:46 ---> 56f4dee3be97 08:21:46 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 08:21:46 ---> Running in bc5b5a36b427 08:21:47 Removing intermediate container bc5b5a36b427 08:21:47 ---> e11455419e8f 08:21:47 Step 24/26 : LABEL arch=arm64 08:21:47 ---> Running in 1fd632f8a30a 08:21:47 Removing intermediate container 1fd632f8a30a 08:21:47 ---> 768149cb4943 08:21:47 Step 25/26 : LABEL git_sha=fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c 08:21:47 ---> Running in 7b556dd5e473 08:21:47 Removing intermediate container 7b556dd5e473 08:21:47 ---> b92f85a32f90 08:21:47 Step 26/26 : LABEL version=0.0.0 08:21:47 ---> Running in 616528a8dd6c 08:21:48 Removing intermediate container 616528a8dd6c 08:21:48 ---> 65540ca2eb12 08:21:48 [Warning] One or more build-args [ARCH] were not consumed 08:21:48 Successfully built 65540ca2eb12 08:21:48 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:21:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:21:49 08:21:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:21:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:21:50 arm64: Pulling from edgex-lftools-log-publisher 08:21:50 8998bd30e6a1: Pulling fs layer 08:21:50 04944245beec: Pulling fs layer 08:21:50 699f458cf7ca: Pulling fs layer 08:21:50 765212b225bb: Pulling fs layer 08:21:50 f23df028b6ca: Pulling fs layer 08:21:50 d65c8cfc05b1: Pulling fs layer 08:21:50 2437ff75d9bd: Pulling fs layer 08:21:50 f23df028b6ca: Waiting 08:21:50 d65c8cfc05b1: Waiting 08:21:50 2437ff75d9bd: Waiting 08:21:50 04944245beec: Verifying Checksum 08:21:50 04944245beec: Download complete 08:21:50 765212b225bb: Download complete 08:21:50 f23df028b6ca: Verifying Checksum 08:21:50 f23df028b6ca: Download complete 08:21:50 d65c8cfc05b1: Verifying Checksum 08:21:50 d65c8cfc05b1: Download complete 08:21:50 699f458cf7ca: Verifying Checksum 08:21:50 699f458cf7ca: Download complete 08:21:50 8998bd30e6a1: Download complete 08:21:53 2437ff75d9bd: Verifying Checksum 08:21:53 2437ff75d9bd: Download complete 08:21:55 8998bd30e6a1: Pull complete 08:21:56 04944245beec: Pull complete 08:21:57 699f458cf7ca: Pull complete 08:21:57 765212b225bb: Pull complete 08:21:58 f23df028b6ca: Pull complete 08:21:59 d65c8cfc05b1: Pull complete 08:22:17 2437ff75d9bd: Pull complete 08:22:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:22:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:22:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:22:17 prd-ubuntu20.04-docker-arm64-4c-16g-1019 does not seem to be running inside a container 08:22:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:22:20 $ docker top e37c88aa45706dca05eb23ce878b63d917424496f7a771cc59c9d5ec7cedb7c6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:22:21 ---> job-cost.sh 08:22:21 lf-activate-venv: SKIPPING 08:22:21 INFO: No Stack... 08:22:22 INFO: Retrieving Pricing Info for: v3-standard-4 08:22:23 INFO: Archiving Costs [Pipeline] sh 08:22:23 + + cat /w/workspace/device-gpio/1/archives/cost.csv 08:22:23 cut -d, -f6 [Pipeline] lock 08:22:23 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-gpio-PR-236-1-stack-cost] 08:22:23 Resource [jenkins-edgexfoundry-device-gpio-PR-236-1-stack-cost] did not exist. Created. 08:22:23 Lock acquired on [Resource: jenkins-edgexfoundry-device-gpio-PR-236-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:22:24 /w/workspace/device-gpio/1@tmp/durable-bf42074f/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:22:24 + echo total: 0.10999999940395355 [Pipeline] stash 08:22:25 Warning: overwriting stash ‘stack-cost’ 08:22:25 Stashed 1 file(s) [Pipeline] } 08:22:25 Lock released on resource [Resource: jenkins-edgexfoundry-device-gpio-PR-236-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:22:25 $ docker stop --time=1 e37c88aa45706dca05eb23ce878b63d917424496f7a771cc59c9d5ec7cedb7c6 08:22:26 $ docker rm -f --volumes e37c88aa45706dca05eb23ce878b63d917424496f7a771cc59c9d5ec7cedb7c6 [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 08:22:28 provisioning config files... 08:22:28 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-236@tmp/config17210419491044112939tmp [Pipeline] { [Pipeline] sh 08:22:28 + set +x 08:22:28 + curl -s https://codecov.io/bash 08:22:28 + bash -s -- 08:22:28 08:22:28 _____ _ 08:22:28 / ____| | | 08:22:28 | | ___ __| | ___ ___ _____ __ 08:22:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:22:28 | |___| (_) | (_| | __/ (_| (_) \ V / 08:22:28 \_____\___/ \__,_|\___|\___\___/ \_/ 08:22:28 Bash-1.0.6 08:22:28 08:22:28 08:22:28 ==> git version 2.25.1 found 08:22:28 ==> 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 08:22:28 Release-Date: 2020-01-08 08:22:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:22:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:22:28 ==> Jenkins CI detected. 08:22:28 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-236 08:22:28 project root: . 08:22:28 --> token set from env 08:22:28 Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml 08:22:28 ==> Running gcov in . (disable via -X gcov) 08:22:28 ==> Python coveragepy not found 08:22:28 ==> Searching for coverage reports in: 08:22:28 + . 08:22:28 -> Found 1 reports 08:22:28 ==> Detecting git/mercurial file structure 08:22:28 ==> Reading reports 08:22:28 + ./coverage.out bytes=10 08:22:28 ==> Appending adjustments 08:22:28 https://docs.codecov.io/docs/fixing-reports 08:22:28 + Found adjustments 08:22:28 ==> Gzipping contents 08:22:28 12K /tmp/codecov.Nt2ma8.gz 08:22:28 ==> Uploading reports 08:22:28 url: https://codecov.io 08:22:28 query: branch=PR-236&commit=fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-236%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=236&job=&cmd_args= 08:22:28 -> Pinging Codecov 08:22:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-236&commit=fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-236%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=236&job=&cmd_args= 08:22:28 -> Uploading to 08:22:28 https://storage.googleapis.com/codecov/v4/raw/2024-05-29/3EC07B1A8CA8AF9BCAA0BB9F0134797F/fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c/b6fed04d-f03f-43d8-bdfc-0a3d337e6a05.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240529%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240529T082228Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6255aa394c4dfe82b0e0fcdf12c02e5315256deae530f4fd2bdadf3c443d9037 08:22:28 % Total % Received % Xferd Average Speed Time Time Time Current 08:22:28 Dload Upload Total Spent Left Speed 08:22:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11967 0 0 100 11967 0 45675 --:--:-- --:--:-- --:--:-- 45675 08:22:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/fb2476f4dd0840b70b8d911fb3cd6f4bbc7f738c [Pipeline] } 08:22:29 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 08:22:31 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-236/archives ] 08:22:31 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-236/archives 08:22:31 total 16 08:22:31 drwxr-xr-x 3 root root 4096 May 29 08:12 . 08:22:31 drwxrwxr-x 10 jenkins jenkins 4096 May 29 08:12 .. 08:22:31 drwxr-xr-x 2 root root 4096 May 29 08:12 cost 08:22:31 -rw-r--r-- 1 root root 83 May 29 08:12 cost.csv 08:22:31 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-236/archives 08:22:31 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-236/archives 08:22:31 total 16 08:22:31 drwxr-xr-x 3 jenkins jenkins 4096 May 29 08:12 . 08:22:31 drwxrwxr-x 10 jenkins jenkins 4096 May 29 08:12 .. 08:22:31 drwxr-xr-x 2 jenkins jenkins 4096 May 29 08:12 cost 08:22:31 -rw-r--r-- 1 jenkins jenkins 83 May 29 08:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:22:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:22:32 ---> package-listing.sh 08:22:32 ++ facter osfamily 08:22:32 ++ tr '[:upper:]' '[:lower:]' 08:22:33 + OS_FAMILY=debian 08:22:33 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-236 08:22:33 + START_PACKAGES=/tmp/packages_start.txt 08:22:33 + END_PACKAGES=/tmp/packages_end.txt 08:22:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:22:33 + PACKAGES=/tmp/packages_start.txt 08:22:33 + '[' /w/workspace/edgexfoundry_device-gpio_PR-236 ']' 08:22:33 + PACKAGES=/tmp/packages_end.txt 08:22:33 + case "${OS_FAMILY}" in 08:22:33 + dpkg -l 08:22:33 + grep '^ii' 08:22:33 + '[' -f /tmp/packages_start.txt ']' 08:22:33 + '[' -f /tmp/packages_end.txt ']' 08:22:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:22:33 + '[' /w/workspace/edgexfoundry_device-gpio_PR-236 ']' 08:22:33 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-236/archives/ 08:22:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-236/archives/ [Pipeline] echo 08:22:33 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-236/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:22:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:22:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:22:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:22:34 prd-ubuntu20.04-docker-8c-8g-1018 does not seem to be running inside a container 08:22:34 $ 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-236/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-236 -v /w/workspace/edgexfoundry_device-gpio_PR-236:/w/workspace/edgexfoundry_device-gpio_PR-236:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-236@tmp:/w/workspace/edgexfoundry_device-gpio_PR-236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:22:34 $ docker top 7ae048cf72482641c103093ddc5f754dffea56b50968272bab56f5b7688d1d56 -eo pid,comm [Pipeline] { [Pipeline] sh 08:22:35 + touch /tmp/pre-build-complete [Pipeline] sh 08:22:35 + mkdir -p /var/log/sysstat [Pipeline] sh 08:22:35 + ls /var/log/sa-host 08:22:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:22:35 provisioning config files... 08:22:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-236@tmp/config5839886580528547372tmp [Pipeline] { [Pipeline] echo 08:22:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:22:36 ---> create-netrc.sh [Pipeline] } 08:22:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:22:36 ---> python-tools-install.sh [Pipeline] echo 08:22:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:22:37 ---> sudo-logs.sh 08:22:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:22:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:22:37 ---> job-cost.sh 08:22:37 lf-activate-venv: SKIPPING 08:22:37 DEBUG: total: 0.2199999988079071 08:22:37 INFO: Retrieving Stack Cost... 08:22:38 INFO: Retrieving Pricing Info for: v3-standard-8 08:22:38 INFO: Archiving Costs [Pipeline] echo 08:22:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:22:39 ---> logs-deploy.sh 08:22:39 lf-activate-venv: SKIPPING 08:22:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-236/1 08:22:39 INFO: archiving workspace using pattern(s): 08:22:39 Archives upload complete. 08:22:39 INFO: archiving logs to Nexus