Pull request #138 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2aeee8b3f3177e00ee458032b29f5335ddc0d2b1+21c70a64d9894c2455aedb4662d61c2d9e09ca22 (85b566331e1b70b608f20e47e8369ea46853929e) 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-ssh10631356225613354833.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh11939306948821913279.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-138/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-138/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16074031128056793034.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-138/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17558711250982583769.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh16415772755794721030.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-138/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-138/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16247782388366643265.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5393 in /w/workspace/edgexfoundry_device-gpio_PR-138 [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-138 # 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/138/head:refs/remotes/origin/PR-138 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 21c70a64d9894c2455aedb4662d61c2d9e09ca22 into PR head commit 2aeee8b3f3177e00ee458032b29f5335ddc0d2b1 Merge succeeded, producing 2aeee8b3f3177e00ee458032b29f5335ddc0d2b1 Checking out Revision 2aeee8b3f3177e00ee458032b29f5335ddc0d2b1 (PR-138) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-23T01:08:48.202Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 2aeee8b3f3177e00ee458032b29f5335ddc0d2b1 # 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 21c70a64d9894c2455aedb4662d61c2d9e09ca22 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2aeee8b3f3177e00ee458032b29f5335ddc0d2b1 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-23T01:08:48.399Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-23T01:08:48.513Z] ========================================================= [2023-03-23T01:08:48.513Z] EdgeX Global Pipelines Version Info [2023-03-23T01:08:48.513Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-23T01:08:49.262Z] ------------------- [2023-03-23T01:08:49.262Z] stable info: [2023-03-23T01:08:49.262Z] ------------------- [2023-03-23T01:08:49.262Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-23T01:08:49.262Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-23T01:08:49.262Z] Message: update stable to v1.0.245 [2023-03-23T01:08:49.831Z] ------------------- [2023-03-23T01:08:49.831Z] experimental info: [2023-03-23T01:08:49.831Z] ------------------- [2023-03-23T01:08:49.831Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-23T01:08:49.831Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-23T01:08:49.831Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-23T01:08:50.233Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-03-23T01:08:50.274Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-03-23T01:08:50.321Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-23T01:08:50.420Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-23T01:08:50.469Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-23T01:08:50.519Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-23T01:08:50.561Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-23T01:08:50.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-23T01:08:50.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-23T01:08:50.703Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-23T01:08:50.755Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-23T01:08:50.802Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-03-23T01:08:50.843Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-23T01:08:50.895Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-23T01:08:50.944Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-23T01:08:50.984Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-23T01:08:51.031Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-23T01:08:51.084Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-23T01:08:51.131Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-23T01:08:51.222Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-23T01:08:51.268Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-23T01:08:51.313Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-23T01:08:51.360Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-23T01:08:51.397Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-23T01:08:51.456Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-23T01:08:51.494Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-23T01:08:51.540Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-23T01:08:51.585Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-138 [Pipeline] echo [2023-03-23T01:08:51.626Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-138 [Pipeline] echo [2023-03-23T01:08:51.675Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-138 [Pipeline] echo [2023-03-23T01:08:51.720Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2aeee8b3f3177e00ee458032b29f5335ddc0d2b1 [Pipeline] echo [2023-03-23T01:08:51.763Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2aeee8b [Pipeline] echo [2023-03-23T01:08:51.811Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-23T01:08:51.925Z] provisioning config files... [2023-03-23T01:08:51.940Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-138@tmp/config7716663286541657019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-23T01:08:52.280Z] ---> docker-login.sh [2023-03-23T01:08:52.280Z] nexus3.edgexfoundry.org:10001 [2023-03-23T01:08:52.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T01:08:52.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T01:08:52.541Z] Configure a credential helper to remove this warning. See [2023-03-23T01:08:52.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T01:08:52.541Z] [2023-03-23T01:08:52.541Z] Login Succeeded [2023-03-23T01:08:52.541Z] nexus3.edgexfoundry.org:10002 [2023-03-23T01:08:52.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T01:08:52.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T01:08:52.801Z] Configure a credential helper to remove this warning. See [2023-03-23T01:08:52.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T01:08:52.801Z] [2023-03-23T01:08:52.801Z] Login Succeeded [2023-03-23T01:08:52.801Z] nexus3.edgexfoundry.org:10003 [2023-03-23T01:08:52.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T01:08:52.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T01:08:52.801Z] Configure a credential helper to remove this warning. See [2023-03-23T01:08:52.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T01:08:52.801Z] [2023-03-23T01:08:52.801Z] Login Succeeded [2023-03-23T01:08:52.801Z] nexus3.edgexfoundry.org:10004 [2023-03-23T01:08:52.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T01:08:53.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T01:08:53.062Z] Configure a credential helper to remove this warning. See [2023-03-23T01:08:53.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T01:08:53.062Z] [2023-03-23T01:08:53.062Z] Login Succeeded [2023-03-23T01:08:53.062Z] docker.io [2023-03-23T01:08:53.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T01:08:53.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T01:08:53.324Z] Configure a credential helper to remove this warning. See [2023-03-23T01:08:53.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T01:08:53.324Z] [2023-03-23T01:08:53.324Z] Login Succeeded [2023-03-23T01:08:53.324Z] ---> docker-login.sh ends [Pipeline] } [2023-03-23T01:08:53.363Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-23T01:08:54.008Z] + git rev-list -1 --merges 2aeee8b3f3177e00ee458032b29f5335ddc0d2b1~1..2aeee8b3f3177e00ee458032b29f5335ddc0d2b1 [Pipeline] echo [2023-03-23T01:08:54.077Z] -----------> git rev-list -1 --merges 2aeee8b3f3177e00ee458032b29f5335ddc0d2b1~1..2aeee8b3f3177e00ee458032b29f5335ddc0d2b1 2aeee8b3f3177e00ee458032b29f5335ddc0d2b1 [false] [Pipeline] sh [2023-03-23T01:08:54.399Z] + git log --format=format:%s -1 2aeee8b3f3177e00ee458032b29f5335ddc0d2b1 [Pipeline] echo [2023-03-23T01:08:54.437Z] ========================================================= [2023-03-23T01:08:54.437Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-23T01:08:54.437Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-23T01:08:54.872Z] + git log --format=format:%s -1 2aeee8b3f3177e00ee458032b29f5335ddc0d2b1 [Pipeline] echo [2023-03-23T01:08:54.905Z] [semverPrep] GIT_COMMIT: 2aeee8b3f3177e00ee458032b29f5335ddc0d2b1, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-03-23T01:08:54.945Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-23T01:08:55.430Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-23T01:08:55.430Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-23T01:08:55.430Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-23T01:08:55.430Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-23T01:08:55.430Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-23T01:08:55.430Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-23T01:08:55.430Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T01:08:56.025Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-23T01:08:56.025Z] [2023-03-23T01:08:56.025Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T01:08:56.417Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-23T01:08:56.417Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-23T01:08:56.417Z] b85a868b505f: Pulling fs layer [2023-03-23T01:08:56.417Z] e2be974225ed: Pulling fs layer [2023-03-23T01:08:56.417Z] 339a4e72a1f5: Pulling fs layer [2023-03-23T01:08:56.417Z] 988bab9f4d93: Pulling fs layer [2023-03-23T01:08:56.417Z] 1469e6f7b9e6: Pulling fs layer [2023-03-23T01:08:56.417Z] eaf3925da568: Pulling fs layer [2023-03-23T01:08:56.417Z] bab4dde63d76: Pulling fs layer [2023-03-23T01:08:56.417Z] bde34c3a00c8: Pulling fs layer [2023-03-23T01:08:56.417Z] b352a97aabf1: Pulling fs layer [2023-03-23T01:08:56.417Z] 4872d77fe225: Pulling fs layer [2023-03-23T01:08:56.417Z] 5851b861e8e6: Pulling fs layer [2023-03-23T01:08:56.417Z] 1469e6f7b9e6: Waiting [2023-03-23T01:08:56.417Z] bde34c3a00c8: Waiting [2023-03-23T01:08:56.417Z] 5851b861e8e6: Waiting [2023-03-23T01:08:56.417Z] eaf3925da568: Waiting [2023-03-23T01:08:56.417Z] bab4dde63d76: Waiting [2023-03-23T01:08:56.417Z] 4872d77fe225: Waiting [2023-03-23T01:08:56.417Z] 988bab9f4d93: Waiting [2023-03-23T01:08:56.417Z] b352a97aabf1: Waiting [2023-03-23T01:08:56.417Z] e2be974225ed: Verifying Checksum [2023-03-23T01:08:56.417Z] e2be974225ed: Download complete [2023-03-23T01:08:56.417Z] 988bab9f4d93: Verifying Checksum [2023-03-23T01:08:56.417Z] 988bab9f4d93: Download complete [2023-03-23T01:08:56.676Z] 339a4e72a1f5: Verifying Checksum [2023-03-23T01:08:56.676Z] 339a4e72a1f5: Download complete [2023-03-23T01:08:56.676Z] eaf3925da568: Verifying Checksum [2023-03-23T01:08:56.676Z] eaf3925da568: Download complete [2023-03-23T01:08:56.676Z] 1469e6f7b9e6: Verifying Checksum [2023-03-23T01:08:56.676Z] 1469e6f7b9e6: Download complete [2023-03-23T01:08:56.676Z] bde34c3a00c8: Verifying Checksum [2023-03-23T01:08:56.676Z] bde34c3a00c8: Download complete [2023-03-23T01:08:56.676Z] b352a97aabf1: Verifying Checksum [2023-03-23T01:08:56.676Z] b352a97aabf1: Download complete [2023-03-23T01:08:56.676Z] 4872d77fe225: Download complete [2023-03-23T01:08:56.676Z] 5851b861e8e6: Verifying Checksum [2023-03-23T01:08:56.676Z] 5851b861e8e6: Download complete [2023-03-23T01:08:56.676Z] b85a868b505f: Verifying Checksum [2023-03-23T01:08:56.676Z] b85a868b505f: Download complete [2023-03-23T01:08:56.937Z] bab4dde63d76: Verifying Checksum [2023-03-23T01:08:56.937Z] bab4dde63d76: Download complete [2023-03-23T01:08:57.875Z] b85a868b505f: Pull complete [2023-03-23T01:08:58.133Z] e2be974225ed: Pull complete [2023-03-23T01:08:58.700Z] 339a4e72a1f5: Pull complete [2023-03-23T01:08:58.700Z] 988bab9f4d93: Pull complete [2023-03-23T01:08:58.958Z] 1469e6f7b9e6: Pull complete [2023-03-23T01:08:58.958Z] eaf3925da568: Pull complete [2023-03-23T01:09:00.863Z] bab4dde63d76: Pull complete [2023-03-23T01:09:00.863Z] bde34c3a00c8: Pull complete [2023-03-23T01:09:00.863Z] b352a97aabf1: Pull complete [2023-03-23T01:09:00.863Z] 4872d77fe225: Pull complete [2023-03-23T01:09:00.863Z] 5851b861e8e6: Pull complete [2023-03-23T01:09:00.863Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-23T01:09:00.863Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-23T01:09:00.863Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T01:09:01.169Z] prd-ubuntu20.04-docker-8c-8g-5393 does not seem to be running inside a container [2023-03-23T01:09:01.241Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-138 -v /w/workspace/edgexfoundry_device-gpio_PR-138:/w/workspace/edgexfoundry_device-gpio_PR-138:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-138@tmp:/w/workspace/edgexfoundry_device-gpio_PR-138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-23T01:09:03.910Z] $ docker top 662305f21b39684b2244a7793c627cfbad681abef97e518f10a20d54b9ac75e2 -eo pid,comm [2023-03-23T01:09:03.958Z] 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). [2023-03-23T01:09:03.958Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-23T01:09:04.096Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-23T01:09:04.096Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-23T01:09:04.212Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-23T01:09:04.217Z] $ docker exec 662305f21b39684b2244a7793c627cfbad681abef97e518f10a20d54b9ac75e2 ssh-agent [2023-03-23T01:09:04.346Z] SSH_AUTH_SOCK=/tmp/ssh-atvsCQKDMpNU/agent.32 [2023-03-23T01:09:04.346Z] SSH_AGENT_PID=38 [2023-03-23T01:09:04.354Z] Running ssh-add (command line suppressed) [2023-03-23T01:09:04.472Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-138@tmp/private_key_12571436472449876344.key (/w/workspace/edgexfoundry_device-gpio_PR-138@tmp/private_key_12571436472449876344.key) [2023-03-23T01:09:04.484Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-23T01:09:04.832Z] + git tag --points-at HEAD [Pipeline] } [2023-03-23T01:09:04.862Z] $ docker exec --env ******** --env ******** 662305f21b39684b2244a7793c627cfbad681abef97e518f10a20d54b9ac75e2 ssh-agent -k [2023-03-23T01:09:04.953Z] unset SSH_AUTH_SOCK; [2023-03-23T01:09:04.953Z] unset SSH_AGENT_PID; [2023-03-23T01:09:04.953Z] echo Agent pid 38 killed; [2023-03-23T01:09:04.959Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-23T01:09:05.049Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-23T01:09:05.049Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-23T01:09:05.172Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-23T01:09:05.178Z] $ docker exec 662305f21b39684b2244a7793c627cfbad681abef97e518f10a20d54b9ac75e2 ssh-agent [2023-03-23T01:09:05.282Z] SSH_AUTH_SOCK=/tmp/ssh-GviLjaU3rQqZ/agent.71 [2023-03-23T01:09:05.282Z] SSH_AGENT_PID=77 [2023-03-23T01:09:05.286Z] Running ssh-add (command line suppressed) [2023-03-23T01:09:05.387Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-138@tmp/private_key_13462872727110028827.key (/w/workspace/edgexfoundry_device-gpio_PR-138@tmp/private_key_13462872727110028827.key) [2023-03-23T01:09:05.396Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-23T01:09:05.723Z] + git semver init [2023-03-23T01:09:05.982Z] 2023-03-23 01:09:05,894 [run_init] DEBUG init version:0.0.0 force:False [2023-03-23T01:09:05.982Z] 2023-03-23 01:09:05,895 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-138/.semver [2023-03-23T01:09:05.982Z] 2023-03-23 01:09:05,895 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-138/.semver [2023-03-23T01:09:05.982Z] 2023-03-23 01:09:05,896 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-138/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-138, universal_newlines=False, shell=None, istream=None) [2023-03-23T01:09:06.918Z] 2023-03-23 01:09:06,900 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-138/.git/info/exclude [2023-03-23T01:09:06.918Z] 2023-03-23 01:09:06,900 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-138/.semver/PR-138 with force:False [2023-03-23T01:09:06.918Z] 2023-03-23 01:09:06,901 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-138/.semver/PR-138 [2023-03-23T01:09:06.918Z] 2023-03-23 01:09:06,905 [execute] INFO git cat-file --batch-check [2023-03-23T01:09:06.918Z] 2023-03-23 01:09:06,905 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-138/.semver, universal_newlines=False, shell=None, istream=) [2023-03-23T01:09:06.918Z] 2023-03-23 01:09:06,911 [execute] INFO git cat-file --batch [2023-03-23T01:09:06.918Z] 2023-03-23 01:09:06,911 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-138/.semver, universal_newlines=False, shell=None, istream=) [2023-03-23T01:09:06.918Z] 2023-03-23 01:09:06,917 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-138/.semver/PR-138 [2023-03-23T01:09:06.918Z] 0.0.0 [Pipeline] } [2023-03-23T01:09:07.214Z] $ docker exec --env ******** --env ******** 662305f21b39684b2244a7793c627cfbad681abef97e518f10a20d54b9ac75e2 ssh-agent -k [2023-03-23T01:09:07.308Z] unset SSH_AUTH_SOCK; [2023-03-23T01:09:07.308Z] unset SSH_AGENT_PID; [2023-03-23T01:09:07.308Z] echo Agent pid 77 killed; [2023-03-23T01:09:07.315Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-23T01:09:07.735Z] + git semver [Pipeline] } [2023-03-23T01:09:08.018Z] $ docker stop --time=1 662305f21b39684b2244a7793c627cfbad681abef97e518f10a20d54b9ac75e2 [2023-03-23T01:09:09.355Z] $ docker rm -f --volumes 662305f21b39684b2244a7793c627cfbad681abef97e518f10a20d54b9ac75e2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-23T01:09:09.751Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-23T01:09:10.011Z] Stashed 1 file(s) [Pipeline] echo [2023-03-23T01:09:10.034Z] [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 [2023-03-23T01:09:10.681Z] provisioning config files... [2023-03-23T01:09:10.689Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-138@tmp/config10414290365879778205tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-23T01:09:11.038Z] ---> docker-login.sh [2023-03-23T01:09:11.038Z] nexus3.edgexfoundry.org:10001 [2023-03-23T01:09:11.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T01:09:11.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T01:09:11.038Z] Configure a credential helper to remove this warning. See [2023-03-23T01:09:11.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T01:09:11.038Z] [2023-03-23T01:09:11.038Z] Login Succeeded [2023-03-23T01:09:11.038Z] nexus3.edgexfoundry.org:10002 [2023-03-23T01:09:11.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T01:09:11.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T01:09:11.038Z] Configure a credential helper to remove this warning. See [2023-03-23T01:09:11.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T01:09:11.038Z] [2023-03-23T01:09:11.038Z] Login Succeeded [2023-03-23T01:09:11.038Z] nexus3.edgexfoundry.org:10003 [2023-03-23T01:09:11.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T01:09:11.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T01:09:11.297Z] Configure a credential helper to remove this warning. See [2023-03-23T01:09:11.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T01:09:11.297Z] [2023-03-23T01:09:11.297Z] Login Succeeded [2023-03-23T01:09:11.297Z] nexus3.edgexfoundry.org:10004 [2023-03-23T01:09:11.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T01:09:11.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T01:09:11.297Z] Configure a credential helper to remove this warning. See [2023-03-23T01:09:11.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T01:09:11.297Z] [2023-03-23T01:09:11.297Z] Login Succeeded [2023-03-23T01:09:11.297Z] docker.io [2023-03-23T01:09:11.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T01:09:11.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T01:09:11.556Z] Configure a credential helper to remove this warning. See [2023-03-23T01:09:11.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T01:09:11.556Z] [2023-03-23T01:09:11.556Z] Login Succeeded [2023-03-23T01:09:11.556Z] ---> docker-login.sh ends [Pipeline] } [2023-03-23T01:09:11.601Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-23T01:09:11.811Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-23T01:09:11.858Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-23T01:09:11.956Z] ========================================================= [2023-03-23T01:09:11.956Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-23T01:09:11.956Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T01:09:12.469Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-23T01:09:12.469Z] Sending build context to Docker daemon 16.03MB [2023-03-23T01:09:12.469Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-23T01:09:12.469Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-23T01:09:12.469Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-23T01:09:12.469Z] 63b65145d645: Pulling fs layer [2023-03-23T01:09:12.469Z] a2d21d5440eb: Pulling fs layer [2023-03-23T01:09:12.469Z] 935e6c44a52c: Pulling fs layer [2023-03-23T01:09:12.469Z] 94cc34f8dd06: Pulling fs layer [2023-03-23T01:09:12.469Z] 30dea6a524f1: Pulling fs layer [2023-03-23T01:09:12.469Z] a2aff8979fd8: Pulling fs layer [2023-03-23T01:09:12.469Z] 6808be2612f2: Pulling fs layer [2023-03-23T01:09:12.469Z] f25807f1079a: Pulling fs layer [2023-03-23T01:09:12.469Z] 30dea6a524f1: Waiting [2023-03-23T01:09:12.469Z] a2aff8979fd8: Waiting [2023-03-23T01:09:12.469Z] 6808be2612f2: Waiting [2023-03-23T01:09:12.469Z] f25807f1079a: Waiting [2023-03-23T01:09:12.469Z] 94cc34f8dd06: Waiting [2023-03-23T01:09:12.733Z] a2d21d5440eb: Verifying Checksum [2023-03-23T01:09:12.733Z] a2d21d5440eb: Download complete [2023-03-23T01:09:12.733Z] 94cc34f8dd06: Download complete [2023-03-23T01:09:12.733Z] 30dea6a524f1: Download complete [2023-03-23T01:09:12.733Z] 63b65145d645: Verifying Checksum [2023-03-23T01:09:12.733Z] 63b65145d645: Download complete [2023-03-23T01:09:12.733Z] a2aff8979fd8: Verifying Checksum [2023-03-23T01:09:12.733Z] a2aff8979fd8: Download complete [2023-03-23T01:09:13.014Z] 63b65145d645: Pull complete [2023-03-23T01:09:13.014Z] a2d21d5440eb: Pull complete [2023-03-23T01:09:13.598Z] 935e6c44a52c: Verifying Checksum [2023-03-23T01:09:13.598Z] 935e6c44a52c: Download complete [2023-03-23T01:09:13.598Z] f25807f1079a: Verifying Checksum [2023-03-23T01:09:13.598Z] f25807f1079a: Download complete [2023-03-23T01:09:13.598Z] 6808be2612f2: Verifying Checksum [2023-03-23T01:09:13.598Z] 6808be2612f2: Download complete [2023-03-23T01:09:16.894Z] 935e6c44a52c: Pull complete [2023-03-23T01:09:16.894Z] 94cc34f8dd06: Pull complete [2023-03-23T01:09:16.894Z] 30dea6a524f1: Pull complete [2023-03-23T01:09:16.894Z] a2aff8979fd8: Pull complete [2023-03-23T01:09:18.828Z] 6808be2612f2: Pull complete [2023-03-23T01:09:19.399Z] f25807f1079a: Pull complete [2023-03-23T01:09:19.399Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-23T01:09:19.399Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-23T01:09:19.399Z] ---> 3b553350e43f [2023-03-23T01:09:19.399Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-23T01:09:23.625Z] ---> Running in 78e320454b84 [2023-03-23T01:09:23.625Z] Removing intermediate container 78e320454b84 [2023-03-23T01:09:23.625Z] ---> 0349d8599cdc [2023-03-23T01:09:23.625Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-23T01:09:23.625Z] ---> Running in 503675edf830 [2023-03-23T01:09:23.625Z] Removing intermediate container 503675edf830 [2023-03-23T01:09:23.625Z] ---> 06f62e6d12ab [2023-03-23T01:09:23.625Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-03-23T01:09:23.625Z] ---> Running in d53cad51862d [2023-03-23T01:09:23.625Z] Removing intermediate container d53cad51862d [2023-03-23T01:09:23.625Z] ---> 1e7df6d2dfc8 [2023-03-23T01:09:23.625Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-23T01:09:23.625Z] ---> Running in fed585eeff86 [2023-03-23T01:09:23.625Z] Removing intermediate container fed585eeff86 [2023-03-23T01:09:23.625Z] ---> 206fc368e196 [2023-03-23T01:09:23.625Z] Step 7/12 : WORKDIR /device-gpio [2023-03-23T01:09:23.625Z] ---> Running in c3ea3c91bd4d [2023-03-23T01:09:23.625Z] Removing intermediate container c3ea3c91bd4d [2023-03-23T01:09:23.625Z] ---> 9f88bf84065a [2023-03-23T01:09:23.625Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-23T01:09:23.885Z] ---> Running in 0863ecfc4698 [2023-03-23T01:09:24.144Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-23T01:09:24.144Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-23T01:09:24.403Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-23T01:09:24.403Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-23T01:09:24.403Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-23T01:09:24.403Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-23T01:09:24.403Z] Executing busybox-1.35.0-r29.trigger [2023-03-23T01:09:24.403Z] OK: 269 MiB in 57 packages [2023-03-23T01:09:24.970Z] Removing intermediate container 0863ecfc4698 [2023-03-23T01:09:24.970Z] ---> 38c23b915349 [2023-03-23T01:09:24.970Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-23T01:09:24.970Z] ---> b75afb26a267 [2023-03-23T01:09:24.970Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-23T01:09:24.970Z] ---> Running in 0f433bd96276 [2023-03-23T01:09:25.485Z] Still waiting to schedule task [2023-03-23T01:09:25.485Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-23T01:10:03.687Z] Removing intermediate container 0f433bd96276 [2023-03-23T01:10:03.687Z] ---> 0570ab3d3229 [2023-03-23T01:10:03.687Z] Step 11/12 : COPY . . [2023-03-23T01:10:03.687Z] ---> b9a9609c1e64 [2023-03-23T01:10:03.687Z] Step 12/12 : RUN ${MAKE} [2023-03-23T01:10:03.687Z] ---> Running in 77c793596ceb [2023-03-23T01:10:03.687Z] noop [2023-03-23T01:10:03.687Z] Removing intermediate container 77c793596ceb [2023-03-23T01:10:03.687Z] ---> d863c752f546 [2023-03-23T01:10:03.687Z] Successfully built d863c752f546 [2023-03-23T01:10:03.687Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T01:10:04.140Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-23T01:10:04.140Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T01:10:04.292Z] prd-ubuntu20.04-docker-8c-8g-5393 does not seem to be running inside a container [2023-03-23T01:10:04.320Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-138 -v /w/workspace/edgexfoundry_device-gpio_PR-138:/w/workspace/edgexfoundry_device-gpio_PR-138:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-138@tmp:/w/workspace/edgexfoundry_device-gpio_PR-138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-23T01:10:05.091Z] $ docker top eb17a6e64a28093b3b360ba10a9852f7741d59d300887146f756a5b52e0d5075 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-23T01:10:05.494Z] + go version [2023-03-23T01:10:05.494Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-23T01:10:05.529Z] $ docker stop --time=1 eb17a6e64a28093b3b360ba10a9852f7741d59d300887146f756a5b52e0d5075 [2023-03-23T01:10:07.038Z] $ docker rm -f --volumes eb17a6e64a28093b3b360ba10a9852f7741d59d300887146f756a5b52e0d5075 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T01:10:07.878Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-23T01:10:07.878Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T01:10:08.029Z] prd-ubuntu20.04-docker-8c-8g-5393 does not seem to be running inside a container [2023-03-23T01:10:08.065Z] $ 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-138 -v /w/workspace/edgexfoundry_device-gpio_PR-138:/w/workspace/edgexfoundry_device-gpio_PR-138:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-138@tmp:/w/workspace/edgexfoundry_device-gpio_PR-138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-23T01:10:08.436Z] $ docker top 2a919dd12406dbdaadde7d2de19d300487b2c8d26eec3352ba553877f6d0c2ea -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-23T01:10:08.827Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-138 [Pipeline] fileExists [Pipeline] sh [2023-03-23T01:10:09.193Z] + make test [2023-03-23T01:10:09.193Z] go test ./... -coverprofile=coverage.out ./... [2023-03-23T01:10:14.466Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-03-23T01:10:24.433Z] # github.com/edgexfoundry/device-gpio/internal/driver [2023-03-23T01:10:24.433Z] internal/driver/config.go:29:24: undefined: service.DriverConfigs [2023-03-23T01:10:24.433Z] internal/driver/config.go:34:24: undefined: service.DriverConfigs [2023-03-23T01:10:24.433Z] FAIL [2023-03-23T01:10:24.433Z] make: *** [Makefile:29: unittest] Error 1 [Pipeline] } [2023-03-23T01:10:24.503Z] $ docker stop --time=1 2a919dd12406dbdaadde7d2de19d300487b2c8d26eec3352ba553877f6d0c2ea [2023-03-23T01:10:28.100Z] $ docker rm -f --volumes 2a919dd12406dbdaadde7d2de19d300487b2c8d26eec3352ba553877f6d0c2ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T01:10:29.387Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-23T01:10:29.387Z] [2023-03-23T01:10:29.388Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T01:10:29.773Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-23T01:10:29.773Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-23T01:10:29.773Z] 5eb5b503b376: Pulling fs layer [2023-03-23T01:10:29.773Z] 5c69ac0246d0: Pulling fs layer [2023-03-23T01:10:29.773Z] ec43610c2a17: Pulling fs layer [2023-03-23T01:10:29.773Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-23T01:10:29.773Z] 33b1e0a273af: Pulling fs layer [2023-03-23T01:10:29.773Z] 5d3b04190fa2: Pulling fs layer [2023-03-23T01:10:29.773Z] 2f39f015ded8: Pulling fs layer [2023-03-23T01:10:29.773Z] 33b1e0a273af: Waiting [2023-03-23T01:10:29.773Z] 5d3b04190fa2: Waiting [2023-03-23T01:10:29.773Z] 3a2ae6a8a46f: Waiting [2023-03-23T01:10:29.773Z] 2f39f015ded8: Waiting [2023-03-23T01:10:29.773Z] 5c69ac0246d0: Download complete [2023-03-23T01:10:29.773Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-23T01:10:29.773Z] 3a2ae6a8a46f: Download complete [2023-03-23T01:10:30.032Z] 33b1e0a273af: Verifying Checksum [2023-03-23T01:10:30.033Z] 33b1e0a273af: Download complete [2023-03-23T01:10:30.033Z] ec43610c2a17: Verifying Checksum [2023-03-23T01:10:30.033Z] ec43610c2a17: Download complete [2023-03-23T01:10:30.033Z] 5d3b04190fa2: Download complete [2023-03-23T01:10:30.033Z] 5eb5b503b376: Verifying Checksum [2023-03-23T01:10:30.033Z] 5eb5b503b376: Download complete [2023-03-23T01:10:30.598Z] 2f39f015ded8: Download complete [2023-03-23T01:10:31.532Z] 5eb5b503b376: Pull complete [2023-03-23T01:10:31.532Z] 5c69ac0246d0: Pull complete [2023-03-23T01:10:32.561Z] ec43610c2a17: Pull complete [2023-03-23T01:10:32.561Z] 3a2ae6a8a46f: Pull complete [2023-03-23T01:10:32.838Z] 33b1e0a273af: Pull complete [2023-03-23T01:10:32.838Z] 5d3b04190fa2: Pull complete [2023-03-23T01:10:37.064Z] 2f39f015ded8: Pull complete [2023-03-23T01:10:37.064Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-23T01:10:37.064Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-23T01:10:37.064Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T01:10:37.368Z] prd-ubuntu20.04-docker-8c-8g-5393 does not seem to be running inside a container [2023-03-23T01:10:37.403Z] $ 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-138 -v /w/workspace/edgexfoundry_device-gpio_PR-138:/w/workspace/edgexfoundry_device-gpio_PR-138:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-138@tmp:/w/workspace/edgexfoundry_device-gpio_PR-138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-23T01:10:43.263Z] $ docker top bddcc36f492dccac11a1dcb62f8bb63fa42df3317e563114048d87a9e692c5fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-23T01:10:43.775Z] ---> job-cost.sh [2023-03-23T01:10:43.775Z] lf-activate-venv: SKIPPING [2023-03-23T01:10:43.775Z] INFO: No Stack... [2023-03-23T01:10:44.034Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-23T01:10:44.604Z] INFO: Archiving Costs [Pipeline] sh [2023-03-23T01:10:44.921Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-138/archives/cost.csv [2023-03-23T01:10:44.921Z] + cut -d, -f6 [Pipeline] lock [2023-03-23T01:10:44.967Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-138-1-stack-cost] [2023-03-23T01:10:44.973Z] Resource [jenkins-edgexfoundry-device-gpio-PR-138-1-stack-cost] did not exist. Created. [2023-03-23T01:10:44.973Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-138-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-23T01:10:45.368Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-23T01:10:45.426Z] Stashed 1 file(s) [Pipeline] } [2023-03-23T01:10:45.445Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-138-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-23T01:10:45.524Z] $ docker stop --time=1 bddcc36f492dccac11a1dcb62f8bb63fa42df3317e563114048d87a9e692c5fa [2023-03-23T01:10:46.674Z] $ docker rm -f --volumes bddcc36f492dccac11a1dcb62f8bb63fa42df3317e563114048d87a9e692c5fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-23T01:10:47.040Z] Failed in branch amd64 [2023-03-23T01:11:43.764Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5397 in /w/workspace/edgexfoundry_device-gpio_PR-138 [Pipeline] { [Pipeline] ws [2023-03-23T01:11:43.824Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2023-03-23T01:11:43.909Z] The recommended git tool is: git [2023-03-23T01:11:49.212Z] using credential edgex-jenkins-ssh [2023-03-23T01:11:49.232Z] Cloning the remote Git repository [2023-03-23T01:11:49.290Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-03-23T01:11:49.407Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2023-03-23T01:11:49.579Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-03-23T01:11:49.580Z] > git --version # timeout=10 [2023-03-23T01:11:49.605Z] > git --version # 'git version 2.25.1' [2023-03-23T01:11:49.608Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-23T01:11:49.799Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-23T01:11:51.360Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-03-23T01:11:51.389Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-23T01:11:52.419Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-03-23T01:11:52.463Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-03-23T01:11:52.464Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-23T01:11:52.485Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/138/head:refs/remotes/origin/PR-138 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-23T01:11:53.268Z] Merging remotes/origin/main commit 21c70a64d9894c2455aedb4662d61c2d9e09ca22 into PR head commit 2aeee8b3f3177e00ee458032b29f5335ddc0d2b1 [2023-03-23T01:11:53.564Z] Merge succeeded, producing 2aeee8b3f3177e00ee458032b29f5335ddc0d2b1 [2023-03-23T01:11:53.564Z] Checking out Revision 2aeee8b3f3177e00ee458032b29f5335ddc0d2b1 (PR-138) [2023-03-23T01:11:54.102Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-03-23T01:11:53.290Z] > git config core.sparsecheckout # timeout=10 [2023-03-23T01:11:53.371Z] > git checkout -f 2aeee8b3f3177e00ee458032b29f5335ddc0d2b1 # timeout=10 [2023-03-23T01:11:53.456Z] > git remote # timeout=10 [2023-03-23T01:11:53.476Z] > git config --get remote.origin.url # timeout=10 [2023-03-23T01:11:53.508Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-23T01:11:53.523Z] > git merge 21c70a64d9894c2455aedb4662d61c2d9e09ca22 # timeout=10 [2023-03-23T01:11:53.549Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-23T01:11:53.573Z] > git config core.sparsecheckout # timeout=10 [2023-03-23T01:11:53.596Z] > git checkout -f 2aeee8b3f3177e00ee458032b29f5335ddc0d2b1 # timeout=10 [2023-03-23T01:11:54.156Z] > git --version # timeout=10 [2023-03-23T01:11:54.166Z] > git --version # 'git version 2.25.1' [2023-03-23T01:11:54.181Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-23T01:11:55.389Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-23T01:11:55.389Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-23T01:11:55.389Z] Dload Upload Total Spent Left Speed [2023-03-23T01:11:55.389Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2023-03-23T01:11:56.127Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-23T01:11:56.512Z] + + sudo tee /etc/docker/daemon.newsudo [2023-03-23T01:11:56.512Z] jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-23T01:11:56.512Z] { [2023-03-23T01:11:56.512Z] "registry-mirrors": [ [2023-03-23T01:11:56.512Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-23T01:11:56.512Z] ], [2023-03-23T01:11:56.512Z] "bip": "10.250.0.254/24", [2023-03-23T01:11:56.512Z] "hosts": [ [2023-03-23T01:11:56.512Z] "tcp://0.0.0.0:5555", [2023-03-23T01:11:56.512Z] "unix:///var/run/docker.sock" [2023-03-23T01:11:56.512Z] ], [2023-03-23T01:11:56.512Z] "mtu": 1458, [2023-03-23T01:11:56.512Z] "selinux-enabled": true, [2023-03-23T01:11:56.512Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-23T01:11:56.512Z] } [Pipeline] sh [2023-03-23T01:11:56.890Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-23T01:11:57.253Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-23T01:12:15.589Z] provisioning config files... [2023-03-23T01:12:15.619Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config12964365260981519451tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-23T01:12:16.018Z] ---> docker-login.sh [2023-03-23T01:12:16.019Z] nexus3.edgexfoundry.org:10001 [2023-03-23T01:12:16.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T01:12:16.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T01:12:16.569Z] Configure a credential helper to remove this warning. See [2023-03-23T01:12:16.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T01:12:16.569Z] [2023-03-23T01:12:16.569Z] Login Succeeded [2023-03-23T01:12:16.569Z] nexus3.edgexfoundry.org:10002 [2023-03-23T01:12:16.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T01:12:16.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T01:12:16.840Z] Configure a credential helper to remove this warning. See [2023-03-23T01:12:16.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T01:12:16.840Z] [2023-03-23T01:12:16.840Z] Login Succeeded [2023-03-23T01:12:17.112Z] nexus3.edgexfoundry.org:10003 [2023-03-23T01:12:17.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T01:12:17.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T01:12:17.384Z] Configure a credential helper to remove this warning. See [2023-03-23T01:12:17.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T01:12:17.384Z] [2023-03-23T01:12:17.384Z] Login Succeeded [2023-03-23T01:12:17.384Z] nexus3.edgexfoundry.org:10004 [2023-03-23T01:12:17.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T01:12:17.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T01:12:17.656Z] Configure a credential helper to remove this warning. See [2023-03-23T01:12:17.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T01:12:17.656Z] [2023-03-23T01:12:17.656Z] Login Succeeded [2023-03-23T01:12:17.656Z] docker.io [2023-03-23T01:12:17.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T01:12:18.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T01:12:18.193Z] Configure a credential helper to remove this warning. See [2023-03-23T01:12:18.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T01:12:18.193Z] [2023-03-23T01:12:18.193Z] Login Succeeded [2023-03-23T01:12:18.193Z] ---> docker-login.sh ends [Pipeline] } [2023-03-23T01:12:18.249Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-23T01:12:18.872Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-23T01:12:18.910Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-23T01:12:18.948Z] ========================================================= [2023-03-23T01:12:18.948Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-23T01:12:18.948Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T01:12:19.550Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-23T01:12:20.145Z] Sending build context to Docker daemon 8.095MB [2023-03-23T01:12:20.145Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-23T01:12:20.145Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-23T01:12:20.419Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-23T01:12:20.419Z] af6eaf76a39c: Pulling fs layer [2023-03-23T01:12:20.419Z] 55522c791124: Pulling fs layer [2023-03-23T01:12:20.419Z] ce5c4a1c91eb: Pulling fs layer [2023-03-23T01:12:20.419Z] 169dfbe0d373: Pulling fs layer [2023-03-23T01:12:20.419Z] e1ff8fa3b103: Pulling fs layer [2023-03-23T01:12:20.419Z] 52ebb69f0ebf: Pulling fs layer [2023-03-23T01:12:20.419Z] 5abe8eddf0d5: Pulling fs layer [2023-03-23T01:12:20.419Z] e1ff8fa3b103: Waiting [2023-03-23T01:12:20.419Z] 169dfbe0d373: Waiting [2023-03-23T01:12:20.419Z] 52ebb69f0ebf: Waiting [2023-03-23T01:12:20.419Z] 5abe8eddf0d5: Waiting [2023-03-23T01:12:20.419Z] 55522c791124: Verifying Checksum [2023-03-23T01:12:20.419Z] 55522c791124: Download complete [2023-03-23T01:12:20.419Z] 169dfbe0d373: Download complete [2023-03-23T01:12:20.419Z] e1ff8fa3b103: Verifying Checksum [2023-03-23T01:12:20.419Z] e1ff8fa3b103: Download complete [2023-03-23T01:12:20.419Z] af6eaf76a39c: Verifying Checksum [2023-03-23T01:12:20.419Z] af6eaf76a39c: Download complete [2023-03-23T01:12:21.401Z] af6eaf76a39c: Pull complete [2023-03-23T01:12:21.676Z] 5abe8eddf0d5: Download complete [2023-03-23T01:12:22.267Z] 55522c791124: Pull complete [2023-03-23T01:12:23.242Z] ce5c4a1c91eb: Verifying Checksum [2023-03-23T01:12:23.242Z] ce5c4a1c91eb: Download complete [2023-03-23T01:12:23.242Z] 52ebb69f0ebf: Verifying Checksum [2023-03-23T01:12:23.242Z] 52ebb69f0ebf: Download complete [2023-03-23T01:12:35.855Z] ce5c4a1c91eb: Pull complete [2023-03-23T01:12:36.125Z] 169dfbe0d373: Pull complete [2023-03-23T01:12:36.125Z] e1ff8fa3b103: Pull complete [2023-03-23T01:12:44.354Z] 52ebb69f0ebf: Pull complete [2023-03-23T01:12:45.324Z] 5abe8eddf0d5: Pull complete [2023-03-23T01:12:45.324Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-23T01:12:45.324Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-23T01:12:45.324Z] ---> 6cb57ee374ae [2023-03-23T01:12:45.324Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-23T01:12:47.284Z] ---> Running in b5d3b407b548 [2023-03-23T01:12:47.557Z] Removing intermediate container b5d3b407b548 [2023-03-23T01:12:47.557Z] ---> 489ac914ddfd [2023-03-23T01:12:47.557Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-23T01:12:47.557Z] ---> Running in 40a6c053fa88 [2023-03-23T01:12:47.828Z] Removing intermediate container 40a6c053fa88 [2023-03-23T01:12:47.828Z] ---> e75effa3c58b [2023-03-23T01:12:47.828Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-03-23T01:12:48.126Z] ---> Running in a3b5e289f25c [2023-03-23T01:12:48.396Z] Removing intermediate container a3b5e289f25c [2023-03-23T01:12:48.396Z] ---> 225affedbd04 [2023-03-23T01:12:48.396Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-23T01:12:48.396Z] ---> Running in f8a89174e41d [2023-03-23T01:12:48.666Z] Removing intermediate container f8a89174e41d [2023-03-23T01:12:48.666Z] ---> 88a80df0d12a [2023-03-23T01:12:48.666Z] Step 7/12 : WORKDIR /device-gpio [2023-03-23T01:12:48.937Z] ---> Running in cfa7e3762f58 [2023-03-23T01:12:49.208Z] Removing intermediate container cfa7e3762f58 [2023-03-23T01:12:49.208Z] ---> 5edf35942c2b [2023-03-23T01:12:49.208Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-23T01:12:49.208Z] ---> Running in 3a81664648af [2023-03-23T01:12:50.621Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-23T01:12:51.208Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-23T01:12:52.624Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-23T01:12:52.624Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-23T01:12:52.624Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-23T01:12:52.624Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-23T01:12:52.624Z] Executing busybox-1.35.0-r29.trigger [2023-03-23T01:12:52.624Z] OK: 268 MiB in 57 packages [2023-03-23T01:12:53.588Z] Removing intermediate container 3a81664648af [2023-03-23T01:12:53.588Z] ---> cfd65792c7c5 [2023-03-23T01:12:53.588Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-23T01:12:54.180Z] ---> 76d2792edfc3 [2023-03-23T01:12:54.180Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-23T01:12:54.180Z] ---> Running in e46319f6a81f [2023-03-23T01:14:02.064Z] Removing intermediate container e46319f6a81f [2023-03-23T01:14:02.064Z] ---> 32386505158d [2023-03-23T01:14:02.064Z] Step 11/12 : COPY . . [2023-03-23T01:14:02.064Z] ---> 053f4996eecd [2023-03-23T01:14:02.064Z] Step 12/12 : RUN ${MAKE} [2023-03-23T01:14:02.064Z] ---> Running in e57503469963 [2023-03-23T01:14:02.064Z] noop [2023-03-23T01:14:02.064Z] Removing intermediate container e57503469963 [2023-03-23T01:14:02.064Z] ---> 38c8ba1d1376 [2023-03-23T01:14:02.064Z] Successfully built 38c8ba1d1376 [2023-03-23T01:14:02.064Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T01:14:02.549Z] + docker inspect -f . ci-base-image-arm64 [2023-03-23T01:14:02.549Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T01:14:02.834Z] prd-ubuntu20.04-docker-arm64-4c-16g-5397 does not seem to be running inside a container [2023-03-23T01:14:02.902Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-23T01:14:04.071Z] $ docker top 01b87292ac7342c894367b1cf7a248a787abeb31b4d95647cb30db0f710b752e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-23T01:14:05.227Z] + go version [2023-03-23T01:14:05.227Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-23T01:14:05.268Z] $ docker stop --time=1 01b87292ac7342c894367b1cf7a248a787abeb31b4d95647cb30db0f710b752e [2023-03-23T01:14:06.940Z] $ docker rm -f --volumes 01b87292ac7342c894367b1cf7a248a787abeb31b4d95647cb30db0f710b752e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T01:14:07.811Z] + docker inspect -f . ci-base-image-arm64 [2023-03-23T01:14:07.811Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T01:14:08.088Z] prd-ubuntu20.04-docker-arm64-4c-16g-5397 does not seem to be running inside a container [2023-03-23T01:14:08.156Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-23T01:14:09.415Z] $ docker top c0ab82b7a30b8adb2ecf385c8c9a5504c15e810620a6fad7750ee99d510cdc08 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-23T01:14:10.313Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2023-03-23T01:14:11.025Z] + make test [2023-03-23T01:14:11.025Z] go test ./... -coverprofile=coverage.out ./... [2023-03-23T01:14:49.938Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-03-23T01:16:41.645Z] # github.com/edgexfoundry/device-gpio/internal/driver [2023-03-23T01:16:41.645Z] internal/driver/config.go:29:24: undefined: service.DriverConfigs [2023-03-23T01:16:41.645Z] internal/driver/config.go:34:24: undefined: service.DriverConfigs [2023-03-23T01:16:48.305Z] FAIL [2023-03-23T01:16:48.305Z] make: *** [Makefile:29: unittest] Error 1 [Pipeline] } [2023-03-23T01:16:48.353Z] $ docker stop --time=1 c0ab82b7a30b8adb2ecf385c8c9a5504c15e810620a6fad7750ee99d510cdc08 [2023-03-23T01:16:50.592Z] $ docker rm -f --volumes c0ab82b7a30b8adb2ecf385c8c9a5504c15e810620a6fad7750ee99d510cdc08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T01:16:52.464Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-23T01:16:52.465Z] [2023-03-23T01:16:52.465Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T01:16:52.891Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-23T01:16:53.162Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-23T01:16:53.162Z] 8998bd30e6a1: Pulling fs layer [2023-03-23T01:16:53.162Z] 04944245beec: Pulling fs layer [2023-03-23T01:16:53.162Z] 699f458cf7ca: Pulling fs layer [2023-03-23T01:16:53.162Z] 765212b225bb: Pulling fs layer [2023-03-23T01:16:53.162Z] f23df028b6ca: Pulling fs layer [2023-03-23T01:16:53.162Z] d65c8cfc05b1: Pulling fs layer [2023-03-23T01:16:53.162Z] 2437ff75d9bd: Pulling fs layer [2023-03-23T01:16:53.162Z] 765212b225bb: Waiting [2023-03-23T01:16:53.162Z] f23df028b6ca: Waiting [2023-03-23T01:16:53.162Z] d65c8cfc05b1: Waiting [2023-03-23T01:16:53.162Z] 2437ff75d9bd: Waiting [2023-03-23T01:16:53.162Z] 04944245beec: Verifying Checksum [2023-03-23T01:16:53.162Z] 04944245beec: Download complete [2023-03-23T01:16:53.162Z] 765212b225bb: Verifying Checksum [2023-03-23T01:16:53.162Z] 765212b225bb: Download complete [2023-03-23T01:16:53.434Z] f23df028b6ca: Verifying Checksum [2023-03-23T01:16:53.435Z] f23df028b6ca: Download complete [2023-03-23T01:16:53.435Z] d65c8cfc05b1: Verifying Checksum [2023-03-23T01:16:53.435Z] d65c8cfc05b1: Download complete [2023-03-23T01:16:53.435Z] 699f458cf7ca: Verifying Checksum [2023-03-23T01:16:53.435Z] 699f458cf7ca: Download complete [2023-03-23T01:16:54.022Z] 8998bd30e6a1: Verifying Checksum [2023-03-23T01:16:54.022Z] 8998bd30e6a1: Download complete [2023-03-23T01:16:57.386Z] 2437ff75d9bd: Verifying Checksum [2023-03-23T01:16:57.386Z] 2437ff75d9bd: Download complete [2023-03-23T01:16:59.984Z] 8998bd30e6a1: Pull complete [2023-03-23T01:17:00.948Z] 04944245beec: Pull complete [2023-03-23T01:17:03.533Z] 699f458cf7ca: Pull complete [2023-03-23T01:17:03.802Z] 765212b225bb: Pull complete [2023-03-23T01:17:05.218Z] f23df028b6ca: Pull complete [2023-03-23T01:17:05.488Z] d65c8cfc05b1: Pull complete [2023-03-23T01:17:23.723Z] 2437ff75d9bd: Pull complete [2023-03-23T01:17:23.723Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-23T01:17:23.723Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-23T01:17:23.723Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T01:17:24.198Z] prd-ubuntu20.04-docker-arm64-4c-16g-5397 does not seem to be running inside a container [2023-03-23T01:17:24.268Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-23T01:17:26.764Z] $ docker top 832c8bc987c2d6fbcaa975a0e85dc4c0925ab2b773e20903920b3dbab418ffcd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-23T01:17:27.677Z] ---> job-cost.sh [2023-03-23T01:17:27.677Z] lf-activate-venv: SKIPPING [2023-03-23T01:17:27.677Z] INFO: No Stack... [2023-03-23T01:17:27.951Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-23T01:17:28.915Z] INFO: Archiving Costs [Pipeline] sh [2023-03-23T01:17:29.582Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2023-03-23T01:17:29.582Z] + cut -d, -f6 [Pipeline] lock [2023-03-23T01:17:29.669Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-138-1-stack-cost] [2023-03-23T01:17:29.674Z] Resource [jenkins-edgexfoundry-device-gpio-PR-138-1-stack-cost] did not exist. Created. [2023-03-23T01:17:29.674Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-138-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-23T01:17:30.415Z] /w/workspace/device-gpio/1@tmp/durable-83a5f94b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-23T01:17:30.771Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-23T01:17:30.805Z] Warning: overwriting stash ‘stack-cost’ [2023-03-23T01:17:31.296Z] Stashed 1 file(s) [Pipeline] } [2023-03-23T01:17:31.313Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-138-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-23T01:17:31.395Z] $ docker stop --time=1 832c8bc987c2d6fbcaa975a0e85dc4c0925ab2b773e20903920b3dbab418ffcd [2023-03-23T01:17:32.952Z] $ docker rm -f --volumes 832c8bc987c2d6fbcaa975a0e85dc4c0925ab2b773e20903920b3dbab418ffcd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-23T01:17:33.709Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-23T01:17:36.017Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-138/archives ] [2023-03-23T01:17:36.017Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-138/archives [2023-03-23T01:17:36.017Z] total 16 [2023-03-23T01:17:36.017Z] drwxr-xr-x 3 root root 4096 Mar 23 01:10 . [2023-03-23T01:17:36.017Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 23 01:10 .. [2023-03-23T01:17:36.017Z] drwxr-xr-x 2 root root 4096 Mar 23 01:10 cost [2023-03-23T01:17:36.017Z] -rw-r--r-- 1 root root 83 Mar 23 01:10 cost.csv [2023-03-23T01:17:36.017Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-138/archives [2023-03-23T01:17:36.017Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-138/archives [2023-03-23T01:17:36.017Z] total 16 [2023-03-23T01:17:36.017Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 23 01:10 . [2023-03-23T01:17:36.017Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 23 01:10 .. [2023-03-23T01:17:36.017Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 23 01:10 cost [2023-03-23T01:17:36.017Z] -rw-r--r-- 1 jenkins jenkins 83 Mar 23 01:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-23T01:17:36.344Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-23T01:17:37.243Z] ---> package-listing.sh [2023-03-23T01:17:37.243Z] ++ facter osfamily [2023-03-23T01:17:37.243Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-23T01:17:37.503Z] + OS_FAMILY=debian [2023-03-23T01:17:37.503Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-138 [2023-03-23T01:17:37.503Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-23T01:17:37.503Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-23T01:17:37.503Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-23T01:17:37.503Z] + PACKAGES=/tmp/packages_start.txt [2023-03-23T01:17:37.503Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-138 ']' [2023-03-23T01:17:37.503Z] + PACKAGES=/tmp/packages_end.txt [2023-03-23T01:17:37.503Z] + case "${OS_FAMILY}" in [2023-03-23T01:17:37.503Z] + dpkg -l [2023-03-23T01:17:37.503Z] + grep '^ii' [2023-03-23T01:17:37.503Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-23T01:17:37.503Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-23T01:17:37.503Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-23T01:17:37.503Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-138 ']' [2023-03-23T01:17:37.503Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-138/archives/ [2023-03-23T01:17:37.503Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-138/archives/ [Pipeline] echo [2023-03-23T01:17:37.533Z] 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-138/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-23T01:17:37.824Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T01:17:38.452Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-23T01:17:38.452Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T01:17:38.596Z] prd-ubuntu20.04-docker-8c-8g-5393 does not seem to be running inside a container [2023-03-23T01:17:38.629Z] $ 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-138/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-138 -v /w/workspace/edgexfoundry_device-gpio_PR-138:/w/workspace/edgexfoundry_device-gpio_PR-138:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-138@tmp:/w/workspace/edgexfoundry_device-gpio_PR-138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-23T01:17:38.830Z] $ docker top 88a73c45471579da151fd1261a6c956fb9ef9193dc7b3f7989467d4b0c3b2387 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-23T01:17:39.209Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-23T01:17:39.524Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-23T01:17:39.831Z] + ls /var/log/sa-host [2023-03-23T01:17:39.831Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-23T01:17:40.050Z] provisioning config files... [2023-03-23T01:17:40.059Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-138@tmp/config128440041069939501tmp [Pipeline] { [Pipeline] echo [2023-03-23T01:17:40.106Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-23T01:17:40.418Z] ---> create-netrc.sh [Pipeline] } [2023-03-23T01:17:40.477Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-23T01:17:40.875Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-23T01:17:40.913Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-23T01:17:41.226Z] ---> sudo-logs.sh [2023-03-23T01:17:41.226Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-23T01:17:41.315Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-23T01:17:41.630Z] ---> job-cost.sh [2023-03-23T01:17:41.630Z] lf-activate-venv: SKIPPING [2023-03-23T01:17:41.630Z] DEBUG: total: 0.2199999988079071 [2023-03-23T01:17:41.630Z] INFO: Retrieving Stack Cost... [2023-03-23T01:17:41.890Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-23T01:17:42.150Z] INFO: Archiving Costs [Pipeline] echo [2023-03-23T01:17:42.185Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-23T01:17:42.497Z] ---> logs-deploy.sh [2023-03-23T01:17:42.497Z] lf-activate-venv: SKIPPING [2023-03-23T01:17:42.497Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-138/1 [2023-03-23T01:17:42.497Z] INFO: archiving workspace using pattern(s): [2023-03-23T01:17:43.437Z] Archives upload complete. [2023-03-23T01:17:43.437Z] INFO: archiving logs to Nexus