Pull request #130 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b19aafbc411bcd63609cf2a8da139e924bfed411+58c55fcceacaa429eb258ff9b432fe1f0402d5e4 (64308d68e9a7ab1411b1c145dc6c43469df9b1ba) 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-ssh9759297529576237514.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh7594692316048460071.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-130/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-130/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17959457082644574551.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-130/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10806539117386507824.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6640238081307478672.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-130/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-130/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1790145498750476234.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-330 in /w/workspace/edgexfoundry_device-gpio_PR-130 [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-130 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/130/head:refs/remotes/origin/PR-130 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 58c55fcceacaa429eb258ff9b432fe1f0402d5e4 into PR head commit b19aafbc411bcd63609cf2a8da139e924bfed411 Merge succeeded, producing b19aafbc411bcd63609cf2a8da139e924bfed411 Checking out Revision b19aafbc411bcd63609cf2a8da139e924bfed411 (PR-130) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-15T02:46:19.826Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-15T02:46:19.982Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-15T02:46:20.079Z] ========================================================= [2023-03-15T02:46:20.079Z] EdgeX Global Pipelines Version Info [2023-03-15T02:46:20.079Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f b19aafbc411bcd63609cf2a8da139e924bfed411 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 58c55fcceacaa429eb258ff9b432fe1f0402d5e4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b19aafbc411bcd63609cf2a8da139e924bfed411 # timeout=10 [2023-03-15T02:46:20.813Z] ------------------- [2023-03-15T02:46:20.814Z] stable info: [2023-03-15T02:46:20.814Z] ------------------- [2023-03-15T02:46:20.814Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-15T02:46:20.814Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T02:46:20.814Z] Message: update stable to v1.0.245 [2023-03-15T02:46:21.379Z] ------------------- [2023-03-15T02:46:21.379Z] experimental info: [2023-03-15T02:46:21.379Z] ------------------- [2023-03-15T02:46:21.379Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-15T02:46:21.379Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-15T02:46:21.379Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T02:46:21.643Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-03-15T02:46:21.682Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-03-15T02:46:21.723Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-15T02:46:21.763Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-15T02:46:21.808Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-15T02:46:21.848Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-15T02:46:21.892Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-15T02:46:21.935Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-15T02:46:21.970Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-15T02:46:22.009Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-15T02:46:22.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-15T02:46:22.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-03-15T02:46:22.128Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-15T02:46:22.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-15T02:46:22.210Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T02:46:22.253Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T02:46:22.290Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T02:46:22.332Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T02:46:22.374Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-15T02:46:22.418Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-15T02:46:22.457Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-15T02:46:22.496Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-15T02:46:22.538Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-15T02:46:22.581Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-15T02:46:22.623Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-15T02:46:22.666Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-15T02:46:22.708Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-15T02:46:22.750Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-130 [Pipeline] echo [2023-03-15T02:46:22.790Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-130 [Pipeline] echo [2023-03-15T02:46:22.828Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-130 [Pipeline] echo [2023-03-15T02:46:22.865Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b19aafbc411bcd63609cf2a8da139e924bfed411 [Pipeline] echo [2023-03-15T02:46:22.905Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b19aafb [Pipeline] echo [2023-03-15T02:46:22.944Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T02:46:23.056Z] provisioning config files... [2023-03-15T02:46:23.069Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-130@tmp/config17199452468308275131tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:46:23.408Z] ---> docker-login.sh [2023-03-15T02:46:23.408Z] nexus3.edgexfoundry.org:10001 [2023-03-15T02:46:23.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:46:23.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:46:23.668Z] Configure a credential helper to remove this warning. See [2023-03-15T02:46:23.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:46:23.668Z] [2023-03-15T02:46:23.668Z] Login Succeeded [2023-03-15T02:46:23.668Z] nexus3.edgexfoundry.org:10002 [2023-03-15T02:46:23.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:46:23.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:46:23.927Z] Configure a credential helper to remove this warning. See [2023-03-15T02:46:23.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:46:23.927Z] [2023-03-15T02:46:23.927Z] Login Succeeded [2023-03-15T02:46:23.927Z] nexus3.edgexfoundry.org:10003 [2023-03-15T02:46:23.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:46:23.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:46:23.927Z] Configure a credential helper to remove this warning. See [2023-03-15T02:46:23.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:46:23.927Z] [2023-03-15T02:46:23.927Z] Login Succeeded [2023-03-15T02:46:23.927Z] nexus3.edgexfoundry.org:10004 [2023-03-15T02:46:23.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:46:24.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:46:24.187Z] Configure a credential helper to remove this warning. See [2023-03-15T02:46:24.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:46:24.187Z] [2023-03-15T02:46:24.187Z] Login Succeeded [2023-03-15T02:46:24.187Z] docker.io [2023-03-15T02:46:24.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:46:24.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:46:24.446Z] Configure a credential helper to remove this warning. See [2023-03-15T02:46:24.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:46:24.446Z] [2023-03-15T02:46:24.446Z] Login Succeeded [2023-03-15T02:46:24.446Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T02:46:24.480Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-15T02:46:25.079Z] + git rev-list -1 --merges b19aafbc411bcd63609cf2a8da139e924bfed411~1..b19aafbc411bcd63609cf2a8da139e924bfed411 [Pipeline] echo [2023-03-15T02:46:25.143Z] -----------> git rev-list -1 --merges b19aafbc411bcd63609cf2a8da139e924bfed411~1..b19aafbc411bcd63609cf2a8da139e924bfed411 b19aafbc411bcd63609cf2a8da139e924bfed411 [false] [Pipeline] sh [2023-03-15T02:46:25.456Z] + git log --format=format:%s -1 b19aafbc411bcd63609cf2a8da139e924bfed411 [Pipeline] echo [2023-03-15T02:46:25.491Z] ========================================================= [2023-03-15T02:46:25.492Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-15T02:46:25.492Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T02:46:25.905Z] + git log --format=format:%s -1 b19aafbc411bcd63609cf2a8da139e924bfed411 [Pipeline] echo [2023-03-15T02:46:25.935Z] [semverPrep] GIT_COMMIT: b19aafbc411bcd63609cf2a8da139e924bfed411, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-03-15T02:46:25.964Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-15T02:46:26.325Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T02:46:26.325Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-15T02:46:26.325Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-15T02:46:26.325Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-15T02:46:26.325Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-15T02:46:26.325Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-15T02:46:26.325Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:46:26.755Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T02:46:26.755Z] [2023-03-15T02:46:26.755Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:46:27.123Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T02:46:27.123Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-15T02:46:27.123Z] b85a868b505f: Pulling fs layer [2023-03-15T02:46:27.123Z] e2be974225ed: Pulling fs layer [2023-03-15T02:46:27.123Z] 339a4e72a1f5: Pulling fs layer [2023-03-15T02:46:27.123Z] 988bab9f4d93: Pulling fs layer [2023-03-15T02:46:27.123Z] 1469e6f7b9e6: Pulling fs layer [2023-03-15T02:46:27.123Z] eaf3925da568: Pulling fs layer [2023-03-15T02:46:27.123Z] bab4dde63d76: Pulling fs layer [2023-03-15T02:46:27.123Z] bde34c3a00c8: Pulling fs layer [2023-03-15T02:46:27.123Z] b352a97aabf1: Pulling fs layer [2023-03-15T02:46:27.123Z] 4872d77fe225: Pulling fs layer [2023-03-15T02:46:27.123Z] 5851b861e8e6: Pulling fs layer [2023-03-15T02:46:27.123Z] 988bab9f4d93: Waiting [2023-03-15T02:46:27.123Z] 1469e6f7b9e6: Waiting [2023-03-15T02:46:27.123Z] eaf3925da568: Waiting [2023-03-15T02:46:27.123Z] bab4dde63d76: Waiting [2023-03-15T02:46:27.123Z] bde34c3a00c8: Waiting [2023-03-15T02:46:27.123Z] b352a97aabf1: Waiting [2023-03-15T02:46:27.123Z] 4872d77fe225: Waiting [2023-03-15T02:46:27.123Z] 5851b861e8e6: Waiting [2023-03-15T02:46:27.123Z] e2be974225ed: Verifying Checksum [2023-03-15T02:46:27.123Z] e2be974225ed: Download complete [2023-03-15T02:46:27.385Z] 988bab9f4d93: Verifying Checksum [2023-03-15T02:46:27.385Z] 988bab9f4d93: Download complete [2023-03-15T02:46:27.385Z] 1469e6f7b9e6: Verifying Checksum [2023-03-15T02:46:27.385Z] 1469e6f7b9e6: Download complete [2023-03-15T02:46:27.385Z] eaf3925da568: Verifying Checksum [2023-03-15T02:46:27.385Z] eaf3925da568: Download complete [2023-03-15T02:46:27.385Z] 339a4e72a1f5: Verifying Checksum [2023-03-15T02:46:27.385Z] 339a4e72a1f5: Download complete [2023-03-15T02:46:27.385Z] bde34c3a00c8: Verifying Checksum [2023-03-15T02:46:27.385Z] bde34c3a00c8: Download complete [2023-03-15T02:46:27.644Z] b352a97aabf1: Download complete [2023-03-15T02:46:27.644Z] 4872d77fe225: Download complete [2023-03-15T02:46:27.644Z] b85a868b505f: Download complete [2023-03-15T02:46:27.644Z] 5851b861e8e6: Verifying Checksum [2023-03-15T02:46:27.644Z] 5851b861e8e6: Download complete [2023-03-15T02:46:27.903Z] bab4dde63d76: Verifying Checksum [2023-03-15T02:46:27.903Z] bab4dde63d76: Download complete [2023-03-15T02:46:28.836Z] b85a868b505f: Pull complete [2023-03-15T02:46:28.836Z] e2be974225ed: Pull complete [2023-03-15T02:46:29.403Z] 339a4e72a1f5: Pull complete [2023-03-15T02:46:29.403Z] 988bab9f4d93: Pull complete [2023-03-15T02:46:29.662Z] 1469e6f7b9e6: Pull complete [2023-03-15T02:46:29.924Z] eaf3925da568: Pull complete [2023-03-15T02:46:31.826Z] bab4dde63d76: Pull complete [2023-03-15T02:46:31.826Z] bde34c3a00c8: Pull complete [2023-03-15T02:46:31.826Z] b352a97aabf1: Pull complete [2023-03-15T02:46:32.086Z] 4872d77fe225: Pull complete [2023-03-15T02:46:32.086Z] 5851b861e8e6: Pull complete [2023-03-15T02:46:32.086Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-15T02:46:32.086Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T02:46:32.086Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:46:32.305Z] prd-ubuntu20.04-docker-8c-8g-330 does not seem to be running inside a container [2023-03-15T02:46:32.338Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-130 -v /w/workspace/edgexfoundry_device-gpio_PR-130:/w/workspace/edgexfoundry_device-gpio_PR-130:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-130@tmp:/w/workspace/edgexfoundry_device-gpio_PR-130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-15T02:46:33.852Z] $ docker top 83b01c527deee14e9826f1ce8773b05caac2ad9557c87627cb7562ce7251b722 -eo pid,comm [2023-03-15T02:46:33.911Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-15T02:46:33.911Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T02:46:34.038Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T02:46:34.038Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T02:46:34.155Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T02:46:34.161Z] $ docker exec 83b01c527deee14e9826f1ce8773b05caac2ad9557c87627cb7562ce7251b722 ssh-agent [2023-03-15T02:46:34.271Z] SSH_AUTH_SOCK=/tmp/ssh-gy6MVK0YXsWT/agent.32 [2023-03-15T02:46:34.271Z] SSH_AGENT_PID=38 [2023-03-15T02:46:34.278Z] Running ssh-add (command line suppressed) [2023-03-15T02:46:34.407Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-130@tmp/private_key_8912871467897947285.key (/w/workspace/edgexfoundry_device-gpio_PR-130@tmp/private_key_8912871467897947285.key) [2023-03-15T02:46:34.419Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T02:46:34.758Z] + git tag --points-at HEAD [Pipeline] } [2023-03-15T02:46:34.789Z] $ docker exec --env ******** --env ******** 83b01c527deee14e9826f1ce8773b05caac2ad9557c87627cb7562ce7251b722 ssh-agent -k [2023-03-15T02:46:34.904Z] unset SSH_AUTH_SOCK; [2023-03-15T02:46:34.905Z] unset SSH_AGENT_PID; [2023-03-15T02:46:34.905Z] echo Agent pid 38 killed; [2023-03-15T02:46:34.919Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-15T02:46:35.004Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T02:46:35.004Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T02:46:35.118Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T02:46:35.124Z] $ docker exec 83b01c527deee14e9826f1ce8773b05caac2ad9557c87627cb7562ce7251b722 ssh-agent [2023-03-15T02:46:35.230Z] SSH_AUTH_SOCK=/tmp/ssh-uA6NfCyPFd7t/agent.70 [2023-03-15T02:46:35.230Z] SSH_AGENT_PID=76 [2023-03-15T02:46:35.235Z] Running ssh-add (command line suppressed) [2023-03-15T02:46:35.344Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-130@tmp/private_key_12242279302316169422.key (/w/workspace/edgexfoundry_device-gpio_PR-130@tmp/private_key_12242279302316169422.key) [2023-03-15T02:46:35.355Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T02:46:35.681Z] + git semver init [2023-03-15T02:46:35.941Z] 2023-03-15 02:46:35,897 [run_init] DEBUG init version:0.0.0 force:False [2023-03-15T02:46:35.941Z] 2023-03-15 02:46:35,898 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-130/.semver [2023-03-15T02:46:35.941Z] 2023-03-15 02:46:35,898 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-130/.semver [2023-03-15T02:46:35.941Z] 2023-03-15 02:46:35,898 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-130/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-130, universal_newlines=False, shell=None, istream=None) [2023-03-15T02:46:36.878Z] 2023-03-15 02:46:36,809 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-130/.git/info/exclude [2023-03-15T02:46:36.878Z] 2023-03-15 02:46:36,809 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-130/.semver/PR-130 with force:False [2023-03-15T02:46:36.878Z] 2023-03-15 02:46:36,809 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-130/.semver/PR-130 [2023-03-15T02:46:36.878Z] 2023-03-15 02:46:36,812 [execute] INFO git cat-file --batch-check [2023-03-15T02:46:36.878Z] 2023-03-15 02:46:36,812 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-130/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T02:46:36.878Z] 2023-03-15 02:46:36,820 [execute] INFO git cat-file --batch [2023-03-15T02:46:36.878Z] 2023-03-15 02:46:36,820 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-130/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T02:46:36.878Z] 2023-03-15 02:46:36,826 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-130/.semver/PR-130 [2023-03-15T02:46:36.878Z] 0.0.0 [Pipeline] } [2023-03-15T02:46:36.906Z] $ docker exec --env ******** --env ******** 83b01c527deee14e9826f1ce8773b05caac2ad9557c87627cb7562ce7251b722 ssh-agent -k [2023-03-15T02:46:37.017Z] unset SSH_AUTH_SOCK; [2023-03-15T02:46:37.018Z] unset SSH_AGENT_PID; [2023-03-15T02:46:37.018Z] echo Agent pid 76 killed; [2023-03-15T02:46:37.022Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T02:46:37.425Z] + git semver [Pipeline] } [2023-03-15T02:46:37.708Z] $ docker stop --time=1 83b01c527deee14e9826f1ce8773b05caac2ad9557c87627cb7562ce7251b722 [2023-03-15T02:46:39.023Z] $ docker rm -f --volumes 83b01c527deee14e9826f1ce8773b05caac2ad9557c87627cb7562ce7251b722 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T02:46:39.416Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-15T02:46:39.675Z] Stashed 1 file(s) [Pipeline] echo [2023-03-15T02:46:39.690Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T02:46:40.240Z] provisioning config files... [2023-03-15T02:46:40.250Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-130@tmp/config6210901538579763670tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:46:40.595Z] ---> docker-login.sh [2023-03-15T02:46:40.595Z] nexus3.edgexfoundry.org:10001 [2023-03-15T02:46:40.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:46:40.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:46:40.595Z] Configure a credential helper to remove this warning. See [2023-03-15T02:46:40.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:46:40.595Z] [2023-03-15T02:46:40.595Z] Login Succeeded [2023-03-15T02:46:40.595Z] nexus3.edgexfoundry.org:10002 [2023-03-15T02:46:40.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:46:40.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:46:40.595Z] Configure a credential helper to remove this warning. See [2023-03-15T02:46:40.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:46:40.595Z] [2023-03-15T02:46:40.595Z] Login Succeeded [2023-03-15T02:46:40.595Z] nexus3.edgexfoundry.org:10003 [2023-03-15T02:46:40.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:46:40.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:46:40.856Z] Configure a credential helper to remove this warning. See [2023-03-15T02:46:40.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:46:40.856Z] [2023-03-15T02:46:40.856Z] Login Succeeded [2023-03-15T02:46:40.856Z] nexus3.edgexfoundry.org:10004 [2023-03-15T02:46:40.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:46:40.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:46:40.856Z] Configure a credential helper to remove this warning. See [2023-03-15T02:46:40.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:46:40.856Z] [2023-03-15T02:46:40.856Z] Login Succeeded [2023-03-15T02:46:40.856Z] docker.io [2023-03-15T02:46:40.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:46:41.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:46:41.115Z] Configure a credential helper to remove this warning. See [2023-03-15T02:46:41.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:46:41.115Z] [2023-03-15T02:46:41.115Z] Login Succeeded [2023-03-15T02:46:41.115Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T02:46:41.146Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T02:46:41.347Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T02:46:41.379Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T02:46:41.415Z] ========================================================= [2023-03-15T02:46:41.415Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-15T02:46:41.415Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:46:41.876Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-15T02:46:41.876Z] Sending build context to Docker daemon 16.01MB [2023-03-15T02:46:41.876Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T02:46:41.876Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T02:46:42.137Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-15T02:46:42.137Z] 63b65145d645: Pulling fs layer [2023-03-15T02:46:42.137Z] a2d21d5440eb: Pulling fs layer [2023-03-15T02:46:42.137Z] 935e6c44a52c: Pulling fs layer [2023-03-15T02:46:42.137Z] 94cc34f8dd06: Pulling fs layer [2023-03-15T02:46:42.137Z] 30dea6a524f1: Pulling fs layer [2023-03-15T02:46:42.137Z] a2aff8979fd8: Pulling fs layer [2023-03-15T02:46:42.137Z] 6808be2612f2: Pulling fs layer [2023-03-15T02:46:42.137Z] f25807f1079a: Pulling fs layer [2023-03-15T02:46:42.137Z] 30dea6a524f1: Waiting [2023-03-15T02:46:42.137Z] 94cc34f8dd06: Waiting [2023-03-15T02:46:42.137Z] a2aff8979fd8: Waiting [2023-03-15T02:46:42.137Z] 6808be2612f2: Waiting [2023-03-15T02:46:42.137Z] a2d21d5440eb: Download complete [2023-03-15T02:46:42.137Z] 94cc34f8dd06: Download complete [2023-03-15T02:46:42.137Z] 30dea6a524f1: Download complete [2023-03-15T02:46:42.137Z] 63b65145d645: Verifying Checksum [2023-03-15T02:46:42.137Z] 63b65145d645: Download complete [2023-03-15T02:46:42.137Z] a2aff8979fd8: Verifying Checksum [2023-03-15T02:46:42.137Z] a2aff8979fd8: Download complete [2023-03-15T02:46:42.400Z] 63b65145d645: Pull complete [2023-03-15T02:46:42.400Z] a2d21d5440eb: Pull complete [2023-03-15T02:46:42.660Z] f25807f1079a: Verifying Checksum [2023-03-15T02:46:42.660Z] f25807f1079a: Download complete [2023-03-15T02:46:42.920Z] 935e6c44a52c: Verifying Checksum [2023-03-15T02:46:42.920Z] 935e6c44a52c: Download complete [2023-03-15T02:46:43.176Z] 6808be2612f2: Verifying Checksum [2023-03-15T02:46:43.176Z] 6808be2612f2: Download complete [2023-03-15T02:46:46.458Z] 935e6c44a52c: Pull complete [2023-03-15T02:46:46.458Z] 94cc34f8dd06: Pull complete [2023-03-15T02:46:46.458Z] 30dea6a524f1: Pull complete [2023-03-15T02:46:46.458Z] a2aff8979fd8: Pull complete [2023-03-15T02:46:48.355Z] 6808be2612f2: Pull complete [2023-03-15T02:46:49.300Z] f25807f1079a: Pull complete [2023-03-15T02:46:49.300Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-15T02:46:49.300Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-15T02:46:49.300Z] ---> 3b553350e43f [2023-03-15T02:46:49.300Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T02:46:51.203Z] ---> Running in a6a60bc62e4d [2023-03-15T02:46:51.203Z] Removing intermediate container a6a60bc62e4d [2023-03-15T02:46:51.203Z] ---> 64761919f56a [2023-03-15T02:46:51.203Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T02:46:51.203Z] ---> Running in 706caabe38f8 [2023-03-15T02:46:51.203Z] Removing intermediate container 706caabe38f8 [2023-03-15T02:46:51.203Z] ---> bef2c14694dc [2023-03-15T02:46:51.203Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-03-15T02:46:51.203Z] ---> Running in 3d74b5941611 [2023-03-15T02:46:51.203Z] Removing intermediate container 3d74b5941611 [2023-03-15T02:46:51.203Z] ---> 8e84161422ba [2023-03-15T02:46:51.203Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T02:46:51.203Z] ---> Running in 65d5b0b1ec41 [2023-03-15T02:46:51.463Z] Removing intermediate container 65d5b0b1ec41 [2023-03-15T02:46:51.463Z] ---> 7792fbf8874e [2023-03-15T02:46:51.463Z] Step 7/12 : WORKDIR /device-gpio [2023-03-15T02:46:51.463Z] ---> Running in c21604f1bbff [2023-03-15T02:46:51.463Z] Removing intermediate container c21604f1bbff [2023-03-15T02:46:51.463Z] ---> 721e806a8863 [2023-03-15T02:46:51.463Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T02:46:51.722Z] ---> Running in 46e1c6e508e4 [2023-03-15T02:46:51.981Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T02:46:51.981Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T02:46:52.549Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T02:46:52.549Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T02:46:52.549Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T02:46:52.549Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T02:46:52.549Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T02:46:52.549Z] OK: 269 MiB in 57 packages [2023-03-15T02:46:52.808Z] Removing intermediate container 46e1c6e508e4 [2023-03-15T02:46:52.808Z] ---> 47c7a71988db [2023-03-15T02:46:52.808Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-15T02:46:53.065Z] ---> 087c5134e827 [2023-03-15T02:46:53.065Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T02:46:53.065Z] ---> Running in d7d552cce577 [2023-03-15T02:46:55.063Z] Still waiting to schedule task [2023-03-15T02:46:55.064Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T02:47:14.986Z] Removing intermediate container d7d552cce577 [2023-03-15T02:47:14.987Z] ---> cdcfd65f93db [2023-03-15T02:47:14.987Z] Step 11/12 : COPY . . [2023-03-15T02:47:14.987Z] ---> d4ef473ffad1 [2023-03-15T02:47:14.987Z] Step 12/12 : RUN ${MAKE} [2023-03-15T02:47:14.987Z] ---> Running in c50b04ec2314 [2023-03-15T02:47:14.987Z] noop [2023-03-15T02:47:14.987Z] Removing intermediate container c50b04ec2314 [2023-03-15T02:47:14.987Z] ---> e348ee6e2d9e [2023-03-15T02:47:14.987Z] Successfully built e348ee6e2d9e [2023-03-15T02:47:14.987Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:47:15.432Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T02:47:15.432Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:47:15.592Z] prd-ubuntu20.04-docker-8c-8g-330 does not seem to be running inside a container [2023-03-15T02:47:15.626Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-130 -v /w/workspace/edgexfoundry_device-gpio_PR-130:/w/workspace/edgexfoundry_device-gpio_PR-130:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-130@tmp:/w/workspace/edgexfoundry_device-gpio_PR-130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-15T02:47:15.991Z] $ docker top 32e50b2a8c92a332f2028ab61cf7469cc6424f4293e7c598c58317ee6afd37cd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T02:47:16.380Z] + go version [2023-03-15T02:47:16.380Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-15T02:47:16.410Z] $ docker stop --time=1 32e50b2a8c92a332f2028ab61cf7469cc6424f4293e7c598c58317ee6afd37cd [2023-03-15T02:47:17.678Z] $ docker rm -f --volumes 32e50b2a8c92a332f2028ab61cf7469cc6424f4293e7c598c58317ee6afd37cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:47:18.359Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T02:47:18.359Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:47:18.501Z] prd-ubuntu20.04-docker-8c-8g-330 does not seem to be running inside a container [2023-03-15T02:47:18.534Z] $ 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-130 -v /w/workspace/edgexfoundry_device-gpio_PR-130:/w/workspace/edgexfoundry_device-gpio_PR-130:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-130@tmp:/w/workspace/edgexfoundry_device-gpio_PR-130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-15T02:47:18.875Z] $ docker top 86ea5d5eee09448652303f6513c283721b6b1f848775ea599df74197b69f080c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T02:47:19.267Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-130 [Pipeline] fileExists [Pipeline] sh [2023-03-15T02:47:19.625Z] + make test [2023-03-15T02:47:19.625Z] go test ./... -coverprofile=coverage.out ./... [2023-03-15T02:47:24.892Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-03-15T02:47:34.886Z] # github.com/edgexfoundry/device-gpio/internal/driver [2023-03-15T02:47:34.886Z] internal/driver/config.go:29:24: undefined: service.DriverConfigs [2023-03-15T02:47:34.886Z] internal/driver/config.go:34:24: undefined: service.DriverConfigs [2023-03-15T02:47:34.886Z] FAIL [2023-03-15T02:47:34.886Z] make: *** [Makefile:29: unittest] Error 1 [Pipeline] } [2023-03-15T02:47:34.936Z] $ docker stop --time=1 86ea5d5eee09448652303f6513c283721b6b1f848775ea599df74197b69f080c [2023-03-15T02:47:36.791Z] $ docker rm -f --volumes 86ea5d5eee09448652303f6513c283721b6b1f848775ea599df74197b69f080c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:47:37.952Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T02:47:37.952Z] [2023-03-15T02:47:37.952Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:47:38.322Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T02:47:38.322Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-15T02:47:38.322Z] 5eb5b503b376: Pulling fs layer [2023-03-15T02:47:38.322Z] 5c69ac0246d0: Pulling fs layer [2023-03-15T02:47:38.322Z] ec43610c2a17: Pulling fs layer [2023-03-15T02:47:38.322Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-15T02:47:38.322Z] 33b1e0a273af: Pulling fs layer [2023-03-15T02:47:38.322Z] 5d3b04190fa2: Pulling fs layer [2023-03-15T02:47:38.322Z] 2f39f015ded8: Pulling fs layer [2023-03-15T02:47:38.322Z] 3a2ae6a8a46f: Waiting [2023-03-15T02:47:38.322Z] 33b1e0a273af: Waiting [2023-03-15T02:47:38.322Z] 5d3b04190fa2: Waiting [2023-03-15T02:47:38.322Z] 2f39f015ded8: Waiting [2023-03-15T02:47:38.322Z] 5c69ac0246d0: Verifying Checksum [2023-03-15T02:47:38.322Z] 5c69ac0246d0: Download complete [2023-03-15T02:47:38.322Z] 3a2ae6a8a46f: Download complete [2023-03-15T02:47:38.582Z] 33b1e0a273af: Verifying Checksum [2023-03-15T02:47:38.582Z] 33b1e0a273af: Download complete [2023-03-15T02:47:38.582Z] 5d3b04190fa2: Verifying Checksum [2023-03-15T02:47:38.582Z] 5d3b04190fa2: Download complete [2023-03-15T02:47:38.582Z] ec43610c2a17: Verifying Checksum [2023-03-15T02:47:38.582Z] ec43610c2a17: Download complete [2023-03-15T02:47:38.582Z] 5eb5b503b376: Verifying Checksum [2023-03-15T02:47:38.582Z] 5eb5b503b376: Download complete [2023-03-15T02:47:39.517Z] 2f39f015ded8: Verifying Checksum [2023-03-15T02:47:39.517Z] 2f39f015ded8: Download complete [2023-03-15T02:47:40.083Z] 5eb5b503b376: Pull complete [2023-03-15T02:47:40.083Z] 5c69ac0246d0: Pull complete [2023-03-15T02:47:40.650Z] ec43610c2a17: Pull complete [2023-03-15T02:47:40.650Z] 3a2ae6a8a46f: Pull complete [2023-03-15T02:47:40.908Z] 33b1e0a273af: Pull complete [2023-03-15T02:47:40.908Z] 5d3b04190fa2: Pull complete [2023-03-15T02:47:45.091Z] 2f39f015ded8: Pull complete [2023-03-15T02:47:45.091Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-15T02:47:45.091Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T02:47:45.091Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:47:45.304Z] prd-ubuntu20.04-docker-8c-8g-330 does not seem to be running inside a container [2023-03-15T02:47:45.336Z] $ 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-130 -v /w/workspace/edgexfoundry_device-gpio_PR-130:/w/workspace/edgexfoundry_device-gpio_PR-130:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-130@tmp:/w/workspace/edgexfoundry_device-gpio_PR-130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-15T02:47:46.778Z] $ docker top 8b4cfb226baeac80b2201a918b25011b1c0560386330c58292558405eec41719 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:47:47.235Z] ---> job-cost.sh [2023-03-15T02:47:47.235Z] lf-activate-venv: SKIPPING [2023-03-15T02:47:47.235Z] INFO: No Stack... [2023-03-15T02:47:47.495Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T02:47:47.755Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T02:47:48.073Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-130/archives/cost.csv [2023-03-15T02:47:48.073Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T02:47:48.111Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-130-1-stack-cost] [2023-03-15T02:47:48.116Z] Resource [jenkins-edgexfoundry-device-gpio-PR-130-1-stack-cost] did not exist. Created. [2023-03-15T02:47:48.116Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-130-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T02:47:48.509Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-15T02:47:48.565Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T02:47:48.588Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-130-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T02:47:48.677Z] $ docker stop --time=1 8b4cfb226baeac80b2201a918b25011b1c0560386330c58292558405eec41719 [2023-03-15T02:47:49.837Z] $ docker rm -f --volumes 8b4cfb226baeac80b2201a918b25011b1c0560386330c58292558405eec41719 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T02:47:50.184Z] Failed in branch amd64 [2023-03-15T02:50:14.621Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-332 in /w/workspace/edgexfoundry_device-gpio_PR-130 [Pipeline] { [Pipeline] ws [2023-03-15T02:50:14.677Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2023-03-15T02:50:14.790Z] The recommended git tool is: git [2023-03-15T02:50:24.450Z] using credential edgex-jenkins-ssh [2023-03-15T02:50:24.480Z] Cloning the remote Git repository [2023-03-15T02:50:24.580Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-03-15T02:50:24.703Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2023-03-15T02:50:24.921Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-03-15T02:50:24.922Z] > git --version # timeout=10 [2023-03-15T02:50:24.950Z] > git --version # 'git version 2.25.1' [2023-03-15T02:50:24.954Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T02:50:25.160Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T02:50:26.765Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-03-15T02:50:26.792Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T02:50:28.552Z] Merging remotes/origin/main commit 58c55fcceacaa429eb258ff9b432fe1f0402d5e4 into PR head commit b19aafbc411bcd63609cf2a8da139e924bfed411 [2023-03-15T02:50:27.974Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-03-15T02:50:28.018Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-03-15T02:50:28.020Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T02:50:28.041Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/130/head:refs/remotes/origin/PR-130 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-15T02:50:28.576Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T02:50:28.659Z] > git checkout -f b19aafbc411bcd63609cf2a8da139e924bfed411 # timeout=10 [2023-03-15T02:50:28.877Z] Merge succeeded, producing b19aafbc411bcd63609cf2a8da139e924bfed411 [2023-03-15T02:50:28.877Z] Checking out Revision b19aafbc411bcd63609cf2a8da139e924bfed411 (PR-130) [2023-03-15T02:50:29.444Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-03-15T02:50:29.510Z] > git --version # timeout=10 [2023-03-15T02:50:29.523Z] > git --version # 'git version 2.25.1' [2023-03-15T02:50:29.551Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T02:50:28.754Z] > git remote # timeout=10 [2023-03-15T02:50:28.775Z] > git config --get remote.origin.url # timeout=10 [2023-03-15T02:50:28.812Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T02:50:28.827Z] > git merge 58c55fcceacaa429eb258ff9b432fe1f0402d5e4 # timeout=10 [2023-03-15T02:50:28.858Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-15T02:50:28.886Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T02:50:28.904Z] > git checkout -f b19aafbc411bcd63609cf2a8da139e924bfed411 # timeout=10 [2023-03-15T02:50:30.678Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-15T02:50:30.678Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T02:50:30.678Z] Dload Upload Total Spent Left Speed [2023-03-15T02:50:30.678Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh [2023-03-15T02:50:31.491Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-15T02:50:31.849Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-15T02:50:31.849Z] + sudo tee /etc/docker/daemon.new [2023-03-15T02:50:31.849Z] { [2023-03-15T02:50:31.849Z] "registry-mirrors": [ [2023-03-15T02:50:31.849Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-15T02:50:31.849Z] ], [2023-03-15T02:50:31.849Z] "bip": "10.250.0.254/24", [2023-03-15T02:50:31.849Z] "hosts": [ [2023-03-15T02:50:31.849Z] "tcp://0.0.0.0:5555", [2023-03-15T02:50:31.849Z] "unix:///var/run/docker.sock" [2023-03-15T02:50:31.849Z] ], [2023-03-15T02:50:31.849Z] "mtu": 1458, [2023-03-15T02:50:31.849Z] "selinux-enabled": true, [2023-03-15T02:50:31.849Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-15T02:50:31.849Z] } [Pipeline] sh [2023-03-15T02:50:32.204Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-15T02:50:32.556Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T02:50:50.922Z] provisioning config files... [2023-03-15T02:50:50.955Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config9189397376226322416tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:50:51.361Z] ---> docker-login.sh [2023-03-15T02:50:51.361Z] nexus3.edgexfoundry.org:10001 [2023-03-15T02:50:51.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:50:51.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:50:51.957Z] Configure a credential helper to remove this warning. See [2023-03-15T02:50:51.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:50:51.957Z] [2023-03-15T02:50:51.957Z] Login Succeeded [2023-03-15T02:50:51.957Z] nexus3.edgexfoundry.org:10002 [2023-03-15T02:50:52.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:50:52.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:50:52.502Z] Configure a credential helper to remove this warning. See [2023-03-15T02:50:52.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:50:52.502Z] [2023-03-15T02:50:52.502Z] Login Succeeded [2023-03-15T02:50:52.502Z] nexus3.edgexfoundry.org:10003 [2023-03-15T02:50:52.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:50:52.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:50:52.775Z] Configure a credential helper to remove this warning. See [2023-03-15T02:50:52.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:50:52.775Z] [2023-03-15T02:50:52.775Z] Login Succeeded [2023-03-15T02:50:52.775Z] nexus3.edgexfoundry.org:10004 [2023-03-15T02:50:53.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:50:53.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:50:53.318Z] Configure a credential helper to remove this warning. See [2023-03-15T02:50:53.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:50:53.318Z] [2023-03-15T02:50:53.318Z] Login Succeeded [2023-03-15T02:50:53.318Z] docker.io [2023-03-15T02:50:53.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:50:53.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:50:53.859Z] Configure a credential helper to remove this warning. See [2023-03-15T02:50:53.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:50:53.859Z] [2023-03-15T02:50:53.859Z] Login Succeeded [2023-03-15T02:50:53.859Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T02:50:53.885Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T02:50:54.324Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T02:50:54.359Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T02:50:54.390Z] ========================================================= [2023-03-15T02:50:54.390Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-15T02:50:54.390Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:50:54.881Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-15T02:50:55.152Z] Sending build context to Docker daemon 8.085MB [2023-03-15T02:50:55.152Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T02:50:55.152Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T02:50:55.425Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-15T02:50:55.425Z] af6eaf76a39c: Pulling fs layer [2023-03-15T02:50:55.425Z] 55522c791124: Pulling fs layer [2023-03-15T02:50:55.425Z] ce5c4a1c91eb: Pulling fs layer [2023-03-15T02:50:55.425Z] 169dfbe0d373: Pulling fs layer [2023-03-15T02:50:55.425Z] e1ff8fa3b103: Pulling fs layer [2023-03-15T02:50:55.425Z] 52ebb69f0ebf: Pulling fs layer [2023-03-15T02:50:55.425Z] 5abe8eddf0d5: Pulling fs layer [2023-03-15T02:50:55.425Z] 169dfbe0d373: Waiting [2023-03-15T02:50:55.425Z] e1ff8fa3b103: Waiting [2023-03-15T02:50:55.425Z] 52ebb69f0ebf: Waiting [2023-03-15T02:50:55.425Z] 5abe8eddf0d5: Waiting [2023-03-15T02:50:55.425Z] 55522c791124: Verifying Checksum [2023-03-15T02:50:55.425Z] 55522c791124: Download complete [2023-03-15T02:50:55.425Z] 169dfbe0d373: Verifying Checksum [2023-03-15T02:50:55.425Z] 169dfbe0d373: Download complete [2023-03-15T02:50:55.425Z] e1ff8fa3b103: Verifying Checksum [2023-03-15T02:50:55.425Z] e1ff8fa3b103: Download complete [2023-03-15T02:50:55.701Z] af6eaf76a39c: Verifying Checksum [2023-03-15T02:50:55.701Z] af6eaf76a39c: Download complete [2023-03-15T02:50:56.758Z] af6eaf76a39c: Pull complete [2023-03-15T02:50:57.039Z] 5abe8eddf0d5: Verifying Checksum [2023-03-15T02:50:57.039Z] 5abe8eddf0d5: Download complete [2023-03-15T02:50:57.323Z] 55522c791124: Pull complete [2023-03-15T02:50:58.761Z] 52ebb69f0ebf: Verifying Checksum [2023-03-15T02:50:58.761Z] 52ebb69f0ebf: Download complete [2023-03-15T02:50:58.761Z] ce5c4a1c91eb: Verifying Checksum [2023-03-15T02:50:58.761Z] ce5c4a1c91eb: Download complete [2023-03-15T02:51:08.856Z] ce5c4a1c91eb: Pull complete [2023-03-15T02:51:09.125Z] 169dfbe0d373: Pull complete [2023-03-15T02:51:09.395Z] e1ff8fa3b103: Pull complete [2023-03-15T02:51:16.056Z] 52ebb69f0ebf: Pull complete [2023-03-15T02:51:17.024Z] 5abe8eddf0d5: Pull complete [2023-03-15T02:51:17.024Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-15T02:51:17.024Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-15T02:51:17.024Z] ---> 6cb57ee374ae [2023-03-15T02:51:17.024Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T02:51:18.982Z] ---> Running in ff5b8ecfe411 [2023-03-15T02:51:19.253Z] Removing intermediate container ff5b8ecfe411 [2023-03-15T02:51:19.253Z] ---> 5926baeeae3f [2023-03-15T02:51:19.253Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T02:51:19.253Z] ---> Running in a67b301de666 [2023-03-15T02:51:19.530Z] Removing intermediate container a67b301de666 [2023-03-15T02:51:19.530Z] ---> 071812ab1f4e [2023-03-15T02:51:19.530Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-03-15T02:51:19.798Z] ---> Running in aacb6e98604d [2023-03-15T02:51:20.069Z] Removing intermediate container aacb6e98604d [2023-03-15T02:51:20.069Z] ---> 2096365d6d41 [2023-03-15T02:51:20.069Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T02:51:20.069Z] ---> Running in 1412383f33f9 [2023-03-15T02:51:20.339Z] Removing intermediate container 1412383f33f9 [2023-03-15T02:51:20.339Z] ---> 3a2506720da6 [2023-03-15T02:51:20.339Z] Step 7/12 : WORKDIR /device-gpio [2023-03-15T02:51:20.606Z] ---> Running in 30ead5bbbdbf [2023-03-15T02:51:20.883Z] Removing intermediate container 30ead5bbbdbf [2023-03-15T02:51:20.883Z] ---> bc0ca9a18eb5 [2023-03-15T02:51:20.883Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T02:51:20.883Z] ---> Running in 68cde8d73de2 [2023-03-15T02:51:22.298Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T02:51:22.884Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T02:51:23.849Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T02:51:23.849Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T02:51:24.121Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T02:51:24.121Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T02:51:24.121Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T02:51:24.121Z] OK: 268 MiB in 57 packages [2023-03-15T02:51:25.098Z] Removing intermediate container 68cde8d73de2 [2023-03-15T02:51:25.098Z] ---> b16eb5b1f259 [2023-03-15T02:51:25.098Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-15T02:51:27.066Z] ---> 6480586dbe42 [2023-03-15T02:51:27.066Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T02:51:27.339Z] ---> Running in 0c05d82049f1 [2023-03-15T02:52:35.219Z] Removing intermediate container 0c05d82049f1 [2023-03-15T02:52:35.219Z] ---> a798fba6a6a9 [2023-03-15T02:52:35.219Z] Step 11/12 : COPY . . [2023-03-15T02:52:35.219Z] ---> 2ef2706b93e9 [2023-03-15T02:52:35.219Z] Step 12/12 : RUN ${MAKE} [2023-03-15T02:52:35.219Z] ---> Running in f7ed9439dd69 [2023-03-15T02:52:35.219Z] noop [2023-03-15T02:52:35.219Z] Removing intermediate container f7ed9439dd69 [2023-03-15T02:52:35.219Z] ---> e41f056f3393 [2023-03-15T02:52:35.219Z] Successfully built e41f056f3393 [2023-03-15T02:52:35.219Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:52:35.699Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T02:52:35.699Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:52:36.014Z] prd-ubuntu20.04-docker-arm64-4c-16g-332 does not seem to be running inside a container [2023-03-15T02:52:36.083Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-15T02:52:37.363Z] $ docker top 4a9dcc2678d01b9ce7aa4054ef71b90ef5b81a4c23f3a4c65a93e46140c7a298 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T02:52:38.243Z] + go version [2023-03-15T02:52:38.243Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-15T02:52:38.275Z] $ docker stop --time=1 4a9dcc2678d01b9ce7aa4054ef71b90ef5b81a4c23f3a4c65a93e46140c7a298 [2023-03-15T02:52:39.928Z] $ docker rm -f --volumes 4a9dcc2678d01b9ce7aa4054ef71b90ef5b81a4c23f3a4c65a93e46140c7a298 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:52:40.778Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T02:52:40.779Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:52:41.040Z] prd-ubuntu20.04-docker-arm64-4c-16g-332 does not seem to be running inside a container [2023-03-15T02:52:41.112Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-15T02:52:42.366Z] $ docker top 1fe9cae294e2abbac5b6f066a49649d90f9eae1cb07d48af441235cef9821245 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T02:52:43.321Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2023-03-15T02:52:44.063Z] + make test [2023-03-15T02:52:44.063Z] go test ./... -coverprofile=coverage.out ./... [2023-03-15T02:53:23.023Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-03-15T02:55:14.718Z] # github.com/edgexfoundry/device-gpio/internal/driver [2023-03-15T02:55:14.718Z] internal/driver/config.go:29:24: undefined: service.DriverConfigs [2023-03-15T02:55:14.718Z] internal/driver/config.go:34:24: undefined: service.DriverConfigs [2023-03-15T02:55:14.718Z] FAIL [2023-03-15T02:55:14.718Z] make: *** [Makefile:29: unittest] Error 1 [Pipeline] } [2023-03-15T02:55:14.767Z] $ docker stop --time=1 1fe9cae294e2abbac5b6f066a49649d90f9eae1cb07d48af441235cef9821245 [2023-03-15T02:55:16.716Z] $ docker rm -f --volumes 1fe9cae294e2abbac5b6f066a49649d90f9eae1cb07d48af441235cef9821245 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:55:18.554Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T02:55:18.554Z] [2023-03-15T02:55:18.554Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:55:18.958Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T02:55:18.959Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-15T02:55:18.959Z] 8998bd30e6a1: Pulling fs layer [2023-03-15T02:55:18.959Z] 04944245beec: Pulling fs layer [2023-03-15T02:55:18.959Z] 699f458cf7ca: Pulling fs layer [2023-03-15T02:55:18.959Z] 765212b225bb: Pulling fs layer [2023-03-15T02:55:18.959Z] f23df028b6ca: Pulling fs layer [2023-03-15T02:55:18.959Z] d65c8cfc05b1: Pulling fs layer [2023-03-15T02:55:18.959Z] 2437ff75d9bd: Pulling fs layer [2023-03-15T02:55:18.959Z] d65c8cfc05b1: Waiting [2023-03-15T02:55:18.959Z] 765212b225bb: Waiting [2023-03-15T02:55:18.959Z] f23df028b6ca: Waiting [2023-03-15T02:55:18.959Z] 2437ff75d9bd: Waiting [2023-03-15T02:55:19.228Z] 04944245beec: Verifying Checksum [2023-03-15T02:55:19.228Z] 04944245beec: Download complete [2023-03-15T02:55:19.228Z] 765212b225bb: Verifying Checksum [2023-03-15T02:55:19.228Z] 765212b225bb: Download complete [2023-03-15T02:55:19.228Z] f23df028b6ca: Verifying Checksum [2023-03-15T02:55:19.228Z] f23df028b6ca: Download complete [2023-03-15T02:55:19.228Z] d65c8cfc05b1: Verifying Checksum [2023-03-15T02:55:19.228Z] d65c8cfc05b1: Download complete [2023-03-15T02:55:19.501Z] 699f458cf7ca: Verifying Checksum [2023-03-15T02:55:19.501Z] 699f458cf7ca: Download complete [2023-03-15T02:55:19.770Z] 8998bd30e6a1: Verifying Checksum [2023-03-15T02:55:19.770Z] 8998bd30e6a1: Download complete [2023-03-15T02:55:22.368Z] 2437ff75d9bd: Verifying Checksum [2023-03-15T02:55:22.368Z] 2437ff75d9bd: Download complete [2023-03-15T02:55:24.318Z] 8998bd30e6a1: Pull complete [2023-03-15T02:55:24.905Z] 04944245beec: Pull complete [2023-03-15T02:55:26.332Z] 699f458cf7ca: Pull complete [2023-03-15T02:55:26.610Z] 765212b225bb: Pull complete [2023-03-15T02:55:27.197Z] f23df028b6ca: Pull complete [2023-03-15T02:55:27.466Z] d65c8cfc05b1: Pull complete [2023-03-15T02:55:42.499Z] 2437ff75d9bd: Pull complete [2023-03-15T02:55:42.499Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-15T02:55:42.499Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T02:55:42.499Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:55:42.843Z] prd-ubuntu20.04-docker-arm64-4c-16g-332 does not seem to be running inside a container [2023-03-15T02:55:42.914Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-15T02:55:45.678Z] $ docker top d03d4c3696a7ea7ec0fc682fa3af51e48798d19460f6808d39a2a6648c3fc899 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:55:46.590Z] ---> job-cost.sh [2023-03-15T02:55:46.590Z] lf-activate-venv: SKIPPING [2023-03-15T02:55:46.590Z] INFO: No Stack... [2023-03-15T02:55:46.857Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-15T02:55:47.817Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T02:55:48.481Z] + cat+ /w/workspace/device-gpio/1/archives/cost.csv [2023-03-15T02:55:48.481Z] cut -d, -f6 [Pipeline] lock [2023-03-15T02:55:48.536Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-130-1-stack-cost] [2023-03-15T02:55:48.541Z] Resource [jenkins-edgexfoundry-device-gpio-PR-130-1-stack-cost] did not exist. Created. [2023-03-15T02:55:48.541Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-130-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T02:55:49.294Z] /w/workspace/device-gpio/1@tmp/durable-b433e095/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-15T02:55:49.977Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-15T02:55:50.022Z] Warning: overwriting stash ‘stack-cost’ [2023-03-15T02:55:50.451Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T02:55:50.468Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-130-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T02:55:50.550Z] $ docker stop --time=1 d03d4c3696a7ea7ec0fc682fa3af51e48798d19460f6808d39a2a6648c3fc899 [2023-03-15T02:55:53.260Z] $ docker rm -f --volumes d03d4c3696a7ea7ec0fc682fa3af51e48798d19460f6808d39a2a6648c3fc899 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T02:55:54.009Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-15T02:55:56.150Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-130/archives ] [2023-03-15T02:55:56.150Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-130/archives [2023-03-15T02:55:56.150Z] total 16 [2023-03-15T02:55:56.150Z] drwxr-xr-x 3 root root 4096 Mar 15 02:47 . [2023-03-15T02:55:56.150Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 02:47 .. [2023-03-15T02:55:56.150Z] drwxr-xr-x 2 root root 4096 Mar 15 02:47 cost [2023-03-15T02:55:56.150Z] -rw-r--r-- 1 root root 83 Mar 15 02:47 cost.csv [2023-03-15T02:55:56.150Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-130/archives [2023-03-15T02:55:56.150Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-130/archives [2023-03-15T02:55:56.150Z] total 16 [2023-03-15T02:55:56.150Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 02:47 . [2023-03-15T02:55:56.150Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 02:47 .. [2023-03-15T02:55:56.150Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 02:47 cost [2023-03-15T02:55:56.150Z] -rw-r--r-- 1 jenkins jenkins 83 Mar 15 02:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:55:56.479Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:55:57.369Z] ---> package-listing.sh [2023-03-15T02:55:57.369Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-15T02:55:57.369Z] ++ facter osfamily [2023-03-15T02:55:57.628Z] + OS_FAMILY=debian [2023-03-15T02:55:57.628Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-130 [2023-03-15T02:55:57.628Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-15T02:55:57.628Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-15T02:55:57.628Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-15T02:55:57.628Z] + PACKAGES=/tmp/packages_start.txt [2023-03-15T02:55:57.628Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-130 ']' [2023-03-15T02:55:57.628Z] + PACKAGES=/tmp/packages_end.txt [2023-03-15T02:55:57.628Z] + case "${OS_FAMILY}" in [2023-03-15T02:55:57.628Z] + dpkg -l [2023-03-15T02:55:57.628Z] + grep '^ii' [2023-03-15T02:55:57.628Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-15T02:55:57.628Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-15T02:55:57.628Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-15T02:55:57.628Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-130 ']' [2023-03-15T02:55:57.628Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-130/archives/ [2023-03-15T02:55:57.628Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-130/archives/ [Pipeline] echo [2023-03-15T02:55:57.665Z] 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-130/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-15T02:55:57.956Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:55:58.600Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T02:55:58.601Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:55:58.751Z] prd-ubuntu20.04-docker-8c-8g-330 does not seem to be running inside a container [2023-03-15T02:55:58.778Z] $ 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-130/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-130 -v /w/workspace/edgexfoundry_device-gpio_PR-130:/w/workspace/edgexfoundry_device-gpio_PR-130:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-130@tmp:/w/workspace/edgexfoundry_device-gpio_PR-130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-15T02:55:58.967Z] $ docker top e7e3b696578a6e8d05d82517d2c45d35730a3e3d69abc20b16d3a005e261ea1c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T02:55:59.356Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-15T02:55:59.666Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-15T02:55:59.975Z] + ls /var/log/sa-host [2023-03-15T02:55:59.975Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T02:56:00.111Z] provisioning config files... [2023-03-15T02:56:00.120Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-130@tmp/config669480404965619995tmp [Pipeline] { [Pipeline] echo [2023-03-15T02:56:00.169Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:56:00.476Z] ---> create-netrc.sh [Pipeline] } [2023-03-15T02:56:00.514Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:56:00.913Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-15T02:56:00.948Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:56:01.262Z] ---> sudo-logs.sh [2023-03-15T02:56:01.262Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-15T02:56:01.346Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:56:01.658Z] ---> job-cost.sh [2023-03-15T02:56:01.658Z] lf-activate-venv: SKIPPING [2023-03-15T02:56:01.658Z] DEBUG: total: 0.2199999988079071 [2023-03-15T02:56:01.658Z] INFO: Retrieving Stack Cost... [2023-03-15T02:56:01.917Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T02:56:02.486Z] INFO: Archiving Costs [Pipeline] echo [2023-03-15T02:56:02.522Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:56:02.837Z] ---> logs-deploy.sh [2023-03-15T02:56:02.837Z] lf-activate-venv: SKIPPING [2023-03-15T02:56:02.837Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-130/1 [2023-03-15T02:56:02.837Z] INFO: archiving workspace using pattern(s): [2023-03-15T02:56:03.773Z] Archives upload complete. [2023-03-15T02:56:04.031Z] INFO: archiving logs to Nexus