Pull request #117 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5d1e07e77430985425502a6355a0fbf74704bd0f+192d2e5d52be7054ee8f5929c78a4d9d1a66e905 (ccf908465edd862d391dadaf953da768da7c672c) 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-ssh16074882221395497492.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-ssh135325047430282148.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-117/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-117/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13936488387736120132.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-117/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3787566785152149695.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13984107946584499337.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-117/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-117/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13675449448476262818.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8446 in /w/workspace/edgexfoundry_device-gpio_PR-117 [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-117 # 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/117/head:refs/remotes/origin/PR-117 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 into PR head commit 5d1e07e77430985425502a6355a0fbf74704bd0f Merge succeeded, producing 5d1e07e77430985425502a6355a0fbf74704bd0f Checking out Revision 5d1e07e77430985425502a6355a0fbf74704bd0f (PR-117) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-07T01:08:37.463Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 5d1e07e77430985425502a6355a0fbf74704bd0f # 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 5d1e07e77430985425502a6355a0fbf74704bd0f # timeout=10 [Pipeline] withCredentials [2023-03-07T01:08:37.639Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-07T01:08:37.744Z] ========================================================= [2023-03-07T01:08:37.744Z] EdgeX Global Pipelines Version Info [2023-03-07T01:08:37.744Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:08:38.483Z] ------------------- [2023-03-07T01:08:38.483Z] stable info: [2023-03-07T01:08:38.483Z] ------------------- [2023-03-07T01:08:38.483Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-07T01:08:38.483Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T01:08:38.483Z] Message: update stable to v1.0.244 [2023-03-07T01:08:39.054Z] ------------------- [2023-03-07T01:08:39.054Z] experimental info: [2023-03-07T01:08:39.054Z] ------------------- [2023-03-07T01:08:39.054Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-07T01:08:39.054Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T01:08:39.054Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-07T01:08:39.365Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-03-07T01:08:39.406Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-03-07T01:08:39.448Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-07T01:08:39.581Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-07T01:08:39.692Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-07T01:08:39.735Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-07T01:08:39.901Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-07T01:08:39.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-07T01:08:39.989Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-07T01:08:40.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-07T01:08:40.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-07T01:08:40.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-03-07T01:08:40.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-07T01:08:40.390Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-07T01:08:40.432Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-07T01:08:40.521Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-07T01:08:40.559Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T01:08:40.608Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T01:08:40.693Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-07T01:08:40.731Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-07T01:08:40.774Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-07T01:08:40.810Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-07T01:08:40.848Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-07T01:08:40.888Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-07T01:08:40.925Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-07T01:08:40.961Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-07T01:08:41.000Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-07T01:08:41.043Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-117 [Pipeline] echo [2023-03-07T01:08:41.079Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-117 [Pipeline] echo [2023-03-07T01:08:41.206Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-117 [Pipeline] echo [2023-03-07T01:08:41.245Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5d1e07e77430985425502a6355a0fbf74704bd0f [Pipeline] echo [2023-03-07T01:08:41.282Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5d1e07e [Pipeline] echo [2023-03-07T01:08:41.326Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T01:08:41.491Z] provisioning config files... [2023-03-07T01:08:41.505Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-117@tmp/config9152332522112300192tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:08:41.852Z] ---> docker-login.sh [2023-03-07T01:08:41.852Z] nexus3.edgexfoundry.org:10001 [2023-03-07T01:08:42.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:08:42.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:08:42.114Z] Configure a credential helper to remove this warning. See [2023-03-07T01:08:42.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:08:42.114Z] [2023-03-07T01:08:42.114Z] Login Succeeded [2023-03-07T01:08:42.114Z] nexus3.edgexfoundry.org:10002 [2023-03-07T01:08:42.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:08:42.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:08:42.114Z] Configure a credential helper to remove this warning. See [2023-03-07T01:08:42.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:08:42.114Z] [2023-03-07T01:08:42.114Z] Login Succeeded [2023-03-07T01:08:42.114Z] nexus3.edgexfoundry.org:10003 [2023-03-07T01:08:42.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:08:42.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:08:42.373Z] Configure a credential helper to remove this warning. See [2023-03-07T01:08:42.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:08:42.373Z] [2023-03-07T01:08:42.373Z] Login Succeeded [2023-03-07T01:08:42.373Z] nexus3.edgexfoundry.org:10004 [2023-03-07T01:08:42.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:08:42.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:08:42.373Z] Configure a credential helper to remove this warning. See [2023-03-07T01:08:42.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:08:42.373Z] [2023-03-07T01:08:42.373Z] Login Succeeded [2023-03-07T01:08:42.373Z] docker.io [2023-03-07T01:08:42.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:08:42.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:08:42.632Z] Configure a credential helper to remove this warning. See [2023-03-07T01:08:42.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:08:42.632Z] [2023-03-07T01:08:42.632Z] Login Succeeded [2023-03-07T01:08:42.632Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T01:08:42.667Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-07T01:08:43.301Z] + git rev-list -1 --merges 5d1e07e77430985425502a6355a0fbf74704bd0f~1..5d1e07e77430985425502a6355a0fbf74704bd0f [Pipeline] echo [2023-03-07T01:08:43.364Z] -----------> git rev-list -1 --merges 5d1e07e77430985425502a6355a0fbf74704bd0f~1..5d1e07e77430985425502a6355a0fbf74704bd0f 5d1e07e77430985425502a6355a0fbf74704bd0f [false] [Pipeline] sh [2023-03-07T01:08:43.676Z] + git log --format=format:%s -1 5d1e07e77430985425502a6355a0fbf74704bd0f [Pipeline] echo [2023-03-07T01:08:43.831Z] ========================================================= [2023-03-07T01:08:43.832Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-07T01:08:43.832Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T01:08:44.331Z] + git log --format=format:%s -1 5d1e07e77430985425502a6355a0fbf74704bd0f [Pipeline] echo [2023-03-07T01:08:44.362Z] [semverPrep] GIT_COMMIT: 5d1e07e77430985425502a6355a0fbf74704bd0f, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-03-07T01:08:44.398Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-07T01:08:44.856Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-07T01:08:44.856Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-07T01:08:44.856Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-07T01:08:44.856Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-07T01:08:44.856Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-07T01:08:44.856Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-07T01:08:44.856Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:08:45.300Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T01:08:45.300Z] [2023-03-07T01:08:45.300Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:08:45.688Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T01:08:45.688Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-07T01:08:45.688Z] b85a868b505f: Pulling fs layer [2023-03-07T01:08:45.688Z] e2be974225ed: Pulling fs layer [2023-03-07T01:08:45.688Z] 339a4e72a1f5: Pulling fs layer [2023-03-07T01:08:45.688Z] 988bab9f4d93: Pulling fs layer [2023-03-07T01:08:45.688Z] 1469e6f7b9e6: Pulling fs layer [2023-03-07T01:08:45.688Z] eaf3925da568: Pulling fs layer [2023-03-07T01:08:45.688Z] bab4dde63d76: Pulling fs layer [2023-03-07T01:08:45.688Z] bde34c3a00c8: Pulling fs layer [2023-03-07T01:08:45.688Z] b352a97aabf1: Pulling fs layer [2023-03-07T01:08:45.688Z] 4872d77fe225: Pulling fs layer [2023-03-07T01:08:45.688Z] 5851b861e8e6: Pulling fs layer [2023-03-07T01:08:45.688Z] 1469e6f7b9e6: Waiting [2023-03-07T01:08:45.688Z] 4872d77fe225: Waiting [2023-03-07T01:08:45.688Z] b352a97aabf1: Waiting [2023-03-07T01:08:45.688Z] 5851b861e8e6: Waiting [2023-03-07T01:08:45.688Z] bab4dde63d76: Waiting [2023-03-07T01:08:45.688Z] eaf3925da568: Waiting [2023-03-07T01:08:45.688Z] bde34c3a00c8: Waiting [2023-03-07T01:08:45.688Z] 988bab9f4d93: Waiting [2023-03-07T01:08:45.688Z] e2be974225ed: Download complete [2023-03-07T01:08:45.950Z] 988bab9f4d93: Download complete [2023-03-07T01:08:45.950Z] 339a4e72a1f5: Verifying Checksum [2023-03-07T01:08:45.950Z] 339a4e72a1f5: Download complete [2023-03-07T01:08:45.950Z] 1469e6f7b9e6: Verifying Checksum [2023-03-07T01:08:45.950Z] 1469e6f7b9e6: Download complete [2023-03-07T01:08:45.950Z] eaf3925da568: Verifying Checksum [2023-03-07T01:08:45.950Z] eaf3925da568: Download complete [2023-03-07T01:08:45.950Z] bde34c3a00c8: Download complete [2023-03-07T01:08:46.215Z] b352a97aabf1: Download complete [2023-03-07T01:08:46.215Z] 4872d77fe225: Verifying Checksum [2023-03-07T01:08:46.215Z] 4872d77fe225: Download complete [2023-03-07T01:08:46.215Z] 5851b861e8e6: Verifying Checksum [2023-03-07T01:08:46.215Z] 5851b861e8e6: Download complete [2023-03-07T01:08:46.215Z] b85a868b505f: Verifying Checksum [2023-03-07T01:08:46.215Z] b85a868b505f: Download complete [2023-03-07T01:08:46.475Z] bab4dde63d76: Verifying Checksum [2023-03-07T01:08:46.475Z] bab4dde63d76: Download complete [2023-03-07T01:08:47.412Z] b85a868b505f: Pull complete [2023-03-07T01:08:47.412Z] e2be974225ed: Pull complete [2023-03-07T01:08:47.979Z] 339a4e72a1f5: Pull complete [2023-03-07T01:08:47.979Z] 988bab9f4d93: Pull complete [2023-03-07T01:08:48.239Z] 1469e6f7b9e6: Pull complete [2023-03-07T01:08:48.239Z] eaf3925da568: Pull complete [2023-03-07T01:08:50.142Z] bab4dde63d76: Pull complete [2023-03-07T01:08:50.399Z] bde34c3a00c8: Pull complete [2023-03-07T01:08:50.399Z] b352a97aabf1: Pull complete [2023-03-07T01:08:50.399Z] 4872d77fe225: Pull complete [2023-03-07T01:08:50.657Z] 5851b861e8e6: Pull complete [2023-03-07T01:08:50.657Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-07T01:08:50.657Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T01:08:50.657Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T01:08:50.853Z] prd-ubuntu20.04-docker-8c-8g-8446 does not seem to be running inside a container [2023-03-07T01:08:50.882Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-117 -v /w/workspace/edgexfoundry_device-gpio_PR-117:/w/workspace/edgexfoundry_device-gpio_PR-117:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-117@tmp:/w/workspace/edgexfoundry_device-gpio_PR-117@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-07T01:08:52.117Z] $ docker top f4c5f7f202a8c8771989720efb3195c6e0e0e21317108784fab3a7d750c3f959 -eo pid,comm [2023-03-07T01:08:52.167Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-07T01:08:52.167Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-07T01:08:52.311Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T01:08:52.311Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T01:08:52.425Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T01:08:52.428Z] $ docker exec f4c5f7f202a8c8771989720efb3195c6e0e0e21317108784fab3a7d750c3f959 ssh-agent [2023-03-07T01:08:52.540Z] SSH_AUTH_SOCK=/tmp/ssh-PrjziThJrWTR/agent.32 [2023-03-07T01:08:52.540Z] SSH_AGENT_PID=38 [2023-03-07T01:08:52.545Z] Running ssh-add (command line suppressed) [2023-03-07T01:08:52.649Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-117@tmp/private_key_13463722804261600608.key (/w/workspace/edgexfoundry_device-gpio_PR-117@tmp/private_key_13463722804261600608.key) [2023-03-07T01:08:52.660Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T01:08:52.983Z] + git tag --points-at HEAD [Pipeline] } [2023-03-07T01:08:53.006Z] $ docker exec --env ******** --env ******** f4c5f7f202a8c8771989720efb3195c6e0e0e21317108784fab3a7d750c3f959 ssh-agent -k [2023-03-07T01:08:53.102Z] unset SSH_AUTH_SOCK; [2023-03-07T01:08:53.103Z] unset SSH_AGENT_PID; [2023-03-07T01:08:53.103Z] echo Agent pid 38 killed; [2023-03-07T01:08:53.110Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-07T01:08:53.195Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T01:08:53.195Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T01:08:53.292Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T01:08:53.294Z] $ docker exec f4c5f7f202a8c8771989720efb3195c6e0e0e21317108784fab3a7d750c3f959 ssh-agent [2023-03-07T01:08:53.405Z] SSH_AUTH_SOCK=/tmp/ssh-vM8amLQoidV6/agent.71 [2023-03-07T01:08:53.405Z] SSH_AGENT_PID=77 [2023-03-07T01:08:53.410Z] Running ssh-add (command line suppressed) [2023-03-07T01:08:53.506Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-117@tmp/private_key_17132217446017511266.key (/w/workspace/edgexfoundry_device-gpio_PR-117@tmp/private_key_17132217446017511266.key) [2023-03-07T01:08:53.519Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T01:08:53.851Z] + git semver init [2023-03-07T01:08:54.110Z] 2023-03-07 01:08:54,077 [run_init] DEBUG init version:0.0.0 force:False [2023-03-07T01:08:54.110Z] 2023-03-07 01:08:54,078 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-117/.semver [2023-03-07T01:08:54.110Z] 2023-03-07 01:08:54,079 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-117/.semver [2023-03-07T01:08:54.110Z] 2023-03-07 01:08:54,079 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-117/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-117, universal_newlines=False, shell=None, istream=None) [2023-03-07T01:08:55.482Z] 2023-03-07 01:08:55,187 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-117/.git/info/exclude [2023-03-07T01:08:55.482Z] 2023-03-07 01:08:55,188 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-117/.semver/PR-117 with force:False [2023-03-07T01:08:55.482Z] 2023-03-07 01:08:55,188 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-117/.semver/PR-117 [2023-03-07T01:08:55.482Z] 2023-03-07 01:08:55,191 [execute] INFO git cat-file --batch-check [2023-03-07T01:08:55.482Z] 2023-03-07 01:08:55,191 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-117/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T01:08:55.482Z] 2023-03-07 01:08:55,196 [execute] INFO git cat-file --batch [2023-03-07T01:08:55.482Z] 2023-03-07 01:08:55,197 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-117/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T01:08:55.482Z] 2023-03-07 01:08:55,202 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-117/.semver/PR-117 [2023-03-07T01:08:55.482Z] 0.0.0 [Pipeline] } [2023-03-07T01:08:55.572Z] $ docker exec --env ******** --env ******** f4c5f7f202a8c8771989720efb3195c6e0e0e21317108784fab3a7d750c3f959 ssh-agent -k [2023-03-07T01:08:55.693Z] unset SSH_AUTH_SOCK; [2023-03-07T01:08:55.695Z] unset SSH_AGENT_PID; [2023-03-07T01:08:55.695Z] echo Agent pid 77 killed; [2023-03-07T01:08:55.701Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-07T01:08:56.123Z] + git semver [Pipeline] } [2023-03-07T01:08:56.721Z] $ docker stop --time=1 f4c5f7f202a8c8771989720efb3195c6e0e0e21317108784fab3a7d750c3f959 [2023-03-07T01:08:58.016Z] $ docker rm -f --volumes f4c5f7f202a8c8771989720efb3195c6e0e0e21317108784fab3a7d750c3f959 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T01:08:58.410Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-07T01:08:58.686Z] Stashed 1 file(s) [Pipeline] echo [2023-03-07T01:08:58.704Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T01:08:59.400Z] provisioning config files... [2023-03-07T01:08:59.409Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-117@tmp/config11816210962879608830tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:08:59.760Z] ---> docker-login.sh [2023-03-07T01:08:59.760Z] nexus3.edgexfoundry.org:10001 [2023-03-07T01:08:59.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:08:59.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:08:59.760Z] Configure a credential helper to remove this warning. See [2023-03-07T01:08:59.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:08:59.760Z] [2023-03-07T01:08:59.760Z] Login Succeeded [2023-03-07T01:08:59.760Z] nexus3.edgexfoundry.org:10002 [2023-03-07T01:08:59.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:08:59.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:08:59.760Z] Configure a credential helper to remove this warning. See [2023-03-07T01:08:59.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:08:59.760Z] [2023-03-07T01:08:59.760Z] Login Succeeded [2023-03-07T01:08:59.760Z] nexus3.edgexfoundry.org:10003 [2023-03-07T01:09:00.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:09:00.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:09:00.021Z] Configure a credential helper to remove this warning. See [2023-03-07T01:09:00.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:09:00.021Z] [2023-03-07T01:09:00.021Z] Login Succeeded [2023-03-07T01:09:00.021Z] nexus3.edgexfoundry.org:10004 [2023-03-07T01:09:00.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:09:00.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:09:00.021Z] Configure a credential helper to remove this warning. See [2023-03-07T01:09:00.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:09:00.021Z] [2023-03-07T01:09:00.021Z] Login Succeeded [2023-03-07T01:09:00.021Z] docker.io [2023-03-07T01:09:00.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:09:00.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:09:00.284Z] Configure a credential helper to remove this warning. See [2023-03-07T01:09:00.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:09:00.284Z] [2023-03-07T01:09:00.284Z] Login Succeeded [2023-03-07T01:09:00.284Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T01:09:00.315Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T01:09:00.512Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T01:09:00.549Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T01:09:00.585Z] ========================================================= [2023-03-07T01:09:00.585Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-07T01:09:00.585Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:09:01.170Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-07T01:09:01.170Z] Sending build context to Docker daemon 16.01MB [2023-03-07T01:09:01.170Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T01:09:01.170Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-07T01:09:01.170Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-07T01:09:01.170Z] 213ec9aee27d: Pulling fs layer [2023-03-07T01:09:01.170Z] 4583459ba037: Pulling fs layer [2023-03-07T01:09:01.170Z] 93c1e223e6f2: Pulling fs layer [2023-03-07T01:09:01.170Z] 53926ce57604: Pulling fs layer [2023-03-07T01:09:01.170Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-07T01:09:01.170Z] 22ff95d597cd: Pulling fs layer [2023-03-07T01:09:01.170Z] 12d6caf4c0d1: Pulling fs layer [2023-03-07T01:09:01.170Z] 96b7cbca73a9: Pulling fs layer [2023-03-07T01:09:01.170Z] a7acece74701: Pulling fs layer [2023-03-07T01:09:01.170Z] 53926ce57604: Waiting [2023-03-07T01:09:01.170Z] 96b7cbca73a9: Waiting [2023-03-07T01:09:01.170Z] 12d6caf4c0d1: Waiting [2023-03-07T01:09:01.170Z] a7acece74701: Waiting [2023-03-07T01:09:01.170Z] 22ff95d597cd: Waiting [2023-03-07T01:09:01.431Z] 93c1e223e6f2: Verifying Checksum [2023-03-07T01:09:01.431Z] 93c1e223e6f2: Download complete [2023-03-07T01:09:01.431Z] 4583459ba037: Verifying Checksum [2023-03-07T01:09:01.431Z] 4583459ba037: Download complete [2023-03-07T01:09:01.431Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-07T01:09:01.431Z] 21b2b0c7a3f4: Download complete [2023-03-07T01:09:01.431Z] 22ff95d597cd: Download complete [2023-03-07T01:09:01.431Z] 213ec9aee27d: Verifying Checksum [2023-03-07T01:09:01.431Z] 12d6caf4c0d1: Download complete [2023-03-07T01:09:01.431Z] 213ec9aee27d: Pull complete [2023-03-07T01:09:01.698Z] 4583459ba037: Pull complete [2023-03-07T01:09:01.698Z] 93c1e223e6f2: Pull complete [2023-03-07T01:09:01.962Z] a7acece74701: Verifying Checksum [2023-03-07T01:09:01.962Z] a7acece74701: Download complete [2023-03-07T01:09:02.221Z] 96b7cbca73a9: Download complete [2023-03-07T01:09:02.221Z] 53926ce57604: Verifying Checksum [2023-03-07T01:09:02.221Z] 53926ce57604: Download complete [2023-03-07T01:09:06.407Z] 53926ce57604: Pull complete [2023-03-07T01:09:06.407Z] 21b2b0c7a3f4: Pull complete [2023-03-07T01:09:06.407Z] 22ff95d597cd: Pull complete [2023-03-07T01:09:06.407Z] 12d6caf4c0d1: Pull complete [2023-03-07T01:09:08.311Z] 96b7cbca73a9: Pull complete [2023-03-07T01:09:09.256Z] a7acece74701: Pull complete [2023-03-07T01:09:09.256Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-07T01:09:09.256Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-07T01:09:09.256Z] ---> db6d94c90886 [2023-03-07T01:09:09.256Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-07T01:09:11.162Z] ---> Running in 71ace0944a3b [2023-03-07T01:09:11.162Z] Removing intermediate container 71ace0944a3b [2023-03-07T01:09:11.162Z] ---> d3c51993bc70 [2023-03-07T01:09:11.162Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-07T01:09:11.162Z] ---> Running in 3b5128fc18fc [2023-03-07T01:09:11.162Z] Removing intermediate container 3b5128fc18fc [2023-03-07T01:09:11.162Z] ---> 8eb7255ab657 [2023-03-07T01:09:11.162Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-03-07T01:09:11.162Z] ---> Running in 2a37235b9e94 [2023-03-07T01:09:11.162Z] Removing intermediate container 2a37235b9e94 [2023-03-07T01:09:11.162Z] ---> 8a897e112a8e [2023-03-07T01:09:11.162Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-07T01:09:11.420Z] ---> Running in bc2a5a26be8e [2023-03-07T01:09:11.420Z] Removing intermediate container bc2a5a26be8e [2023-03-07T01:09:11.420Z] ---> ac17e7434b87 [2023-03-07T01:09:11.420Z] Step 7/12 : WORKDIR /device-gpio [2023-03-07T01:09:11.420Z] ---> Running in 15e420351d60 [2023-03-07T01:09:11.420Z] Removing intermediate container 15e420351d60 [2023-03-07T01:09:11.420Z] ---> 0c81fd074e0b [2023-03-07T01:09:11.420Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-07T01:09:11.679Z] ---> Running in e005faa3fcce [2023-03-07T01:09:11.938Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T01:09:11.938Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T01:09:12.506Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-07T01:09:12.506Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-07T01:09:12.506Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-07T01:09:12.506Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-07T01:09:12.506Z] Executing busybox-1.35.0-r17.trigger [2023-03-07T01:09:12.506Z] OK: 216 MiB in 55 packages [2023-03-07T01:09:13.074Z] Removing intermediate container e005faa3fcce [2023-03-07T01:09:13.074Z] ---> 1cfd2f79ed8e [2023-03-07T01:09:13.074Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-07T01:09:13.074Z] ---> bbd988a625b9 [2023-03-07T01:09:13.074Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T01:09:13.074Z] ---> Running in d8dd2e00ca7e [2023-03-07T01:09:14.142Z] Still waiting to schedule task [2023-03-07T01:09:14.142Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-07T01:09:31.214Z] Removing intermediate container d8dd2e00ca7e [2023-03-07T01:09:31.214Z] ---> d867e6416c15 [2023-03-07T01:09:31.214Z] Step 11/12 : COPY . . [2023-03-07T01:09:31.784Z] ---> c2261b9ba4f9 [2023-03-07T01:09:31.784Z] Step 12/12 : RUN ${MAKE} [2023-03-07T01:09:31.784Z] ---> Running in 6671a198f528 [2023-03-07T01:09:32.043Z] noop [2023-03-07T01:09:32.302Z] Removing intermediate container 6671a198f528 [2023-03-07T01:09:32.302Z] ---> 5ff13f314583 [2023-03-07T01:09:32.302Z] Successfully built 5ff13f314583 [2023-03-07T01:09:32.302Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:09:32.754Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T01:09:32.754Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T01:09:32.994Z] prd-ubuntu20.04-docker-8c-8g-8446 does not seem to be running inside a container [2023-03-07T01:09:33.029Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-117 -v /w/workspace/edgexfoundry_device-gpio_PR-117:/w/workspace/edgexfoundry_device-gpio_PR-117:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-117@tmp:/w/workspace/edgexfoundry_device-gpio_PR-117@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-07T01:09:33.399Z] $ docker top fc448069af55afb4def234c09754cdf0020e100df43a67dbbbcc450685d4c566 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T01:09:33.783Z] + go version [2023-03-07T01:09:33.783Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-07T01:09:33.822Z] $ docker stop --time=1 fc448069af55afb4def234c09754cdf0020e100df43a67dbbbcc450685d4c566 [2023-03-07T01:09:35.154Z] $ docker rm -f --volumes fc448069af55afb4def234c09754cdf0020e100df43a67dbbbcc450685d4c566 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:09:35.871Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T01:09:35.871Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T01:09:36.020Z] prd-ubuntu20.04-docker-8c-8g-8446 does not seem to be running inside a container [2023-03-07T01:09:36.051Z] $ 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-117 -v /w/workspace/edgexfoundry_device-gpio_PR-117:/w/workspace/edgexfoundry_device-gpio_PR-117:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-117@tmp:/w/workspace/edgexfoundry_device-gpio_PR-117@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-07T01:09:36.422Z] $ docker top 7f40813fc1fcccc779d77e7d9df24d944f6b933c0e513032beb78e98830fb42d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T01:09:36.819Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-117 [Pipeline] fileExists [Pipeline] sh [2023-03-07T01:09:37.183Z] + make test [2023-03-07T01:09:37.183Z] go test ./... -coverprofile=coverage.out ./... [2023-03-07T01:09:37.750Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-03-07T01:09:45.862Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-03-07T01:09:45.862Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: [2023-03-07T01:09:45.862Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-03-07T01:09:45.862Z] have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-03-07T01:09:45.862Z] want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-03-07T01:09:45.862Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-03-07T01:09:45.862Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/common [2023-03-07T01:09:45.862Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/common/utils.go:43:3: unknown field 'LastConnected' in struct literal of type dtos.UpdateDevice [2023-03-07T01:09:45.862Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/common/utils.go:99:25: not enough arguments in call to ec.Add [2023-03-07T01:09:45.862Z] have (context.Context, requests.AddEventRequest) [2023-03-07T01:09:45.862Z] want (context.Context, string, requests.AddEventRequest) [2023-03-07T01:09:46.428Z] make: *** [Makefile:29: unittest] Error 2 [Pipeline] } [2023-03-07T01:09:46.479Z] $ docker stop --time=1 7f40813fc1fcccc779d77e7d9df24d944f6b933c0e513032beb78e98830fb42d [2023-03-07T01:09:48.156Z] $ docker rm -f --volumes 7f40813fc1fcccc779d77e7d9df24d944f6b933c0e513032beb78e98830fb42d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:09:49.438Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T01:09:49.438Z] [2023-03-07T01:09:49.438Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:09:49.840Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T01:09:49.840Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-07T01:09:49.840Z] 5eb5b503b376: Pulling fs layer [2023-03-07T01:09:49.840Z] 5c69ac0246d0: Pulling fs layer [2023-03-07T01:09:49.840Z] ec43610c2a17: Pulling fs layer [2023-03-07T01:09:49.840Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-07T01:09:49.840Z] 33b1e0a273af: Pulling fs layer [2023-03-07T01:09:49.840Z] 5d3b04190fa2: Pulling fs layer [2023-03-07T01:09:49.840Z] 2f39f015ded8: Pulling fs layer [2023-03-07T01:09:49.840Z] 33b1e0a273af: Waiting [2023-03-07T01:09:49.840Z] 5d3b04190fa2: Waiting [2023-03-07T01:09:49.840Z] 2f39f015ded8: Waiting [2023-03-07T01:09:49.840Z] 3a2ae6a8a46f: Waiting [2023-03-07T01:09:49.840Z] 5c69ac0246d0: Download complete [2023-03-07T01:09:49.840Z] 3a2ae6a8a46f: Download complete [2023-03-07T01:09:50.100Z] ec43610c2a17: Verifying Checksum [2023-03-07T01:09:50.100Z] ec43610c2a17: Download complete [2023-03-07T01:09:50.100Z] 33b1e0a273af: Verifying Checksum [2023-03-07T01:09:50.100Z] 33b1e0a273af: Download complete [2023-03-07T01:09:50.100Z] 5d3b04190fa2: Verifying Checksum [2023-03-07T01:09:50.100Z] 5d3b04190fa2: Download complete [2023-03-07T01:09:50.359Z] 5eb5b503b376: Verifying Checksum [2023-03-07T01:09:50.359Z] 5eb5b503b376: Download complete [2023-03-07T01:09:51.294Z] 2f39f015ded8: Download complete [2023-03-07T01:09:51.577Z] 5eb5b503b376: Pull complete [2023-03-07T01:09:51.838Z] 5c69ac0246d0: Pull complete [2023-03-07T01:09:52.110Z] ec43610c2a17: Pull complete [2023-03-07T01:09:52.110Z] 3a2ae6a8a46f: Pull complete [2023-03-07T01:09:52.387Z] 33b1e0a273af: Pull complete [2023-03-07T01:09:52.387Z] 5d3b04190fa2: Pull complete [2023-03-07T01:09:56.600Z] 2f39f015ded8: Pull complete [2023-03-07T01:09:56.600Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-07T01:09:56.600Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T01:09:56.600Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T01:09:56.821Z] prd-ubuntu20.04-docker-8c-8g-8446 does not seem to be running inside a container [2023-03-07T01:09:56.852Z] $ 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-117 -v /w/workspace/edgexfoundry_device-gpio_PR-117:/w/workspace/edgexfoundry_device-gpio_PR-117:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-117@tmp:/w/workspace/edgexfoundry_device-gpio_PR-117@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-07T01:09:58.352Z] $ docker top d8f76bcd7dc0d67b100273d17d3334eaf40ca4f387fc0c7ca317e7b97b0c627f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:09:58.786Z] ---> job-cost.sh [2023-03-07T01:09:58.786Z] lf-activate-venv: SKIPPING [2023-03-07T01:09:58.786Z] INFO: No Stack... [2023-03-07T01:09:59.354Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T01:09:59.613Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T01:09:59.933Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-117/archives/cost.csv [2023-03-07T01:09:59.933Z] + cut -d, -f6 [Pipeline] lock [2023-03-07T01:09:59.974Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-117-1-stack-cost] [2023-03-07T01:09:59.990Z] Resource [jenkins-edgexfoundry-device-gpio-PR-117-1-stack-cost] did not exist. Created. [2023-03-07T01:09:59.990Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-117-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T01:10:00.422Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-07T01:10:00.478Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T01:10:00.500Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-117-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T01:10:00.587Z] $ docker stop --time=1 d8f76bcd7dc0d67b100273d17d3334eaf40ca4f387fc0c7ca317e7b97b0c627f [2023-03-07T01:10:01.753Z] $ docker rm -f --volumes d8f76bcd7dc0d67b100273d17d3334eaf40ca4f387fc0c7ca317e7b97b0c627f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-07T01:10:02.168Z] Failed in branch amd64 [2023-03-07T01:12:18.365Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8447 in /w/workspace/edgexfoundry_device-gpio_PR-117 [Pipeline] { [Pipeline] ws [2023-03-07T01:12:18.468Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2023-03-07T01:12:18.553Z] The recommended git tool is: git [2023-03-07T01:12:27.737Z] using credential edgex-jenkins-ssh [2023-03-07T01:12:27.769Z] Cloning the remote Git repository [2023-03-07T01:12:27.887Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-03-07T01:12:28.032Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2023-03-07T01:12:28.526Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-03-07T01:12:28.528Z] > git --version # timeout=10 [2023-03-07T01:12:28.623Z] > git --version # 'git version 2.25.1' [2023-03-07T01:12:28.625Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T01:12:28.773Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T01:12:30.890Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-03-07T01:12:30.931Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T01:12:33.173Z] Merging remotes/origin/main commit 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 into PR head commit 5d1e07e77430985425502a6355a0fbf74704bd0f [2023-03-07T01:12:33.500Z] Merge succeeded, producing 5d1e07e77430985425502a6355a0fbf74704bd0f [2023-03-07T01:12:33.501Z] Checking out Revision 5d1e07e77430985425502a6355a0fbf74704bd0f (PR-117) [2023-03-07T01:12:32.432Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-03-07T01:12:32.537Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-03-07T01:12:32.538Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T01:12:32.572Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/117/head:refs/remotes/origin/PR-117 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-07T01:12:33.196Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T01:12:33.215Z] > git checkout -f 5d1e07e77430985425502a6355a0fbf74704bd0f # timeout=10 [2023-03-07T01:12:33.303Z] > git remote # timeout=10 [2023-03-07T01:12:33.335Z] > git config --get remote.origin.url # timeout=10 [2023-03-07T01:12:33.366Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T01:12:33.384Z] > git merge 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 # timeout=10 [2023-03-07T01:12:33.434Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-07T01:12:33.512Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T01:12:33.536Z] > git checkout -f 5d1e07e77430985425502a6355a0fbf74704bd0f # timeout=10 [2023-03-07T01:12:34.219Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-03-07T01:12:34.283Z] > git --version # timeout=10 [2023-03-07T01:12:34.296Z] > git --version # 'git version 2.25.1' [2023-03-07T01:12:34.318Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T01:12:35.675Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-07T01:12:35.675Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T01:12:35.675Z] Dload Upload Total Spent Left Speed [2023-03-07T01:12:35.675Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 166k 0 --:--:-- --:--:-- --:--:-- 168k [Pipeline] sh [2023-03-07T01:12:36.480Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-07T01:12:36.848Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-07T01:12:36.848Z] + sudo tee /etc/docker/daemon.new [2023-03-07T01:12:36.848Z] { [2023-03-07T01:12:36.848Z] "registry-mirrors": [ [2023-03-07T01:12:36.848Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-07T01:12:36.848Z] ], [2023-03-07T01:12:36.848Z] "bip": "10.250.0.254/24", [2023-03-07T01:12:36.848Z] "hosts": [ [2023-03-07T01:12:36.848Z] "tcp://0.0.0.0:5555", [2023-03-07T01:12:36.848Z] "unix:///var/run/docker.sock" [2023-03-07T01:12:36.848Z] ], [2023-03-07T01:12:36.848Z] "mtu": 1458, [2023-03-07T01:12:36.848Z] "selinux-enabled": true, [2023-03-07T01:12:36.848Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-07T01:12:36.848Z] } [Pipeline] sh [2023-03-07T01:12:37.239Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-07T01:12:37.597Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T01:12:56.075Z] provisioning config files... [2023-03-07T01:12:56.109Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config5077800607996592962tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:12:56.521Z] ---> docker-login.sh [2023-03-07T01:12:56.521Z] nexus3.edgexfoundry.org:10001 [2023-03-07T01:12:57.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:12:57.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:12:57.392Z] Configure a credential helper to remove this warning. See [2023-03-07T01:12:57.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:12:57.392Z] [2023-03-07T01:12:57.392Z] Login Succeeded [2023-03-07T01:12:57.392Z] nexus3.edgexfoundry.org:10002 [2023-03-07T01:12:57.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:12:57.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:12:57.663Z] Configure a credential helper to remove this warning. See [2023-03-07T01:12:57.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:12:57.663Z] [2023-03-07T01:12:57.663Z] Login Succeeded [2023-03-07T01:12:57.663Z] nexus3.edgexfoundry.org:10003 [2023-03-07T01:12:57.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:12:58.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:12:58.211Z] Configure a credential helper to remove this warning. See [2023-03-07T01:12:58.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:12:58.211Z] [2023-03-07T01:12:58.211Z] Login Succeeded [2023-03-07T01:12:58.211Z] nexus3.edgexfoundry.org:10004 [2023-03-07T01:12:58.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:12:58.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:12:58.483Z] Configure a credential helper to remove this warning. See [2023-03-07T01:12:58.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:12:58.483Z] [2023-03-07T01:12:58.483Z] Login Succeeded [2023-03-07T01:12:58.483Z] docker.io [2023-03-07T01:12:58.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:12:59.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:12:59.024Z] Configure a credential helper to remove this warning. See [2023-03-07T01:12:59.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:12:59.024Z] [2023-03-07T01:12:59.024Z] Login Succeeded [2023-03-07T01:12:59.024Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T01:12:59.056Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T01:12:59.468Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T01:12:59.509Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T01:12:59.547Z] ========================================================= [2023-03-07T01:12:59.547Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-07T01:12:59.547Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:13:00.061Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-07T01:13:00.661Z] Sending build context to Docker daemon 8.083MB [2023-03-07T01:13:00.661Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T01:13:00.661Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-07T01:13:00.661Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-07T01:13:00.661Z] 9b18e9b68314: Pulling fs layer [2023-03-07T01:13:00.661Z] 35d82f9e3411: Pulling fs layer [2023-03-07T01:13:00.661Z] e16973657156: Pulling fs layer [2023-03-07T01:13:00.661Z] fc693d55d65f: Pulling fs layer [2023-03-07T01:13:00.661Z] 7e9fc2657dce: Pulling fs layer [2023-03-07T01:13:00.661Z] dda99020689f: Pulling fs layer [2023-03-07T01:13:00.661Z] db1c61fa0a46: Pulling fs layer [2023-03-07T01:13:00.661Z] 891c053d2c06: Pulling fs layer [2023-03-07T01:13:00.661Z] dda99020689f: Waiting [2023-03-07T01:13:00.661Z] 7e9fc2657dce: Waiting [2023-03-07T01:13:00.661Z] db1c61fa0a46: Waiting [2023-03-07T01:13:00.661Z] 891c053d2c06: Waiting [2023-03-07T01:13:00.661Z] fc693d55d65f: Waiting [2023-03-07T01:13:00.661Z] e16973657156: Download complete [2023-03-07T01:13:00.935Z] 35d82f9e3411: Verifying Checksum [2023-03-07T01:13:00.935Z] 35d82f9e3411: Download complete [2023-03-07T01:13:00.935Z] 7e9fc2657dce: Verifying Checksum [2023-03-07T01:13:00.935Z] 7e9fc2657dce: Download complete [2023-03-07T01:13:00.935Z] dda99020689f: Verifying Checksum [2023-03-07T01:13:00.935Z] dda99020689f: Download complete [2023-03-07T01:13:00.935Z] 9b18e9b68314: Verifying Checksum [2023-03-07T01:13:00.935Z] 9b18e9b68314: Download complete [2023-03-07T01:13:02.375Z] 9b18e9b68314: Pull complete [2023-03-07T01:13:02.375Z] 891c053d2c06: Verifying Checksum [2023-03-07T01:13:02.375Z] 891c053d2c06: Download complete [2023-03-07T01:13:02.655Z] 35d82f9e3411: Pull complete [2023-03-07T01:13:02.933Z] e16973657156: Pull complete [2023-03-07T01:13:03.525Z] db1c61fa0a46: Verifying Checksum [2023-03-07T01:13:03.525Z] db1c61fa0a46: Download complete [2023-03-07T01:13:04.117Z] fc693d55d65f: Verifying Checksum [2023-03-07T01:13:04.117Z] fc693d55d65f: Download complete [2023-03-07T01:13:19.146Z] fc693d55d65f: Pull complete [2023-03-07T01:13:19.146Z] 7e9fc2657dce: Pull complete [2023-03-07T01:13:19.146Z] dda99020689f: Pull complete [2023-03-07T01:13:24.538Z] db1c61fa0a46: Pull complete [2023-03-07T01:13:25.962Z] 891c053d2c06: Pull complete [2023-03-07T01:13:25.962Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-07T01:13:25.962Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-07T01:13:25.962Z] ---> f96f9c87975a [2023-03-07T01:13:25.962Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-07T01:13:27.390Z] ---> Running in 6a5aea7c1020 [2023-03-07T01:13:27.662Z] Removing intermediate container 6a5aea7c1020 [2023-03-07T01:13:27.662Z] ---> 95fcf5a79610 [2023-03-07T01:13:27.662Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-07T01:13:27.937Z] ---> Running in 1326939c3b9b [2023-03-07T01:13:28.208Z] Removing intermediate container 1326939c3b9b [2023-03-07T01:13:28.208Z] ---> a60c5200519c [2023-03-07T01:13:28.208Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-03-07T01:13:28.208Z] ---> Running in 6f9142a01358 [2023-03-07T01:13:28.477Z] Removing intermediate container 6f9142a01358 [2023-03-07T01:13:28.477Z] ---> 3eed2815c0ef [2023-03-07T01:13:28.477Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-07T01:13:28.747Z] ---> Running in 843c23354e11 [2023-03-07T01:13:29.019Z] Removing intermediate container 843c23354e11 [2023-03-07T01:13:29.019Z] ---> a8912ab544b4 [2023-03-07T01:13:29.019Z] Step 7/12 : WORKDIR /device-gpio [2023-03-07T01:13:29.019Z] ---> Running in 6ca58a6ea355 [2023-03-07T01:13:29.292Z] Removing intermediate container 6ca58a6ea355 [2023-03-07T01:13:29.292Z] ---> 3e362cd36947 [2023-03-07T01:13:29.292Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-07T01:13:29.292Z] ---> Running in ecaf3a88c4c4 [2023-03-07T01:13:30.713Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T01:13:30.982Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T01:13:31.947Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-07T01:13:31.947Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-07T01:13:31.947Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-07T01:13:32.217Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-07T01:13:32.217Z] Executing busybox-1.35.0-r17.trigger [2023-03-07T01:13:32.217Z] OK: 226 MiB in 55 packages [2023-03-07T01:13:33.186Z] Removing intermediate container ecaf3a88c4c4 [2023-03-07T01:13:33.186Z] ---> 9741238aa9c5 [2023-03-07T01:13:33.186Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-07T01:13:33.788Z] ---> 1a945bc754a3 [2023-03-07T01:13:33.788Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T01:13:33.788Z] ---> Running in 5334509558c1 [2023-03-07T01:14:41.769Z] Removing intermediate container 5334509558c1 [2023-03-07T01:14:41.769Z] ---> 5aacaf27d0ea [2023-03-07T01:14:41.769Z] Step 11/12 : COPY . . [2023-03-07T01:14:41.769Z] ---> 6706d80b9b35 [2023-03-07T01:14:41.769Z] Step 12/12 : RUN ${MAKE} [2023-03-07T01:14:41.769Z] ---> Running in 341d7b433966 [2023-03-07T01:14:41.769Z] noop [2023-03-07T01:14:42.738Z] Removing intermediate container 341d7b433966 [2023-03-07T01:14:42.738Z] ---> f1740444209f [2023-03-07T01:14:42.738Z] Successfully built f1740444209f [2023-03-07T01:14:42.738Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:14:43.221Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T01:14:43.221Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T01:14:43.499Z] prd-ubuntu20.04-docker-arm64-4c-16g-8447 does not seem to be running inside a container [2023-03-07T01:14:43.569Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-07T01:14:44.819Z] $ docker top bcec09289f313b9aa8fde85aa11b97830390003c407bfeca46c35e7172afd67a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T01:14:45.701Z] + go version [2023-03-07T01:14:45.701Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-07T01:14:45.737Z] $ docker stop --time=1 bcec09289f313b9aa8fde85aa11b97830390003c407bfeca46c35e7172afd67a [2023-03-07T01:14:47.371Z] $ docker rm -f --volumes bcec09289f313b9aa8fde85aa11b97830390003c407bfeca46c35e7172afd67a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:14:48.232Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T01:14:48.232Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T01:14:48.500Z] prd-ubuntu20.04-docker-arm64-4c-16g-8447 does not seem to be running inside a container [2023-03-07T01:14:48.607Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-07T01:14:49.912Z] $ docker top 9720718a402c9b6c8659692c3721d4842dad374d49457c93432ca885d1df6d15 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T01:14:50.857Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2023-03-07T01:14:51.583Z] + make test [2023-03-07T01:14:51.583Z] go test ./... -coverprofile=coverage.out ./... [2023-03-07T01:14:53.542Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-03-07T01:15:50.012Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-03-07T01:15:50.012Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: [2023-03-07T01:15:50.012Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-03-07T01:15:50.012Z] have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-03-07T01:15:50.012Z] want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-03-07T01:15:50.012Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-03-07T01:16:12.119Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/common [2023-03-07T01:16:12.119Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/common/utils.go:43:3: unknown field 'LastConnected' in struct literal of type dtos.UpdateDevice [2023-03-07T01:16:12.119Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/common/utils.go:99:25: not enough arguments in call to ec.Add [2023-03-07T01:16:12.119Z] have (context.Context, requests.AddEventRequest) [2023-03-07T01:16:12.119Z] want (context.Context, string, requests.AddEventRequest) [2023-03-07T01:16:22.231Z] make: *** [Makefile:29: unittest] Error 2 [Pipeline] } [2023-03-07T01:16:22.273Z] $ docker stop --time=1 9720718a402c9b6c8659692c3721d4842dad374d49457c93432ca885d1df6d15 [2023-03-07T01:16:24.243Z] $ docker rm -f --volumes 9720718a402c9b6c8659692c3721d4842dad374d49457c93432ca885d1df6d15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:16:25.874Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T01:16:25.874Z] [2023-03-07T01:16:25.874Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:16:26.301Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T01:16:26.579Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-07T01:16:26.579Z] 8998bd30e6a1: Pulling fs layer [2023-03-07T01:16:26.579Z] 04944245beec: Pulling fs layer [2023-03-07T01:16:26.579Z] 699f458cf7ca: Pulling fs layer [2023-03-07T01:16:26.579Z] 765212b225bb: Pulling fs layer [2023-03-07T01:16:26.579Z] f23df028b6ca: Pulling fs layer [2023-03-07T01:16:26.579Z] d65c8cfc05b1: Pulling fs layer [2023-03-07T01:16:26.579Z] 765212b225bb: Waiting [2023-03-07T01:16:26.579Z] f23df028b6ca: Waiting [2023-03-07T01:16:26.579Z] 2437ff75d9bd: Pulling fs layer [2023-03-07T01:16:26.579Z] 2437ff75d9bd: Waiting [2023-03-07T01:16:26.579Z] 04944245beec: Verifying Checksum [2023-03-07T01:16:26.579Z] 04944245beec: Download complete [2023-03-07T01:16:26.579Z] 765212b225bb: Verifying Checksum [2023-03-07T01:16:26.579Z] 765212b225bb: Download complete [2023-03-07T01:16:26.579Z] f23df028b6ca: Verifying Checksum [2023-03-07T01:16:26.579Z] f23df028b6ca: Download complete [2023-03-07T01:16:26.579Z] d65c8cfc05b1: Verifying Checksum [2023-03-07T01:16:26.579Z] d65c8cfc05b1: Download complete [2023-03-07T01:16:26.853Z] 699f458cf7ca: Verifying Checksum [2023-03-07T01:16:26.853Z] 699f458cf7ca: Download complete [2023-03-07T01:16:27.125Z] 8998bd30e6a1: Verifying Checksum [2023-03-07T01:16:27.125Z] 8998bd30e6a1: Download complete [2023-03-07T01:16:29.733Z] 2437ff75d9bd: Verifying Checksum [2023-03-07T01:16:29.733Z] 2437ff75d9bd: Download complete [2023-03-07T01:16:31.692Z] 8998bd30e6a1: Pull complete [2023-03-07T01:16:31.961Z] 04944245beec: Pull complete [2023-03-07T01:16:33.386Z] 699f458cf7ca: Pull complete [2023-03-07T01:16:33.657Z] 765212b225bb: Pull complete [2023-03-07T01:16:34.625Z] f23df028b6ca: Pull complete [2023-03-07T01:16:34.625Z] d65c8cfc05b1: Pull complete [2023-03-07T01:16:49.665Z] 2437ff75d9bd: Pull complete [2023-03-07T01:16:49.665Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-07T01:16:49.665Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T01:16:49.665Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T01:16:50.018Z] prd-ubuntu20.04-docker-arm64-4c-16g-8447 does not seem to be running inside a container [2023-03-07T01:16:50.084Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-07T01:16:52.895Z] $ docker top 4f5851b918c0618c7437127d094b71eba287a42e5965d62d8501492db4084d78 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:16:53.814Z] ---> job-cost.sh [2023-03-07T01:16:53.814Z] lf-activate-venv: SKIPPING [2023-03-07T01:16:53.814Z] INFO: No Stack... [2023-03-07T01:16:54.081Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-07T01:16:55.044Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T01:16:55.710Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2023-03-07T01:16:55.710Z] + cut -d, -f6 [Pipeline] lock [2023-03-07T01:16:55.802Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-117-1-stack-cost] [2023-03-07T01:16:55.806Z] Resource [jenkins-edgexfoundry-device-gpio-PR-117-1-stack-cost] did not exist. Created. [2023-03-07T01:16:55.807Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-117-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T01:16:56.561Z] /w/workspace/device-gpio/1@tmp/durable-1d1fbb1d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-07T01:16:57.247Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-07T01:16:57.286Z] Warning: overwriting stash ‘stack-cost’ [2023-03-07T01:16:57.771Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T01:16:57.794Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-117-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T01:16:57.860Z] $ docker stop --time=1 4f5851b918c0618c7437127d094b71eba287a42e5965d62d8501492db4084d78 [2023-03-07T01:16:59.435Z] $ docker rm -f --volumes 4f5851b918c0618c7437127d094b71eba287a42e5965d62d8501492db4084d78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-07T01:17:00.188Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-07T01:17:02.204Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-117/archives ] [2023-03-07T01:17:02.204Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-117/archives [2023-03-07T01:17:02.204Z] total 16 [2023-03-07T01:17:02.204Z] drwxr-xr-x 3 root root 4096 Mar 7 01:09 . [2023-03-07T01:17:02.204Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 01:10 .. [2023-03-07T01:17:02.204Z] drwxr-xr-x 2 root root 4096 Mar 7 01:09 cost [2023-03-07T01:17:02.204Z] -rw-r--r-- 1 root root 83 Mar 7 01:09 cost.csv [2023-03-07T01:17:02.204Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-117/archives [2023-03-07T01:17:02.204Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-117/archives [2023-03-07T01:17:02.204Z] total 16 [2023-03-07T01:17:02.204Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 01:09 . [2023-03-07T01:17:02.204Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 01:10 .. [2023-03-07T01:17:02.204Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 01:09 cost [2023-03-07T01:17:02.204Z] -rw-r--r-- 1 jenkins jenkins 83 Mar 7 01:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:17:02.530Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:17:03.419Z] ---> package-listing.sh [2023-03-07T01:17:03.419Z] ++ facter osfamily [2023-03-07T01:17:03.419Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-07T01:17:03.677Z] + OS_FAMILY=debian [2023-03-07T01:17:03.677Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-117 [2023-03-07T01:17:03.677Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-07T01:17:03.677Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-07T01:17:03.677Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-07T01:17:03.677Z] + PACKAGES=/tmp/packages_start.txt [2023-03-07T01:17:03.677Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-117 ']' [2023-03-07T01:17:03.677Z] + PACKAGES=/tmp/packages_end.txt [2023-03-07T01:17:03.677Z] + case "${OS_FAMILY}" in [2023-03-07T01:17:03.677Z] + dpkg -l [2023-03-07T01:17:03.677Z] + grep '^ii' [2023-03-07T01:17:03.677Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-07T01:17:03.677Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-07T01:17:03.677Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-07T01:17:03.677Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-117 ']' [2023-03-07T01:17:03.677Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-117/archives/ [2023-03-07T01:17:03.677Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-117/archives/ [Pipeline] echo [2023-03-07T01:17:03.711Z] 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-117/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-07T01:17:04.004Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:17:04.633Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T01:17:04.633Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T01:17:04.795Z] prd-ubuntu20.04-docker-8c-8g-8446 does not seem to be running inside a container [2023-03-07T01:17:04.819Z] $ 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-117/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-117 -v /w/workspace/edgexfoundry_device-gpio_PR-117:/w/workspace/edgexfoundry_device-gpio_PR-117:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-117@tmp:/w/workspace/edgexfoundry_device-gpio_PR-117@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-07T01:17:05.013Z] $ docker top ba89825ea10ff4923adac46197e64a8c2da4cbf25caab72bc2503bdb937b9406 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T01:17:05.413Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-07T01:17:05.737Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-07T01:17:06.045Z] + ls /var/log/sa-host [2023-03-07T01:17:06.045Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T01:17:06.183Z] provisioning config files... [2023-03-07T01:17:06.192Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-117@tmp/config13281640541994806518tmp [Pipeline] { [Pipeline] echo [2023-03-07T01:17:06.254Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:17:06.662Z] ---> create-netrc.sh [Pipeline] } [2023-03-07T01:17:06.690Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:17:07.098Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-07T01:17:07.134Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:17:07.454Z] ---> sudo-logs.sh [2023-03-07T01:17:07.454Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-07T01:17:07.583Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:17:07.905Z] ---> job-cost.sh [2023-03-07T01:17:07.905Z] lf-activate-venv: SKIPPING [2023-03-07T01:17:07.905Z] DEBUG: total: 0.2199999988079071 [2023-03-07T01:17:07.905Z] INFO: Retrieving Stack Cost... [2023-03-07T01:17:08.164Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T01:17:08.731Z] INFO: Archiving Costs [Pipeline] echo [2023-03-07T01:17:08.765Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:17:09.073Z] ---> logs-deploy.sh [2023-03-07T01:17:09.073Z] lf-activate-venv: SKIPPING [2023-03-07T01:17:09.073Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-117/1 [2023-03-07T01:17:09.073Z] INFO: archiving workspace using pattern(s): [2023-03-07T01:17:10.009Z] Archives upload complete. [2023-03-07T01:17:10.268Z] INFO: archiving logs to Nexus