Pull request #112 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9b1557ad6b70cde6e53bbafb9cad8867ad40d576+192d2e5d52be7054ee8f5929c78a4d9d1a66e905 (95ba90cde9f5fa03fb85df5447bb0c5cf7f26eeb) 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-ssh17719081141123646755.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4328488439914139133.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-112/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-112/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4051789008564098621.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-112/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8898412960517779765.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4485216933945608343.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-112/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-112/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3664147008087436045.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7837’ Running on prd-ubuntu20.04-docker-8c-8g-7842 in /w/workspace/edgexfoundry_device-gpio_PR-112 [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-112 # 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/112/head:refs/remotes/origin/PR-112 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 into PR head commit 9b1557ad6b70cde6e53bbafb9cad8867ad40d576 Merge succeeded, producing 9b1557ad6b70cde6e53bbafb9cad8867ad40d576 Checking out Revision 9b1557ad6b70cde6e53bbafb9cad8867ad40d576 (PR-112) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 9b1557ad6b70cde6e53bbafb9cad8867ad40d576 # 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 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9b1557ad6b70cde6e53bbafb9cad8867ad40d576 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-01T01:15:05.091Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-01T01:15:05.283Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-01T01:15:05.389Z] ========================================================= [2023-03-01T01:15:05.389Z] EdgeX Global Pipelines Version Info [2023-03-01T01:15:05.389Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-01T01:15:06.145Z] ------------------- [2023-03-01T01:15:06.146Z] stable info: [2023-03-01T01:15:06.146Z] ------------------- [2023-03-01T01:15:06.146Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-01T01:15:06.146Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-01T01:15:06.146Z] Message: update stable to v1.0.244 [2023-03-01T01:15:06.720Z] ------------------- [2023-03-01T01:15:06.720Z] experimental info: [2023-03-01T01:15:06.720Z] ------------------- [2023-03-01T01:15:06.720Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-01T01:15:06.720Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-01T01:15:06.720Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-01T01:15:07.036Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-03-01T01:15:07.083Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-03-01T01:15:07.125Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-01T01:15:07.216Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-01T01:15:07.258Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-01T01:15:07.306Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-01T01:15:07.348Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-01T01:15:07.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-01T01:15:07.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-01T01:15:07.479Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-01T01:15:07.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-01T01:15:07.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-03-01T01:15:07.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-01T01:15:07.666Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-01T01:15:07.705Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-01T01:15:07.745Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-01T01:15:07.786Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-01T01:15:07.827Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-01T01:15:07.871Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-01T01:15:07.914Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-01T01:15:07.959Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-01T01:15:08.000Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-01T01:15:08.040Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-01T01:15:08.083Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-01T01:15:08.195Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-01T01:15:08.257Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-01T01:15:08.299Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-01T01:15:08.341Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-112 [Pipeline] echo [2023-03-01T01:15:08.385Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-112 [Pipeline] echo [2023-03-01T01:15:08.431Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-112 [Pipeline] echo [2023-03-01T01:15:08.475Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9b1557ad6b70cde6e53bbafb9cad8867ad40d576 [Pipeline] echo [2023-03-01T01:15:08.525Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9b1557a [Pipeline] echo [2023-03-01T01:15:08.566Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T01:15:08.691Z] provisioning config files... [2023-03-01T01:15:08.705Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-112@tmp/config17874888611621184147tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T01:15:09.055Z] ---> docker-login.sh [2023-03-01T01:15:09.056Z] nexus3.edgexfoundry.org:10001 [2023-03-01T01:15:09.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T01:15:09.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T01:15:09.317Z] Configure a credential helper to remove this warning. See [2023-03-01T01:15:09.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T01:15:09.317Z] [2023-03-01T01:15:09.317Z] Login Succeeded [2023-03-01T01:15:09.317Z] nexus3.edgexfoundry.org:10002 [2023-03-01T01:15:09.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T01:15:09.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T01:15:09.317Z] Configure a credential helper to remove this warning. See [2023-03-01T01:15:09.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T01:15:09.317Z] [2023-03-01T01:15:09.317Z] Login Succeeded [2023-03-01T01:15:09.317Z] nexus3.edgexfoundry.org:10003 [2023-03-01T01:15:09.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T01:15:09.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T01:15:09.577Z] Configure a credential helper to remove this warning. See [2023-03-01T01:15:09.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T01:15:09.577Z] [2023-03-01T01:15:09.577Z] Login Succeeded [2023-03-01T01:15:09.577Z] nexus3.edgexfoundry.org:10004 [2023-03-01T01:15:09.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T01:15:09.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T01:15:09.577Z] Configure a credential helper to remove this warning. See [2023-03-01T01:15:09.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T01:15:09.577Z] [2023-03-01T01:15:09.577Z] Login Succeeded [2023-03-01T01:15:09.577Z] docker.io [2023-03-01T01:15:09.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T01:15:09.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T01:15:09.837Z] Configure a credential helper to remove this warning. See [2023-03-01T01:15:09.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T01:15:09.837Z] [2023-03-01T01:15:09.837Z] Login Succeeded [2023-03-01T01:15:09.837Z] ---> docker-login.sh ends [Pipeline] } [2023-03-01T01:15:09.866Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-01T01:15:10.516Z] + git rev-list -1 --merges 9b1557ad6b70cde6e53bbafb9cad8867ad40d576~1..9b1557ad6b70cde6e53bbafb9cad8867ad40d576 [Pipeline] echo [2023-03-01T01:15:10.588Z] -----------> git rev-list -1 --merges 9b1557ad6b70cde6e53bbafb9cad8867ad40d576~1..9b1557ad6b70cde6e53bbafb9cad8867ad40d576 9b1557ad6b70cde6e53bbafb9cad8867ad40d576 [false] [Pipeline] sh [2023-03-01T01:15:10.906Z] + git log --format=format:%s -1 9b1557ad6b70cde6e53bbafb9cad8867ad40d576 [Pipeline] echo [2023-03-01T01:15:10.946Z] ========================================================= [2023-03-01T01:15:10.946Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-01T01:15:10.946Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-01T01:15:11.459Z] + git log --format=format:%s -1 9b1557ad6b70cde6e53bbafb9cad8867ad40d576 [Pipeline] echo [2023-03-01T01:15:11.495Z] [semverPrep] GIT_COMMIT: 9b1557ad6b70cde6e53bbafb9cad8867ad40d576, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-03-01T01:15:11.534Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-01T01:15:11.916Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-01T01:15:11.917Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-01T01:15:11.917Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-01T01:15:11.917Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-01T01:15:11.917Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-01T01:15:11.917Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-01T01:15:11.917Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T01:15:12.339Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-01T01:15:12.339Z] [2023-03-01T01:15:12.339Z] 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-01T01:15:12.730Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-01T01:15:12.730Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-01T01:15:12.730Z] b85a868b505f: Pulling fs layer [2023-03-01T01:15:12.730Z] e2be974225ed: Pulling fs layer [2023-03-01T01:15:12.730Z] 339a4e72a1f5: Pulling fs layer [2023-03-01T01:15:12.730Z] 988bab9f4d93: Pulling fs layer [2023-03-01T01:15:12.730Z] 1469e6f7b9e6: Pulling fs layer [2023-03-01T01:15:12.730Z] eaf3925da568: Pulling fs layer [2023-03-01T01:15:12.730Z] bab4dde63d76: Pulling fs layer [2023-03-01T01:15:12.730Z] bde34c3a00c8: Pulling fs layer [2023-03-01T01:15:12.730Z] b352a97aabf1: Pulling fs layer [2023-03-01T01:15:12.730Z] 4872d77fe225: Pulling fs layer [2023-03-01T01:15:12.730Z] 5851b861e8e6: Pulling fs layer [2023-03-01T01:15:12.730Z] eaf3925da568: Waiting [2023-03-01T01:15:12.730Z] 4872d77fe225: Waiting [2023-03-01T01:15:12.730Z] 5851b861e8e6: Waiting [2023-03-01T01:15:12.730Z] bab4dde63d76: Waiting [2023-03-01T01:15:12.730Z] 988bab9f4d93: Waiting [2023-03-01T01:15:12.730Z] bde34c3a00c8: Waiting [2023-03-01T01:15:12.730Z] 1469e6f7b9e6: Waiting [2023-03-01T01:15:12.730Z] b352a97aabf1: Waiting [2023-03-01T01:15:12.730Z] e2be974225ed: Verifying Checksum [2023-03-01T01:15:12.730Z] e2be974225ed: Download complete [2023-03-01T01:15:12.730Z] 988bab9f4d93: Download complete [2023-03-01T01:15:12.992Z] 339a4e72a1f5: Verifying Checksum [2023-03-01T01:15:12.992Z] 339a4e72a1f5: Download complete [2023-03-01T01:15:12.992Z] 1469e6f7b9e6: Verifying Checksum [2023-03-01T01:15:12.992Z] 1469e6f7b9e6: Download complete [2023-03-01T01:15:12.992Z] eaf3925da568: Verifying Checksum [2023-03-01T01:15:12.992Z] eaf3925da568: Download complete [2023-03-01T01:15:12.992Z] bde34c3a00c8: Verifying Checksum [2023-03-01T01:15:12.992Z] bde34c3a00c8: Download complete [2023-03-01T01:15:12.992Z] b352a97aabf1: Verifying Checksum [2023-03-01T01:15:12.992Z] b352a97aabf1: Download complete [2023-03-01T01:15:12.992Z] 4872d77fe225: Verifying Checksum [2023-03-01T01:15:12.992Z] 4872d77fe225: Download complete [2023-03-01T01:15:12.992Z] 5851b861e8e6: Verifying Checksum [2023-03-01T01:15:12.992Z] 5851b861e8e6: Download complete [2023-03-01T01:15:13.251Z] b85a868b505f: Verifying Checksum [2023-03-01T01:15:13.251Z] b85a868b505f: Download complete [2023-03-01T01:15:13.509Z] bab4dde63d76: Verifying Checksum [2023-03-01T01:15:13.509Z] bab4dde63d76: Download complete [2023-03-01T01:15:14.447Z] b85a868b505f: Pull complete [2023-03-01T01:15:14.706Z] e2be974225ed: Pull complete [2023-03-01T01:15:15.276Z] 339a4e72a1f5: Pull complete [2023-03-01T01:15:15.276Z] 988bab9f4d93: Pull complete [2023-03-01T01:15:15.534Z] 1469e6f7b9e6: Pull complete [2023-03-01T01:15:15.534Z] eaf3925da568: Pull complete [2023-03-01T01:15:17.439Z] bab4dde63d76: Pull complete [2023-03-01T01:15:17.439Z] bde34c3a00c8: Pull complete [2023-03-01T01:15:17.699Z] b352a97aabf1: Pull complete [2023-03-01T01:15:17.699Z] 4872d77fe225: Pull complete [2023-03-01T01:15:17.699Z] 5851b861e8e6: Pull complete [2023-03-01T01:15:17.699Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-01T01:15:17.699Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-01T01:15:17.699Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T01:15:17.905Z] prd-ubuntu20.04-docker-8c-8g-7842 does not seem to be running inside a container [2023-03-01T01:15:17.946Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-112 -v /w/workspace/edgexfoundry_device-gpio_PR-112:/w/workspace/edgexfoundry_device-gpio_PR-112:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-112@tmp:/w/workspace/edgexfoundry_device-gpio_PR-112@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-01T01:15:19.406Z] $ docker top b6bf5e46ccfe64799345dd615af7f626fc549b2e0c446c4d3b4b94571018b661 -eo pid,comm [2023-03-01T01:15:19.462Z] 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-01T01:15:19.462Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-01T01:15:19.606Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-01T01:15:19.606Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-01T01:15:19.727Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-01T01:15:19.734Z] $ docker exec b6bf5e46ccfe64799345dd615af7f626fc549b2e0c446c4d3b4b94571018b661 ssh-agent [2023-03-01T01:15:19.851Z] SSH_AUTH_SOCK=/tmp/ssh-kwQd3G0ab1zt/agent.31 [2023-03-01T01:15:19.851Z] SSH_AGENT_PID=37 [2023-03-01T01:15:19.858Z] Running ssh-add (command line suppressed) [2023-03-01T01:15:19.969Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-112@tmp/private_key_11979515426704164710.key (/w/workspace/edgexfoundry_device-gpio_PR-112@tmp/private_key_11979515426704164710.key) [2023-03-01T01:15:19.980Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-01T01:15:20.324Z] + git tag --points-at HEAD [Pipeline] } [2023-03-01T01:15:20.361Z] $ docker exec --env ******** --env ******** b6bf5e46ccfe64799345dd615af7f626fc549b2e0c446c4d3b4b94571018b661 ssh-agent -k [2023-03-01T01:15:20.464Z] unset SSH_AUTH_SOCK; [2023-03-01T01:15:20.465Z] unset SSH_AGENT_PID; [2023-03-01T01:15:20.465Z] echo Agent pid 37 killed; [2023-03-01T01:15:20.470Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-01T01:15:20.573Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-01T01:15:20.573Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-01T01:15:20.684Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-01T01:15:20.691Z] $ docker exec b6bf5e46ccfe64799345dd615af7f626fc549b2e0c446c4d3b4b94571018b661 ssh-agent [2023-03-01T01:15:20.797Z] SSH_AUTH_SOCK=/tmp/ssh-CgjVTQu6IlBA/agent.70 [2023-03-01T01:15:20.797Z] SSH_AGENT_PID=76 [2023-03-01T01:15:20.802Z] Running ssh-add (command line suppressed) [2023-03-01T01:15:20.921Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-112@tmp/private_key_7505520633727518391.key (/w/workspace/edgexfoundry_device-gpio_PR-112@tmp/private_key_7505520633727518391.key) [2023-03-01T01:15:20.932Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-01T01:15:21.264Z] + git semver init [2023-03-01T01:15:21.836Z] 2023-03-01 01:15:21,535 [run_init] DEBUG init version:0.0.0 force:False [2023-03-01T01:15:21.836Z] 2023-03-01 01:15:21,536 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-112/.semver [2023-03-01T01:15:21.836Z] 2023-03-01 01:15:21,536 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-112/.semver [2023-03-01T01:15:21.836Z] 2023-03-01 01:15:21,536 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-112/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-112, universal_newlines=False, shell=None, istream=None) [2023-03-01T01:15:22.793Z] 2023-03-01 01:15:22,567 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-112/.git/info/exclude [2023-03-01T01:15:22.793Z] 2023-03-01 01:15:22,568 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-112/.semver/PR-112 with force:False [2023-03-01T01:15:22.793Z] 2023-03-01 01:15:22,568 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-112/.semver/PR-112 [2023-03-01T01:15:22.793Z] 2023-03-01 01:15:22,572 [execute] INFO git cat-file --batch-check [2023-03-01T01:15:22.793Z] 2023-03-01 01:15:22,573 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-112/.semver, universal_newlines=False, shell=None, istream=) [2023-03-01T01:15:22.793Z] 2023-03-01 01:15:22,579 [execute] INFO git cat-file --batch [2023-03-01T01:15:22.793Z] 2023-03-01 01:15:22,580 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-112/.semver, universal_newlines=False, shell=None, istream=) [2023-03-01T01:15:22.793Z] 2023-03-01 01:15:22,586 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-112/.semver/PR-112 [2023-03-01T01:15:22.793Z] 0.0.0 [Pipeline] } [2023-03-01T01:15:22.856Z] $ docker exec --env ******** --env ******** b6bf5e46ccfe64799345dd615af7f626fc549b2e0c446c4d3b4b94571018b661 ssh-agent -k [2023-03-01T01:15:22.954Z] unset SSH_AUTH_SOCK; [2023-03-01T01:15:22.955Z] unset SSH_AGENT_PID; [2023-03-01T01:15:22.955Z] echo Agent pid 76 killed; [2023-03-01T01:15:22.962Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-01T01:15:23.433Z] + git semver [Pipeline] } [2023-03-01T01:15:23.726Z] $ docker stop --time=1 b6bf5e46ccfe64799345dd615af7f626fc549b2e0c446c4d3b4b94571018b661 [2023-03-01T01:15:25.026Z] $ docker rm -f --volumes b6bf5e46ccfe64799345dd615af7f626fc549b2e0c446c4d3b4b94571018b661 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-01T01:15:25.436Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-01T01:15:25.715Z] Stashed 1 file(s) [Pipeline] echo [2023-03-01T01:15:25.739Z] [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-01T01:15:26.330Z] provisioning config files... [2023-03-01T01:15:26.340Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-112@tmp/config3337225328702077995tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T01:15:26.713Z] ---> docker-login.sh [2023-03-01T01:15:26.713Z] nexus3.edgexfoundry.org:10001 [2023-03-01T01:15:26.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T01:15:26.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T01:15:26.713Z] Configure a credential helper to remove this warning. See [2023-03-01T01:15:26.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T01:15:26.713Z] [2023-03-01T01:15:26.713Z] Login Succeeded [2023-03-01T01:15:26.713Z] nexus3.edgexfoundry.org:10002 [2023-03-01T01:15:26.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T01:15:26.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T01:15:26.713Z] Configure a credential helper to remove this warning. See [2023-03-01T01:15:26.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T01:15:26.713Z] [2023-03-01T01:15:26.713Z] Login Succeeded [2023-03-01T01:15:26.713Z] nexus3.edgexfoundry.org:10003 [2023-03-01T01:15:26.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T01:15:26.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T01:15:26.971Z] Configure a credential helper to remove this warning. See [2023-03-01T01:15:26.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T01:15:26.971Z] [2023-03-01T01:15:26.971Z] Login Succeeded [2023-03-01T01:15:26.971Z] nexus3.edgexfoundry.org:10004 [2023-03-01T01:15:26.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T01:15:26.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T01:15:26.971Z] Configure a credential helper to remove this warning. See [2023-03-01T01:15:26.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T01:15:26.971Z] [2023-03-01T01:15:26.971Z] Login Succeeded [2023-03-01T01:15:26.971Z] docker.io [2023-03-01T01:15:27.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T01:15:27.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T01:15:27.491Z] Configure a credential helper to remove this warning. See [2023-03-01T01:15:27.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T01:15:27.491Z] [2023-03-01T01:15:27.491Z] Login Succeeded [2023-03-01T01:15:27.491Z] ---> docker-login.sh ends [Pipeline] } [2023-03-01T01:15:27.528Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-01T01:15:27.710Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T01:15:27.753Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T01:15:27.790Z] ========================================================= [2023-03-01T01:15:27.790Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-01T01:15:27.790Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T01:15:28.247Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-01T01:15:28.247Z] Sending build context to Docker daemon 16MB [2023-03-01T01:15:28.247Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-01T01:15:28.247Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-01T01:15:28.507Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-01T01:15:28.507Z] 213ec9aee27d: Pulling fs layer [2023-03-01T01:15:28.507Z] 4583459ba037: Pulling fs layer [2023-03-01T01:15:28.507Z] 93c1e223e6f2: Pulling fs layer [2023-03-01T01:15:28.507Z] 53926ce57604: Pulling fs layer [2023-03-01T01:15:28.507Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-01T01:15:28.507Z] 22ff95d597cd: Pulling fs layer [2023-03-01T01:15:28.507Z] 12d6caf4c0d1: Pulling fs layer [2023-03-01T01:15:28.507Z] 96b7cbca73a9: Pulling fs layer [2023-03-01T01:15:28.507Z] a7acece74701: Pulling fs layer [2023-03-01T01:15:28.507Z] 21b2b0c7a3f4: Waiting [2023-03-01T01:15:28.507Z] 22ff95d597cd: Waiting [2023-03-01T01:15:28.507Z] 12d6caf4c0d1: Waiting [2023-03-01T01:15:28.507Z] 96b7cbca73a9: Waiting [2023-03-01T01:15:28.507Z] a7acece74701: Waiting [2023-03-01T01:15:28.507Z] 53926ce57604: Waiting [2023-03-01T01:15:28.507Z] 93c1e223e6f2: Verifying Checksum [2023-03-01T01:15:28.507Z] 93c1e223e6f2: Download complete [2023-03-01T01:15:28.507Z] 4583459ba037: Verifying Checksum [2023-03-01T01:15:28.507Z] 4583459ba037: Download complete [2023-03-01T01:15:28.507Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-01T01:15:28.507Z] 21b2b0c7a3f4: Download complete [2023-03-01T01:15:28.507Z] 22ff95d597cd: Verifying Checksum [2023-03-01T01:15:28.507Z] 22ff95d597cd: Download complete [2023-03-01T01:15:28.507Z] 213ec9aee27d: Verifying Checksum [2023-03-01T01:15:28.507Z] 213ec9aee27d: Download complete [2023-03-01T01:15:28.507Z] 12d6caf4c0d1: Verifying Checksum [2023-03-01T01:15:28.507Z] 12d6caf4c0d1: Download complete [2023-03-01T01:15:28.772Z] 213ec9aee27d: Pull complete [2023-03-01T01:15:28.772Z] 4583459ba037: Pull complete [2023-03-01T01:15:29.031Z] 93c1e223e6f2: Pull complete [2023-03-01T01:15:29.031Z] a7acece74701: Verifying Checksum [2023-03-01T01:15:29.031Z] a7acece74701: Download complete [2023-03-01T01:15:29.290Z] 96b7cbca73a9: Verifying Checksum [2023-03-01T01:15:29.290Z] 96b7cbca73a9: Download complete [2023-03-01T01:15:29.290Z] 53926ce57604: Verifying Checksum [2023-03-01T01:15:29.290Z] 53926ce57604: Download complete [2023-03-01T01:15:33.477Z] 53926ce57604: Pull complete [2023-03-01T01:15:33.477Z] 21b2b0c7a3f4: Pull complete [2023-03-01T01:15:33.477Z] 22ff95d597cd: Pull complete [2023-03-01T01:15:33.477Z] 12d6caf4c0d1: Pull complete [2023-03-01T01:15:36.009Z] 96b7cbca73a9: Pull complete [2023-03-01T01:15:36.577Z] a7acece74701: Pull complete [2023-03-01T01:15:36.577Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-01T01:15:36.577Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-01T01:15:36.577Z] ---> db6d94c90886 [2023-03-01T01:15:36.577Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-01T01:15:38.488Z] ---> Running in e908f7ca25a5 [2023-03-01T01:15:38.488Z] Removing intermediate container e908f7ca25a5 [2023-03-01T01:15:38.488Z] ---> 791140cb10da [2023-03-01T01:15:38.488Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-01T01:15:38.488Z] ---> Running in 17a1698b9775 [2023-03-01T01:15:38.488Z] Removing intermediate container 17a1698b9775 [2023-03-01T01:15:38.488Z] ---> 977e5799549d [2023-03-01T01:15:38.488Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-03-01T01:15:38.488Z] ---> Running in f9bc3c88e78d [2023-03-01T01:15:38.488Z] Removing intermediate container f9bc3c88e78d [2023-03-01T01:15:38.488Z] ---> bf184910de93 [2023-03-01T01:15:38.488Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-01T01:15:38.488Z] ---> Running in 88e9a4110ca4 [2023-03-01T01:15:38.748Z] Removing intermediate container 88e9a4110ca4 [2023-03-01T01:15:38.748Z] ---> 9d5c49d294ee [2023-03-01T01:15:38.748Z] Step 7/12 : WORKDIR /device-gpio [2023-03-01T01:15:38.748Z] ---> Running in fa70e772d200 [2023-03-01T01:15:38.748Z] Removing intermediate container fa70e772d200 [2023-03-01T01:15:38.748Z] ---> 1ed7f21567d8 [2023-03-01T01:15:38.748Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-01T01:15:39.010Z] ---> Running in 4a82e4c0a4af [2023-03-01T01:15:39.268Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-01T01:15:39.268Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-01T01:15:39.528Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-01T01:15:39.528Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-01T01:15:39.528Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-01T01:15:39.528Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-01T01:15:39.528Z] Executing busybox-1.35.0-r17.trigger [2023-03-01T01:15:39.528Z] OK: 216 MiB in 55 packages [2023-03-01T01:15:40.104Z] Removing intermediate container 4a82e4c0a4af [2023-03-01T01:15:40.104Z] ---> 75aa8b6af284 [2023-03-01T01:15:40.104Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-01T01:15:40.365Z] ---> c2781a0894db [2023-03-01T01:15:40.365Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-01T01:15:40.365Z] ---> Running in 6fc1a1644289 [2023-03-01T01:15:41.124Z] Still waiting to schedule task [2023-03-01T01:15:41.124Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7838’ [2023-03-01T01:16:06.940Z] Removing intermediate container 6fc1a1644289 [2023-03-01T01:16:06.940Z] ---> 924003f24a00 [2023-03-01T01:16:06.940Z] Step 11/12 : COPY . . [2023-03-01T01:16:06.940Z] ---> 5a453d988911 [2023-03-01T01:16:06.940Z] Step 12/12 : RUN ${MAKE} [2023-03-01T01:16:06.940Z] ---> Running in ae74da22318f [2023-03-01T01:16:06.940Z] noop [2023-03-01T01:16:06.940Z] Removing intermediate container ae74da22318f [2023-03-01T01:16:06.940Z] ---> d426f2318f9e [2023-03-01T01:16:06.940Z] Successfully built d426f2318f9e [2023-03-01T01:16:06.940Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T01:16:07.399Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-01T01:16:07.399Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T01:16:07.574Z] prd-ubuntu20.04-docker-8c-8g-7842 does not seem to be running inside a container [2023-03-01T01:16:07.607Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-112 -v /w/workspace/edgexfoundry_device-gpio_PR-112:/w/workspace/edgexfoundry_device-gpio_PR-112:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-112@tmp:/w/workspace/edgexfoundry_device-gpio_PR-112@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-01T01:16:07.992Z] $ docker top 47717f05c42b950d91222a7d737a247e5a37dac5becea925f597c8ae4fc87502 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T01:16:08.387Z] + go version [2023-03-01T01:16:08.387Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-01T01:16:08.420Z] $ docker stop --time=1 47717f05c42b950d91222a7d737a247e5a37dac5becea925f597c8ae4fc87502 [2023-03-01T01:16:09.735Z] $ docker rm -f --volumes 47717f05c42b950d91222a7d737a247e5a37dac5becea925f597c8ae4fc87502 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T01:16:10.468Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-01T01:16:10.468Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T01:16:10.624Z] prd-ubuntu20.04-docker-8c-8g-7842 does not seem to be running inside a container [2023-03-01T01:16:10.654Z] $ 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-112 -v /w/workspace/edgexfoundry_device-gpio_PR-112:/w/workspace/edgexfoundry_device-gpio_PR-112:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-112@tmp:/w/workspace/edgexfoundry_device-gpio_PR-112@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-01T01:16:11.011Z] $ docker top 2a7c3aa47e651cde05d3a7209718179fda20456a604f94e5681fb964094350f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T01:16:11.401Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-112 [Pipeline] fileExists [Pipeline] sh [2023-03-01T01:16:11.761Z] + make test [2023-03-01T01:16:11.761Z] go test ./... -coverprofile=coverage.out ./... [2023-03-01T01:16:12.018Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-03-01T01:16:18.570Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-03-01T01:16:18.570Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: [2023-03-01T01:16:18.570Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-03-01T01:16:18.570Z] have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-03-01T01:16:18.570Z] want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-03-01T01:16:18.570Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-03-01T01:16:20.472Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/common [2023-03-01T01:16:20.472Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/common/utils.go:43:3: unknown field 'LastConnected' in struct literal of type dtos.UpdateDevice [2023-03-01T01:16:20.472Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/common/utils.go:99:25: not enough arguments in call to ec.Add [2023-03-01T01:16:20.472Z] have (context.Context, requests.AddEventRequest) [2023-03-01T01:16:20.472Z] want (context.Context, string, requests.AddEventRequest) [2023-03-01T01:16:20.731Z] make: *** [Makefile:29: unittest] Error 2 [Pipeline] } [2023-03-01T01:16:20.776Z] $ docker stop --time=1 2a7c3aa47e651cde05d3a7209718179fda20456a604f94e5681fb964094350f4 [2023-03-01T01:16:22.759Z] $ docker rm -f --volumes 2a7c3aa47e651cde05d3a7209718179fda20456a604f94e5681fb964094350f4 [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-01T01:16:24.015Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T01:16:24.015Z] [2023-03-01T01:16:24.015Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T01:16:24.393Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T01:16:24.393Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-01T01:16:24.393Z] 5eb5b503b376: Pulling fs layer [2023-03-01T01:16:24.393Z] 5c69ac0246d0: Pulling fs layer [2023-03-01T01:16:24.393Z] ec43610c2a17: Pulling fs layer [2023-03-01T01:16:24.393Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-01T01:16:24.393Z] 33b1e0a273af: Pulling fs layer [2023-03-01T01:16:24.393Z] 5d3b04190fa2: Pulling fs layer [2023-03-01T01:16:24.393Z] 33b1e0a273af: Waiting [2023-03-01T01:16:24.393Z] 2f39f015ded8: Pulling fs layer [2023-03-01T01:16:24.393Z] 3a2ae6a8a46f: Waiting [2023-03-01T01:16:24.393Z] 2f39f015ded8: Waiting [2023-03-01T01:16:24.393Z] 5d3b04190fa2: Waiting [2023-03-01T01:16:24.393Z] 5c69ac0246d0: Download complete [2023-03-01T01:16:24.393Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-01T01:16:24.393Z] 3a2ae6a8a46f: Download complete [2023-03-01T01:16:24.653Z] 33b1e0a273af: Verifying Checksum [2023-03-01T01:16:24.653Z] 33b1e0a273af: Download complete [2023-03-01T01:16:24.653Z] ec43610c2a17: Verifying Checksum [2023-03-01T01:16:24.653Z] ec43610c2a17: Download complete [2023-03-01T01:16:24.653Z] 5d3b04190fa2: Download complete [2023-03-01T01:16:24.653Z] 5eb5b503b376: Verifying Checksum [2023-03-01T01:16:24.653Z] 5eb5b503b376: Download complete [2023-03-01T01:16:25.585Z] 2f39f015ded8: Download complete [2023-03-01T01:16:25.844Z] 5eb5b503b376: Pull complete [2023-03-01T01:16:26.101Z] 5c69ac0246d0: Pull complete [2023-03-01T01:16:26.673Z] ec43610c2a17: Pull complete [2023-03-01T01:16:26.673Z] 3a2ae6a8a46f: Pull complete [2023-03-01T01:16:26.930Z] 33b1e0a273af: Pull complete [2023-03-01T01:16:26.930Z] 5d3b04190fa2: Pull complete [2023-03-01T01:16:32.312Z] 2f39f015ded8: Pull complete [2023-03-01T01:16:32.312Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-01T01:16:32.312Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T01:16:32.312Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T01:16:32.556Z] prd-ubuntu20.04-docker-8c-8g-7842 does not seem to be running inside a container [2023-03-01T01:16:32.587Z] $ 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-112 -v /w/workspace/edgexfoundry_device-gpio_PR-112:/w/workspace/edgexfoundry_device-gpio_PR-112:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-112@tmp:/w/workspace/edgexfoundry_device-gpio_PR-112@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-01T01:16:34.286Z] $ docker top a2881a325eb3eb273e654570eda3ae32d6a6755c032bcab25b4087a1aeef55c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T01:16:34.743Z] ---> job-cost.sh [2023-03-01T01:16:34.743Z] lf-activate-venv: SKIPPING [2023-03-01T01:16:34.743Z] INFO: No Stack... [2023-03-01T01:16:35.003Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-01T01:16:35.261Z] INFO: Archiving Costs [Pipeline] sh [2023-03-01T01:16:35.574Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-112/archives/cost.csv [2023-03-01T01:16:35.574Z] + cut -d, -f6 [Pipeline] lock [2023-03-01T01:16:35.619Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-112-1-stack-cost] [2023-03-01T01:16:35.625Z] Resource [jenkins-edgexfoundry-device-gpio-PR-112-1-stack-cost] did not exist. Created. [2023-03-01T01:16:35.625Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-112-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-01T01:16:36.015Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-01T01:16:36.073Z] Stashed 1 file(s) [Pipeline] } [2023-03-01T01:16:36.095Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-112-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-01T01:16:36.181Z] $ docker stop --time=1 a2881a325eb3eb273e654570eda3ae32d6a6755c032bcab25b4087a1aeef55c0 [2023-03-01T01:16:37.383Z] $ docker rm -f --volumes a2881a325eb3eb273e654570eda3ae32d6a6755c032bcab25b4087a1aeef55c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-01T01:16:37.719Z] Failed in branch amd64 [2023-03-01T01:18:50.655Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7845 in /w/workspace/edgexfoundry_device-gpio_PR-112 [Pipeline] { [Pipeline] ws [2023-03-01T01:18:50.711Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2023-03-01T01:18:50.795Z] The recommended git tool is: git [2023-03-01T01:18:57.165Z] using credential edgex-jenkins-ssh [2023-03-01T01:18:57.183Z] Cloning the remote Git repository [2023-03-01T01:18:57.239Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-03-01T01:18:57.329Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2023-03-01T01:18:57.504Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-03-01T01:18:57.505Z] > git --version # timeout=10 [2023-03-01T01:18:57.526Z] > git --version # 'git version 2.25.1' [2023-03-01T01:18:57.528Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-01T01:18:57.599Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-01T01:18:59.358Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-03-01T01:18:59.379Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-01T01:19:00.981Z] Merging remotes/origin/main commit 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 into PR head commit 9b1557ad6b70cde6e53bbafb9cad8867ad40d576 [2023-03-01T01:19:00.374Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-03-01T01:19:00.416Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-03-01T01:19:00.417Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-01T01:19:00.433Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/112/head:refs/remotes/origin/PR-112 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-01T01:19:01.005Z] > git config core.sparsecheckout # timeout=10 [2023-03-01T01:19:01.025Z] > git checkout -f 9b1557ad6b70cde6e53bbafb9cad8867ad40d576 # timeout=10 [2023-03-01T01:19:01.231Z] Merge succeeded, producing 9b1557ad6b70cde6e53bbafb9cad8867ad40d576 [2023-03-01T01:19:01.232Z] Checking out Revision 9b1557ad6b70cde6e53bbafb9cad8867ad40d576 (PR-112) [2023-03-01T01:19:02.413Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-03-01T01:19:01.125Z] > git remote # timeout=10 [2023-03-01T01:19:01.142Z] > git config --get remote.origin.url # timeout=10 [2023-03-01T01:19:01.167Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-01T01:19:01.181Z] > git merge 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 # timeout=10 [2023-03-01T01:19:01.210Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-01T01:19:01.242Z] > git config core.sparsecheckout # timeout=10 [2023-03-01T01:19:01.259Z] > git checkout -f 9b1557ad6b70cde6e53bbafb9cad8867ad40d576 # timeout=10 [2023-03-01T01:19:02.476Z] > git --version # timeout=10 [2023-03-01T01:19:02.487Z] > git --version # 'git version 2.25.1' [2023-03-01T01:19:02.506Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-01T01:19:03.653Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-01T01:19:03.653Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-01T01:19:03.653Z] Dload Upload Total Spent Left Speed [2023-03-01T01:19:03.654Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh [2023-03-01T01:19:04.322Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-01T01:19:04.671Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-01T01:19:04.671Z] + sudo tee /etc/docker/daemon.new [2023-03-01T01:19:04.671Z] { [2023-03-01T01:19:04.671Z] "registry-mirrors": [ [2023-03-01T01:19:04.671Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-01T01:19:04.671Z] ], [2023-03-01T01:19:04.671Z] "bip": "10.250.0.254/24", [2023-03-01T01:19:04.671Z] "hosts": [ [2023-03-01T01:19:04.671Z] "tcp://0.0.0.0:5555", [2023-03-01T01:19:04.671Z] "unix:///var/run/docker.sock" [2023-03-01T01:19:04.671Z] ], [2023-03-01T01:19:04.671Z] "mtu": 1458, [2023-03-01T01:19:04.671Z] "selinux-enabled": true, [2023-03-01T01:19:04.671Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-01T01:19:04.671Z] } [Pipeline] sh [2023-03-01T01:19:05.034Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-01T01:19:05.392Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T01:19:23.758Z] provisioning config files... [2023-03-01T01:19:23.791Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config1826540911909315204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T01:19:24.233Z] ---> docker-login.sh [2023-03-01T01:19:24.233Z] nexus3.edgexfoundry.org:10001 [2023-03-01T01:19:24.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T01:19:25.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T01:19:25.098Z] Configure a credential helper to remove this warning. See [2023-03-01T01:19:25.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T01:19:25.098Z] [2023-03-01T01:19:25.098Z] Login Succeeded [2023-03-01T01:19:25.098Z] nexus3.edgexfoundry.org:10002 [2023-03-01T01:19:25.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T01:19:25.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T01:19:25.369Z] Configure a credential helper to remove this warning. See [2023-03-01T01:19:25.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T01:19:25.369Z] [2023-03-01T01:19:25.369Z] Login Succeeded [2023-03-01T01:19:25.369Z] nexus3.edgexfoundry.org:10003 [2023-03-01T01:19:25.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T01:19:25.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T01:19:25.915Z] Configure a credential helper to remove this warning. See [2023-03-01T01:19:25.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T01:19:25.915Z] [2023-03-01T01:19:25.915Z] Login Succeeded [2023-03-01T01:19:25.915Z] nexus3.edgexfoundry.org:10004 [2023-03-01T01:19:26.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T01:19:26.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T01:19:26.185Z] Configure a credential helper to remove this warning. See [2023-03-01T01:19:26.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T01:19:26.185Z] [2023-03-01T01:19:26.185Z] Login Succeeded [2023-03-01T01:19:26.185Z] docker.io [2023-03-01T01:19:26.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T01:19:26.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T01:19:26.720Z] Configure a credential helper to remove this warning. See [2023-03-01T01:19:26.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T01:19:26.720Z] [2023-03-01T01:19:26.720Z] Login Succeeded [2023-03-01T01:19:26.720Z] ---> docker-login.sh ends [Pipeline] } [2023-03-01T01:19:26.750Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-01T01:19:27.170Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T01:19:27.208Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T01:19:27.240Z] ========================================================= [2023-03-01T01:19:27.240Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-01T01:19:27.240Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T01:19:27.744Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-01T01:19:28.718Z] Sending build context to Docker daemon 8.08MB [2023-03-01T01:19:28.718Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-01T01:19:28.718Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-01T01:19:28.718Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-01T01:19:28.718Z] 9b18e9b68314: Pulling fs layer [2023-03-01T01:19:28.718Z] 35d82f9e3411: Pulling fs layer [2023-03-01T01:19:28.718Z] e16973657156: Pulling fs layer [2023-03-01T01:19:28.718Z] fc693d55d65f: Pulling fs layer [2023-03-01T01:19:28.718Z] 7e9fc2657dce: Pulling fs layer [2023-03-01T01:19:28.718Z] dda99020689f: Pulling fs layer [2023-03-01T01:19:28.718Z] db1c61fa0a46: Pulling fs layer [2023-03-01T01:19:28.718Z] 891c053d2c06: Pulling fs layer [2023-03-01T01:19:28.718Z] dda99020689f: Waiting [2023-03-01T01:19:28.718Z] db1c61fa0a46: Waiting [2023-03-01T01:19:28.718Z] 891c053d2c06: Waiting [2023-03-01T01:19:28.718Z] fc693d55d65f: Waiting [2023-03-01T01:19:28.718Z] 7e9fc2657dce: Waiting [2023-03-01T01:19:28.992Z] e16973657156: Verifying Checksum [2023-03-01T01:19:28.992Z] e16973657156: Download complete [2023-03-01T01:19:28.992Z] 35d82f9e3411: Verifying Checksum [2023-03-01T01:19:28.992Z] 35d82f9e3411: Download complete [2023-03-01T01:19:28.992Z] 7e9fc2657dce: Verifying Checksum [2023-03-01T01:19:28.992Z] 7e9fc2657dce: Download complete [2023-03-01T01:19:28.992Z] dda99020689f: Verifying Checksum [2023-03-01T01:19:28.992Z] dda99020689f: Download complete [2023-03-01T01:19:28.992Z] 9b18e9b68314: Download complete [2023-03-01T01:19:29.988Z] 9b18e9b68314: Pull complete [2023-03-01T01:19:29.988Z] 891c053d2c06: Verifying Checksum [2023-03-01T01:19:29.988Z] 891c053d2c06: Download complete [2023-03-01T01:19:30.579Z] 35d82f9e3411: Pull complete [2023-03-01T01:19:30.855Z] e16973657156: Pull complete [2023-03-01T01:19:31.447Z] db1c61fa0a46: Verifying Checksum [2023-03-01T01:19:31.447Z] db1c61fa0a46: Download complete [2023-03-01T01:19:32.035Z] fc693d55d65f: Verifying Checksum [2023-03-01T01:19:32.035Z] fc693d55d65f: Download complete [2023-03-01T01:19:44.384Z] fc693d55d65f: Pull complete [2023-03-01T01:19:44.384Z] 7e9fc2657dce: Pull complete [2023-03-01T01:19:44.384Z] dda99020689f: Pull complete [2023-03-01T01:19:49.862Z] db1c61fa0a46: Pull complete [2023-03-01T01:19:51.304Z] 891c053d2c06: Pull complete [2023-03-01T01:19:51.305Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-01T01:19:51.305Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-01T01:19:51.573Z] ---> f96f9c87975a [2023-03-01T01:19:51.573Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-01T01:19:53.553Z] ---> Running in d956b8ebc0b1 [2023-03-01T01:19:53.826Z] Removing intermediate container d956b8ebc0b1 [2023-03-01T01:19:53.826Z] ---> acbf87053626 [2023-03-01T01:19:53.826Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-01T01:19:54.098Z] ---> Running in 57ab383e2aed [2023-03-01T01:19:54.368Z] Removing intermediate container 57ab383e2aed [2023-03-01T01:19:54.368Z] ---> c898e2f7d2b6 [2023-03-01T01:19:54.368Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-03-01T01:19:54.368Z] ---> Running in 3c36d88ff7f1 [2023-03-01T01:19:54.957Z] Removing intermediate container 3c36d88ff7f1 [2023-03-01T01:19:54.957Z] ---> 36cbac2e290c [2023-03-01T01:19:54.957Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-01T01:19:54.957Z] ---> Running in 4fb08ce43645 [2023-03-01T01:19:55.228Z] Removing intermediate container 4fb08ce43645 [2023-03-01T01:19:55.228Z] ---> 677a40da474c [2023-03-01T01:19:55.228Z] Step 7/12 : WORKDIR /device-gpio [2023-03-01T01:19:55.498Z] ---> Running in 41fcc920ce62 [2023-03-01T01:19:55.769Z] Removing intermediate container 41fcc920ce62 [2023-03-01T01:19:55.769Z] ---> f73087aefeaa [2023-03-01T01:19:55.769Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-01T01:19:55.769Z] ---> Running in 3212b911e298 [2023-03-01T01:19:57.187Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-01T01:19:57.458Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-01T01:19:58.878Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-01T01:19:58.878Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-01T01:19:58.878Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-01T01:19:58.878Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-01T01:19:58.878Z] Executing busybox-1.35.0-r17.trigger [2023-03-01T01:19:58.878Z] OK: 226 MiB in 55 packages [2023-03-01T01:20:00.324Z] Removing intermediate container 3212b911e298 [2023-03-01T01:20:00.324Z] ---> 27777d0efacf [2023-03-01T01:20:00.324Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-01T01:20:00.596Z] ---> c5529e827a03 [2023-03-01T01:20:00.596Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-01T01:20:00.866Z] ---> Running in a1db46d9836d [2023-03-01T01:21:08.800Z] Removing intermediate container a1db46d9836d [2023-03-01T01:21:08.800Z] ---> b0730dbfda65 [2023-03-01T01:21:08.800Z] Step 11/12 : COPY . . [2023-03-01T01:21:08.800Z] ---> f3a8db8640a2 [2023-03-01T01:21:08.800Z] Step 12/12 : RUN ${MAKE} [2023-03-01T01:21:08.800Z] ---> Running in 3c2e26a4440d [2023-03-01T01:21:08.800Z] noop [2023-03-01T01:21:08.800Z] Removing intermediate container 3c2e26a4440d [2023-03-01T01:21:08.800Z] ---> 356872c56853 [2023-03-01T01:21:08.800Z] Successfully built 356872c56853 [2023-03-01T01:21:08.800Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T01:21:09.314Z] + docker inspect -f . ci-base-image-arm64 [2023-03-01T01:21:09.314Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T01:21:09.620Z] prd-ubuntu20.04-docker-arm64-4c-16g-7845 does not seem to be running inside a container [2023-03-01T01:21:09.714Z] $ 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-01T01:21:11.265Z] $ docker top 8b76f70ebbaa96ffbdf16f2353d80ba0769d1c37127a68c1c809c4d9b8ccf79f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T01:21:12.241Z] + go version [2023-03-01T01:21:12.241Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-01T01:21:12.286Z] $ docker stop --time=1 8b76f70ebbaa96ffbdf16f2353d80ba0769d1c37127a68c1c809c4d9b8ccf79f [2023-03-01T01:21:14.090Z] $ docker rm -f --volumes 8b76f70ebbaa96ffbdf16f2353d80ba0769d1c37127a68c1c809c4d9b8ccf79f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T01:21:15.085Z] + docker inspect -f . ci-base-image-arm64 [2023-03-01T01:21:15.086Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T01:21:15.425Z] prd-ubuntu20.04-docker-arm64-4c-16g-7845 does not seem to be running inside a container [2023-03-01T01:21:15.521Z] $ 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-01T01:21:16.909Z] $ docker top 4d9c61e5d0916717c31b10c4eb32f04dda187e4e6f089c1594f8a658c88acb12 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T01:21:17.829Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2023-03-01T01:21:18.563Z] + make test [2023-03-01T01:21:18.563Z] go test ./... -coverprofile=coverage.out ./... [2023-03-01T01:21:19.985Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-03-01T01:22:27.975Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-03-01T01:22:27.975Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: [2023-03-01T01:22:27.975Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-03-01T01:22:27.975Z] have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-03-01T01:22:27.975Z] want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-03-01T01:22:27.975Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-03-01T01:22:46.247Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/common [2023-03-01T01:22:46.248Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/common/utils.go:43:3: unknown field 'LastConnected' in struct literal of type dtos.UpdateDevice [2023-03-01T01:22:46.248Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/common/utils.go:99:25: not enough arguments in call to ec.Add [2023-03-01T01:22:46.248Z] have (context.Context, requests.AddEventRequest) [2023-03-01T01:22:46.248Z] want (context.Context, string, requests.AddEventRequest) [2023-03-01T01:22:56.384Z] make: *** [Makefile:29: unittest] Error 2 [Pipeline] } [2023-03-01T01:22:56.454Z] $ docker stop --time=1 4d9c61e5d0916717c31b10c4eb32f04dda187e4e6f089c1594f8a658c88acb12 [2023-03-01T01:22:58.562Z] $ docker rm -f --volumes 4d9c61e5d0916717c31b10c4eb32f04dda187e4e6f089c1594f8a658c88acb12 [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-01T01:23:00.312Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-01T01:23:00.312Z] [2023-03-01T01:23:00.312Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T01:23:00.743Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-01T01:23:01.015Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-01T01:23:01.015Z] 8998bd30e6a1: Pulling fs layer [2023-03-01T01:23:01.015Z] 04944245beec: Pulling fs layer [2023-03-01T01:23:01.015Z] 699f458cf7ca: Pulling fs layer [2023-03-01T01:23:01.015Z] 765212b225bb: Pulling fs layer [2023-03-01T01:23:01.015Z] f23df028b6ca: Pulling fs layer [2023-03-01T01:23:01.015Z] d65c8cfc05b1: Pulling fs layer [2023-03-01T01:23:01.015Z] 2437ff75d9bd: Pulling fs layer [2023-03-01T01:23:01.015Z] 765212b225bb: Waiting [2023-03-01T01:23:01.015Z] f23df028b6ca: Waiting [2023-03-01T01:23:01.015Z] d65c8cfc05b1: Waiting [2023-03-01T01:23:01.015Z] 2437ff75d9bd: Waiting [2023-03-01T01:23:01.015Z] 04944245beec: Verifying Checksum [2023-03-01T01:23:01.015Z] 04944245beec: Download complete [2023-03-01T01:23:01.288Z] 765212b225bb: Verifying Checksum [2023-03-01T01:23:01.288Z] 765212b225bb: Download complete [2023-03-01T01:23:01.288Z] f23df028b6ca: Verifying Checksum [2023-03-01T01:23:01.288Z] f23df028b6ca: Download complete [2023-03-01T01:23:01.288Z] d65c8cfc05b1: Verifying Checksum [2023-03-01T01:23:01.288Z] d65c8cfc05b1: Download complete [2023-03-01T01:23:01.558Z] 699f458cf7ca: Verifying Checksum [2023-03-01T01:23:01.558Z] 699f458cf7ca: Download complete [2023-03-01T01:23:02.155Z] 8998bd30e6a1: Verifying Checksum [2023-03-01T01:23:02.155Z] 8998bd30e6a1: Download complete [2023-03-01T01:23:05.531Z] 2437ff75d9bd: Verifying Checksum [2023-03-01T01:23:05.531Z] 2437ff75d9bd: Download complete [2023-03-01T01:23:08.139Z] 8998bd30e6a1: Pull complete [2023-03-01T01:23:08.729Z] 04944245beec: Pull complete [2023-03-01T01:23:10.691Z] 699f458cf7ca: Pull complete [2023-03-01T01:23:10.962Z] 765212b225bb: Pull complete [2023-03-01T01:23:11.929Z] f23df028b6ca: Pull complete [2023-03-01T01:23:12.199Z] d65c8cfc05b1: Pull complete [2023-03-01T01:23:34.353Z] 2437ff75d9bd: Pull complete [2023-03-01T01:23:34.353Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-01T01:23:34.353Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-01T01:23:34.353Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T01:23:34.744Z] prd-ubuntu20.04-docker-arm64-4c-16g-7845 does not seem to be running inside a container [2023-03-01T01:23:34.845Z] $ 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-01T01:23:38.088Z] $ docker top e4d604077f19accffc6b85dfc73846b303d2d836e2563c11743c49e615e4744d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T01:23:38.979Z] ---> job-cost.sh [2023-03-01T01:23:38.979Z] lf-activate-venv: SKIPPING [2023-03-01T01:23:38.979Z] INFO: No Stack... [2023-03-01T01:23:39.252Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-01T01:23:40.216Z] INFO: Archiving Costs [Pipeline] sh [2023-03-01T01:23:40.894Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2023-03-01T01:23:40.894Z] + cut -d, -f6 [Pipeline] lock [2023-03-01T01:23:41.008Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-112-1-stack-cost] [2023-03-01T01:23:41.013Z] Resource [jenkins-edgexfoundry-device-gpio-PR-112-1-stack-cost] did not exist. Created. [2023-03-01T01:23:41.013Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-112-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-01T01:23:41.762Z] /w/workspace/device-gpio/1@tmp/durable-064ae08c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-01T01:23:42.485Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-01T01:23:42.523Z] Warning: overwriting stash ‘stack-cost’ [2023-03-01T01:23:43.044Z] Stashed 1 file(s) [Pipeline] } [2023-03-01T01:23:43.062Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-112-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-01T01:23:43.154Z] $ docker stop --time=1 e4d604077f19accffc6b85dfc73846b303d2d836e2563c11743c49e615e4744d [2023-03-01T01:23:44.913Z] $ docker rm -f --volumes e4d604077f19accffc6b85dfc73846b303d2d836e2563c11743c49e615e4744d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-01T01:23:45.625Z] 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-01T01:23:47.546Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-112/archives ] [2023-03-01T01:23:47.546Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-112/archives [2023-03-01T01:23:47.546Z] total 16 [2023-03-01T01:23:47.546Z] drwxr-xr-x 3 root root 4096 Mar 1 01:16 . [2023-03-01T01:23:47.546Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 1 01:16 .. [2023-03-01T01:23:47.546Z] drwxr-xr-x 2 root root 4096 Mar 1 01:16 cost [2023-03-01T01:23:47.546Z] -rw-r--r-- 1 root root 83 Mar 1 01:16 cost.csv [2023-03-01T01:23:47.546Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-112/archives [2023-03-01T01:23:47.546Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-112/archives [2023-03-01T01:23:47.546Z] total 16 [2023-03-01T01:23:47.546Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 01:16 . [2023-03-01T01:23:47.546Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 1 01:16 .. [2023-03-01T01:23:47.546Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 1 01:16 cost [2023-03-01T01:23:47.546Z] -rw-r--r-- 1 jenkins jenkins 83 Mar 1 01:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-01T01:23:47.878Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T01:23:48.783Z] ---> package-listing.sh [2023-03-01T01:23:48.783Z] ++ facter osfamily [2023-03-01T01:23:48.783Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-01T01:23:49.044Z] + OS_FAMILY=debian [2023-03-01T01:23:49.044Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-112 [2023-03-01T01:23:49.044Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-01T01:23:49.044Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-01T01:23:49.044Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-01T01:23:49.044Z] + PACKAGES=/tmp/packages_start.txt [2023-03-01T01:23:49.044Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-112 ']' [2023-03-01T01:23:49.044Z] + PACKAGES=/tmp/packages_end.txt [2023-03-01T01:23:49.044Z] + case "${OS_FAMILY}" in [2023-03-01T01:23:49.044Z] + dpkg -l [2023-03-01T01:23:49.044Z] + grep '^ii' [2023-03-01T01:23:49.044Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-01T01:23:49.044Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-01T01:23:49.044Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-01T01:23:49.044Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-112 ']' [2023-03-01T01:23:49.044Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-112/archives/ [2023-03-01T01:23:49.044Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-112/archives/ [Pipeline] echo [2023-03-01T01:23:49.076Z] 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-112/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-01T01:23:49.369Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T01:23:50.012Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T01:23:50.012Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T01:23:50.154Z] prd-ubuntu20.04-docker-8c-8g-7842 does not seem to be running inside a container [2023-03-01T01:23:50.185Z] $ 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-112/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-112 -v /w/workspace/edgexfoundry_device-gpio_PR-112:/w/workspace/edgexfoundry_device-gpio_PR-112:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-112@tmp:/w/workspace/edgexfoundry_device-gpio_PR-112@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-01T01:23:50.389Z] $ docker top 29b9e72c7c0cad1e7c42ead0a9e59fb15e19e947dd78129c4f43f26182f3cd8d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T01:23:50.782Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-01T01:23:51.090Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-01T01:23:51.397Z] + ls /var/log/sa-host [2023-03-01T01:23:51.397Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T01:23:51.542Z] provisioning config files... [2023-03-01T01:23:51.550Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-112@tmp/config11708405691082530328tmp [Pipeline] { [Pipeline] echo [2023-03-01T01:23:51.605Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T01:23:51.917Z] ---> create-netrc.sh [Pipeline] } [2023-03-01T01:23:51.947Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-01T01:23:52.345Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-01T01:23:52.408Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T01:23:52.725Z] ---> sudo-logs.sh [2023-03-01T01:23:52.725Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-01T01:23:52.820Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T01:23:53.135Z] ---> job-cost.sh [2023-03-01T01:23:53.135Z] lf-activate-venv: SKIPPING [2023-03-01T01:23:53.135Z] DEBUG: total: 0.2199999988079071 [2023-03-01T01:23:53.135Z] INFO: Retrieving Stack Cost... [2023-03-01T01:23:53.394Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-01T01:23:53.653Z] INFO: Archiving Costs [Pipeline] echo [2023-03-01T01:23:53.692Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T01:23:54.002Z] ---> logs-deploy.sh [2023-03-01T01:23:54.002Z] lf-activate-venv: SKIPPING [2023-03-01T01:23:54.002Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-112/1 [2023-03-01T01:23:54.003Z] INFO: archiving workspace using pattern(s): [2023-03-01T01:23:54.938Z] Archives upload complete. [2023-03-01T01:23:54.938Z] INFO: archiving logs to Nexus