Pull request #115 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fcbbe0329516a8e38087fa437b07b5d3ecb7413d+192d2e5d52be7054ee8f5929c78a4d9d1a66e905 (b03ea15e1736e37911d5118df5c97ee6521262c1) 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-ssh904766359718850888.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-ssh13603833505690305648.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-115/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-115/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1455498140436139453.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-115/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3881558529519413301.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-ssh13363076048522242195.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-115/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-115/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9170834127822088107.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 ‘prd-ubuntu20.04-docker-8c-8g-8036’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8038 in /w/workspace/edgexfoundry_device-gpio_PR-115 [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-115 # 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/115/head:refs/remotes/origin/PR-115 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 into PR head commit fcbbe0329516a8e38087fa437b07b5d3ecb7413d Merge succeeded, producing fcbbe0329516a8e38087fa437b07b5d3ecb7413d Checking out Revision fcbbe0329516a8e38087fa437b07b5d3ecb7413d (PR-115) 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-02T01:08:05.031Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-02T01:08:05.215Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f fcbbe0329516a8e38087fa437b07b5d3ecb7413d # 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 fcbbe0329516a8e38087fa437b07b5d3ecb7413d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-02T01:08:05.328Z] ========================================================= [2023-03-02T01:08:05.328Z] EdgeX Global Pipelines Version Info [2023-03-02T01:08:05.328Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-02T01:08:06.091Z] ------------------- [2023-03-02T01:08:06.091Z] stable info: [2023-03-02T01:08:06.091Z] ------------------- [2023-03-02T01:08:06.091Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-02T01:08:06.091Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-02T01:08:06.091Z] Message: update stable to v1.0.244 [2023-03-02T01:08:06.663Z] ------------------- [2023-03-02T01:08:06.663Z] experimental info: [2023-03-02T01:08:06.663Z] ------------------- [2023-03-02T01:08:06.663Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-02T01:08:06.663Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-02T01:08:06.663Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-02T01:08:06.957Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-03-02T01:08:07.005Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-03-02T01:08:07.049Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-02T01:08:07.097Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-02T01:08:07.138Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-02T01:08:07.189Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-02T01:08:07.275Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-02T01:08:07.317Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-02T01:08:07.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-02T01:08:07.404Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-02T01:08:07.446Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-02T01:08:07.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-03-02T01:08:07.553Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-02T01:08:07.594Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-02T01:08:07.718Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-02T01:08:07.759Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-02T01:08:07.797Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-02T01:08:07.833Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-02T01:08:07.871Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-02T01:08:07.913Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-02T01:08:08.010Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-02T01:08:08.052Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-02T01:08:08.136Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-02T01:08:08.177Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-02T01:08:08.223Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-02T01:08:08.266Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-02T01:08:08.308Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-02T01:08:08.355Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-115 [Pipeline] echo [2023-03-02T01:08:08.400Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-115 [Pipeline] echo [2023-03-02T01:08:08.486Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-115 [Pipeline] echo [2023-03-02T01:08:08.535Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fcbbe0329516a8e38087fa437b07b5d3ecb7413d [Pipeline] echo [2023-03-02T01:08:08.583Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fcbbe03 [Pipeline] echo [2023-03-02T01:08:08.628Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-02T01:08:08.744Z] provisioning config files... [2023-03-02T01:08:08.777Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-115@tmp/config5187761366114385283tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T01:08:09.117Z] ---> docker-login.sh [2023-03-02T01:08:09.118Z] nexus3.edgexfoundry.org:10001 [2023-03-02T01:08:09.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T01:08:09.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T01:08:09.377Z] Configure a credential helper to remove this warning. See [2023-03-02T01:08:09.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T01:08:09.377Z] [2023-03-02T01:08:09.377Z] Login Succeeded [2023-03-02T01:08:09.377Z] nexus3.edgexfoundry.org:10002 [2023-03-02T01:08:09.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T01:08:09.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T01:08:09.637Z] Configure a credential helper to remove this warning. See [2023-03-02T01:08:09.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T01:08:09.637Z] [2023-03-02T01:08:09.637Z] Login Succeeded [2023-03-02T01:08:09.637Z] nexus3.edgexfoundry.org:10003 [2023-03-02T01:08:09.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T01:08:09.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T01:08:09.637Z] Configure a credential helper to remove this warning. See [2023-03-02T01:08:09.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T01:08:09.637Z] [2023-03-02T01:08:09.637Z] Login Succeeded [2023-03-02T01:08:09.637Z] nexus3.edgexfoundry.org:10004 [2023-03-02T01:08:09.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T01:08:09.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T01:08:09.637Z] Configure a credential helper to remove this warning. See [2023-03-02T01:08:09.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T01:08:09.637Z] [2023-03-02T01:08:09.637Z] Login Succeeded [2023-03-02T01:08:09.637Z] docker.io [2023-03-02T01:08:09.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T01:08:09.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T01:08:09.899Z] Configure a credential helper to remove this warning. See [2023-03-02T01:08:09.899Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T01:08:09.899Z] [2023-03-02T01:08:09.899Z] Login Succeeded [2023-03-02T01:08:09.899Z] ---> docker-login.sh ends [Pipeline] } [2023-03-02T01:08:09.926Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-02T01:08:11.009Z] + git rev-list -1 --merges fcbbe0329516a8e38087fa437b07b5d3ecb7413d~1..fcbbe0329516a8e38087fa437b07b5d3ecb7413d [Pipeline] echo [2023-03-02T01:08:11.076Z] -----------> git rev-list -1 --merges fcbbe0329516a8e38087fa437b07b5d3ecb7413d~1..fcbbe0329516a8e38087fa437b07b5d3ecb7413d fcbbe0329516a8e38087fa437b07b5d3ecb7413d [false] [Pipeline] sh [2023-03-02T01:08:11.389Z] + git log --format=format:%s -1 fcbbe0329516a8e38087fa437b07b5d3ecb7413d [Pipeline] echo [2023-03-02T01:08:11.428Z] ========================================================= [2023-03-02T01:08:11.428Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-02T01:08:11.428Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-02T01:08:11.925Z] + git log --format=format:%s -1 fcbbe0329516a8e38087fa437b07b5d3ecb7413d [Pipeline] echo [2023-03-02T01:08:11.996Z] [semverPrep] GIT_COMMIT: fcbbe0329516a8e38087fa437b07b5d3ecb7413d, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-03-02T01:08:12.104Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-02T01:08:12.502Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-02T01:08:12.502Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-02T01:08:12.502Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-02T01:08:12.502Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-02T01:08:12.502Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-02T01:08:12.502Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-02T01:08:12.502Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T01:08:12.994Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-02T01:08:12.994Z] [2023-03-02T01:08:12.994Z] 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-02T01:08:13.448Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-02T01:08:13.448Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-02T01:08:13.448Z] b85a868b505f: Pulling fs layer [2023-03-02T01:08:13.448Z] e2be974225ed: Pulling fs layer [2023-03-02T01:08:13.448Z] 339a4e72a1f5: Pulling fs layer [2023-03-02T01:08:13.448Z] 988bab9f4d93: Pulling fs layer [2023-03-02T01:08:13.448Z] 1469e6f7b9e6: Pulling fs layer [2023-03-02T01:08:13.448Z] 988bab9f4d93: Waiting [2023-03-02T01:08:13.448Z] 1469e6f7b9e6: Waiting [2023-03-02T01:08:13.448Z] eaf3925da568: Pulling fs layer [2023-03-02T01:08:13.448Z] bab4dde63d76: Pulling fs layer [2023-03-02T01:08:13.448Z] bde34c3a00c8: Pulling fs layer [2023-03-02T01:08:13.448Z] b352a97aabf1: Pulling fs layer [2023-03-02T01:08:13.448Z] 4872d77fe225: Pulling fs layer [2023-03-02T01:08:13.448Z] 5851b861e8e6: Pulling fs layer [2023-03-02T01:08:13.448Z] b352a97aabf1: Waiting [2023-03-02T01:08:13.448Z] bab4dde63d76: Waiting [2023-03-02T01:08:13.448Z] 4872d77fe225: Waiting [2023-03-02T01:08:13.448Z] bde34c3a00c8: Waiting [2023-03-02T01:08:13.448Z] 5851b861e8e6: Waiting [2023-03-02T01:08:13.448Z] eaf3925da568: Waiting [2023-03-02T01:08:13.448Z] e2be974225ed: Download complete [2023-03-02T01:08:13.448Z] 988bab9f4d93: Verifying Checksum [2023-03-02T01:08:13.448Z] 988bab9f4d93: Download complete [2023-03-02T01:08:13.708Z] 1469e6f7b9e6: Verifying Checksum [2023-03-02T01:08:13.708Z] 1469e6f7b9e6: Download complete [2023-03-02T01:08:13.708Z] eaf3925da568: Verifying Checksum [2023-03-02T01:08:13.708Z] eaf3925da568: Download complete [2023-03-02T01:08:13.708Z] 339a4e72a1f5: Verifying Checksum [2023-03-02T01:08:13.708Z] 339a4e72a1f5: Download complete [2023-03-02T01:08:13.708Z] bde34c3a00c8: Download complete [2023-03-02T01:08:13.708Z] b352a97aabf1: Download complete [2023-03-02T01:08:13.708Z] 4872d77fe225: Download complete [2023-03-02T01:08:13.708Z] 5851b861e8e6: Verifying Checksum [2023-03-02T01:08:13.708Z] 5851b861e8e6: Download complete [2023-03-02T01:08:13.708Z] b85a868b505f: Verifying Checksum [2023-03-02T01:08:13.708Z] b85a868b505f: Download complete [2023-03-02T01:08:13.968Z] bab4dde63d76: Verifying Checksum [2023-03-02T01:08:13.968Z] bab4dde63d76: Download complete [2023-03-02T01:08:14.907Z] b85a868b505f: Pull complete [2023-03-02T01:08:14.907Z] e2be974225ed: Pull complete [2023-03-02T01:08:15.475Z] 339a4e72a1f5: Pull complete [2023-03-02T01:08:15.475Z] 988bab9f4d93: Pull complete [2023-03-02T01:08:15.734Z] 1469e6f7b9e6: Pull complete [2023-03-02T01:08:15.995Z] eaf3925da568: Pull complete [2023-03-02T01:08:17.906Z] bab4dde63d76: Pull complete [2023-03-02T01:08:17.906Z] bde34c3a00c8: Pull complete [2023-03-02T01:08:17.906Z] b352a97aabf1: Pull complete [2023-03-02T01:08:17.906Z] 4872d77fe225: Pull complete [2023-03-02T01:08:17.906Z] 5851b861e8e6: Pull complete [2023-03-02T01:08:17.906Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-02T01:08:17.906Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-02T01:08:17.906Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T01:08:18.376Z] prd-ubuntu20.04-docker-8c-8g-8038 does not seem to be running inside a container [2023-03-02T01:08:18.408Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-115 -v /w/workspace/edgexfoundry_device-gpio_PR-115:/w/workspace/edgexfoundry_device-gpio_PR-115:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-115@tmp:/w/workspace/edgexfoundry_device-gpio_PR-115@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-02T01:08:20.018Z] $ docker top eb8d711092f362dc101dfa726ec872e09d64efa03946b60f6c2f5d15915f45c4 -eo pid,comm [2023-03-02T01:08:20.072Z] 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-02T01:08:20.072Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-02T01:08:20.208Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-02T01:08:20.208Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-02T01:08:20.321Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-02T01:08:20.323Z] $ docker exec eb8d711092f362dc101dfa726ec872e09d64efa03946b60f6c2f5d15915f45c4 ssh-agent [2023-03-02T01:08:20.447Z] SSH_AUTH_SOCK=/tmp/ssh-q9h79Kws6z0C/agent.33 [2023-03-02T01:08:20.447Z] SSH_AGENT_PID=40 [2023-03-02T01:08:20.453Z] Running ssh-add (command line suppressed) [2023-03-02T01:08:20.548Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-115@tmp/private_key_4830050522170343410.key (/w/workspace/edgexfoundry_device-gpio_PR-115@tmp/private_key_4830050522170343410.key) [2023-03-02T01:08:20.562Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-02T01:08:20.986Z] + git tag --points-at HEAD [Pipeline] } [2023-03-02T01:08:21.091Z] $ docker exec --env ******** --env ******** eb8d711092f362dc101dfa726ec872e09d64efa03946b60f6c2f5d15915f45c4 ssh-agent -k [2023-03-02T01:08:21.193Z] unset SSH_AUTH_SOCK; [2023-03-02T01:08:21.195Z] unset SSH_AGENT_PID; [2023-03-02T01:08:21.195Z] echo Agent pid 40 killed; [2023-03-02T01:08:21.203Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-02T01:08:21.357Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-02T01:08:21.357Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-02T01:08:21.471Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-02T01:08:21.474Z] $ docker exec eb8d711092f362dc101dfa726ec872e09d64efa03946b60f6c2f5d15915f45c4 ssh-agent [2023-03-02T01:08:21.584Z] SSH_AUTH_SOCK=/tmp/ssh-dHmJdGDc7rSv/agent.72 [2023-03-02T01:08:21.584Z] SSH_AGENT_PID=78 [2023-03-02T01:08:21.588Z] Running ssh-add (command line suppressed) [2023-03-02T01:08:21.689Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-115@tmp/private_key_88785668852266653.key (/w/workspace/edgexfoundry_device-gpio_PR-115@tmp/private_key_88785668852266653.key) [2023-03-02T01:08:21.705Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-02T01:08:22.042Z] + git semver init [2023-03-02T01:08:22.302Z] 2023-03-02 01:08:22,219 [run_init] DEBUG init version:0.0.0 force:False [2023-03-02T01:08:22.302Z] 2023-03-02 01:08:22,220 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-115/.semver [2023-03-02T01:08:22.302Z] 2023-03-02 01:08:22,220 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-115/.semver [2023-03-02T01:08:22.302Z] 2023-03-02 01:08:22,221 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-115/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-115, universal_newlines=False, shell=None, istream=None) [2023-03-02T01:08:23.240Z] 2023-03-02 01:08:23,228 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-115/.git/info/exclude [2023-03-02T01:08:23.240Z] 2023-03-02 01:08:23,228 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-115/.semver/PR-115 with force:False [2023-03-02T01:08:23.240Z] 2023-03-02 01:08:23,229 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-115/.semver/PR-115 [2023-03-02T01:08:23.240Z] 2023-03-02 01:08:23,233 [execute] INFO git cat-file --batch-check [2023-03-02T01:08:23.240Z] 2023-03-02 01:08:23,233 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-115/.semver, universal_newlines=False, shell=None, istream=) [2023-03-02T01:08:23.499Z] 2023-03-02 01:08:23,241 [execute] INFO git cat-file --batch [2023-03-02T01:08:23.499Z] 2023-03-02 01:08:23,241 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-115/.semver, universal_newlines=False, shell=None, istream=) [2023-03-02T01:08:23.499Z] 2023-03-02 01:08:23,247 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-115/.semver/PR-115 [2023-03-02T01:08:23.499Z] 0.0.0 [Pipeline] } [2023-03-02T01:08:23.526Z] $ docker exec --env ******** --env ******** eb8d711092f362dc101dfa726ec872e09d64efa03946b60f6c2f5d15915f45c4 ssh-agent -k [2023-03-02T01:08:23.622Z] unset SSH_AUTH_SOCK; [2023-03-02T01:08:23.622Z] unset SSH_AGENT_PID; [2023-03-02T01:08:23.623Z] echo Agent pid 78 killed; [2023-03-02T01:08:23.631Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-02T01:08:24.103Z] + git semver [Pipeline] } [2023-03-02T01:08:24.389Z] $ docker stop --time=1 eb8d711092f362dc101dfa726ec872e09d64efa03946b60f6c2f5d15915f45c4 [2023-03-02T01:08:25.714Z] $ docker rm -f --volumes eb8d711092f362dc101dfa726ec872e09d64efa03946b60f6c2f5d15915f45c4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-02T01:08:26.202Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-02T01:08:26.633Z] Stashed 1 file(s) [Pipeline] echo [2023-03-02T01:08:26.759Z] [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-02T01:08:27.831Z] provisioning config files... [2023-03-02T01:08:27.840Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-115@tmp/config10213300245875580456tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T01:08:28.193Z] ---> docker-login.sh [2023-03-02T01:08:28.194Z] nexus3.edgexfoundry.org:10001 [2023-03-02T01:08:28.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T01:08:28.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T01:08:28.194Z] Configure a credential helper to remove this warning. See [2023-03-02T01:08:28.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T01:08:28.194Z] [2023-03-02T01:08:28.194Z] Login Succeeded [2023-03-02T01:08:28.194Z] nexus3.edgexfoundry.org:10002 [2023-03-02T01:08:28.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T01:08:28.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T01:08:28.194Z] Configure a credential helper to remove this warning. See [2023-03-02T01:08:28.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T01:08:28.194Z] [2023-03-02T01:08:28.194Z] Login Succeeded [2023-03-02T01:08:28.194Z] nexus3.edgexfoundry.org:10003 [2023-03-02T01:08:28.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T01:08:28.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T01:08:28.454Z] Configure a credential helper to remove this warning. See [2023-03-02T01:08:28.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T01:08:28.454Z] [2023-03-02T01:08:28.454Z] Login Succeeded [2023-03-02T01:08:28.454Z] nexus3.edgexfoundry.org:10004 [2023-03-02T01:08:28.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T01:08:28.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T01:08:28.454Z] Configure a credential helper to remove this warning. See [2023-03-02T01:08:28.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T01:08:28.454Z] [2023-03-02T01:08:28.454Z] Login Succeeded [2023-03-02T01:08:28.454Z] docker.io [2023-03-02T01:08:28.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T01:08:28.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T01:08:28.715Z] Configure a credential helper to remove this warning. See [2023-03-02T01:08:28.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T01:08:28.715Z] [2023-03-02T01:08:28.715Z] Login Succeeded [2023-03-02T01:08:28.715Z] ---> docker-login.sh ends [Pipeline] } [2023-03-02T01:08:28.755Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-02T01:08:29.129Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-02T01:08:29.166Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-02T01:08:29.198Z] ========================================================= [2023-03-02T01:08:29.198Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-02T01:08:29.198Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T01:08:29.657Z] + 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-02T01:08:29.657Z] Sending build context to Docker daemon 16MB [2023-03-02T01:08:29.657Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-02T01:08:29.657Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-02T01:08:29.657Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-02T01:08:29.657Z] 213ec9aee27d: Pulling fs layer [2023-03-02T01:08:29.657Z] 4583459ba037: Pulling fs layer [2023-03-02T01:08:29.657Z] 93c1e223e6f2: Pulling fs layer [2023-03-02T01:08:29.657Z] 53926ce57604: Pulling fs layer [2023-03-02T01:08:29.657Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-02T01:08:29.657Z] 22ff95d597cd: Pulling fs layer [2023-03-02T01:08:29.657Z] 12d6caf4c0d1: Pulling fs layer [2023-03-02T01:08:29.657Z] 96b7cbca73a9: Pulling fs layer [2023-03-02T01:08:29.657Z] a7acece74701: Pulling fs layer [2023-03-02T01:08:29.657Z] 22ff95d597cd: Waiting [2023-03-02T01:08:29.657Z] 12d6caf4c0d1: Waiting [2023-03-02T01:08:29.657Z] 53926ce57604: Waiting [2023-03-02T01:08:29.657Z] 96b7cbca73a9: Waiting [2023-03-02T01:08:29.657Z] a7acece74701: Waiting [2023-03-02T01:08:29.657Z] 21b2b0c7a3f4: Waiting [2023-03-02T01:08:29.657Z] 93c1e223e6f2: Download complete [2023-03-02T01:08:29.919Z] 4583459ba037: Download complete [2023-03-02T01:08:29.919Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-02T01:08:29.919Z] 21b2b0c7a3f4: Download complete [2023-03-02T01:08:29.919Z] 22ff95d597cd: Download complete [2023-03-02T01:08:29.919Z] 213ec9aee27d: Verifying Checksum [2023-03-02T01:08:29.919Z] 213ec9aee27d: Download complete [2023-03-02T01:08:29.919Z] 12d6caf4c0d1: Verifying Checksum [2023-03-02T01:08:29.919Z] 12d6caf4c0d1: Download complete [2023-03-02T01:08:29.919Z] 213ec9aee27d: Pull complete [2023-03-02T01:08:30.186Z] 4583459ba037: Pull complete [2023-03-02T01:08:30.186Z] 93c1e223e6f2: Pull complete [2023-03-02T01:08:30.453Z] a7acece74701: Verifying Checksum [2023-03-02T01:08:30.453Z] a7acece74701: Download complete [2023-03-02T01:08:30.715Z] 53926ce57604: Download complete [2023-03-02T01:08:30.715Z] 96b7cbca73a9: Verifying Checksum [2023-03-02T01:08:30.715Z] 96b7cbca73a9: Download complete [2023-03-02T01:08:33.997Z] 53926ce57604: Pull complete [2023-03-02T01:08:34.256Z] 21b2b0c7a3f4: Pull complete [2023-03-02T01:08:34.256Z] 22ff95d597cd: Pull complete [2023-03-02T01:08:34.256Z] 12d6caf4c0d1: Pull complete [2023-03-02T01:08:36.160Z] 96b7cbca73a9: Pull complete [2023-03-02T01:08:37.095Z] a7acece74701: Pull complete [2023-03-02T01:08:37.095Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-02T01:08:37.095Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-02T01:08:37.095Z] ---> db6d94c90886 [2023-03-02T01:08:37.095Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-02T01:08:39.001Z] ---> Running in 12bb0893ef8b [2023-03-02T01:08:39.001Z] Removing intermediate container 12bb0893ef8b [2023-03-02T01:08:39.001Z] ---> d0c88458a438 [2023-03-02T01:08:39.001Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-02T01:08:39.001Z] ---> Running in 6c979c37ca38 [2023-03-02T01:08:39.259Z] Removing intermediate container 6c979c37ca38 [2023-03-02T01:08:39.259Z] ---> 7fcc6435274f [2023-03-02T01:08:39.259Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-03-02T01:08:39.259Z] ---> Running in 1b9478afa795 [2023-03-02T01:08:39.259Z] Removing intermediate container 1b9478afa795 [2023-03-02T01:08:39.259Z] ---> 4062cd8af087 [2023-03-02T01:08:39.259Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-02T01:08:39.517Z] ---> Running in 3ffecb6acd34 [2023-03-02T01:08:39.517Z] Removing intermediate container 3ffecb6acd34 [2023-03-02T01:08:39.517Z] ---> cbbc3c6e16f9 [2023-03-02T01:08:39.517Z] Step 7/12 : WORKDIR /device-gpio [2023-03-02T01:08:39.517Z] ---> Running in ec7684b426f0 [2023-03-02T01:08:39.517Z] Removing intermediate container ec7684b426f0 [2023-03-02T01:08:39.517Z] ---> 90fcd34ced2d [2023-03-02T01:08:39.517Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-02T01:08:39.776Z] ---> Running in 568284a20618 [2023-03-02T01:08:40.036Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-02T01:08:40.036Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-02T01:08:40.295Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-02T01:08:40.295Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-02T01:08:40.295Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-02T01:08:40.295Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-02T01:08:40.556Z] Executing busybox-1.35.0-r17.trigger [2023-03-02T01:08:40.556Z] OK: 216 MiB in 55 packages [2023-03-02T01:08:40.817Z] Removing intermediate container 568284a20618 [2023-03-02T01:08:40.817Z] ---> f04b0927bdcd [2023-03-02T01:08:40.817Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-02T01:08:41.076Z] ---> c0ca6894589b [2023-03-02T01:08:41.076Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-02T01:08:41.076Z] ---> Running in 1a833eadd1d8 [2023-03-02T01:08:42.366Z] Still waiting to schedule task [2023-03-02T01:08:42.366Z] ‘prd-centos7-blackbox-4c-2g-7428’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-02T01:08:42.366Z] ‘prd-centos7-blackbox-4c-2g-7429’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-02T01:08:42.366Z] ‘prd-centos7-builder-2c-1g-8035’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-02T01:08:42.366Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8037’ is offline [2023-03-02T01:09:03.016Z] Removing intermediate container 1a833eadd1d8 [2023-03-02T01:09:03.016Z] ---> 1ab67d797472 [2023-03-02T01:09:03.016Z] Step 11/12 : COPY . . [2023-03-02T01:09:03.016Z] ---> f1f3eee590a2 [2023-03-02T01:09:03.016Z] Step 12/12 : RUN ${MAKE} [2023-03-02T01:09:03.016Z] ---> Running in 820febdcb7c4 [2023-03-02T01:09:03.016Z] noop [2023-03-02T01:09:03.016Z] Removing intermediate container 820febdcb7c4 [2023-03-02T01:09:03.016Z] ---> 2181e5f25147 [2023-03-02T01:09:03.016Z] Successfully built 2181e5f25147 [2023-03-02T01:09:03.276Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T01:09:03.739Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-02T01:09:03.739Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T01:09:03.891Z] prd-ubuntu20.04-docker-8c-8g-8038 does not seem to be running inside a container [2023-03-02T01:09:03.917Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-115 -v /w/workspace/edgexfoundry_device-gpio_PR-115:/w/workspace/edgexfoundry_device-gpio_PR-115:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-115@tmp:/w/workspace/edgexfoundry_device-gpio_PR-115@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-02T01:09:04.275Z] $ docker top a01f812fcc4cd553bfc03652ac1cf36bb2ab6144936aa1a7ec2e5b8eb0f26c72 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-02T01:09:04.663Z] + go version [2023-03-02T01:09:04.663Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-02T01:09:04.710Z] $ docker stop --time=1 a01f812fcc4cd553bfc03652ac1cf36bb2ab6144936aa1a7ec2e5b8eb0f26c72 [2023-03-02T01:09:06.027Z] $ docker rm -f --volumes a01f812fcc4cd553bfc03652ac1cf36bb2ab6144936aa1a7ec2e5b8eb0f26c72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T01:09:06.919Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-02T01:09:06.919Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T01:09:07.097Z] prd-ubuntu20.04-docker-8c-8g-8038 does not seem to be running inside a container [2023-03-02T01:09:07.124Z] $ 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-115 -v /w/workspace/edgexfoundry_device-gpio_PR-115:/w/workspace/edgexfoundry_device-gpio_PR-115:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-115@tmp:/w/workspace/edgexfoundry_device-gpio_PR-115@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-02T01:09:07.498Z] $ docker top 13da64a8777a32fc6b56b90f1b8743ce2cd219cf1839ec7d37d169df59b38d1a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-02T01:09:07.997Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-115 [Pipeline] fileExists [Pipeline] sh [2023-03-02T01:09:08.370Z] + make test [2023-03-02T01:09:08.370Z] go test ./... -coverprofile=coverage.out ./... [2023-03-02T01:09:08.628Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-03-02T01:09:15.187Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-03-02T01:09:15.188Z] /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-02T01:09:15.188Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-03-02T01:09:15.188Z] 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-02T01:09:15.188Z] 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-02T01:09:15.188Z] /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-02T01:09:16.122Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/common [2023-03-02T01:09:16.122Z] /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-02T01:09:16.122Z] /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-02T01:09:16.122Z] have (context.Context, requests.AddEventRequest) [2023-03-02T01:09:16.122Z] want (context.Context, string, requests.AddEventRequest) [2023-03-02T01:09:16.689Z] make: *** [Makefile:29: unittest] Error 2 [Pipeline] } [2023-03-02T01:09:16.735Z] $ docker stop --time=1 13da64a8777a32fc6b56b90f1b8743ce2cd219cf1839ec7d37d169df59b38d1a [2023-03-02T01:09:18.417Z] $ docker rm -f --volumes 13da64a8777a32fc6b56b90f1b8743ce2cd219cf1839ec7d37d169df59b38d1a [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-02T01:09:19.621Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T01:09:19.621Z] [2023-03-02T01:09:19.621Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T01:09:20.005Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T01:09:20.005Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-02T01:09:20.005Z] 5eb5b503b376: Pulling fs layer [2023-03-02T01:09:20.005Z] 5c69ac0246d0: Pulling fs layer [2023-03-02T01:09:20.005Z] ec43610c2a17: Pulling fs layer [2023-03-02T01:09:20.005Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-02T01:09:20.005Z] 33b1e0a273af: Pulling fs layer [2023-03-02T01:09:20.005Z] 3a2ae6a8a46f: Waiting [2023-03-02T01:09:20.005Z] 5d3b04190fa2: Pulling fs layer [2023-03-02T01:09:20.005Z] 2f39f015ded8: Pulling fs layer [2023-03-02T01:09:20.005Z] 33b1e0a273af: Waiting [2023-03-02T01:09:20.005Z] 5c69ac0246d0: Download complete [2023-03-02T01:09:20.005Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-02T01:09:20.005Z] 3a2ae6a8a46f: Download complete [2023-03-02T01:09:20.266Z] 33b1e0a273af: Verifying Checksum [2023-03-02T01:09:20.266Z] 33b1e0a273af: Download complete [2023-03-02T01:09:20.266Z] 5d3b04190fa2: Verifying Checksum [2023-03-02T01:09:20.266Z] 5d3b04190fa2: Download complete [2023-03-02T01:09:20.266Z] ec43610c2a17: Verifying Checksum [2023-03-02T01:09:20.266Z] ec43610c2a17: Download complete [2023-03-02T01:09:20.266Z] 5eb5b503b376: Verifying Checksum [2023-03-02T01:09:20.266Z] 5eb5b503b376: Download complete [2023-03-02T01:09:20.833Z] 2f39f015ded8: Verifying Checksum [2023-03-02T01:09:20.833Z] 2f39f015ded8: Download complete [2023-03-02T01:09:21.399Z] 5eb5b503b376: Pull complete [2023-03-02T01:09:21.399Z] 5c69ac0246d0: Pull complete [2023-03-02T01:09:21.964Z] ec43610c2a17: Pull complete [2023-03-02T01:09:21.964Z] 3a2ae6a8a46f: Pull complete [2023-03-02T01:09:22.222Z] 33b1e0a273af: Pull complete [2023-03-02T01:09:22.222Z] 5d3b04190fa2: Pull complete [2023-03-02T01:09:26.420Z] 2f39f015ded8: Pull complete [2023-03-02T01:09:26.421Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-02T01:09:26.421Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T01:09:26.421Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T01:09:26.639Z] prd-ubuntu20.04-docker-8c-8g-8038 does not seem to be running inside a container [2023-03-02T01:09:26.664Z] $ 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-115 -v /w/workspace/edgexfoundry_device-gpio_PR-115:/w/workspace/edgexfoundry_device-gpio_PR-115:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-115@tmp:/w/workspace/edgexfoundry_device-gpio_PR-115@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-02T01:09:28.512Z] $ docker top b023a79ee92c94a7ef88c8ac1601518f3aa9eac1780ab17fc5dada7822df9a0a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T01:09:29.011Z] ---> job-cost.sh [2023-03-02T01:09:29.011Z] lf-activate-venv: SKIPPING [2023-03-02T01:09:29.011Z] INFO: No Stack... [2023-03-02T01:09:29.269Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-02T01:09:29.529Z] INFO: Archiving Costs [Pipeline] sh [2023-03-02T01:09:29.846Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-115/archives/cost.csv [2023-03-02T01:09:29.847Z] + cut -d, -f6 [Pipeline] lock [2023-03-02T01:09:29.884Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-115-1-stack-cost] [2023-03-02T01:09:29.889Z] Resource [jenkins-edgexfoundry-device-gpio-PR-115-1-stack-cost] did not exist. Created. [2023-03-02T01:09:29.889Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-115-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-02T01:09:30.284Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-02T01:09:30.351Z] Stashed 1 file(s) [Pipeline] } [2023-03-02T01:09:30.366Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-115-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-02T01:09:30.447Z] $ docker stop --time=1 b023a79ee92c94a7ef88c8ac1601518f3aa9eac1780ab17fc5dada7822df9a0a [2023-03-02T01:09:31.605Z] $ docker rm -f --volumes b023a79ee92c94a7ef88c8ac1601518f3aa9eac1780ab17fc5dada7822df9a0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-02T01:09:31.983Z] Failed in branch amd64 [2023-03-02T01:10:59.274Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8039 in /w/workspace/edgexfoundry_device-gpio_PR-115 [Pipeline] { [Pipeline] ws [2023-03-02T01:10:59.336Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2023-03-02T01:10:59.449Z] The recommended git tool is: git [2023-03-02T01:11:05.939Z] using credential edgex-jenkins-ssh [2023-03-02T01:11:05.959Z] Cloning the remote Git repository [2023-03-02T01:11:06.019Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-03-02T01:11:06.115Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2023-03-02T01:11:06.295Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-03-02T01:11:06.295Z] > git --version # timeout=10 [2023-03-02T01:11:06.318Z] > git --version # 'git version 2.25.1' [2023-03-02T01:11:06.320Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-02T01:11:06.381Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-02T01:11:08.196Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-03-02T01:11:08.222Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-02T01:11:09.786Z] Merging remotes/origin/main commit 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 into PR head commit fcbbe0329516a8e38087fa437b07b5d3ecb7413d [2023-03-02T01:11:09.178Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-03-02T01:11:09.228Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-03-02T01:11:09.229Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-02T01:11:09.245Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/115/head:refs/remotes/origin/PR-115 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-02T01:11:09.810Z] > git config core.sparsecheckout # timeout=10 [2023-03-02T01:11:09.834Z] > git checkout -f fcbbe0329516a8e38087fa437b07b5d3ecb7413d # timeout=10 [2023-03-02T01:11:10.035Z] Merge succeeded, producing fcbbe0329516a8e38087fa437b07b5d3ecb7413d [2023-03-02T01:11:10.036Z] Checking out Revision fcbbe0329516a8e38087fa437b07b5d3ecb7413d (PR-115) [2023-03-02T01:11:10.588Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-03-02T01:11:10.645Z] > git --version # timeout=10 [2023-03-02T01:11:10.656Z] > git --version # 'git version 2.25.1' [2023-03-02T01:11:10.673Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2023-03-02T01:11:09.924Z] > git remote # timeout=10 [2023-03-02T01:11:09.950Z] > git config --get remote.origin.url # timeout=10 [2023-03-02T01:11:09.976Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-02T01:11:09.991Z] > git merge 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 # timeout=10 [2023-03-02T01:11:10.021Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-02T01:11:10.044Z] > git config core.sparsecheckout # timeout=10 [2023-03-02T01:11:10.061Z] > git checkout -f fcbbe0329516a8e38087fa437b07b5d3ecb7413d # timeout=10 [Pipeline] sh [2023-03-02T01:11:11.904Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-02T01:11:11.904Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-02T01:11:11.904Z] Dload Upload Total Spent Left Speed [2023-03-02T01:11:12.182Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 29516 0 --:--:-- --:--:-- --:--:-- 29516 [Pipeline] sh [2023-03-02T01:11:12.812Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-02T01:11:13.192Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-02T01:11:13.192Z] + sudo tee /etc/docker/daemon.new [2023-03-02T01:11:13.192Z] { [2023-03-02T01:11:13.192Z] "registry-mirrors": [ [2023-03-02T01:11:13.192Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-02T01:11:13.192Z] ], [2023-03-02T01:11:13.192Z] "bip": "10.250.0.254/24", [2023-03-02T01:11:13.192Z] "hosts": [ [2023-03-02T01:11:13.192Z] "tcp://0.0.0.0:5555", [2023-03-02T01:11:13.192Z] "unix:///var/run/docker.sock" [2023-03-02T01:11:13.192Z] ], [2023-03-02T01:11:13.192Z] "mtu": 1458, [2023-03-02T01:11:13.192Z] "selinux-enabled": true, [2023-03-02T01:11:13.192Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-02T01:11:13.192Z] } [Pipeline] sh [2023-03-02T01:11:13.555Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-02T01:11:13.925Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-02T01:11:32.311Z] provisioning config files... [2023-03-02T01:11:32.343Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config17887924390678771358tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T01:11:32.759Z] ---> docker-login.sh [2023-03-02T01:11:32.759Z] nexus3.edgexfoundry.org:10001 [2023-03-02T01:11:33.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T01:11:33.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T01:11:33.630Z] Configure a credential helper to remove this warning. See [2023-03-02T01:11:33.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T01:11:33.630Z] [2023-03-02T01:11:33.630Z] Login Succeeded [2023-03-02T01:11:33.630Z] nexus3.edgexfoundry.org:10002 [2023-03-02T01:11:33.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T01:11:33.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T01:11:33.904Z] Configure a credential helper to remove this warning. See [2023-03-02T01:11:33.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T01:11:33.904Z] [2023-03-02T01:11:33.904Z] Login Succeeded [2023-03-02T01:11:33.904Z] nexus3.edgexfoundry.org:10003 [2023-03-02T01:11:34.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T01:11:34.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T01:11:34.452Z] Configure a credential helper to remove this warning. See [2023-03-02T01:11:34.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T01:11:34.453Z] [2023-03-02T01:11:34.453Z] Login Succeeded [2023-03-02T01:11:34.453Z] nexus3.edgexfoundry.org:10004 [2023-03-02T01:11:34.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T01:11:34.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T01:11:34.723Z] Configure a credential helper to remove this warning. See [2023-03-02T01:11:34.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T01:11:34.723Z] [2023-03-02T01:11:34.723Z] Login Succeeded [2023-03-02T01:11:34.723Z] docker.io [2023-03-02T01:11:34.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T01:11:35.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T01:11:35.260Z] Configure a credential helper to remove this warning. See [2023-03-02T01:11:35.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T01:11:35.260Z] [2023-03-02T01:11:35.260Z] Login Succeeded [2023-03-02T01:11:35.260Z] ---> docker-login.sh ends [Pipeline] } [2023-03-02T01:11:35.297Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-02T01:11:35.688Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-02T01:11:35.726Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-02T01:11:35.759Z] ========================================================= [2023-03-02T01:11:35.759Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-02T01:11:35.759Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T01:11:36.359Z] + 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-02T01:11:36.632Z] Sending build context to Docker daemon 8.08MB [2023-03-02T01:11:36.632Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-02T01:11:36.632Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-02T01:11:36.911Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-02T01:11:36.911Z] 9b18e9b68314: Pulling fs layer [2023-03-02T01:11:36.911Z] 35d82f9e3411: Pulling fs layer [2023-03-02T01:11:36.911Z] e16973657156: Pulling fs layer [2023-03-02T01:11:36.911Z] fc693d55d65f: Pulling fs layer [2023-03-02T01:11:36.911Z] 7e9fc2657dce: Pulling fs layer [2023-03-02T01:11:36.911Z] dda99020689f: Pulling fs layer [2023-03-02T01:11:36.911Z] db1c61fa0a46: Pulling fs layer [2023-03-02T01:11:36.911Z] 891c053d2c06: Pulling fs layer [2023-03-02T01:11:36.911Z] dda99020689f: Waiting [2023-03-02T01:11:36.911Z] db1c61fa0a46: Waiting [2023-03-02T01:11:36.911Z] 7e9fc2657dce: Waiting [2023-03-02T01:11:36.911Z] fc693d55d65f: Waiting [2023-03-02T01:11:36.911Z] 891c053d2c06: Waiting [2023-03-02T01:11:36.911Z] e16973657156: Download complete [2023-03-02T01:11:36.911Z] 35d82f9e3411: Verifying Checksum [2023-03-02T01:11:36.911Z] 35d82f9e3411: Download complete [2023-03-02T01:11:36.911Z] 7e9fc2657dce: Download complete [2023-03-02T01:11:36.911Z] dda99020689f: Verifying Checksum [2023-03-02T01:11:36.911Z] dda99020689f: Download complete [2023-03-02T01:11:36.911Z] 9b18e9b68314: Verifying Checksum [2023-03-02T01:11:36.911Z] 9b18e9b68314: Download complete [2023-03-02T01:11:38.364Z] 891c053d2c06: Verifying Checksum [2023-03-02T01:11:38.364Z] 891c053d2c06: Download complete [2023-03-02T01:11:39.351Z] db1c61fa0a46: Verifying Checksum [2023-03-02T01:11:39.351Z] db1c61fa0a46: Download complete [2023-03-02T01:11:39.940Z] fc693d55d65f: Verifying Checksum [2023-03-02T01:11:39.940Z] fc693d55d65f: Download complete [2023-03-02T01:11:40.210Z] 9b18e9b68314: Pull complete [2023-03-02T01:11:40.809Z] 35d82f9e3411: Pull complete [2023-03-02T01:11:41.080Z] e16973657156: Pull complete [2023-03-02T01:11:53.446Z] fc693d55d65f: Pull complete [2023-03-02T01:11:53.446Z] 7e9fc2657dce: Pull complete [2023-03-02T01:11:53.446Z] dda99020689f: Pull complete [2023-03-02T01:12:00.238Z] db1c61fa0a46: Pull complete [2023-03-02T01:12:02.247Z] 891c053d2c06: Pull complete [2023-03-02T01:12:02.248Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-02T01:12:02.248Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-02T01:12:02.248Z] ---> f96f9c87975a [2023-03-02T01:12:02.248Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-02T01:12:04.202Z] ---> Running in 198277f413b1 [2023-03-02T01:12:04.476Z] Removing intermediate container 198277f413b1 [2023-03-02T01:12:04.476Z] ---> a9ecfa4359f3 [2023-03-02T01:12:04.476Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-02T01:12:04.745Z] ---> Running in a6b732e99dec [2023-03-02T01:12:05.017Z] Removing intermediate container a6b732e99dec [2023-03-02T01:12:05.017Z] ---> 7032bc3033f2 [2023-03-02T01:12:05.017Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-03-02T01:12:05.017Z] ---> Running in d89c20c36716 [2023-03-02T01:12:05.605Z] Removing intermediate container d89c20c36716 [2023-03-02T01:12:05.605Z] ---> 858bf15fd60a [2023-03-02T01:12:05.605Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-02T01:12:05.605Z] ---> Running in 119000d5dda6 [2023-03-02T01:12:05.875Z] Removing intermediate container 119000d5dda6 [2023-03-02T01:12:05.875Z] ---> 3dc071e4631d [2023-03-02T01:12:05.875Z] Step 7/12 : WORKDIR /device-gpio [2023-03-02T01:12:06.147Z] ---> Running in e66c0c3831ef [2023-03-02T01:12:06.418Z] Removing intermediate container e66c0c3831ef [2023-03-02T01:12:06.418Z] ---> 6654da3ccf3e [2023-03-02T01:12:06.418Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-02T01:12:06.418Z] ---> Running in 0003562adacd [2023-03-02T01:12:07.838Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-02T01:12:08.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-02T01:12:09.073Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-02T01:12:09.073Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-02T01:12:09.073Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-02T01:12:09.073Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-02T01:12:09.073Z] Executing busybox-1.35.0-r17.trigger [2023-03-02T01:12:09.073Z] OK: 226 MiB in 55 packages [2023-03-02T01:12:10.490Z] Removing intermediate container 0003562adacd [2023-03-02T01:12:10.490Z] ---> e47902aaf0bc [2023-03-02T01:12:10.490Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-02T01:12:10.761Z] ---> 028510ec2561 [2023-03-02T01:12:10.761Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-02T01:12:10.761Z] ---> Running in d01ad39a053b [2023-03-02T01:13:18.694Z] Removing intermediate container d01ad39a053b [2023-03-02T01:13:18.694Z] ---> fcca2f4ef684 [2023-03-02T01:13:18.694Z] Step 11/12 : COPY . . [2023-03-02T01:13:18.694Z] ---> 7af4b8a09104 [2023-03-02T01:13:18.694Z] Step 12/12 : RUN ${MAKE} [2023-03-02T01:13:18.694Z] ---> Running in 990888a9603f [2023-03-02T01:13:18.694Z] noop [2023-03-02T01:13:18.694Z] Removing intermediate container 990888a9603f [2023-03-02T01:13:18.694Z] ---> 703f8f3a92b4 [2023-03-02T01:13:18.694Z] Successfully built 703f8f3a92b4 [2023-03-02T01:13:18.694Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T01:13:19.193Z] + docker inspect -f . ci-base-image-arm64 [2023-03-02T01:13:19.193Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T01:13:19.472Z] prd-ubuntu20.04-docker-arm64-4c-16g-8039 does not seem to be running inside a container [2023-03-02T01:13:19.550Z] $ 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-02T01:13:20.755Z] $ docker top 521a495f326fbc2dc3c3c62bc9a6e3c549a849953fec140090e119cf29abd273 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-02T01:13:21.639Z] + go version [2023-03-02T01:13:21.639Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-02T01:13:21.680Z] $ docker stop --time=1 521a495f326fbc2dc3c3c62bc9a6e3c549a849953fec140090e119cf29abd273 [2023-03-02T01:13:23.303Z] $ docker rm -f --volumes 521a495f326fbc2dc3c3c62bc9a6e3c549a849953fec140090e119cf29abd273 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T01:13:24.259Z] + docker inspect -f . ci-base-image-arm64 [2023-03-02T01:13:24.260Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T01:13:24.532Z] prd-ubuntu20.04-docker-arm64-4c-16g-8039 does not seem to be running inside a container [2023-03-02T01:13:24.611Z] $ 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-02T01:13:25.746Z] $ docker top 17b2ea3ff3b8a999cc08d8ac0f837268c0303c394bd2317a29a4d0604e88a764 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-02T01:13:26.705Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2023-03-02T01:13:27.471Z] + make test [2023-03-02T01:13:27.472Z] go test ./... -coverprofile=coverage.out ./... [2023-03-02T01:13:28.877Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-03-02T01:14:25.297Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-03-02T01:14:25.297Z] /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-02T01:14:25.297Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-03-02T01:14:25.297Z] 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-02T01:14:25.297Z] 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-02T01:14:25.297Z] /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-02T01:14:40.296Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/common [2023-03-02T01:14:40.296Z] /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-02T01:14:40.296Z] /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-02T01:14:40.296Z] have (context.Context, requests.AddEventRequest) [2023-03-02T01:14:40.296Z] want (context.Context, string, requests.AddEventRequest) [2023-03-02T01:14:46.964Z] make: *** [Makefile:29: unittest] Error 2 [Pipeline] } [2023-03-02T01:14:47.018Z] $ docker stop --time=1 17b2ea3ff3b8a999cc08d8ac0f837268c0303c394bd2317a29a4d0604e88a764 [2023-03-02T01:14:48.841Z] $ docker rm -f --volumes 17b2ea3ff3b8a999cc08d8ac0f837268c0303c394bd2317a29a4d0604e88a764 [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-02T01:14:50.320Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-02T01:14:50.320Z] [2023-03-02T01:14:50.320Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T01:14:50.733Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-02T01:14:50.733Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-02T01:14:50.733Z] 8998bd30e6a1: Pulling fs layer [2023-03-02T01:14:50.733Z] 04944245beec: Pulling fs layer [2023-03-02T01:14:50.733Z] 699f458cf7ca: Pulling fs layer [2023-03-02T01:14:50.733Z] 765212b225bb: Pulling fs layer [2023-03-02T01:14:50.733Z] f23df028b6ca: Pulling fs layer [2023-03-02T01:14:50.733Z] d65c8cfc05b1: Pulling fs layer [2023-03-02T01:14:50.733Z] 2437ff75d9bd: Pulling fs layer [2023-03-02T01:14:50.733Z] 765212b225bb: Waiting [2023-03-02T01:14:50.733Z] f23df028b6ca: Waiting [2023-03-02T01:14:50.733Z] d65c8cfc05b1: Waiting [2023-03-02T01:14:50.733Z] 2437ff75d9bd: Waiting [2023-03-02T01:14:51.004Z] 04944245beec: Verifying Checksum [2023-03-02T01:14:51.004Z] 04944245beec: Download complete [2023-03-02T01:14:51.004Z] 765212b225bb: Download complete [2023-03-02T01:14:51.004Z] f23df028b6ca: Verifying Checksum [2023-03-02T01:14:51.004Z] f23df028b6ca: Download complete [2023-03-02T01:14:51.004Z] d65c8cfc05b1: Verifying Checksum [2023-03-02T01:14:51.004Z] d65c8cfc05b1: Download complete [2023-03-02T01:14:51.004Z] 699f458cf7ca: Verifying Checksum [2023-03-02T01:14:51.004Z] 699f458cf7ca: Download complete [2023-03-02T01:14:51.596Z] 8998bd30e6a1: Verifying Checksum [2023-03-02T01:14:51.596Z] 8998bd30e6a1: Download complete [2023-03-02T01:14:53.544Z] 2437ff75d9bd: Download complete [2023-03-02T01:14:55.486Z] 8998bd30e6a1: Pull complete [2023-03-02T01:14:55.486Z] 04944245beec: Pull complete [2023-03-02T01:14:56.903Z] 699f458cf7ca: Pull complete [2023-03-02T01:14:56.903Z] 765212b225bb: Pull complete [2023-03-02T01:14:57.863Z] f23df028b6ca: Pull complete [2023-03-02T01:14:57.863Z] d65c8cfc05b1: Pull complete [2023-03-02T01:15:12.862Z] 2437ff75d9bd: Pull complete [2023-03-02T01:15:12.862Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-02T01:15:12.862Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-02T01:15:12.862Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T01:15:13.194Z] prd-ubuntu20.04-docker-arm64-4c-16g-8039 does not seem to be running inside a container [2023-03-02T01:15:13.272Z] $ 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-02T01:15:15.055Z] $ docker top b93fc0a54335ee324505c7e6f29c25b03628bae76898cf0ace95c3be86b0da72 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T01:15:15.947Z] ---> job-cost.sh [2023-03-02T01:15:15.947Z] lf-activate-venv: SKIPPING [2023-03-02T01:15:15.947Z] INFO: No Stack... [2023-03-02T01:15:16.212Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-02T01:15:17.169Z] INFO: Archiving Costs [Pipeline] sh [2023-03-02T01:15:17.828Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2023-03-02T01:15:17.828Z] + cut -d, -f6 [Pipeline] lock [2023-03-02T01:15:17.916Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-115-1-stack-cost] [2023-03-02T01:15:17.921Z] Resource [jenkins-edgexfoundry-device-gpio-PR-115-1-stack-cost] did not exist. Created. [2023-03-02T01:15:17.921Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-115-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-02T01:15:18.339Z] /w/workspace/device-gpio/1@tmp/durable-d3e3366e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-02T01:15:18.695Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-02T01:15:18.751Z] Warning: overwriting stash ‘stack-cost’ [2023-03-02T01:15:21.612Z] Stashed 1 file(s) [Pipeline] } [2023-03-02T01:15:21.628Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-115-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-02T01:15:21.709Z] $ docker stop --time=1 b93fc0a54335ee324505c7e6f29c25b03628bae76898cf0ace95c3be86b0da72 [2023-03-02T01:15:23.236Z] $ docker rm -f --volumes b93fc0a54335ee324505c7e6f29c25b03628bae76898cf0ace95c3be86b0da72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-02T01:15:24.058Z] 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-02T01:15:26.351Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-115/archives ] [2023-03-02T01:15:26.351Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-115/archives [2023-03-02T01:15:26.351Z] total 16 [2023-03-02T01:15:26.351Z] drwxr-xr-x 3 root root 4096 Mar 2 01:09 . [2023-03-02T01:15:26.351Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 2 01:09 .. [2023-03-02T01:15:26.351Z] drwxr-xr-x 2 root root 4096 Mar 2 01:09 cost [2023-03-02T01:15:26.351Z] -rw-r--r-- 1 root root 83 Mar 2 01:09 cost.csv [2023-03-02T01:15:26.351Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-115/archives [2023-03-02T01:15:26.351Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-115/archives [2023-03-02T01:15:26.351Z] total 16 [2023-03-02T01:15:26.351Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 2 01:09 . [2023-03-02T01:15:26.351Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 2 01:09 .. [2023-03-02T01:15:26.351Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 2 01:09 cost [2023-03-02T01:15:26.351Z] -rw-r--r-- 1 jenkins jenkins 83 Mar 2 01:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-02T01:15:26.705Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T01:15:27.600Z] ---> package-listing.sh [2023-03-02T01:15:27.600Z] ++ facter osfamily [2023-03-02T01:15:27.600Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-02T01:15:27.859Z] + OS_FAMILY=debian [2023-03-02T01:15:27.859Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-115 [2023-03-02T01:15:27.859Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-02T01:15:27.859Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-02T01:15:27.859Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-02T01:15:27.859Z] + PACKAGES=/tmp/packages_start.txt [2023-03-02T01:15:27.859Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-115 ']' [2023-03-02T01:15:27.859Z] + PACKAGES=/tmp/packages_end.txt [2023-03-02T01:15:27.859Z] + case "${OS_FAMILY}" in [2023-03-02T01:15:27.860Z] + dpkg -l [2023-03-02T01:15:27.860Z] + grep '^ii' [2023-03-02T01:15:27.860Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-02T01:15:27.860Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-02T01:15:27.860Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-02T01:15:27.860Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-115 ']' [2023-03-02T01:15:27.860Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-115/archives/ [2023-03-02T01:15:27.860Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-115/archives/ [Pipeline] echo [2023-03-02T01:15:27.897Z] 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-115/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-02T01:15:28.200Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T01:15:28.833Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T01:15:28.833Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T01:15:28.981Z] prd-ubuntu20.04-docker-8c-8g-8038 does not seem to be running inside a container [2023-03-02T01:15:29.014Z] $ 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-115/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-115 -v /w/workspace/edgexfoundry_device-gpio_PR-115:/w/workspace/edgexfoundry_device-gpio_PR-115:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-115@tmp:/w/workspace/edgexfoundry_device-gpio_PR-115@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-02T01:15:29.228Z] $ docker top 2edcdf86ef6498a693c1d4588c7c39edfbd6d3ea533bcce85f207e20286695c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-02T01:15:29.627Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-02T01:15:29.937Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-02T01:15:30.245Z] + ls /var/log/sa-host [2023-03-02T01:15:30.245Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-02T01:15:30.492Z] provisioning config files... [2023-03-02T01:15:30.503Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-115@tmp/config5053478466998259075tmp [Pipeline] { [Pipeline] echo [2023-03-02T01:15:30.552Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T01:15:30.867Z] ---> create-netrc.sh [Pipeline] } [2023-03-02T01:15:30.893Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-02T01:15:31.290Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-02T01:15:31.332Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T01:15:31.645Z] ---> sudo-logs.sh [2023-03-02T01:15:31.645Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-02T01:15:31.733Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T01:15:32.043Z] ---> job-cost.sh [2023-03-02T01:15:32.044Z] lf-activate-venv: SKIPPING [2023-03-02T01:15:32.044Z] DEBUG: total: 0.2199999988079071 [2023-03-02T01:15:32.044Z] INFO: Retrieving Stack Cost... [2023-03-02T01:15:32.303Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-02T01:15:32.871Z] INFO: Archiving Costs [Pipeline] echo [2023-03-02T01:15:32.908Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T01:15:33.221Z] ---> logs-deploy.sh [2023-03-02T01:15:33.222Z] lf-activate-venv: SKIPPING [2023-03-02T01:15:33.222Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-115/1 [2023-03-02T01:15:33.222Z] INFO: archiving workspace using pattern(s): [2023-03-02T01:15:34.157Z] Archives upload complete. [2023-03-02T01:15:34.157Z] INFO: archiving logs to Nexus