Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from db97162bef71be549ebbb5eb40e831e0421e0dba+9fd98a26a9ea9701925160950e3b0ed34522a85d (8e014dc516545c8a438d45df3b4bf5fbd3380ba0) 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-ssh9693779275119036235.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-ssh496094970410615254.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-94/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-94/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2607016327422689480.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17101760588432441408.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-94/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-94/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh929155912261930171.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-5332 in /w/workspace/edgexfoundry_device-gpio_PR-94 [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-94 # 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 Merging remotes/origin/main commit 9fd98a26a9ea9701925160950e3b0ed34522a85d into PR head commit db97162bef71be549ebbb5eb40e831e0421e0dba > 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/94/head:refs/remotes/origin/PR-94 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f db97162bef71be549ebbb5eb40e831e0421e0dba # timeout=10 Merge succeeded, producing 579fc9182b8431c631458310eaf405c8aa589e0d Checking out Revision 579fc9182b8431c631458310eaf405c8aa589e0d (PR-94) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9fd98a26a9ea9701925160950e3b0ed34522a85d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 579fc9182b8431c631458310eaf405c8aa589e0d # timeout=10 Commit message: "Merge commit '9fd98a26a9ea9701925160950e3b0ed34522a85d' into HEAD" > git rev-list --no-walk db97162bef71be549ebbb5eb40e831e0421e0dba # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-10T13:20:47.274Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-10T13:20:47.334Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-10T13:20:47.352Z] ========================================================= [2023-02-10T13:20:47.352Z] EdgeX Global Pipelines Version Info [2023-02-10T13:20:47.352Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-10T13:20:48.049Z] ------------------- [2023-02-10T13:20:48.049Z] stable info: [2023-02-10T13:20:48.049Z] ------------------- [2023-02-10T13:20:48.049Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-10T13:20:48.049Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-10T13:20:48.049Z] Message: update stable to v1.0.244 [2023-02-10T13:20:48.618Z] ------------------- [2023-02-10T13:20:48.618Z] experimental info: [2023-02-10T13:20:48.618Z] ------------------- [2023-02-10T13:20:48.618Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-10T13:20:48.618Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-10T13:20:48.618Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-10T13:20:48.763Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-02-10T13:20:48.772Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-02-10T13:20:48.781Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-10T13:20:48.790Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-10T13:20:48.798Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-10T13:20:48.810Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-10T13:20:48.821Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-10T13:20:48.830Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-10T13:20:48.839Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-10T13:20:48.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-10T13:20:48.856Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-10T13:20:48.867Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-02-10T13:20:48.881Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-10T13:20:48.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-10T13:20:48.905Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-10T13:20:48.917Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-10T13:20:48.928Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-10T13:20:48.945Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-10T13:20:48.960Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-10T13:20:48.972Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-10T13:20:48.985Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-10T13:20:48.996Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-10T13:20:49.007Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-10T13:20:49.101Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-10T13:20:49.113Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-10T13:20:49.124Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-10T13:20:49.137Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-10T13:20:49.149Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-94 [Pipeline] echo [2023-02-10T13:20:49.162Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-94 [Pipeline] echo [2023-02-10T13:20:49.175Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-94 [Pipeline] echo [2023-02-10T13:20:49.185Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 579fc9182b8431c631458310eaf405c8aa589e0d [Pipeline] echo [2023-02-10T13:20:49.198Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 579fc91 [Pipeline] echo [2023-02-10T13:20:49.210Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-10T13:20:49.252Z] provisioning config files... [2023-02-10T13:20:49.265Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-94@tmp/config17596431855191030342tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-10T13:20:49.566Z] ---> docker-login.sh [2023-02-10T13:20:49.566Z] nexus3.edgexfoundry.org:10001 [2023-02-10T13:20:49.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T13:20:49.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T13:20:49.824Z] Configure a credential helper to remove this warning. See [2023-02-10T13:20:49.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T13:20:49.824Z] [2023-02-10T13:20:49.824Z] Login Succeeded [2023-02-10T13:20:49.824Z] nexus3.edgexfoundry.org:10002 [2023-02-10T13:20:49.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T13:20:49.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T13:20:49.824Z] Configure a credential helper to remove this warning. See [2023-02-10T13:20:49.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T13:20:49.824Z] [2023-02-10T13:20:49.824Z] Login Succeeded [2023-02-10T13:20:49.824Z] nexus3.edgexfoundry.org:10003 [2023-02-10T13:20:50.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T13:20:50.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T13:20:50.089Z] Configure a credential helper to remove this warning. See [2023-02-10T13:20:50.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T13:20:50.089Z] [2023-02-10T13:20:50.089Z] Login Succeeded [2023-02-10T13:20:50.089Z] nexus3.edgexfoundry.org:10004 [2023-02-10T13:20:50.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T13:20:50.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T13:20:50.089Z] Configure a credential helper to remove this warning. See [2023-02-10T13:20:50.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T13:20:50.089Z] [2023-02-10T13:20:50.089Z] Login Succeeded [2023-02-10T13:20:50.089Z] docker.io [2023-02-10T13:20:50.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T13:20:50.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T13:20:50.348Z] Configure a credential helper to remove this warning. See [2023-02-10T13:20:50.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T13:20:50.348Z] [2023-02-10T13:20:50.348Z] Login Succeeded [2023-02-10T13:20:50.348Z] ---> docker-login.sh ends [Pipeline] } [2023-02-10T13:20:50.355Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-10T13:20:50.695Z] + git rev-list -1 --merges 579fc9182b8431c631458310eaf405c8aa589e0d~1..579fc9182b8431c631458310eaf405c8aa589e0d [Pipeline] echo [2023-02-10T13:20:50.736Z] -----------> git rev-list -1 --merges 579fc9182b8431c631458310eaf405c8aa589e0d~1..579fc9182b8431c631458310eaf405c8aa589e0d 579fc9182b8431c631458310eaf405c8aa589e0d [2023-02-10T13:20:50.736Z] 579fc9182b8431c631458310eaf405c8aa589e0d [false] [Pipeline] sh [2023-02-10T13:20:51.024Z] + git log --format=format:%s -1 579fc9182b8431c631458310eaf405c8aa589e0d [Pipeline] echo [2023-02-10T13:20:51.038Z] ========================================================= [2023-02-10T13:20:51.038Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-10T13:20:51.038Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-10T13:20:51.367Z] + git log --format=format:%s -1 579fc9182b8431c631458310eaf405c8aa589e0d [Pipeline] echo [2023-02-10T13:20:51.378Z] [semverPrep] GIT_COMMIT: 579fc9182b8431c631458310eaf405c8aa589e0d, Commit Message: Merge commit '9fd98a26a9ea9701925160950e3b0ed34522a85d' into HEAD [Pipeline] echo [2023-02-10T13:20:51.388Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-10T13:20:51.718Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-10T13:20:51.718Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-10T13:20:51.718Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-10T13:20:51.718Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-10T13:20:51.718Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-10T13:20:51.718Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-10T13:20:51.718Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T13:20:52.057Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-10T13:20:52.057Z] [2023-02-10T13:20:52.057Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T13:20:52.359Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-10T13:20:52.359Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-10T13:20:52.359Z] b85a868b505f: Pulling fs layer [2023-02-10T13:20:52.359Z] e2be974225ed: Pulling fs layer [2023-02-10T13:20:52.359Z] 339a4e72a1f5: Pulling fs layer [2023-02-10T13:20:52.359Z] 988bab9f4d93: Pulling fs layer [2023-02-10T13:20:52.359Z] 1469e6f7b9e6: Pulling fs layer [2023-02-10T13:20:52.359Z] 988bab9f4d93: Waiting [2023-02-10T13:20:52.359Z] 1469e6f7b9e6: Waiting [2023-02-10T13:20:52.359Z] eaf3925da568: Pulling fs layer [2023-02-10T13:20:52.359Z] bab4dde63d76: Pulling fs layer [2023-02-10T13:20:52.359Z] eaf3925da568: Waiting [2023-02-10T13:20:52.359Z] bde34c3a00c8: Pulling fs layer [2023-02-10T13:20:52.359Z] bab4dde63d76: Waiting [2023-02-10T13:20:52.359Z] b352a97aabf1: Pulling fs layer [2023-02-10T13:20:52.359Z] 4872d77fe225: Pulling fs layer [2023-02-10T13:20:52.359Z] bde34c3a00c8: Waiting [2023-02-10T13:20:52.359Z] b352a97aabf1: Waiting [2023-02-10T13:20:52.359Z] 5851b861e8e6: Pulling fs layer [2023-02-10T13:20:52.359Z] 4872d77fe225: Waiting [2023-02-10T13:20:52.359Z] 5851b861e8e6: Waiting [2023-02-10T13:20:52.359Z] e2be974225ed: Verifying Checksum [2023-02-10T13:20:52.359Z] e2be974225ed: Download complete [2023-02-10T13:20:52.359Z] 988bab9f4d93: Verifying Checksum [2023-02-10T13:20:52.359Z] 988bab9f4d93: Download complete [2023-02-10T13:20:52.628Z] 1469e6f7b9e6: Verifying Checksum [2023-02-10T13:20:52.628Z] 1469e6f7b9e6: Download complete [2023-02-10T13:20:52.628Z] eaf3925da568: Verifying Checksum [2023-02-10T13:20:52.628Z] eaf3925da568: Download complete [2023-02-10T13:20:52.628Z] 339a4e72a1f5: Verifying Checksum [2023-02-10T13:20:52.628Z] 339a4e72a1f5: Download complete [2023-02-10T13:20:52.628Z] bde34c3a00c8: Verifying Checksum [2023-02-10T13:20:52.628Z] bde34c3a00c8: Download complete [2023-02-10T13:20:52.890Z] b352a97aabf1: Download complete [2023-02-10T13:20:52.890Z] 4872d77fe225: Verifying Checksum [2023-02-10T13:20:52.890Z] 5851b861e8e6: Verifying Checksum [2023-02-10T13:20:52.890Z] 5851b861e8e6: Download complete [2023-02-10T13:20:52.890Z] b85a868b505f: Verifying Checksum [2023-02-10T13:20:52.890Z] b85a868b505f: Download complete [2023-02-10T13:20:53.150Z] bab4dde63d76: Verifying Checksum [2023-02-10T13:20:53.150Z] bab4dde63d76: Download complete [2023-02-10T13:20:54.087Z] b85a868b505f: Pull complete [2023-02-10T13:20:54.087Z] e2be974225ed: Pull complete [2023-02-10T13:20:54.657Z] 339a4e72a1f5: Pull complete [2023-02-10T13:20:54.657Z] 988bab9f4d93: Pull complete [2023-02-10T13:20:54.915Z] 1469e6f7b9e6: Pull complete [2023-02-10T13:20:54.915Z] eaf3925da568: Pull complete [2023-02-10T13:20:56.817Z] bab4dde63d76: Pull complete [2023-02-10T13:20:56.817Z] bde34c3a00c8: Pull complete [2023-02-10T13:20:56.817Z] b352a97aabf1: Pull complete [2023-02-10T13:20:56.817Z] 4872d77fe225: Pull complete [2023-02-10T13:20:57.078Z] 5851b861e8e6: Pull complete [2023-02-10T13:20:57.078Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-10T13:20:57.078Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-10T13:20:57.078Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-10T13:20:57.163Z] prd-ubuntu20.04-docker-8c-8g-5332 does not seem to be running inside a container [2023-02-10T13:20:57.197Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-94 -v /w/workspace/edgexfoundry_device-gpio_PR-94:/w/workspace/edgexfoundry_device-gpio_PR-94:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-94@tmp:/w/workspace/edgexfoundry_device-gpio_PR-94@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-10T13:20:59.131Z] $ docker top e9854d175988dff9ad4c038a197940224660a2c6bc4b52bcad9720788463f683 -eo pid,comm [2023-02-10T13:20:59.182Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-10T13:20:59.182Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-10T13:20:59.219Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-10T13:20:59.219Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-10T13:20:59.321Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-10T13:20:59.326Z] $ docker exec e9854d175988dff9ad4c038a197940224660a2c6bc4b52bcad9720788463f683 ssh-agent [2023-02-10T13:20:59.431Z] SSH_AUTH_SOCK=/tmp/ssh-RtGPDEO5x4eY/agent.31 [2023-02-10T13:20:59.431Z] SSH_AGENT_PID=37 [2023-02-10T13:20:59.437Z] Running ssh-add (command line suppressed) [2023-02-10T13:20:59.535Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-94@tmp/private_key_3904936874261860109.key (/w/workspace/edgexfoundry_device-gpio_PR-94@tmp/private_key_3904936874261860109.key) [2023-02-10T13:20:59.548Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-10T13:20:59.839Z] + git tag --points-at HEAD [Pipeline] } [2023-02-10T13:20:59.903Z] $ docker exec --env ******** --env ******** e9854d175988dff9ad4c038a197940224660a2c6bc4b52bcad9720788463f683 ssh-agent -k [2023-02-10T13:20:59.992Z] unset SSH_AUTH_SOCK; [2023-02-10T13:20:59.993Z] unset SSH_AGENT_PID; [2023-02-10T13:20:59.993Z] echo Agent pid 37 killed; [2023-02-10T13:21:00.006Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-10T13:21:00.027Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-10T13:21:00.027Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-10T13:21:00.133Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-10T13:21:00.137Z] $ docker exec e9854d175988dff9ad4c038a197940224660a2c6bc4b52bcad9720788463f683 ssh-agent [2023-02-10T13:21:00.244Z] SSH_AUTH_SOCK=/tmp/ssh-r6VtIQIZXohs/agent.69 [2023-02-10T13:21:00.244Z] SSH_AGENT_PID=76 [2023-02-10T13:21:00.248Z] Running ssh-add (command line suppressed) [2023-02-10T13:21:00.347Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-94@tmp/private_key_16075037598136935387.key (/w/workspace/edgexfoundry_device-gpio_PR-94@tmp/private_key_16075037598136935387.key) [2023-02-10T13:21:00.358Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-10T13:21:00.644Z] + git semver init [2023-02-10T13:21:00.902Z] 2023-02-10 13:21:00,806 [run_init] DEBUG init version:0.0.0 force:False [2023-02-10T13:21:00.902Z] 2023-02-10 13:21:00,807 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-94/.semver [2023-02-10T13:21:00.902Z] 2023-02-10 13:21:00,808 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-94/.semver [2023-02-10T13:21:00.902Z] 2023-02-10 13:21:00,808 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-94/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-94, universal_newlines=False, shell=None, istream=None) [2023-02-10T13:21:02.278Z] 2023-02-10 13:21:01,838 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-94/.git/info/exclude [2023-02-10T13:21:02.278Z] 2023-02-10 13:21:01,839 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-94/.semver/PR-94 with force:False [2023-02-10T13:21:02.278Z] 2023-02-10 13:21:01,839 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-94/.semver/PR-94 [2023-02-10T13:21:02.278Z] 2023-02-10 13:21:01,843 [execute] INFO git cat-file --batch-check [2023-02-10T13:21:02.278Z] 2023-02-10 13:21:01,843 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-94/.semver, universal_newlines=False, shell=None, istream=) [2023-02-10T13:21:02.278Z] 2023-02-10 13:21:01,849 [execute] INFO git cat-file --batch [2023-02-10T13:21:02.278Z] 2023-02-10 13:21:01,849 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-94/.semver, universal_newlines=False, shell=None, istream=) [2023-02-10T13:21:02.278Z] 2023-02-10 13:21:01,853 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-94/.semver/PR-94 [2023-02-10T13:21:02.278Z] 0.0.0 [Pipeline] } [2023-02-10T13:21:02.287Z] $ docker exec --env ******** --env ******** e9854d175988dff9ad4c038a197940224660a2c6bc4b52bcad9720788463f683 ssh-agent -k [2023-02-10T13:21:02.378Z] unset SSH_AUTH_SOCK; [2023-02-10T13:21:02.379Z] unset SSH_AGENT_PID; [2023-02-10T13:21:02.379Z] echo Agent pid 76 killed; [2023-02-10T13:21:02.389Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-10T13:21:02.693Z] + git semver [Pipeline] } [2023-02-10T13:21:02.966Z] $ docker stop --time=1 e9854d175988dff9ad4c038a197940224660a2c6bc4b52bcad9720788463f683 [2023-02-10T13:21:04.339Z] $ docker rm -f --volumes e9854d175988dff9ad4c038a197940224660a2c6bc4b52bcad9720788463f683 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-10T13:21:04.672Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-10T13:21:04.876Z] Stashed 1 file(s) [Pipeline] echo [2023-02-10T13:21:04.880Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-10T13:21:05.052Z] provisioning config files... [2023-02-10T13:21:05.060Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-94@tmp/config6947465385132984450tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-10T13:21:05.355Z] ---> docker-login.sh [2023-02-10T13:21:05.356Z] nexus3.edgexfoundry.org:10001 [2023-02-10T13:21:05.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T13:21:05.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T13:21:05.356Z] Configure a credential helper to remove this warning. See [2023-02-10T13:21:05.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T13:21:05.356Z] [2023-02-10T13:21:05.356Z] Login Succeeded [2023-02-10T13:21:05.356Z] nexus3.edgexfoundry.org:10002 [2023-02-10T13:21:05.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T13:21:05.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T13:21:05.356Z] Configure a credential helper to remove this warning. See [2023-02-10T13:21:05.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T13:21:05.356Z] [2023-02-10T13:21:05.356Z] Login Succeeded [2023-02-10T13:21:05.356Z] nexus3.edgexfoundry.org:10003 [2023-02-10T13:21:05.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T13:21:05.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T13:21:05.614Z] Configure a credential helper to remove this warning. See [2023-02-10T13:21:05.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T13:21:05.614Z] [2023-02-10T13:21:05.614Z] Login Succeeded [2023-02-10T13:21:05.614Z] nexus3.edgexfoundry.org:10004 [2023-02-10T13:21:05.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T13:21:05.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T13:21:05.614Z] Configure a credential helper to remove this warning. See [2023-02-10T13:21:05.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T13:21:05.614Z] [2023-02-10T13:21:05.614Z] Login Succeeded [2023-02-10T13:21:05.614Z] docker.io [2023-02-10T13:21:05.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T13:21:05.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T13:21:05.874Z] Configure a credential helper to remove this warning. See [2023-02-10T13:21:05.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T13:21:05.874Z] [2023-02-10T13:21:05.874Z] Login Succeeded [2023-02-10T13:21:05.874Z] ---> docker-login.sh ends [Pipeline] } [2023-02-10T13:21:05.882Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-10T13:21:05.949Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-10T13:21:05.965Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-10T13:21:05.981Z] ========================================================= [2023-02-10T13:21:05.981Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-10T13:21:05.981Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T13:21:06.300Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-10T13:21:06.300Z] Sending build context to Docker daemon 15.98MB [2023-02-10T13:21:06.300Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-10T13:21:06.300Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-10T13:21:06.561Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-10T13:21:06.561Z] 213ec9aee27d: Pulling fs layer [2023-02-10T13:21:06.561Z] 4583459ba037: Pulling fs layer [2023-02-10T13:21:06.561Z] 93c1e223e6f2: Pulling fs layer [2023-02-10T13:21:06.561Z] 53926ce57604: Pulling fs layer [2023-02-10T13:21:06.561Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-10T13:21:06.561Z] 22ff95d597cd: Pulling fs layer [2023-02-10T13:21:06.561Z] 12d6caf4c0d1: Pulling fs layer [2023-02-10T13:21:06.561Z] 96b7cbca73a9: Pulling fs layer [2023-02-10T13:21:06.561Z] a7acece74701: Pulling fs layer [2023-02-10T13:21:06.561Z] 22ff95d597cd: Waiting [2023-02-10T13:21:06.561Z] 12d6caf4c0d1: Waiting [2023-02-10T13:21:06.561Z] 96b7cbca73a9: Waiting [2023-02-10T13:21:06.561Z] a7acece74701: Waiting [2023-02-10T13:21:06.561Z] 21b2b0c7a3f4: Waiting [2023-02-10T13:21:06.561Z] 53926ce57604: Waiting [2023-02-10T13:21:06.561Z] 93c1e223e6f2: Verifying Checksum [2023-02-10T13:21:06.561Z] 93c1e223e6f2: Download complete [2023-02-10T13:21:06.561Z] 4583459ba037: Verifying Checksum [2023-02-10T13:21:06.561Z] 4583459ba037: Download complete [2023-02-10T13:21:06.561Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-10T13:21:06.561Z] 21b2b0c7a3f4: Download complete [2023-02-10T13:21:06.561Z] 22ff95d597cd: Download complete [2023-02-10T13:21:06.561Z] 213ec9aee27d: Download complete [2023-02-10T13:21:06.561Z] 12d6caf4c0d1: Verifying Checksum [2023-02-10T13:21:06.561Z] 12d6caf4c0d1: Download complete [2023-02-10T13:21:06.834Z] 213ec9aee27d: Pull complete [2023-02-10T13:21:06.834Z] 4583459ba037: Pull complete [2023-02-10T13:21:06.834Z] 93c1e223e6f2: Pull complete [2023-02-10T13:21:08.320Z] a7acece74701: Verifying Checksum [2023-02-10T13:21:08.320Z] a7acece74701: Download complete [2023-02-10T13:21:08.320Z] 53926ce57604: Verifying Checksum [2023-02-10T13:21:08.320Z] 53926ce57604: Download complete [2023-02-10T13:21:08.320Z] 96b7cbca73a9: Verifying Checksum [2023-02-10T13:21:08.320Z] 96b7cbca73a9: Download complete [2023-02-10T13:21:11.606Z] 53926ce57604: Pull complete [2023-02-10T13:21:11.606Z] 21b2b0c7a3f4: Pull complete [2023-02-10T13:21:11.606Z] 22ff95d597cd: Pull complete [2023-02-10T13:21:11.606Z] 12d6caf4c0d1: Pull complete [2023-02-10T13:21:13.506Z] 96b7cbca73a9: Pull complete [2023-02-10T13:21:14.445Z] a7acece74701: Pull complete [2023-02-10T13:21:14.445Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-10T13:21:14.445Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-10T13:21:14.445Z] ---> db6d94c90886 [2023-02-10T13:21:14.445Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-10T13:21:16.350Z] ---> Running in 0e1e83ef92f2 [2023-02-10T13:21:16.609Z] Removing intermediate container 0e1e83ef92f2 [2023-02-10T13:21:16.609Z] ---> 510b3efd4c35 [2023-02-10T13:21:16.609Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-10T13:21:16.609Z] ---> Running in b49e5ea6dcb2 [2023-02-10T13:21:16.609Z] Removing intermediate container b49e5ea6dcb2 [2023-02-10T13:21:16.609Z] ---> e733189315d5 [2023-02-10T13:21:16.609Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-02-10T13:21:16.609Z] ---> Running in c612e23d9403 [2023-02-10T13:21:16.867Z] Removing intermediate container c612e23d9403 [2023-02-10T13:21:16.867Z] ---> 598cc5f4eec5 [2023-02-10T13:21:16.867Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-10T13:21:16.867Z] ---> Running in a37fea65a956 [2023-02-10T13:21:16.867Z] Removing intermediate container a37fea65a956 [2023-02-10T13:21:16.867Z] ---> 293eee6d3e30 [2023-02-10T13:21:16.867Z] Step 7/12 : WORKDIR /device-gpio [2023-02-10T13:21:16.867Z] ---> Running in ba7757f35389 [2023-02-10T13:21:17.126Z] Removing intermediate container ba7757f35389 [2023-02-10T13:21:17.126Z] ---> 2df228b6f881 [2023-02-10T13:21:17.126Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-10T13:21:17.126Z] ---> Running in ace6f1e12074 [2023-02-10T13:21:17.385Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-10T13:21:17.646Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-10T13:21:17.907Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-10T13:21:17.907Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-10T13:21:17.907Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-10T13:21:17.907Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-10T13:21:17.907Z] Executing busybox-1.35.0-r17.trigger [2023-02-10T13:21:17.907Z] OK: 216 MiB in 55 packages [2023-02-10T13:21:18.169Z] Removing intermediate container ace6f1e12074 [2023-02-10T13:21:18.169Z] ---> 00831c75be46 [2023-02-10T13:21:18.169Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-10T13:21:18.426Z] ---> f82031d0aaed [2023-02-10T13:21:18.426Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-10T13:21:18.426Z] ---> Running in 8c3093ee2b67 [2023-02-10T13:21:19.998Z] Still waiting to schedule task [2023-02-10T13:21:19.999Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-10T13:21:40.362Z] Removing intermediate container 8c3093ee2b67 [2023-02-10T13:21:40.362Z] ---> 7ef76588471c [2023-02-10T13:21:40.362Z] Step 11/12 : COPY . . [2023-02-10T13:21:40.362Z] ---> 0a2d4db65206 [2023-02-10T13:21:40.362Z] Step 12/12 : RUN ${MAKE} [2023-02-10T13:21:40.362Z] ---> Running in ac8b05b6a09f [2023-02-10T13:21:40.362Z] noop [2023-02-10T13:21:40.362Z] Removing intermediate container ac8b05b6a09f [2023-02-10T13:21:40.363Z] ---> f2b2e73b13c4 [2023-02-10T13:21:40.363Z] Successfully built f2b2e73b13c4 [2023-02-10T13:21:40.363Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T13:21:40.672Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-10T13:21:40.672Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-10T13:21:40.742Z] prd-ubuntu20.04-docker-8c-8g-5332 does not seem to be running inside a container [2023-02-10T13:21:40.770Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-94 -v /w/workspace/edgexfoundry_device-gpio_PR-94:/w/workspace/edgexfoundry_device-gpio_PR-94:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-94@tmp:/w/workspace/edgexfoundry_device-gpio_PR-94@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-10T13:21:41.105Z] $ docker top 7954c4285e1938e6678ca42ab705060efaf91cb0940b0fd426f3d4dacf71f207 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-10T13:21:41.447Z] + go version [2023-02-10T13:21:41.447Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-10T13:21:41.455Z] $ docker stop --time=1 7954c4285e1938e6678ca42ab705060efaf91cb0940b0fd426f3d4dacf71f207 [2023-02-10T13:21:42.737Z] $ docker rm -f --volumes 7954c4285e1938e6678ca42ab705060efaf91cb0940b0fd426f3d4dacf71f207 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T13:21:43.136Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-10T13:21:43.136Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-10T13:21:43.214Z] prd-ubuntu20.04-docker-8c-8g-5332 does not seem to be running inside a container [2023-02-10T13:21:43.242Z] $ 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-94 -v /w/workspace/edgexfoundry_device-gpio_PR-94:/w/workspace/edgexfoundry_device-gpio_PR-94:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-94@tmp:/w/workspace/edgexfoundry_device-gpio_PR-94@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-10T13:21:43.563Z] $ docker top 83db9990ea81d1ebf546702b7a73fd3c0de63f4d04f9bf73f77f3706f9118cf9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-10T13:21:43.908Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-94 [Pipeline] fileExists [Pipeline] sh [2023-02-10T13:21:44.209Z] + make test [2023-02-10T13:21:44.209Z] go test ./... -coverprofile=coverage.out ./... [2023-02-10T13:21:44.468Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-02-10T13:21:51.015Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-02-10T13:21:51.015Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: [2023-02-10T13:21:51.015Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-02-10T13:21:51.015Z] have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-02-10T13:21:51.016Z] want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-02-10T13:21:51.016Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-02-10T13:21:51.951Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-02-10T13:21:51.951Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:219:43: undefined: common.ValueYes [2023-02-10T13:21:51.951Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:223:45: undefined: common.ValueNo [2023-02-10T13:21:51.951Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-02-10T13:21:51.951Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:49:71: undefined: common.ValueYes [2023-02-10T13:21:51.951Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:54:74: undefined: common.ValueYes [2023-02-10T13:21:51.951Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/common.go:68:23: undefined: common.Metrics [2023-02-10T13:21:51.951Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/common.go:78:24: undefined: common.NewMetricsResponse [2023-02-10T13:21:51.951Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/common.go:79:41: undefined: common.ApiMetricsRoute [2023-02-10T13:21:51.951Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/restrouter.go:60:28: undefined: common.ApiMetricsRoute [2023-02-10T13:21:51.951Z] make: *** [Makefile:29: unittest] Error 2 [Pipeline] } [2023-02-10T13:21:51.963Z] $ docker stop --time=1 83db9990ea81d1ebf546702b7a73fd3c0de63f4d04f9bf73f77f3706f9118cf9 [2023-02-10T13:21:53.650Z] $ docker rm -f --volumes 83db9990ea81d1ebf546702b7a73fd3c0de63f4d04f9bf73f77f3706f9118cf9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T13:22:03.073Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-10T13:22:03.073Z] [2023-02-10T13:22:03.073Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T13:22:03.377Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-10T13:22:03.377Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-10T13:22:03.377Z] 5eb5b503b376: Pulling fs layer [2023-02-10T13:22:03.377Z] 5c69ac0246d0: Pulling fs layer [2023-02-10T13:22:03.377Z] ec43610c2a17: Pulling fs layer [2023-02-10T13:22:03.377Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-10T13:22:03.377Z] 33b1e0a273af: Pulling fs layer [2023-02-10T13:22:03.377Z] 5d3b04190fa2: Pulling fs layer [2023-02-10T13:22:03.377Z] 2f39f015ded8: Pulling fs layer [2023-02-10T13:22:03.377Z] 3a2ae6a8a46f: Waiting [2023-02-10T13:22:03.377Z] 33b1e0a273af: Waiting [2023-02-10T13:22:03.377Z] 5d3b04190fa2: Waiting [2023-02-10T13:22:03.377Z] 2f39f015ded8: Waiting [2023-02-10T13:22:03.377Z] 5c69ac0246d0: Verifying Checksum [2023-02-10T13:22:03.377Z] 5c69ac0246d0: Download complete [2023-02-10T13:22:03.377Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-10T13:22:03.377Z] 3a2ae6a8a46f: Download complete [2023-02-10T13:22:03.641Z] 33b1e0a273af: Verifying Checksum [2023-02-10T13:22:03.641Z] 33b1e0a273af: Download complete [2023-02-10T13:22:03.641Z] ec43610c2a17: Verifying Checksum [2023-02-10T13:22:03.641Z] ec43610c2a17: Download complete [2023-02-10T13:22:03.641Z] 5d3b04190fa2: Verifying Checksum [2023-02-10T13:22:03.641Z] 5d3b04190fa2: Download complete [2023-02-10T13:22:03.906Z] 5eb5b503b376: Verifying Checksum [2023-02-10T13:22:03.906Z] 5eb5b503b376: Download complete [2023-02-10T13:22:04.474Z] 2f39f015ded8: Download complete [2023-02-10T13:22:05.038Z] 5eb5b503b376: Pull complete [2023-02-10T13:22:05.038Z] 5c69ac0246d0: Pull complete [2023-02-10T13:22:05.603Z] ec43610c2a17: Pull complete [2023-02-10T13:22:05.603Z] 3a2ae6a8a46f: Pull complete [2023-02-10T13:22:05.603Z] 33b1e0a273af: Pull complete [2023-02-10T13:22:05.861Z] 5d3b04190fa2: Pull complete [2023-02-10T13:22:10.040Z] 2f39f015ded8: Pull complete [2023-02-10T13:22:10.040Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-10T13:22:10.040Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-10T13:22:10.040Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-10T13:22:10.115Z] prd-ubuntu20.04-docker-8c-8g-5332 does not seem to be running inside a container [2023-02-10T13:22:10.144Z] $ 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-94 -v /w/workspace/edgexfoundry_device-gpio_PR-94:/w/workspace/edgexfoundry_device-gpio_PR-94:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-94@tmp:/w/workspace/edgexfoundry_device-gpio_PR-94@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-10T13:22:12.586Z] $ docker top 661629d3e6a3ee1466d74d32826392fd5bff98bbd7724ecbadf81b1fb6f270c5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-10T13:22:12.972Z] ---> job-cost.sh [2023-02-10T13:22:12.972Z] lf-activate-venv: SKIPPING [2023-02-10T13:22:12.972Z] INFO: No Stack... [2023-02-10T13:22:14.350Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-10T13:22:14.610Z] INFO: Archiving Costs [Pipeline] sh [2023-02-10T13:22:14.896Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-94/archives/cost.csv [2023-02-10T13:22:14.897Z] + cut -d, -f6 [Pipeline] lock [2023-02-10T13:22:14.911Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-94-2-stack-cost] [2023-02-10T13:22:14.917Z] Resource [jenkins-edgexfoundry-device-gpio-PR-94-2-stack-cost] did not exist. Created. [2023-02-10T13:22:14.917Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-94-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-10T13:22:15.214Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-10T13:22:15.251Z] Stashed 1 file(s) [Pipeline] } [2023-02-10T13:22:15.258Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-94-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-10T13:22:15.276Z] $ docker stop --time=1 661629d3e6a3ee1466d74d32826392fd5bff98bbd7724ecbadf81b1fb6f270c5 [2023-02-10T13:22:16.448Z] $ docker rm -f --volumes 661629d3e6a3ee1466d74d32826392fd5bff98bbd7724ecbadf81b1fb6f270c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-10T13:22:16.545Z] Failed in branch amd64 [2023-02-10T13:23:57.449Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5336 in /w/workspace/edgexfoundry_device-gpio_PR-94 [Pipeline] { [Pipeline] ws [2023-02-10T13:23:57.462Z] Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout [2023-02-10T13:23:57.498Z] The recommended git tool is: git [2023-02-10T13:24:04.022Z] using credential edgex-jenkins-ssh [2023-02-10T13:24:04.045Z] Cloning the remote Git repository [2023-02-10T13:24:04.114Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-02-10T13:24:04.218Z] > git init /w/workspace/device-gpio/2 # timeout=10 [2023-02-10T13:24:04.425Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-02-10T13:24:04.426Z] > git --version # timeout=10 [2023-02-10T13:24:04.452Z] > git --version # 'git version 2.25.1' [2023-02-10T13:24:04.454Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-10T13:24:04.524Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-10T13:24:06.692Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-02-10T13:24:06.729Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-10T13:24:07.812Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-02-10T13:24:07.866Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-02-10T13:24:07.867Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-10T13:24:07.884Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/94/head:refs/remotes/origin/PR-94 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-10T13:24:08.549Z] Merging remotes/origin/main commit 9fd98a26a9ea9701925160950e3b0ed34522a85d into PR head commit db97162bef71be549ebbb5eb40e831e0421e0dba [2023-02-10T13:24:08.825Z] Merge succeeded, producing d5c89dd6e80eb97f1250432bdb9c41ecee4c7972 [2023-02-10T13:24:08.826Z] Checking out Revision d5c89dd6e80eb97f1250432bdb9c41ecee4c7972 (PR-94) [2023-02-10T13:24:08.566Z] > git config core.sparsecheckout # timeout=10 [2023-02-10T13:24:08.588Z] > git checkout -f db97162bef71be549ebbb5eb40e831e0421e0dba # timeout=10 [2023-02-10T13:24:08.677Z] > git remote # timeout=10 [2023-02-10T13:24:08.696Z] > git config --get remote.origin.url # timeout=10 [2023-02-10T13:24:08.724Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-10T13:24:08.741Z] > git merge 9fd98a26a9ea9701925160950e3b0ed34522a85d # timeout=10 [2023-02-10T13:24:08.803Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-10T13:24:08.831Z] > git config core.sparsecheckout # timeout=10 [2023-02-10T13:24:08.852Z] > git checkout -f d5c89dd6e80eb97f1250432bdb9c41ecee4c7972 # timeout=10 [2023-02-10T13:24:12.358Z] Commit message: "Merge commit '9fd98a26a9ea9701925160950e3b0ed34522a85d' into HEAD" [2023-02-10T13:24:12.365Z] > git rev-list --no-walk db97162bef71be549ebbb5eb40e831e0421e0dba # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-10T13:24:13.385Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-10T13:24:13.385Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-10T13:24:13.385Z] Dload Upload Total Spent Left Speed [2023-02-10T13:24:13.385Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh [2023-02-10T13:24:14.137Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-10T13:24:14.493Z] + sudo tee /etc/docker/daemon.new [2023-02-10T13:24:14.493Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-10T13:24:14.493Z] { [2023-02-10T13:24:14.493Z] "registry-mirrors": [ [2023-02-10T13:24:14.493Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-10T13:24:14.493Z] ], [2023-02-10T13:24:14.493Z] "bip": "10.250.0.254/24", [2023-02-10T13:24:14.493Z] "hosts": [ [2023-02-10T13:24:14.493Z] "tcp://0.0.0.0:5555", [2023-02-10T13:24:14.493Z] "unix:///var/run/docker.sock" [2023-02-10T13:24:14.493Z] ], [2023-02-10T13:24:14.493Z] "mtu": 1458, [2023-02-10T13:24:14.493Z] "selinux-enabled": true, [2023-02-10T13:24:14.493Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-10T13:24:14.493Z] } [Pipeline] sh [2023-02-10T13:24:14.826Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-10T13:24:15.162Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-10T13:24:33.452Z] provisioning config files... [2023-02-10T13:24:33.481Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config13373236330221380270tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-10T13:24:33.837Z] ---> docker-login.sh [2023-02-10T13:24:33.837Z] nexus3.edgexfoundry.org:10001 [2023-02-10T13:24:34.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T13:24:34.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T13:24:34.432Z] Configure a credential helper to remove this warning. See [2023-02-10T13:24:34.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T13:24:34.432Z] [2023-02-10T13:24:34.432Z] Login Succeeded [2023-02-10T13:24:34.432Z] nexus3.edgexfoundry.org:10002 [2023-02-10T13:24:34.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T13:24:34.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T13:24:34.980Z] Configure a credential helper to remove this warning. See [2023-02-10T13:24:34.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T13:24:34.980Z] [2023-02-10T13:24:34.980Z] Login Succeeded [2023-02-10T13:24:34.980Z] nexus3.edgexfoundry.org:10003 [2023-02-10T13:24:35.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T13:24:35.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T13:24:35.249Z] Configure a credential helper to remove this warning. See [2023-02-10T13:24:35.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T13:24:35.249Z] [2023-02-10T13:24:35.249Z] Login Succeeded [2023-02-10T13:24:35.249Z] nexus3.edgexfoundry.org:10004 [2023-02-10T13:24:35.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T13:24:35.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T13:24:35.524Z] Configure a credential helper to remove this warning. See [2023-02-10T13:24:35.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T13:24:35.524Z] [2023-02-10T13:24:35.524Z] Login Succeeded [2023-02-10T13:24:35.524Z] docker.io [2023-02-10T13:24:35.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T13:24:36.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T13:24:36.066Z] Configure a credential helper to remove this warning. See [2023-02-10T13:24:36.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T13:24:36.066Z] [2023-02-10T13:24:36.066Z] Login Succeeded [2023-02-10T13:24:36.066Z] ---> docker-login.sh ends [Pipeline] } [2023-02-10T13:24:36.081Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-10T13:24:36.344Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-10T13:24:36.364Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-10T13:24:36.376Z] ========================================================= [2023-02-10T13:24:36.376Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-10T13:24:36.376Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T13:24:36.731Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-10T13:24:36.999Z] Sending build context to Docker daemon 8.068MB [2023-02-10T13:24:36.999Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-10T13:24:36.999Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-10T13:24:38.953Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-10T13:24:38.953Z] 9b18e9b68314: Pulling fs layer [2023-02-10T13:24:38.953Z] 35d82f9e3411: Pulling fs layer [2023-02-10T13:24:38.953Z] e16973657156: Pulling fs layer [2023-02-10T13:24:38.953Z] fc693d55d65f: Pulling fs layer [2023-02-10T13:24:38.953Z] 7e9fc2657dce: Pulling fs layer [2023-02-10T13:24:38.953Z] dda99020689f: Pulling fs layer [2023-02-10T13:24:38.953Z] db1c61fa0a46: Pulling fs layer [2023-02-10T13:24:38.953Z] 891c053d2c06: Pulling fs layer [2023-02-10T13:24:38.953Z] 7e9fc2657dce: Waiting [2023-02-10T13:24:38.953Z] dda99020689f: Waiting [2023-02-10T13:24:38.953Z] db1c61fa0a46: Waiting [2023-02-10T13:24:38.953Z] 891c053d2c06: Waiting [2023-02-10T13:24:38.953Z] fc693d55d65f: Waiting [2023-02-10T13:24:38.953Z] e16973657156: Verifying Checksum [2023-02-10T13:24:38.953Z] e16973657156: Download complete [2023-02-10T13:24:38.953Z] 35d82f9e3411: Verifying Checksum [2023-02-10T13:24:38.953Z] 35d82f9e3411: Download complete [2023-02-10T13:24:38.953Z] 7e9fc2657dce: Verifying Checksum [2023-02-10T13:24:38.953Z] 7e9fc2657dce: Download complete [2023-02-10T13:24:38.953Z] dda99020689f: Download complete [2023-02-10T13:24:39.224Z] 9b18e9b68314: Verifying Checksum [2023-02-10T13:24:39.224Z] 9b18e9b68314: Download complete [2023-02-10T13:24:40.650Z] 9b18e9b68314: Pull complete [2023-02-10T13:24:40.650Z] 891c053d2c06: Verifying Checksum [2023-02-10T13:24:40.650Z] 891c053d2c06: Download complete [2023-02-10T13:24:41.245Z] 35d82f9e3411: Pull complete [2023-02-10T13:24:41.517Z] e16973657156: Pull complete [2023-02-10T13:24:41.789Z] db1c61fa0a46: Verifying Checksum [2023-02-10T13:24:41.789Z] db1c61fa0a46: Download complete [2023-02-10T13:24:42.756Z] fc693d55d65f: Verifying Checksum [2023-02-10T13:24:42.756Z] fc693d55d65f: Download complete [2023-02-10T13:24:55.123Z] fc693d55d65f: Pull complete [2023-02-10T13:24:55.123Z] 7e9fc2657dce: Pull complete [2023-02-10T13:24:55.393Z] dda99020689f: Pull complete [2023-02-10T13:25:02.080Z] db1c61fa0a46: Pull complete [2023-02-10T13:25:04.044Z] 891c053d2c06: Pull complete [2023-02-10T13:25:04.044Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-10T13:25:04.044Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-10T13:25:04.044Z] ---> f96f9c87975a [2023-02-10T13:25:04.044Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-10T13:25:06.648Z] ---> Running in edb3533566b3 [2023-02-10T13:25:06.648Z] Removing intermediate container edb3533566b3 [2023-02-10T13:25:06.648Z] ---> df55f10a6309 [2023-02-10T13:25:06.648Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-10T13:25:06.648Z] ---> Running in ef0329cd5d8b [2023-02-10T13:25:06.916Z] Removing intermediate container ef0329cd5d8b [2023-02-10T13:25:06.916Z] ---> ec68a7113ba4 [2023-02-10T13:25:06.916Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-02-10T13:25:07.191Z] ---> Running in f31457ebbe48 [2023-02-10T13:25:07.462Z] Removing intermediate container f31457ebbe48 [2023-02-10T13:25:07.462Z] ---> a8686da5e485 [2023-02-10T13:25:07.462Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-10T13:25:07.462Z] ---> Running in 5a1ba3fb9740 [2023-02-10T13:25:08.054Z] Removing intermediate container 5a1ba3fb9740 [2023-02-10T13:25:08.054Z] ---> ba489a2ee827 [2023-02-10T13:25:08.054Z] Step 7/12 : WORKDIR /device-gpio [2023-02-10T13:25:08.054Z] ---> Running in 03566881f41c [2023-02-10T13:25:08.323Z] Removing intermediate container 03566881f41c [2023-02-10T13:25:08.323Z] ---> b6e3fd902261 [2023-02-10T13:25:08.323Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-10T13:25:08.594Z] ---> Running in ef896a8a6208 [2023-02-10T13:25:10.021Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-10T13:25:10.021Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-10T13:25:11.443Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-10T13:25:11.443Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-10T13:25:11.443Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-10T13:25:11.443Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-10T13:25:11.443Z] Executing busybox-1.35.0-r17.trigger [2023-02-10T13:25:11.443Z] OK: 226 MiB in 55 packages [2023-02-10T13:25:12.414Z] Removing intermediate container ef896a8a6208 [2023-02-10T13:25:12.415Z] ---> 47f9515e5197 [2023-02-10T13:25:12.415Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-10T13:25:13.018Z] ---> 9511c8206533 [2023-02-10T13:25:13.018Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-10T13:25:13.018Z] ---> Running in e75192a8de6b [2023-02-10T13:26:22.287Z] Removing intermediate container e75192a8de6b [2023-02-10T13:26:22.287Z] ---> 4bd83c6f5bd2 [2023-02-10T13:26:22.287Z] Step 11/12 : COPY . . [2023-02-10T13:26:22.287Z] ---> 22ab4c10872f [2023-02-10T13:26:22.287Z] Step 12/12 : RUN ${MAKE} [2023-02-10T13:26:22.287Z] ---> Running in 581dfd2def9a [2023-02-10T13:26:22.287Z] noop [2023-02-10T13:26:22.287Z] Removing intermediate container 581dfd2def9a [2023-02-10T13:26:22.287Z] ---> 09ef2ce0013e [2023-02-10T13:26:22.287Z] Successfully built 09ef2ce0013e [2023-02-10T13:26:22.287Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T13:26:22.629Z] + docker inspect -f . ci-base-image-arm64 [2023-02-10T13:26:22.629Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-10T13:26:22.811Z] prd-ubuntu20.04-docker-arm64-4c-16g-5336 does not seem to be running inside a container [2023-02-10T13:26:22.873Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-10T13:26:24.060Z] $ docker top 4c60acb05d857b80ba82ed43dd198e5b419438e2ac35e60582938203cefe930a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-10T13:26:24.903Z] + go version [2023-02-10T13:26:24.903Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-10T13:26:24.923Z] $ docker stop --time=1 4c60acb05d857b80ba82ed43dd198e5b419438e2ac35e60582938203cefe930a [2023-02-10T13:26:26.542Z] $ docker rm -f --volumes 4c60acb05d857b80ba82ed43dd198e5b419438e2ac35e60582938203cefe930a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T13:26:27.096Z] + docker inspect -f . ci-base-image-arm64 [2023-02-10T13:26:27.096Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-10T13:26:27.275Z] prd-ubuntu20.04-docker-arm64-4c-16g-5336 does not seem to be running inside a container [2023-02-10T13:26:27.339Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-10T13:26:28.512Z] $ docker top dbb008aac68a4ad0c50eeb698b74ab26a67c66c5ec3ef69a4ee98f1498b1d4f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-10T13:26:29.018Z] + git config --global --add safe.directory /w/workspace/device-gpio/2 [Pipeline] fileExists [Pipeline] sh [2023-02-10T13:26:29.625Z] + make test [2023-02-10T13:26:29.896Z] go test ./... -coverprofile=coverage.out ./... [2023-02-10T13:26:31.305Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-02-10T13:27:27.707Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-02-10T13:27:27.707Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: [2023-02-10T13:27:27.707Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-02-10T13:27:27.707Z] have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-02-10T13:27:27.707Z] want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-02-10T13:27:27.707Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-02-10T13:27:45.911Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-02-10T13:27:45.911Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:49:71: undefined: common.ValueYes [2023-02-10T13:27:45.911Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:54:74: undefined: common.ValueYes [2023-02-10T13:27:45.911Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/common.go:68:23: undefined: common.Metrics [2023-02-10T13:27:45.911Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/common.go:78:24: undefined: common.NewMetricsResponse [2023-02-10T13:27:45.911Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/common.go:79:41: undefined: common.ApiMetricsRoute [2023-02-10T13:27:45.911Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/restrouter.go:60:28: undefined: common.ApiMetricsRoute [2023-02-10T13:27:45.911Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-02-10T13:27:45.911Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:219:43: undefined: common.ValueYes [2023-02-10T13:27:45.911Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:223:45: undefined: common.ValueNo [2023-02-10T13:27:52.555Z] make: *** [Makefile:29: unittest] Error 2 [Pipeline] } [2023-02-10T13:27:52.566Z] $ docker stop --time=1 dbb008aac68a4ad0c50eeb698b74ab26a67c66c5ec3ef69a4ee98f1498b1d4f4 [2023-02-10T13:27:54.435Z] $ docker rm -f --volumes dbb008aac68a4ad0c50eeb698b74ab26a67c66c5ec3ef69a4ee98f1498b1d4f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T13:27:55.445Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-10T13:27:55.445Z] [2023-02-10T13:27:55.445Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T13:27:55.785Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-10T13:27:56.060Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-10T13:27:56.060Z] 8998bd30e6a1: Pulling fs layer [2023-02-10T13:27:56.060Z] 04944245beec: Pulling fs layer [2023-02-10T13:27:56.060Z] 699f458cf7ca: Pulling fs layer [2023-02-10T13:27:56.060Z] 765212b225bb: Pulling fs layer [2023-02-10T13:27:56.060Z] f23df028b6ca: Pulling fs layer [2023-02-10T13:27:56.060Z] d65c8cfc05b1: Pulling fs layer [2023-02-10T13:27:56.060Z] 2437ff75d9bd: Pulling fs layer [2023-02-10T13:27:56.060Z] f23df028b6ca: Waiting [2023-02-10T13:27:56.060Z] d65c8cfc05b1: Waiting [2023-02-10T13:27:56.060Z] 2437ff75d9bd: Waiting [2023-02-10T13:27:56.060Z] 765212b225bb: Waiting [2023-02-10T13:27:56.060Z] 04944245beec: Verifying Checksum [2023-02-10T13:27:56.060Z] 04944245beec: Download complete [2023-02-10T13:27:56.060Z] 765212b225bb: Verifying Checksum [2023-02-10T13:27:56.060Z] 765212b225bb: Download complete [2023-02-10T13:27:56.060Z] f23df028b6ca: Download complete [2023-02-10T13:27:56.060Z] d65c8cfc05b1: Download complete [2023-02-10T13:27:56.337Z] 699f458cf7ca: Verifying Checksum [2023-02-10T13:27:56.337Z] 699f458cf7ca: Download complete [2023-02-10T13:27:56.606Z] 8998bd30e6a1: Verifying Checksum [2023-02-10T13:27:56.607Z] 8998bd30e6a1: Download complete [2023-02-10T13:27:59.199Z] 2437ff75d9bd: Verifying Checksum [2023-02-10T13:27:59.199Z] 2437ff75d9bd: Download complete [2023-02-10T13:28:01.154Z] 8998bd30e6a1: Pull complete [2023-02-10T13:28:01.744Z] 04944245beec: Pull complete [2023-02-10T13:28:03.161Z] 699f458cf7ca: Pull complete [2023-02-10T13:28:03.428Z] 765212b225bb: Pull complete [2023-02-10T13:28:04.014Z] f23df028b6ca: Pull complete [2023-02-10T13:28:04.284Z] d65c8cfc05b1: Pull complete [2023-02-10T13:28:22.533Z] 2437ff75d9bd: Pull complete [2023-02-10T13:28:22.533Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-10T13:28:22.533Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-10T13:28:22.533Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-10T13:28:22.736Z] prd-ubuntu20.04-docker-arm64-4c-16g-5336 does not seem to be running inside a container [2023-02-10T13:28:22.861Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-10T13:28:24.140Z] $ docker top cf87a09658112a9ffa80211e9d5a055ecb97e55b039ed28fb2566b67e8104f5e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-10T13:28:25.072Z] ---> job-cost.sh [2023-02-10T13:28:25.072Z] lf-activate-venv: SKIPPING [2023-02-10T13:28:25.072Z] INFO: No Stack... [2023-02-10T13:28:30.490Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-10T13:28:30.763Z] INFO: Archiving Costs [Pipeline] sh [2023-02-10T13:28:31.428Z] + cat /w/workspace/device-gpio/2/archives/cost.csv [2023-02-10T13:28:31.428Z] + cut -d, -f6 [Pipeline] lock [2023-02-10T13:28:31.492Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-94-2-stack-cost] [2023-02-10T13:28:31.499Z] Resource [jenkins-edgexfoundry-device-gpio-PR-94-2-stack-cost] did not exist. Created. [2023-02-10T13:28:31.499Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-94-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-10T13:28:32.168Z] /w/workspace/device-gpio/2@tmp/durable-580f8b89/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-10T13:28:32.912Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-10T13:28:33.205Z] Warning: overwriting stash ‘stack-cost’ [2023-02-10T13:28:33.957Z] Stashed 1 file(s) [Pipeline] } [2023-02-10T13:28:33.966Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-94-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-10T13:28:33.974Z] $ docker stop --time=1 cf87a09658112a9ffa80211e9d5a055ecb97e55b039ed28fb2566b67e8104f5e [2023-02-10T13:28:35.742Z] $ docker rm -f --volumes cf87a09658112a9ffa80211e9d5a055ecb97e55b039ed28fb2566b67e8104f5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-10T13:28:35.992Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-10T13:28:36.720Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-94/archives ] [2023-02-10T13:28:36.720Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-94/archives [2023-02-10T13:28:36.720Z] total 16 [2023-02-10T13:28:36.720Z] drwxr-xr-x 3 root root 4096 Feb 10 13:22 . [2023-02-10T13:28:36.720Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 10 13:22 .. [2023-02-10T13:28:36.720Z] drwxr-xr-x 2 root root 4096 Feb 10 13:22 cost [2023-02-10T13:28:36.720Z] -rw-r--r-- 1 root root 82 Feb 10 13:22 cost.csv [2023-02-10T13:28:36.720Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-94/archives [2023-02-10T13:28:36.720Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-94/archives [2023-02-10T13:28:36.720Z] total 16 [2023-02-10T13:28:36.720Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 10 13:22 . [2023-02-10T13:28:36.720Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 10 13:22 .. [2023-02-10T13:28:36.720Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 10 13:22 cost [2023-02-10T13:28:36.720Z] -rw-r--r-- 1 jenkins jenkins 82 Feb 10 13:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-10T13:28:37.013Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-10T13:28:37.879Z] ---> package-listing.sh [2023-02-10T13:28:37.879Z] ++ facter osfamily [2023-02-10T13:28:37.879Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-10T13:28:38.139Z] + OS_FAMILY=debian [2023-02-10T13:28:38.139Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-94 [2023-02-10T13:28:38.139Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-10T13:28:38.139Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-10T13:28:38.139Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-10T13:28:38.139Z] + PACKAGES=/tmp/packages_start.txt [2023-02-10T13:28:38.139Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-94 ']' [2023-02-10T13:28:38.139Z] + PACKAGES=/tmp/packages_end.txt [2023-02-10T13:28:38.139Z] + case "${OS_FAMILY}" in [2023-02-10T13:28:38.139Z] + grep '^ii' [2023-02-10T13:28:38.139Z] + dpkg -l [2023-02-10T13:28:38.139Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-10T13:28:38.139Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-10T13:28:38.139Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-10T13:28:38.139Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-94 ']' [2023-02-10T13:28:38.139Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-94/archives/ [2023-02-10T13:28:38.139Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-94/archives/ [Pipeline] echo [2023-02-10T13:28:38.149Z] 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-94/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-10T13:28:38.428Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T13:28:38.992Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-10T13:28:38.992Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-10T13:28:39.065Z] prd-ubuntu20.04-docker-8c-8g-5332 does not seem to be running inside a container [2023-02-10T13:28:39.096Z] $ 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-94/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-94 -v /w/workspace/edgexfoundry_device-gpio_PR-94:/w/workspace/edgexfoundry_device-gpio_PR-94:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-94@tmp:/w/workspace/edgexfoundry_device-gpio_PR-94@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-10T13:28:39.360Z] $ docker top 86c1458002a9a364735f3c56dc9f31c9bcfaee3243ef8baad953c8001e41a3bb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-10T13:28:39.704Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-10T13:28:39.990Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-10T13:28:40.274Z] + ls /var/log/sa-host [2023-02-10T13:28:40.274Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-10T13:28:40.415Z] provisioning config files... [2023-02-10T13:28:40.422Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-94@tmp/config7900489584992692708tmp [Pipeline] { [Pipeline] echo [2023-02-10T13:28:40.434Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-10T13:28:40.722Z] ---> create-netrc.sh [Pipeline] } [2023-02-10T13:28:40.729Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-10T13:28:41.047Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-10T13:28:41.057Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-10T13:28:41.341Z] ---> sudo-logs.sh [2023-02-10T13:28:41.341Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-10T13:28:41.376Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-10T13:28:41.660Z] ---> job-cost.sh [2023-02-10T13:28:41.660Z] lf-activate-venv: SKIPPING [2023-02-10T13:28:41.660Z] DEBUG: total: 0.2199999988079071 [2023-02-10T13:28:41.660Z] INFO: Retrieving Stack Cost... [2023-02-10T13:28:41.919Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-10T13:28:42.487Z] INFO: Archiving Costs [Pipeline] echo [2023-02-10T13:28:42.501Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-10T13:28:42.784Z] ---> logs-deploy.sh [2023-02-10T13:28:42.784Z] lf-activate-venv: SKIPPING [2023-02-10T13:28:42.784Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-94/2 [2023-02-10T13:28:42.784Z] INFO: archiving workspace using pattern(s): [2023-02-10T13:28:43.723Z] Archives upload complete. [2023-02-10T13:28:43.723Z] INFO: archiving logs to Nexus