Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 354ab311afec958bc56a4237f9f121e6b6533f51+192d2e5d52be7054ee8f5929c78a4d9d1a66e905 (423c8771f252010b4cc6725479a94ff0cc133697) 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-ssh17361420378935261169.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-ssh2559969689983397322.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-101/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-101/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9146604389555428436.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 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-ssh2095750072756855290.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-101/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-101/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3799763838185108740.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6290 in /w/workspace/edgexfoundry_device-gpio_PR-101 [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-101 # 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/101/head:refs/remotes/origin/PR-101 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 into PR head commit 354ab311afec958bc56a4237f9f121e6b6533f51 Merge succeeded, producing 11b06e0db003200feb519d9933c30d219f28c8ce Checking out Revision 11b06e0db003200feb519d9933c30d219f28c8ce (PR-101) > git config core.sparsecheckout # timeout=10 > git checkout -f 354ab311afec958bc56a4237f9f121e6b6533f51 # 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 11b06e0db003200feb519d9933c30d219f28c8ce # timeout=10 Commit message: "Merge commit '192d2e5d52be7054ee8f5929c78a4d9d1a66e905' into HEAD" > git rev-list --no-walk 354ab311afec958bc56a4237f9f121e6b6533f51 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-16T13:20:55.690Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-16T13:20:55.744Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-16T13:20:55.760Z] ========================================================= [2023-02-16T13:20:55.760Z] EdgeX Global Pipelines Version Info [2023-02-16T13:20:55.760Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-16T13:20:56.476Z] ------------------- [2023-02-16T13:20:56.476Z] stable info: [2023-02-16T13:20:56.476Z] ------------------- [2023-02-16T13:20:56.476Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-16T13:20:56.476Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-16T13:20:56.476Z] Message: update stable to v1.0.244 [2023-02-16T13:20:57.049Z] ------------------- [2023-02-16T13:20:57.049Z] experimental info: [2023-02-16T13:20:57.049Z] ------------------- [2023-02-16T13:20:57.049Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-16T13:20:57.049Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-16T13:20:57.049Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-16T13:20:57.234Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-02-16T13:20:57.248Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-02-16T13:20:57.259Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-16T13:20:57.270Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-16T13:20:57.283Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-16T13:20:57.296Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-16T13:20:57.308Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-16T13:20:57.321Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-16T13:20:57.333Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-16T13:20:57.345Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-16T13:20:57.358Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-16T13:20:57.374Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-02-16T13:20:57.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-16T13:20:57.399Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-16T13:20:57.410Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-16T13:20:57.422Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-16T13:20:57.434Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-16T13:20:57.449Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-16T13:20:57.466Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-16T13:20:57.476Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-16T13:20:57.490Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-16T13:20:57.501Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-16T13:20:57.511Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-16T13:20:57.524Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-16T13:20:57.538Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-16T13:20:57.548Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-16T13:20:57.563Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-16T13:20:57.580Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-101 [Pipeline] echo [2023-02-16T13:20:57.599Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-101 [Pipeline] echo [2023-02-16T13:20:57.609Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-101 [Pipeline] echo [2023-02-16T13:20:57.623Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 11b06e0db003200feb519d9933c30d219f28c8ce [Pipeline] echo [2023-02-16T13:20:57.639Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 11b06e0 [Pipeline] echo [2023-02-16T13:20:57.655Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-16T13:20:57.701Z] provisioning config files... [2023-02-16T13:20:57.714Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-101@tmp/config2644401508035949553tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T13:20:58.018Z] ---> docker-login.sh [2023-02-16T13:20:58.018Z] nexus3.edgexfoundry.org:10001 [2023-02-16T13:20:58.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T13:20:58.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T13:20:58.278Z] Configure a credential helper to remove this warning. See [2023-02-16T13:20:58.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T13:20:58.278Z] [2023-02-16T13:20:58.278Z] Login Succeeded [2023-02-16T13:20:58.278Z] nexus3.edgexfoundry.org:10002 [2023-02-16T13:20:58.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T13:20:58.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T13:20:58.278Z] Configure a credential helper to remove this warning. See [2023-02-16T13:20:58.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T13:20:58.278Z] [2023-02-16T13:20:58.278Z] Login Succeeded [2023-02-16T13:20:58.538Z] nexus3.edgexfoundry.org:10003 [2023-02-16T13:20:58.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T13:20:58.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T13:20:58.538Z] Configure a credential helper to remove this warning. See [2023-02-16T13:20:58.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T13:20:58.538Z] [2023-02-16T13:20:58.538Z] Login Succeeded [2023-02-16T13:20:58.538Z] nexus3.edgexfoundry.org:10004 [2023-02-16T13:20:58.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T13:20:58.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T13:20:58.538Z] Configure a credential helper to remove this warning. See [2023-02-16T13:20:58.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T13:20:58.538Z] [2023-02-16T13:20:58.538Z] Login Succeeded [2023-02-16T13:20:58.538Z] docker.io [2023-02-16T13:20:58.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T13:20:59.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T13:20:59.060Z] Configure a credential helper to remove this warning. See [2023-02-16T13:20:59.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T13:20:59.060Z] [2023-02-16T13:20:59.060Z] Login Succeeded [2023-02-16T13:20:59.060Z] ---> docker-login.sh ends [Pipeline] } [2023-02-16T13:20:59.068Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-16T13:20:59.453Z] + git rev-list -1 --merges 11b06e0db003200feb519d9933c30d219f28c8ce~1..11b06e0db003200feb519d9933c30d219f28c8ce [Pipeline] echo [2023-02-16T13:20:59.503Z] -----------> git rev-list -1 --merges 11b06e0db003200feb519d9933c30d219f28c8ce~1..11b06e0db003200feb519d9933c30d219f28c8ce 11b06e0db003200feb519d9933c30d219f28c8ce [2023-02-16T13:20:59.503Z] 11b06e0db003200feb519d9933c30d219f28c8ce [false] [Pipeline] sh [2023-02-16T13:20:59.787Z] + git log --format=format:%s -1 11b06e0db003200feb519d9933c30d219f28c8ce [Pipeline] echo [2023-02-16T13:20:59.801Z] ========================================================= [2023-02-16T13:20:59.801Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-16T13:20:59.801Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-16T13:21:00.146Z] + git log --format=format:%s -1 11b06e0db003200feb519d9933c30d219f28c8ce [Pipeline] echo [2023-02-16T13:21:00.159Z] [semverPrep] GIT_COMMIT: 11b06e0db003200feb519d9933c30d219f28c8ce, Commit Message: Merge commit '192d2e5d52be7054ee8f5929c78a4d9d1a66e905' into HEAD [Pipeline] echo [2023-02-16T13:21:00.169Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-16T13:21:00.503Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-16T13:21:00.503Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-16T13:21:00.503Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-16T13:21:00.503Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-16T13:21:00.503Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-16T13:21:00.503Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-16T13:21:00.503Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T13:21:00.880Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-16T13:21:00.880Z] [2023-02-16T13:21:00.880Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T13:21:01.193Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-16T13:21:01.193Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-16T13:21:01.193Z] b85a868b505f: Pulling fs layer [2023-02-16T13:21:01.193Z] e2be974225ed: Pulling fs layer [2023-02-16T13:21:01.193Z] 339a4e72a1f5: Pulling fs layer [2023-02-16T13:21:01.193Z] 988bab9f4d93: Pulling fs layer [2023-02-16T13:21:01.193Z] 1469e6f7b9e6: Pulling fs layer [2023-02-16T13:21:01.193Z] eaf3925da568: Pulling fs layer [2023-02-16T13:21:01.193Z] bab4dde63d76: Pulling fs layer [2023-02-16T13:21:01.193Z] bde34c3a00c8: Pulling fs layer [2023-02-16T13:21:01.193Z] b352a97aabf1: Pulling fs layer [2023-02-16T13:21:01.193Z] 4872d77fe225: Pulling fs layer [2023-02-16T13:21:01.193Z] 5851b861e8e6: Pulling fs layer [2023-02-16T13:21:01.193Z] 988bab9f4d93: Waiting [2023-02-16T13:21:01.193Z] 1469e6f7b9e6: Waiting [2023-02-16T13:21:01.193Z] bab4dde63d76: Waiting [2023-02-16T13:21:01.193Z] 4872d77fe225: Waiting [2023-02-16T13:21:01.193Z] bde34c3a00c8: Waiting [2023-02-16T13:21:01.193Z] b352a97aabf1: Waiting [2023-02-16T13:21:01.193Z] 5851b861e8e6: Waiting [2023-02-16T13:21:01.193Z] e2be974225ed: Download complete [2023-02-16T13:21:01.193Z] 988bab9f4d93: Verifying Checksum [2023-02-16T13:21:01.193Z] 988bab9f4d93: Download complete [2023-02-16T13:21:01.458Z] 1469e6f7b9e6: Verifying Checksum [2023-02-16T13:21:01.458Z] 1469e6f7b9e6: Download complete [2023-02-16T13:21:01.458Z] 339a4e72a1f5: Verifying Checksum [2023-02-16T13:21:01.458Z] 339a4e72a1f5: Download complete [2023-02-16T13:21:01.458Z] eaf3925da568: Verifying Checksum [2023-02-16T13:21:01.458Z] bde34c3a00c8: Download complete [2023-02-16T13:21:01.458Z] b352a97aabf1: Download complete [2023-02-16T13:21:01.458Z] 4872d77fe225: Verifying Checksum [2023-02-16T13:21:01.458Z] 4872d77fe225: Download complete [2023-02-16T13:21:01.719Z] 5851b861e8e6: Verifying Checksum [2023-02-16T13:21:01.719Z] 5851b861e8e6: Download complete [2023-02-16T13:21:01.719Z] b85a868b505f: Verifying Checksum [2023-02-16T13:21:01.719Z] b85a868b505f: Download complete [2023-02-16T13:21:01.979Z] bab4dde63d76: Verifying Checksum [2023-02-16T13:21:01.979Z] bab4dde63d76: Download complete [2023-02-16T13:21:02.917Z] b85a868b505f: Pull complete [2023-02-16T13:21:03.177Z] e2be974225ed: Pull complete [2023-02-16T13:21:03.436Z] 339a4e72a1f5: Pull complete [2023-02-16T13:21:03.696Z] 988bab9f4d93: Pull complete [2023-02-16T13:21:03.956Z] 1469e6f7b9e6: Pull complete [2023-02-16T13:21:03.956Z] eaf3925da568: Pull complete [2023-02-16T13:21:05.860Z] bab4dde63d76: Pull complete [2023-02-16T13:21:05.860Z] bde34c3a00c8: Pull complete [2023-02-16T13:21:05.860Z] b352a97aabf1: Pull complete [2023-02-16T13:21:05.860Z] 4872d77fe225: Pull complete [2023-02-16T13:21:06.120Z] 5851b861e8e6: Pull complete [2023-02-16T13:21:06.120Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-16T13:21:06.120Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-16T13:21:06.120Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T13:21:06.218Z] prd-ubuntu20.04-docker-8c-8g-6290 does not seem to be running inside a container [2023-02-16T13:21:06.255Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-101 -v /w/workspace/edgexfoundry_device-gpio_PR-101:/w/workspace/edgexfoundry_device-gpio_PR-101:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-101@tmp:/w/workspace/edgexfoundry_device-gpio_PR-101@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-16T13:21:07.558Z] $ docker top 7bdc33f357b74d0e3f9bf439dbba56a0394eb7f3ae9521a1b8a04293ace6be84 -eo pid,comm [2023-02-16T13:21:07.606Z] 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-02-16T13:21:07.606Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-16T13:21:07.644Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-16T13:21:07.644Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-16T13:21:07.767Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-16T13:21:07.771Z] $ docker exec 7bdc33f357b74d0e3f9bf439dbba56a0394eb7f3ae9521a1b8a04293ace6be84 ssh-agent [2023-02-16T13:21:07.891Z] SSH_AUTH_SOCK=/tmp/ssh-E3BRjkpPDjbD/agent.32 [2023-02-16T13:21:07.891Z] SSH_AGENT_PID=38 [2023-02-16T13:21:07.899Z] Running ssh-add (command line suppressed) [2023-02-16T13:21:08.000Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-101@tmp/private_key_18254606946662828324.key (/w/workspace/edgexfoundry_device-gpio_PR-101@tmp/private_key_18254606946662828324.key) [2023-02-16T13:21:08.018Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-16T13:21:08.307Z] + git tag --points-at HEAD [Pipeline] } [2023-02-16T13:21:08.326Z] $ docker exec --env ******** --env ******** 7bdc33f357b74d0e3f9bf439dbba56a0394eb7f3ae9521a1b8a04293ace6be84 ssh-agent -k [2023-02-16T13:21:08.419Z] unset SSH_AUTH_SOCK; [2023-02-16T13:21:08.419Z] unset SSH_AGENT_PID; [2023-02-16T13:21:08.419Z] echo Agent pid 38 killed; [2023-02-16T13:21:08.428Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-16T13:21:08.457Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-16T13:21:08.457Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-16T13:21:08.599Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-16T13:21:08.608Z] $ docker exec 7bdc33f357b74d0e3f9bf439dbba56a0394eb7f3ae9521a1b8a04293ace6be84 ssh-agent [2023-02-16T13:21:08.725Z] SSH_AUTH_SOCK=/tmp/ssh-WL8HCZEdcWcM/agent.70 [2023-02-16T13:21:08.725Z] SSH_AGENT_PID=76 [2023-02-16T13:21:08.741Z] Running ssh-add (command line suppressed) [2023-02-16T13:21:08.832Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-101@tmp/private_key_15000759022696338343.key (/w/workspace/edgexfoundry_device-gpio_PR-101@tmp/private_key_15000759022696338343.key) [2023-02-16T13:21:08.847Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-16T13:21:09.139Z] + git semver init [2023-02-16T13:21:09.398Z] 2023-02-16 13:21:09,338 [run_init] DEBUG init version:0.0.0 force:False [2023-02-16T13:21:09.398Z] 2023-02-16 13:21:09,339 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-101/.semver [2023-02-16T13:21:09.398Z] 2023-02-16 13:21:09,340 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-101/.semver [2023-02-16T13:21:09.398Z] 2023-02-16 13:21:09,340 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-101/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-101, universal_newlines=False, shell=None, istream=None) [2023-02-16T13:21:10.779Z] 2023-02-16 13:21:10,397 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-101/.git/info/exclude [2023-02-16T13:21:10.779Z] 2023-02-16 13:21:10,397 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-101/.semver/PR-101 with force:False [2023-02-16T13:21:10.779Z] 2023-02-16 13:21:10,398 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-101/.semver/PR-101 [2023-02-16T13:21:10.779Z] 2023-02-16 13:21:10,400 [execute] INFO git cat-file --batch-check [2023-02-16T13:21:10.779Z] 2023-02-16 13:21:10,401 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-101/.semver, universal_newlines=False, shell=None, istream=) [2023-02-16T13:21:10.779Z] 2023-02-16 13:21:10,405 [execute] INFO git cat-file --batch [2023-02-16T13:21:10.779Z] 2023-02-16 13:21:10,406 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-101/.semver, universal_newlines=False, shell=None, istream=) [2023-02-16T13:21:10.779Z] 2023-02-16 13:21:10,411 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-101/.semver/PR-101 [2023-02-16T13:21:10.779Z] 0.0.0 [Pipeline] } [2023-02-16T13:21:10.791Z] $ docker exec --env ******** --env ******** 7bdc33f357b74d0e3f9bf439dbba56a0394eb7f3ae9521a1b8a04293ace6be84 ssh-agent -k [2023-02-16T13:21:10.880Z] unset SSH_AUTH_SOCK; [2023-02-16T13:21:10.880Z] unset SSH_AGENT_PID; [2023-02-16T13:21:10.881Z] echo Agent pid 76 killed; [2023-02-16T13:21:10.889Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-16T13:21:11.189Z] + git semver [Pipeline] } [2023-02-16T13:21:11.469Z] $ docker stop --time=1 7bdc33f357b74d0e3f9bf439dbba56a0394eb7f3ae9521a1b8a04293ace6be84 [2023-02-16T13:21:12.783Z] $ docker rm -f --volumes 7bdc33f357b74d0e3f9bf439dbba56a0394eb7f3ae9521a1b8a04293ace6be84 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-16T13:21:13.112Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-16T13:21:13.331Z] Stashed 1 file(s) [Pipeline] echo [2023-02-16T13:21:13.335Z] [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-02-16T13:21:13.461Z] provisioning config files... [2023-02-16T13:21:13.470Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-101@tmp/config8119776370258042350tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T13:21:13.764Z] ---> docker-login.sh [2023-02-16T13:21:13.764Z] nexus3.edgexfoundry.org:10001 [2023-02-16T13:21:13.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T13:21:13.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T13:21:13.764Z] Configure a credential helper to remove this warning. See [2023-02-16T13:21:13.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T13:21:13.764Z] [2023-02-16T13:21:13.764Z] Login Succeeded [2023-02-16T13:21:13.764Z] nexus3.edgexfoundry.org:10002 [2023-02-16T13:21:13.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T13:21:13.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T13:21:13.764Z] Configure a credential helper to remove this warning. See [2023-02-16T13:21:13.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T13:21:13.764Z] [2023-02-16T13:21:13.764Z] Login Succeeded [2023-02-16T13:21:13.764Z] nexus3.edgexfoundry.org:10003 [2023-02-16T13:21:14.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T13:21:14.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T13:21:14.023Z] Configure a credential helper to remove this warning. See [2023-02-16T13:21:14.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T13:21:14.023Z] [2023-02-16T13:21:14.023Z] Login Succeeded [2023-02-16T13:21:14.023Z] nexus3.edgexfoundry.org:10004 [2023-02-16T13:21:14.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T13:21:14.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T13:21:14.023Z] Configure a credential helper to remove this warning. See [2023-02-16T13:21:14.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T13:21:14.023Z] [2023-02-16T13:21:14.023Z] Login Succeeded [2023-02-16T13:21:14.023Z] docker.io [2023-02-16T13:21:14.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T13:21:14.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T13:21:14.283Z] Configure a credential helper to remove this warning. See [2023-02-16T13:21:14.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T13:21:14.283Z] [2023-02-16T13:21:14.283Z] Login Succeeded [2023-02-16T13:21:14.283Z] ---> docker-login.sh ends [Pipeline] } [2023-02-16T13:21:14.291Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-16T13:21:14.346Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T13:21:14.361Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T13:21:14.372Z] ========================================================= [2023-02-16T13:21:14.372Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-16T13:21:14.372Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T13:21:14.685Z] + 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-02-16T13:21:14.685Z] Sending build context to Docker daemon 15.99MB [2023-02-16T13:21:14.685Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-16T13:21:14.685Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-16T13:21:14.685Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-16T13:21:14.685Z] 213ec9aee27d: Pulling fs layer [2023-02-16T13:21:14.685Z] 4583459ba037: Pulling fs layer [2023-02-16T13:21:14.685Z] 93c1e223e6f2: Pulling fs layer [2023-02-16T13:21:14.685Z] 53926ce57604: Pulling fs layer [2023-02-16T13:21:14.685Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-16T13:21:14.685Z] 22ff95d597cd: Pulling fs layer [2023-02-16T13:21:14.685Z] 12d6caf4c0d1: Pulling fs layer [2023-02-16T13:21:14.685Z] 96b7cbca73a9: Pulling fs layer [2023-02-16T13:21:14.685Z] a7acece74701: Pulling fs layer [2023-02-16T13:21:14.685Z] 53926ce57604: Waiting [2023-02-16T13:21:14.685Z] 21b2b0c7a3f4: Waiting [2023-02-16T13:21:14.685Z] 96b7cbca73a9: Waiting [2023-02-16T13:21:14.685Z] a7acece74701: Waiting [2023-02-16T13:21:14.685Z] 22ff95d597cd: Waiting [2023-02-16T13:21:14.685Z] 12d6caf4c0d1: Waiting [2023-02-16T13:21:14.685Z] 93c1e223e6f2: Download complete [2023-02-16T13:21:14.950Z] 4583459ba037: Download complete [2023-02-16T13:21:14.950Z] 21b2b0c7a3f4: Download complete [2023-02-16T13:21:14.950Z] 22ff95d597cd: Verifying Checksum [2023-02-16T13:21:14.950Z] 22ff95d597cd: Download complete [2023-02-16T13:21:14.950Z] 213ec9aee27d: Verifying Checksum [2023-02-16T13:21:14.950Z] 213ec9aee27d: Download complete [2023-02-16T13:21:14.950Z] 12d6caf4c0d1: Download complete [2023-02-16T13:21:14.950Z] 213ec9aee27d: Pull complete [2023-02-16T13:21:15.216Z] 4583459ba037: Pull complete [2023-02-16T13:21:15.216Z] 93c1e223e6f2: Pull complete [2023-02-16T13:21:16.207Z] a7acece74701: Verifying Checksum [2023-02-16T13:21:16.207Z] a7acece74701: Download complete [2023-02-16T13:21:16.207Z] 53926ce57604: Verifying Checksum [2023-02-16T13:21:16.207Z] 53926ce57604: Download complete [2023-02-16T13:21:16.465Z] 96b7cbca73a9: Verifying Checksum [2023-02-16T13:21:16.465Z] 96b7cbca73a9: Download complete [2023-02-16T13:21:20.658Z] 53926ce57604: Pull complete [2023-02-16T13:21:20.658Z] 21b2b0c7a3f4: Pull complete [2023-02-16T13:21:20.658Z] 22ff95d597cd: Pull complete [2023-02-16T13:21:20.658Z] 12d6caf4c0d1: Pull complete [2023-02-16T13:21:22.561Z] 96b7cbca73a9: Pull complete [2023-02-16T13:21:23.128Z] a7acece74701: Pull complete [2023-02-16T13:21:23.128Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-16T13:21:23.128Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-16T13:21:23.128Z] ---> db6d94c90886 [2023-02-16T13:21:23.128Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-16T13:21:24.506Z] ---> Running in 5143ebe33e25 [2023-02-16T13:21:24.765Z] Removing intermediate container 5143ebe33e25 [2023-02-16T13:21:24.765Z] ---> 143e0d2329b7 [2023-02-16T13:21:24.765Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-16T13:21:24.765Z] ---> Running in 2da8f1f48963 [2023-02-16T13:21:24.765Z] Removing intermediate container 2da8f1f48963 [2023-02-16T13:21:24.765Z] ---> a674c453cd07 [2023-02-16T13:21:24.765Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-02-16T13:21:24.765Z] ---> Running in 8532513b0529 [2023-02-16T13:21:25.025Z] Removing intermediate container 8532513b0529 [2023-02-16T13:21:25.025Z] ---> 5af69e595441 [2023-02-16T13:21:25.025Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-16T13:21:25.025Z] ---> Running in 152e680b1928 [2023-02-16T13:21:25.025Z] Removing intermediate container 152e680b1928 [2023-02-16T13:21:25.025Z] ---> 0815a8bcc2b2 [2023-02-16T13:21:25.025Z] Step 7/12 : WORKDIR /device-gpio [2023-02-16T13:21:25.025Z] ---> Running in b6bb56bb08e5 [2023-02-16T13:21:25.284Z] Removing intermediate container b6bb56bb08e5 [2023-02-16T13:21:25.284Z] ---> e7e7f49ff9d4 [2023-02-16T13:21:25.284Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-16T13:21:25.284Z] ---> Running in 1174c65f2489 [2023-02-16T13:21:25.544Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-16T13:21:25.806Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-16T13:21:26.065Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-16T13:21:26.065Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-16T13:21:26.065Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-16T13:21:26.065Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-16T13:21:26.065Z] Executing busybox-1.35.0-r17.trigger [2023-02-16T13:21:26.065Z] OK: 216 MiB in 55 packages [2023-02-16T13:21:26.325Z] Removing intermediate container 1174c65f2489 [2023-02-16T13:21:26.325Z] ---> 83ff41f6da48 [2023-02-16T13:21:26.325Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-16T13:21:26.582Z] ---> 272836dfaebd [2023-02-16T13:21:26.582Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-16T13:21:26.582Z] ---> Running in 286e82123a5d [2023-02-16T13:21:28.430Z] Still waiting to schedule task [2023-02-16T13:21:28.430Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-16T13:21:53.134Z] Removing intermediate container 286e82123a5d [2023-02-16T13:21:53.134Z] ---> 7b376d1fe6e5 [2023-02-16T13:21:53.134Z] Step 11/12 : COPY . . [2023-02-16T13:21:53.134Z] ---> f98062e72ece [2023-02-16T13:21:53.134Z] Step 12/12 : RUN ${MAKE} [2023-02-16T13:21:53.134Z] ---> Running in 52379058448f [2023-02-16T13:21:53.134Z] noop [2023-02-16T13:21:53.394Z] Removing intermediate container 52379058448f [2023-02-16T13:21:53.394Z] ---> 96754b6d892e [2023-02-16T13:21:53.394Z] Successfully built 96754b6d892e [2023-02-16T13:21:53.394Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T13:21:53.711Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-16T13:21:53.711Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T13:21:53.779Z] prd-ubuntu20.04-docker-8c-8g-6290 does not seem to be running inside a container [2023-02-16T13:21:53.814Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-101 -v /w/workspace/edgexfoundry_device-gpio_PR-101:/w/workspace/edgexfoundry_device-gpio_PR-101:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-101@tmp:/w/workspace/edgexfoundry_device-gpio_PR-101@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-16T13:21:54.169Z] $ docker top b1812bfe0c4429d75130a79e598847fc2b02b09ec0517015644c21947502a8f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T13:21:54.518Z] + go version [2023-02-16T13:21:54.518Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-16T13:21:54.532Z] $ docker stop --time=1 b1812bfe0c4429d75130a79e598847fc2b02b09ec0517015644c21947502a8f7 [2023-02-16T13:21:55.799Z] $ docker rm -f --volumes b1812bfe0c4429d75130a79e598847fc2b02b09ec0517015644c21947502a8f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T13:21:56.184Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-16T13:21:56.184Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T13:21:56.252Z] prd-ubuntu20.04-docker-8c-8g-6290 does not seem to be running inside a container [2023-02-16T13:21:56.287Z] $ 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-101 -v /w/workspace/edgexfoundry_device-gpio_PR-101:/w/workspace/edgexfoundry_device-gpio_PR-101:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-101@tmp:/w/workspace/edgexfoundry_device-gpio_PR-101@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-16T13:21:56.658Z] $ docker top c98fa5b2c87d6abe74da80139a4b4e62af88886a422444ec652a4dfdfb9f9381 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T13:21:57.001Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-101 [Pipeline] fileExists [Pipeline] sh [2023-02-16T13:21:57.300Z] + make test [2023-02-16T13:21:57.300Z] go test ./... -coverprofile=coverage.out ./... [2023-02-16T13:21:57.558Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-02-16T13:22:04.125Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-02-16T13:22:04.125Z] /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-02-16T13:22:04.125Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-02-16T13:22:04.125Z] 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-02-16T13:22:04.125Z] 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-02-16T13:22:04.125Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-02-16T13:22:05.508Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-02-16T13:22:05.508Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:219:43: undefined: common.ValueYes [2023-02-16T13:22:05.508Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:223:45: undefined: common.ValueNo [2023-02-16T13:22:05.508Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-02-16T13:22:05.508Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:49:71: undefined: common.ValueYes [2023-02-16T13:22:05.508Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:54:74: undefined: common.ValueYes [2023-02-16T13:22:05.508Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/common.go:68:23: undefined: common.Metrics [2023-02-16T13:22:05.508Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/common.go:78:24: undefined: common.NewMetricsResponse [2023-02-16T13:22:05.508Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/common.go:79:41: undefined: common.ApiMetricsRoute [2023-02-16T13:22:05.508Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/common.go:116:36: request.Path undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common".SecretRequest has no field or method Path) [2023-02-16T13:22:05.508Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/restrouter.go:60:28: undefined: common.ApiMetricsRoute [2023-02-16T13:22:05.508Z] make: *** [Makefile:29: unittest] Error 2 [Pipeline] } [2023-02-16T13:22:05.523Z] $ docker stop --time=1 c98fa5b2c87d6abe74da80139a4b4e62af88886a422444ec652a4dfdfb9f9381 [2023-02-16T13:22:07.285Z] $ docker rm -f --volumes c98fa5b2c87d6abe74da80139a4b4e62af88886a422444ec652a4dfdfb9f9381 [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-02-16T13:22:07.816Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-16T13:22:07.816Z] [2023-02-16T13:22:07.816Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T13:22:08.120Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-16T13:22:08.120Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-16T13:22:08.120Z] 5eb5b503b376: Pulling fs layer [2023-02-16T13:22:08.120Z] 5c69ac0246d0: Pulling fs layer [2023-02-16T13:22:08.120Z] ec43610c2a17: Pulling fs layer [2023-02-16T13:22:08.120Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-16T13:22:08.120Z] 33b1e0a273af: Pulling fs layer [2023-02-16T13:22:08.120Z] 5d3b04190fa2: Pulling fs layer [2023-02-16T13:22:08.120Z] 2f39f015ded8: Pulling fs layer [2023-02-16T13:22:08.120Z] 3a2ae6a8a46f: Waiting [2023-02-16T13:22:08.120Z] 33b1e0a273af: Waiting [2023-02-16T13:22:08.120Z] 5d3b04190fa2: Waiting [2023-02-16T13:22:08.120Z] 5c69ac0246d0: Verifying Checksum [2023-02-16T13:22:08.121Z] 5c69ac0246d0: Download complete [2023-02-16T13:22:08.121Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-16T13:22:08.121Z] 3a2ae6a8a46f: Download complete [2023-02-16T13:22:08.384Z] ec43610c2a17: Verifying Checksum [2023-02-16T13:22:08.384Z] ec43610c2a17: Download complete [2023-02-16T13:22:08.384Z] 5d3b04190fa2: Download complete [2023-02-16T13:22:08.384Z] 33b1e0a273af: Verifying Checksum [2023-02-16T13:22:08.384Z] 33b1e0a273af: Download complete [2023-02-16T13:22:08.644Z] 5eb5b503b376: Verifying Checksum [2023-02-16T13:22:08.644Z] 5eb5b503b376: Download complete [2023-02-16T13:22:09.214Z] 2f39f015ded8: Verifying Checksum [2023-02-16T13:22:09.214Z] 2f39f015ded8: Download complete [2023-02-16T13:22:09.781Z] 5eb5b503b376: Pull complete [2023-02-16T13:22:10.039Z] 5c69ac0246d0: Pull complete [2023-02-16T13:22:10.297Z] ec43610c2a17: Pull complete [2023-02-16T13:22:10.554Z] 3a2ae6a8a46f: Pull complete [2023-02-16T13:22:10.816Z] 33b1e0a273af: Pull complete [2023-02-16T13:22:10.816Z] 5d3b04190fa2: Pull complete [2023-02-16T13:22:14.997Z] 2f39f015ded8: Pull complete [2023-02-16T13:22:14.997Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-16T13:22:14.997Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-16T13:22:14.997Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T13:22:15.072Z] prd-ubuntu20.04-docker-8c-8g-6290 does not seem to be running inside a container [2023-02-16T13:22:15.105Z] $ 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-101 -v /w/workspace/edgexfoundry_device-gpio_PR-101:/w/workspace/edgexfoundry_device-gpio_PR-101:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-101@tmp:/w/workspace/edgexfoundry_device-gpio_PR-101@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-16T13:22:16.948Z] $ docker top 593372c80870afb752976f766bfb25db8f094d66b0515b7101319163c06c898e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T13:22:17.346Z] ---> job-cost.sh [2023-02-16T13:22:17.346Z] lf-activate-venv: SKIPPING [2023-02-16T13:22:17.346Z] INFO: No Stack... [2023-02-16T13:22:17.605Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-16T13:22:18.173Z] INFO: Archiving Costs [Pipeline] sh [2023-02-16T13:22:18.460Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-101/archives/cost.csv [2023-02-16T13:22:18.460Z] + cut -d, -f6 [Pipeline] lock [2023-02-16T13:22:18.476Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-101-2-stack-cost] [2023-02-16T13:22:18.481Z] Resource [jenkins-edgexfoundry-device-gpio-PR-101-2-stack-cost] did not exist. Created. [2023-02-16T13:22:18.481Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-101-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-16T13:22:18.780Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-16T13:22:18.817Z] Stashed 1 file(s) [Pipeline] } [2023-02-16T13:22:18.827Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-101-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-16T13:22:18.843Z] $ docker stop --time=1 593372c80870afb752976f766bfb25db8f094d66b0515b7101319163c06c898e [2023-02-16T13:22:20.007Z] $ docker rm -f --volumes 593372c80870afb752976f766bfb25db8f094d66b0515b7101319163c06c898e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-16T13:22:20.111Z] Failed in branch amd64 [2023-02-16T13:23:53.664Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6295 in /w/workspace/edgexfoundry_device-gpio_PR-101 [Pipeline] { [Pipeline] ws [2023-02-16T13:23:53.677Z] Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout [2023-02-16T13:23:53.722Z] The recommended git tool is: git [2023-02-16T13:23:59.954Z] using credential edgex-jenkins-ssh [2023-02-16T13:23:59.976Z] Cloning the remote Git repository [2023-02-16T13:24:00.039Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-02-16T13:24:00.145Z] > git init /w/workspace/device-gpio/2 # timeout=10 [2023-02-16T13:24:00.343Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-02-16T13:24:00.344Z] > git --version # timeout=10 [2023-02-16T13:24:00.372Z] > git --version # 'git version 2.25.1' [2023-02-16T13:24:00.375Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-16T13:24:00.459Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-16T13:24:02.171Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-02-16T13:24:02.208Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-16T13:24:03.844Z] Merging remotes/origin/main commit 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 into PR head commit 354ab311afec958bc56a4237f9f121e6b6533f51 [2023-02-16T13:24:03.193Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-02-16T13:24:03.241Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-02-16T13:24:03.242Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-16T13:24:03.263Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/101/head:refs/remotes/origin/PR-101 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-16T13:24:03.866Z] > git config core.sparsecheckout # timeout=10 [2023-02-16T13:24:03.886Z] > git checkout -f 354ab311afec958bc56a4237f9f121e6b6533f51 # timeout=10 [2023-02-16T13:24:03.974Z] > git remote # timeout=10 [2023-02-16T13:24:04.120Z] Merge succeeded, producing a93bdf2737780676e9313b00a258282667cfd361 [2023-02-16T13:24:04.121Z] Checking out Revision a93bdf2737780676e9313b00a258282667cfd361 (PR-101) [2023-02-16T13:24:03.995Z] > git config --get remote.origin.url # timeout=10 [2023-02-16T13:24:04.024Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-16T13:24:04.040Z] > git merge 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 # timeout=10 [2023-02-16T13:24:04.100Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-16T13:24:04.130Z] > git config core.sparsecheckout # timeout=10 [2023-02-16T13:24:04.144Z] > git checkout -f a93bdf2737780676e9313b00a258282667cfd361 # timeout=10 [2023-02-16T13:24:07.756Z] Commit message: "Merge commit '192d2e5d52be7054ee8f5929c78a4d9d1a66e905' into HEAD" [2023-02-16T13:24:07.766Z] > git rev-list --no-walk 354ab311afec958bc56a4237f9f121e6b6533f51 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-16T13:24:08.852Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-16T13:24:08.852Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-16T13:24:08.852Z] Dload Upload Total Spent Left Speed [2023-02-16T13:24:08.852Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh [2023-02-16T13:24:09.567Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-16T13:24:09.905Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-16T13:24:09.905Z] + sudo tee /etc/docker/daemon.new [2023-02-16T13:24:09.905Z] { [2023-02-16T13:24:09.905Z] "registry-mirrors": [ [2023-02-16T13:24:09.905Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-16T13:24:09.905Z] ], [2023-02-16T13:24:09.905Z] "bip": "10.250.0.254/24", [2023-02-16T13:24:09.905Z] "hosts": [ [2023-02-16T13:24:09.905Z] "tcp://0.0.0.0:5555", [2023-02-16T13:24:09.905Z] "unix:///var/run/docker.sock" [2023-02-16T13:24:09.905Z] ], [2023-02-16T13:24:09.905Z] "mtu": 1458, [2023-02-16T13:24:09.905Z] "selinux-enabled": true, [2023-02-16T13:24:09.905Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-16T13:24:09.905Z] } [Pipeline] sh [2023-02-16T13:24:10.237Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-16T13:24:10.577Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-16T13:24:28.929Z] provisioning config files... [2023-02-16T13:24:28.963Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config12595516522524878307tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T13:24:29.337Z] ---> docker-login.sh [2023-02-16T13:24:29.337Z] nexus3.edgexfoundry.org:10001 [2023-02-16T13:24:29.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T13:24:29.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T13:24:29.937Z] Configure a credential helper to remove this warning. See [2023-02-16T13:24:29.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T13:24:29.937Z] [2023-02-16T13:24:29.937Z] Login Succeeded [2023-02-16T13:24:29.937Z] nexus3.edgexfoundry.org:10002 [2023-02-16T13:24:30.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T13:24:30.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T13:24:30.491Z] Configure a credential helper to remove this warning. See [2023-02-16T13:24:30.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T13:24:30.491Z] [2023-02-16T13:24:30.491Z] Login Succeeded [2023-02-16T13:24:30.491Z] nexus3.edgexfoundry.org:10003 [2023-02-16T13:24:30.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T13:24:30.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T13:24:30.767Z] Configure a credential helper to remove this warning. See [2023-02-16T13:24:30.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T13:24:30.767Z] [2023-02-16T13:24:30.767Z] Login Succeeded [2023-02-16T13:24:30.767Z] nexus3.edgexfoundry.org:10004 [2023-02-16T13:24:31.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T13:24:31.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T13:24:31.324Z] Configure a credential helper to remove this warning. See [2023-02-16T13:24:31.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T13:24:31.324Z] [2023-02-16T13:24:31.324Z] Login Succeeded [2023-02-16T13:24:31.324Z] docker.io [2023-02-16T13:24:31.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T13:24:31.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T13:24:31.872Z] Configure a credential helper to remove this warning. See [2023-02-16T13:24:31.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T13:24:31.872Z] [2023-02-16T13:24:31.872Z] Login Succeeded [2023-02-16T13:24:31.872Z] ---> docker-login.sh ends [Pipeline] } [2023-02-16T13:24:31.893Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-16T13:24:32.249Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T13:24:32.266Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T13:24:32.278Z] ========================================================= [2023-02-16T13:24:32.278Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-16T13:24:32.278Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T13:24:32.648Z] + 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-02-16T13:24:34.080Z] Sending build context to Docker daemon 8.076MB [2023-02-16T13:24:34.080Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-16T13:24:34.080Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-16T13:24:34.080Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-16T13:24:34.080Z] 9b18e9b68314: Pulling fs layer [2023-02-16T13:24:34.080Z] 35d82f9e3411: Pulling fs layer [2023-02-16T13:24:34.080Z] e16973657156: Pulling fs layer [2023-02-16T13:24:34.080Z] fc693d55d65f: Pulling fs layer [2023-02-16T13:24:34.080Z] 7e9fc2657dce: Pulling fs layer [2023-02-16T13:24:34.080Z] dda99020689f: Pulling fs layer [2023-02-16T13:24:34.080Z] db1c61fa0a46: Pulling fs layer [2023-02-16T13:24:34.080Z] 891c053d2c06: Pulling fs layer [2023-02-16T13:24:34.080Z] dda99020689f: Waiting [2023-02-16T13:24:34.080Z] db1c61fa0a46: Waiting [2023-02-16T13:24:34.080Z] 891c053d2c06: Waiting [2023-02-16T13:24:34.080Z] fc693d55d65f: Waiting [2023-02-16T13:24:34.080Z] 7e9fc2657dce: Waiting [2023-02-16T13:24:34.080Z] e16973657156: Download complete [2023-02-16T13:24:34.080Z] 35d82f9e3411: Download complete [2023-02-16T13:24:34.080Z] 7e9fc2657dce: Verifying Checksum [2023-02-16T13:24:34.080Z] 7e9fc2657dce: Download complete [2023-02-16T13:24:34.355Z] dda99020689f: Verifying Checksum [2023-02-16T13:24:34.355Z] dda99020689f: Download complete [2023-02-16T13:24:34.355Z] 9b18e9b68314: Verifying Checksum [2023-02-16T13:24:34.355Z] 9b18e9b68314: Download complete [2023-02-16T13:24:35.327Z] 9b18e9b68314: Pull complete [2023-02-16T13:24:35.327Z] 891c053d2c06: Verifying Checksum [2023-02-16T13:24:35.327Z] 891c053d2c06: Download complete [2023-02-16T13:24:35.931Z] 35d82f9e3411: Pull complete [2023-02-16T13:24:36.528Z] e16973657156: Pull complete [2023-02-16T13:24:36.801Z] db1c61fa0a46: Verifying Checksum [2023-02-16T13:24:36.801Z] db1c61fa0a46: Download complete [2023-02-16T13:24:37.391Z] fc693d55d65f: Verifying Checksum [2023-02-16T13:24:37.391Z] fc693d55d65f: Download complete [2023-02-16T13:24:49.730Z] fc693d55d65f: Pull complete [2023-02-16T13:24:49.730Z] 7e9fc2657dce: Pull complete [2023-02-16T13:24:49.730Z] dda99020689f: Pull complete [2023-02-16T13:24:55.105Z] db1c61fa0a46: Pull complete [2023-02-16T13:24:57.060Z] 891c053d2c06: Pull complete [2023-02-16T13:24:57.060Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-16T13:24:57.060Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-16T13:24:57.060Z] ---> f96f9c87975a [2023-02-16T13:24:57.060Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-16T13:24:58.483Z] ---> Running in 2109a69f8184 [2023-02-16T13:24:58.751Z] Removing intermediate container 2109a69f8184 [2023-02-16T13:24:58.751Z] ---> 665968029dcd [2023-02-16T13:24:58.751Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-16T13:24:59.017Z] ---> Running in 46fde273c95d [2023-02-16T13:24:59.284Z] Removing intermediate container 46fde273c95d [2023-02-16T13:24:59.284Z] ---> 489ce292254e [2023-02-16T13:24:59.284Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-02-16T13:24:59.284Z] ---> Running in b257047a1b03 [2023-02-16T13:24:59.558Z] Removing intermediate container b257047a1b03 [2023-02-16T13:24:59.558Z] ---> 7d023835c87f [2023-02-16T13:24:59.558Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-16T13:24:59.826Z] ---> Running in 2d3116a457ee [2023-02-16T13:25:00.093Z] Removing intermediate container 2d3116a457ee [2023-02-16T13:25:00.093Z] ---> 90a898e7baff [2023-02-16T13:25:00.093Z] Step 7/12 : WORKDIR /device-gpio [2023-02-16T13:25:00.093Z] ---> Running in c78350f9b24a [2023-02-16T13:25:00.360Z] Removing intermediate container c78350f9b24a [2023-02-16T13:25:00.360Z] ---> 8ee7abfb61e9 [2023-02-16T13:25:00.360Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-16T13:25:00.628Z] ---> Running in 3e7dd9d30e8b [2023-02-16T13:25:01.592Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-16T13:25:02.180Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-16T13:25:03.146Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-16T13:25:03.146Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-16T13:25:03.146Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-16T13:25:03.146Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-16T13:25:03.146Z] Executing busybox-1.35.0-r17.trigger [2023-02-16T13:25:03.146Z] OK: 226 MiB in 55 packages [2023-02-16T13:25:04.123Z] Removing intermediate container 3e7dd9d30e8b [2023-02-16T13:25:04.123Z] ---> 820070c508a9 [2023-02-16T13:25:04.123Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-16T13:25:04.715Z] ---> 3cb7e1d9b602 [2023-02-16T13:25:04.715Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-16T13:25:04.715Z] ---> Running in 57969a6004d5 [2023-02-16T13:26:12.671Z] Removing intermediate container 57969a6004d5 [2023-02-16T13:26:12.671Z] ---> 8e7c753c1d8f [2023-02-16T13:26:12.671Z] Step 11/12 : COPY . . [2023-02-16T13:26:12.671Z] ---> 969c983ef0c3 [2023-02-16T13:26:12.671Z] Step 12/12 : RUN ${MAKE} [2023-02-16T13:26:12.671Z] ---> Running in 83f40160e250 [2023-02-16T13:26:12.671Z] noop [2023-02-16T13:26:12.671Z] Removing intermediate container 83f40160e250 [2023-02-16T13:26:12.671Z] ---> 8ce6fb3daa75 [2023-02-16T13:26:12.671Z] Successfully built 8ce6fb3daa75 [2023-02-16T13:26:12.671Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T13:26:13.270Z] + docker inspect -f . ci-base-image-arm64 [2023-02-16T13:26:13.270Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T13:26:13.487Z] prd-ubuntu20.04-docker-arm64-4c-16g-6295 does not seem to be running inside a container [2023-02-16T13:26:13.568Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-16T13:26:14.919Z] $ docker top 7b46e7b6a1cdbc8013e19ae274899902e150f7f59998933e24aea7281a3bf747 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T13:26:15.797Z] + go version [2023-02-16T13:26:15.797Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-16T13:26:15.823Z] $ docker stop --time=1 7b46e7b6a1cdbc8013e19ae274899902e150f7f59998933e24aea7281a3bf747 [2023-02-16T13:26:17.556Z] $ docker rm -f --volumes 7b46e7b6a1cdbc8013e19ae274899902e150f7f59998933e24aea7281a3bf747 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T13:26:18.156Z] + docker inspect -f . ci-base-image-arm64 [2023-02-16T13:26:18.156Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T13:26:18.375Z] prd-ubuntu20.04-docker-arm64-4c-16g-6295 does not seem to be running inside a container [2023-02-16T13:26:18.455Z] $ 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/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-16T13:26:19.701Z] $ docker top 1120a05d361aca0234bec018e7e934df6a1e5dae71f56ab933ba19dc66fe8422 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T13:26:20.569Z] + git config --global --add safe.directory /w/workspace/device-gpio/2 [Pipeline] fileExists [Pipeline] sh [2023-02-16T13:26:21.228Z] + make test [2023-02-16T13:26:21.228Z] go test ./... -coverprofile=coverage.out ./... [2023-02-16T13:26:22.643Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-02-16T13:27:19.109Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-02-16T13:27:19.109Z] /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-02-16T13:27:19.109Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-02-16T13:27:19.109Z] 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-02-16T13:27:19.109Z] 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-02-16T13:27:19.109Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-02-16T13:27:41.183Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-02-16T13:27:41.183Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:219:43: undefined: common.ValueYes [2023-02-16T13:27:41.183Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:223:45: undefined: common.ValueNo [2023-02-16T13:27:41.183Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-02-16T13:27:41.183Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:49:71: undefined: common.ValueYes [2023-02-16T13:27:41.183Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:54:74: undefined: common.ValueYes [2023-02-16T13:27:41.183Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/common.go:68:23: undefined: common.Metrics [2023-02-16T13:27:41.183Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/common.go:78:24: undefined: common.NewMetricsResponse [2023-02-16T13:27:41.183Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/common.go:79:41: undefined: common.ApiMetricsRoute [2023-02-16T13:27:41.183Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/common.go:116:36: request.Path undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common".SecretRequest has no field or method Path) [2023-02-16T13:27:41.183Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/restrouter.go:60:28: undefined: common.ApiMetricsRoute [2023-02-16T13:27:47.846Z] make: *** [Makefile:29: unittest] Error 2 [Pipeline] } [2023-02-16T13:27:47.868Z] $ docker stop --time=1 1120a05d361aca0234bec018e7e934df6a1e5dae71f56ab933ba19dc66fe8422 [2023-02-16T13:27:49.794Z] $ docker rm -f --volumes 1120a05d361aca0234bec018e7e934df6a1e5dae71f56ab933ba19dc66fe8422 [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-02-16T13:27:50.845Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-16T13:27:50.845Z] [2023-02-16T13:27:50.845Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T13:27:51.186Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-16T13:27:51.186Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-16T13:27:51.186Z] 8998bd30e6a1: Pulling fs layer [2023-02-16T13:27:51.186Z] 04944245beec: Pulling fs layer [2023-02-16T13:27:51.186Z] 699f458cf7ca: Pulling fs layer [2023-02-16T13:27:51.186Z] 765212b225bb: Pulling fs layer [2023-02-16T13:27:51.186Z] f23df028b6ca: Pulling fs layer [2023-02-16T13:27:51.186Z] d65c8cfc05b1: Pulling fs layer [2023-02-16T13:27:51.186Z] 2437ff75d9bd: Pulling fs layer [2023-02-16T13:27:51.453Z] 765212b225bb: Waiting [2023-02-16T13:27:51.453Z] f23df028b6ca: Waiting [2023-02-16T13:27:51.453Z] d65c8cfc05b1: Waiting [2023-02-16T13:27:51.453Z] 2437ff75d9bd: Waiting [2023-02-16T13:27:51.453Z] 04944245beec: Verifying Checksum [2023-02-16T13:27:51.453Z] 04944245beec: Download complete [2023-02-16T13:27:51.453Z] 765212b225bb: Verifying Checksum [2023-02-16T13:27:51.453Z] 765212b225bb: Download complete [2023-02-16T13:27:51.453Z] f23df028b6ca: Verifying Checksum [2023-02-16T13:27:51.453Z] f23df028b6ca: Download complete [2023-02-16T13:27:51.453Z] d65c8cfc05b1: Verifying Checksum [2023-02-16T13:27:51.453Z] d65c8cfc05b1: Download complete [2023-02-16T13:27:51.722Z] 699f458cf7ca: Verifying Checksum [2023-02-16T13:27:51.722Z] 699f458cf7ca: Download complete [2023-02-16T13:27:51.994Z] 8998bd30e6a1: Verifying Checksum [2023-02-16T13:27:51.994Z] 8998bd30e6a1: Download complete [2023-02-16T13:27:54.601Z] 2437ff75d9bd: Verifying Checksum [2023-02-16T13:27:54.601Z] 2437ff75d9bd: Download complete [2023-02-16T13:27:56.561Z] 8998bd30e6a1: Pull complete [2023-02-16T13:27:56.831Z] 04944245beec: Pull complete [2023-02-16T13:27:58.248Z] 699f458cf7ca: Pull complete [2023-02-16T13:27:58.518Z] 765212b225bb: Pull complete [2023-02-16T13:27:59.111Z] f23df028b6ca: Pull complete [2023-02-16T13:28:01.063Z] d65c8cfc05b1: Pull complete [2023-02-16T13:28:19.311Z] 2437ff75d9bd: Pull complete [2023-02-16T13:28:19.311Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-16T13:28:19.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-16T13:28:19.311Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T13:28:19.532Z] prd-ubuntu20.04-docker-arm64-4c-16g-6295 does not seem to be running inside a container [2023-02-16T13:28:19.632Z] $ 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/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-16T13:28:20.798Z] $ docker top 8e98353b9efb447ae1bbec138b8869e7ec152151e41c71e00c62bfd75c295b96 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T13:28:21.741Z] ---> job-cost.sh [2023-02-16T13:28:21.741Z] lf-activate-venv: SKIPPING [2023-02-16T13:28:21.741Z] INFO: No Stack... [2023-02-16T13:28:22.355Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-16T13:28:23.371Z] INFO: Archiving Costs [Pipeline] sh [2023-02-16T13:28:24.050Z] + cat /w/workspace/device-gpio/2/archives/cost.csv [2023-02-16T13:28:24.050Z] + cut -d, -f6 [Pipeline] lock [2023-02-16T13:28:24.120Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-101-2-stack-cost] [2023-02-16T13:28:24.126Z] Resource [jenkins-edgexfoundry-device-gpio-PR-101-2-stack-cost] did not exist. Created. [2023-02-16T13:28:24.127Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-101-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-16T13:28:24.796Z] /w/workspace/device-gpio/2@tmp/durable-a961f509/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-16T13:28:26.281Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-16T13:28:26.309Z] Warning: overwriting stash ‘stack-cost’ [2023-02-16T13:28:26.888Z] Stashed 1 file(s) [Pipeline] } [2023-02-16T13:28:26.898Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-101-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-16T13:28:26.917Z] $ docker stop --time=1 8e98353b9efb447ae1bbec138b8869e7ec152151e41c71e00c62bfd75c295b96 [2023-02-16T13:28:28.775Z] $ docker rm -f --volumes 8e98353b9efb447ae1bbec138b8869e7ec152151e41c71e00c62bfd75c295b96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-16T13:28:29.046Z] 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-02-16T13:28:29.798Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-101/archives ] [2023-02-16T13:28:29.798Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-101/archives [2023-02-16T13:28:29.798Z] total 16 [2023-02-16T13:28:29.798Z] drwxr-xr-x 3 root root 4096 Feb 16 13:22 . [2023-02-16T13:28:29.798Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 16 13:22 .. [2023-02-16T13:28:29.798Z] drwxr-xr-x 2 root root 4096 Feb 16 13:22 cost [2023-02-16T13:28:29.798Z] -rw-r--r-- 1 root root 83 Feb 16 13:22 cost.csv [2023-02-16T13:28:29.798Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-101/archives [2023-02-16T13:28:29.798Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-101/archives [2023-02-16T13:28:29.798Z] total 16 [2023-02-16T13:28:29.798Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 16 13:22 . [2023-02-16T13:28:29.798Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 16 13:22 .. [2023-02-16T13:28:29.798Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 16 13:22 cost [2023-02-16T13:28:29.798Z] -rw-r--r-- 1 jenkins jenkins 83 Feb 16 13:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-16T13:28:30.097Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T13:28:30.966Z] ---> package-listing.sh [2023-02-16T13:28:30.966Z] ++ facter osfamily [2023-02-16T13:28:30.966Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-16T13:28:31.224Z] + OS_FAMILY=debian [2023-02-16T13:28:31.224Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-101 [2023-02-16T13:28:31.224Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-16T13:28:31.224Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-16T13:28:31.224Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-16T13:28:31.224Z] + PACKAGES=/tmp/packages_start.txt [2023-02-16T13:28:31.224Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-101 ']' [2023-02-16T13:28:31.224Z] + PACKAGES=/tmp/packages_end.txt [2023-02-16T13:28:31.224Z] + case "${OS_FAMILY}" in [2023-02-16T13:28:31.224Z] + dpkg -l [2023-02-16T13:28:31.224Z] + grep '^ii' [2023-02-16T13:28:31.224Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-16T13:28:31.224Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-16T13:28:31.224Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-16T13:28:31.224Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-101 ']' [2023-02-16T13:28:31.224Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-101/archives/ [2023-02-16T13:28:31.224Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-101/archives/ [Pipeline] echo [2023-02-16T13:28:31.235Z] 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-101/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-16T13:28:31.515Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T13:28:32.079Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-16T13:28:32.079Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T13:28:32.148Z] prd-ubuntu20.04-docker-8c-8g-6290 does not seem to be running inside a container [2023-02-16T13:28:32.179Z] $ 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-101/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-101 -v /w/workspace/edgexfoundry_device-gpio_PR-101:/w/workspace/edgexfoundry_device-gpio_PR-101:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-101@tmp:/w/workspace/edgexfoundry_device-gpio_PR-101@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-16T13:28:32.387Z] $ docker top cdef21b8748cdee8a591faf9643f7fdf7aa3a8f1ba0070d1a6d5c4af8c1bb30b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T13:28:32.734Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-16T13:28:33.023Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-16T13:28:33.314Z] + ls /var/log/sa-host [2023-02-16T13:28:33.314Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-16T13:28:33.455Z] provisioning config files... [2023-02-16T13:28:33.464Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-101@tmp/config5271235046568374470tmp [Pipeline] { [Pipeline] echo [2023-02-16T13:28:33.479Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T13:28:33.759Z] ---> create-netrc.sh [Pipeline] } [2023-02-16T13:28:33.766Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-16T13:28:34.088Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-16T13:28:34.098Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T13:28:34.381Z] ---> sudo-logs.sh [2023-02-16T13:28:34.381Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-16T13:28:34.412Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T13:28:34.699Z] ---> job-cost.sh [2023-02-16T13:28:34.699Z] lf-activate-venv: SKIPPING [2023-02-16T13:28:34.699Z] DEBUG: total: 0.2199999988079071 [2023-02-16T13:28:34.699Z] INFO: Retrieving Stack Cost... [2023-02-16T13:28:35.269Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-16T13:28:35.529Z] INFO: Archiving Costs [Pipeline] echo [2023-02-16T13:28:35.544Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T13:28:35.831Z] ---> logs-deploy.sh [2023-02-16T13:28:35.831Z] lf-activate-venv: SKIPPING [2023-02-16T13:28:35.831Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-101/2 [2023-02-16T13:28:35.831Z] INFO: archiving workspace using pattern(s): [2023-02-16T13:28:36.769Z] Archives upload complete. [2023-02-16T13:28:36.769Z] INFO: archiving logs to Nexus