Pull request #125 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5ae7bfd882258db4911214705cc56c2c31268691+2471770c414ffcb3969497332fd67a405e85392b (40400360bf60634347e7628e93eb10cc638580da) 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-ssh9097164782560066571.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-ssh1142365342895029839.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-125/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-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10854795865773511037.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-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12802458691960385027.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3704791762294723006.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-125/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-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3611903662465741839.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9813 in /w/workspace/edgexfoundry_device-gpio_PR-125 [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-125 # 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/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2471770c414ffcb3969497332fd67a405e85392b into PR head commit 5ae7bfd882258db4911214705cc56c2c31268691 Merge succeeded, producing 5ae7bfd882258db4911214705cc56c2c31268691 Checking out Revision 5ae7bfd882258db4911214705cc56c2c31268691 (PR-125) 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-13T01:44:23.296Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 5ae7bfd882258db4911214705cc56c2c31268691 # 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 2471770c414ffcb3969497332fd67a405e85392b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5ae7bfd882258db4911214705cc56c2c31268691 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-13T01:44:23.506Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-13T01:44:23.619Z] ========================================================= [2023-03-13T01:44:23.619Z] EdgeX Global Pipelines Version Info [2023-03-13T01:44:23.619Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-13T01:44:24.387Z] ------------------- [2023-03-13T01:44:24.387Z] stable info: [2023-03-13T01:44:24.387Z] ------------------- [2023-03-13T01:44:24.387Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-13T01:44:24.387Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-13T01:44:24.387Z] Message: update stable to v1.0.244 [2023-03-13T01:44:24.965Z] ------------------- [2023-03-13T01:44:24.965Z] experimental info: [2023-03-13T01:44:24.965Z] ------------------- [2023-03-13T01:44:24.965Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-13T01:44:24.965Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-13T01:44:24.965Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-13T01:44:25.252Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-03-13T01:44:25.295Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-03-13T01:44:25.337Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-13T01:44:25.380Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-13T01:44:25.423Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-13T01:44:25.466Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-13T01:44:25.512Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-13T01:44:25.553Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-13T01:44:25.598Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-13T01:44:25.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-13T01:44:25.688Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-13T01:44:25.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-03-13T01:44:25.780Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-13T01:44:25.822Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-13T01:44:25.869Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-13T01:44:25.923Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-13T01:44:26.051Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T01:44:26.099Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T01:44:26.146Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-13T01:44:26.195Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-13T01:44:26.241Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-13T01:44:26.284Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-13T01:44:26.330Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-13T01:44:26.374Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-13T01:44:26.429Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-13T01:44:26.479Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-13T01:44:26.518Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-13T01:44:26.558Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo [2023-03-13T01:44:26.609Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo [2023-03-13T01:44:26.650Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo [2023-03-13T01:44:26.803Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5ae7bfd882258db4911214705cc56c2c31268691 [Pipeline] echo [2023-03-13T01:44:26.849Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5ae7bfd [Pipeline] echo [2023-03-13T01:44:26.892Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T01:44:27.022Z] provisioning config files... [2023-03-13T01:44:27.040Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-125@tmp/config17653617343013847296tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T01:44:27.382Z] ---> docker-login.sh [2023-03-13T01:44:27.382Z] nexus3.edgexfoundry.org:10001 [2023-03-13T01:44:27.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T01:44:27.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T01:44:27.901Z] Configure a credential helper to remove this warning. See [2023-03-13T01:44:27.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T01:44:27.901Z] [2023-03-13T01:44:27.901Z] Login Succeeded [2023-03-13T01:44:27.901Z] nexus3.edgexfoundry.org:10002 [2023-03-13T01:44:27.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T01:44:27.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T01:44:27.901Z] Configure a credential helper to remove this warning. See [2023-03-13T01:44:27.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T01:44:27.901Z] [2023-03-13T01:44:27.901Z] Login Succeeded [2023-03-13T01:44:27.901Z] nexus3.edgexfoundry.org:10003 [2023-03-13T01:44:27.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T01:44:28.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T01:44:28.161Z] Configure a credential helper to remove this warning. See [2023-03-13T01:44:28.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T01:44:28.161Z] [2023-03-13T01:44:28.161Z] Login Succeeded [2023-03-13T01:44:28.161Z] nexus3.edgexfoundry.org:10004 [2023-03-13T01:44:28.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T01:44:28.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T01:44:28.161Z] Configure a credential helper to remove this warning. See [2023-03-13T01:44:28.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T01:44:28.161Z] [2023-03-13T01:44:28.161Z] Login Succeeded [2023-03-13T01:44:28.161Z] docker.io [2023-03-13T01:44:28.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T01:44:28.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T01:44:28.424Z] Configure a credential helper to remove this warning. See [2023-03-13T01:44:28.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T01:44:28.424Z] [2023-03-13T01:44:28.424Z] Login Succeeded [2023-03-13T01:44:28.424Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T01:44:28.460Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-13T01:44:29.059Z] + git rev-list -1 --merges 5ae7bfd882258db4911214705cc56c2c31268691~1..5ae7bfd882258db4911214705cc56c2c31268691 [Pipeline] echo [2023-03-13T01:44:29.127Z] -----------> git rev-list -1 --merges 5ae7bfd882258db4911214705cc56c2c31268691~1..5ae7bfd882258db4911214705cc56c2c31268691 5ae7bfd882258db4911214705cc56c2c31268691 [false] [Pipeline] sh [2023-03-13T01:44:29.445Z] + git log --format=format:%s -1 5ae7bfd882258db4911214705cc56c2c31268691 [Pipeline] echo [2023-03-13T01:44:29.487Z] ========================================================= [2023-03-13T01:44:29.487Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-13T01:44:29.487Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T01:44:29.951Z] + git log --format=format:%s -1 5ae7bfd882258db4911214705cc56c2c31268691 [Pipeline] echo [2023-03-13T01:44:29.987Z] [semverPrep] GIT_COMMIT: 5ae7bfd882258db4911214705cc56c2c31268691, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-03-13T01:44:30.023Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-13T01:44:30.415Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-13T01:44:30.415Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-13T01:44:30.415Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-13T01:44:30.415Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-13T01:44:30.415Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-13T01:44:30.415Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-13T01:44:30.415Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T01:44:30.950Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T01:44:30.950Z] [2023-03-13T01:44:30.950Z] 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-13T01:44:31.505Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T01:44:31.505Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-13T01:44:31.505Z] b85a868b505f: Pulling fs layer [2023-03-13T01:44:31.505Z] e2be974225ed: Pulling fs layer [2023-03-13T01:44:31.505Z] 339a4e72a1f5: Pulling fs layer [2023-03-13T01:44:31.505Z] 988bab9f4d93: Pulling fs layer [2023-03-13T01:44:31.505Z] 1469e6f7b9e6: Pulling fs layer [2023-03-13T01:44:31.505Z] eaf3925da568: Pulling fs layer [2023-03-13T01:44:31.505Z] bab4dde63d76: Pulling fs layer [2023-03-13T01:44:31.505Z] bde34c3a00c8: Pulling fs layer [2023-03-13T01:44:31.505Z] 1469e6f7b9e6: Waiting [2023-03-13T01:44:31.505Z] eaf3925da568: Waiting [2023-03-13T01:44:31.505Z] 988bab9f4d93: Waiting [2023-03-13T01:44:31.505Z] bab4dde63d76: Waiting [2023-03-13T01:44:31.505Z] b352a97aabf1: Pulling fs layer [2023-03-13T01:44:31.505Z] 4872d77fe225: Pulling fs layer [2023-03-13T01:44:31.505Z] b352a97aabf1: Waiting [2023-03-13T01:44:31.505Z] bde34c3a00c8: Waiting [2023-03-13T01:44:31.505Z] 5851b861e8e6: Pulling fs layer [2023-03-13T01:44:31.505Z] 5851b861e8e6: Waiting [2023-03-13T01:44:31.505Z] e2be974225ed: Verifying Checksum [2023-03-13T01:44:31.505Z] e2be974225ed: Download complete [2023-03-13T01:44:31.505Z] 988bab9f4d93: Download complete [2023-03-13T01:44:31.768Z] 1469e6f7b9e6: Verifying Checksum [2023-03-13T01:44:31.768Z] 1469e6f7b9e6: Download complete [2023-03-13T01:44:31.768Z] 339a4e72a1f5: Verifying Checksum [2023-03-13T01:44:31.768Z] 339a4e72a1f5: Download complete [2023-03-13T01:44:31.768Z] eaf3925da568: Download complete [2023-03-13T01:44:31.768Z] bde34c3a00c8: Verifying Checksum [2023-03-13T01:44:31.768Z] bde34c3a00c8: Download complete [2023-03-13T01:44:31.768Z] b352a97aabf1: Download complete [2023-03-13T01:44:31.768Z] 4872d77fe225: Verifying Checksum [2023-03-13T01:44:31.768Z] 4872d77fe225: Download complete [2023-03-13T01:44:31.768Z] 5851b861e8e6: Verifying Checksum [2023-03-13T01:44:31.768Z] 5851b861e8e6: Download complete [2023-03-13T01:44:31.768Z] b85a868b505f: Verifying Checksum [2023-03-13T01:44:31.768Z] b85a868b505f: Download complete [2023-03-13T01:44:32.338Z] bab4dde63d76: Verifying Checksum [2023-03-13T01:44:32.338Z] bab4dde63d76: Download complete [2023-03-13T01:44:33.274Z] b85a868b505f: Pull complete [2023-03-13T01:44:33.274Z] e2be974225ed: Pull complete [2023-03-13T01:44:33.842Z] 339a4e72a1f5: Pull complete [2023-03-13T01:44:33.842Z] 988bab9f4d93: Pull complete [2023-03-13T01:44:34.101Z] 1469e6f7b9e6: Pull complete [2023-03-13T01:44:34.361Z] eaf3925da568: Pull complete [2023-03-13T01:44:36.268Z] bab4dde63d76: Pull complete [2023-03-13T01:44:36.268Z] bde34c3a00c8: Pull complete [2023-03-13T01:44:36.268Z] b352a97aabf1: Pull complete [2023-03-13T01:44:36.528Z] 4872d77fe225: Pull complete [2023-03-13T01:44:36.528Z] 5851b861e8e6: Pull complete [2023-03-13T01:44:36.528Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-13T01:44:36.528Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T01:44:36.528Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T01:44:36.760Z] prd-ubuntu20.04-docker-8c-8g-9813 does not seem to be running inside a container [2023-03-13T01:44:36.806Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-125 -v /w/workspace/edgexfoundry_device-gpio_PR-125:/w/workspace/edgexfoundry_device-gpio_PR-125:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-125@tmp:/w/workspace/edgexfoundry_device-gpio_PR-125@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-13T01:44:38.047Z] $ docker top 3b81cd7e68767f6c862a890f4ba81ad0bd28432a10a7a967ec4b60f3f9eb3565 -eo pid,comm [2023-03-13T01:44:38.110Z] 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-13T01:44:38.110Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-13T01:44:38.236Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T01:44:38.236Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T01:44:38.361Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T01:44:38.367Z] $ docker exec 3b81cd7e68767f6c862a890f4ba81ad0bd28432a10a7a967ec4b60f3f9eb3565 ssh-agent [2023-03-13T01:44:38.484Z] SSH_AUTH_SOCK=/tmp/ssh-WbheKwCXe3b8/agent.33 [2023-03-13T01:44:38.484Z] SSH_AGENT_PID=39 [2023-03-13T01:44:38.492Z] Running ssh-add (command line suppressed) [2023-03-13T01:44:38.606Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-125@tmp/private_key_10912252669526590561.key (/w/workspace/edgexfoundry_device-gpio_PR-125@tmp/private_key_10912252669526590561.key) [2023-03-13T01:44:38.617Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T01:44:38.948Z] + git tag --points-at HEAD [Pipeline] } [2023-03-13T01:44:38.983Z] $ docker exec --env ******** --env ******** 3b81cd7e68767f6c862a890f4ba81ad0bd28432a10a7a967ec4b60f3f9eb3565 ssh-agent -k [2023-03-13T01:44:39.080Z] unset SSH_AUTH_SOCK; [2023-03-13T01:44:39.081Z] unset SSH_AGENT_PID; [2023-03-13T01:44:39.081Z] echo Agent pid 39 killed; [2023-03-13T01:44:39.094Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-13T01:44:39.180Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T01:44:39.180Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T01:44:39.303Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T01:44:39.310Z] $ docker exec 3b81cd7e68767f6c862a890f4ba81ad0bd28432a10a7a967ec4b60f3f9eb3565 ssh-agent [2023-03-13T01:44:39.417Z] SSH_AUTH_SOCK=/tmp/ssh-BdbXQuzvg09B/agent.71 [2023-03-13T01:44:39.417Z] SSH_AGENT_PID=77 [2023-03-13T01:44:39.422Z] Running ssh-add (command line suppressed) [2023-03-13T01:44:39.535Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-125@tmp/private_key_5073427924594999823.key (/w/workspace/edgexfoundry_device-gpio_PR-125@tmp/private_key_5073427924594999823.key) [2023-03-13T01:44:39.547Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T01:44:39.883Z] + git semver init [2023-03-13T01:44:40.144Z] 2023-03-13 01:44:40,088 [run_init] DEBUG init version:0.0.0 force:False [2023-03-13T01:44:40.144Z] 2023-03-13 01:44:40,089 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-125/.semver [2023-03-13T01:44:40.144Z] 2023-03-13 01:44:40,089 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-125/.semver [2023-03-13T01:44:40.144Z] 2023-03-13 01:44:40,089 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-125/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-125, universal_newlines=False, shell=None, istream=None) [2023-03-13T01:44:41.085Z] 2023-03-13 01:44:40,983 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-125/.git/info/exclude [2023-03-13T01:44:41.085Z] 2023-03-13 01:44:40,983 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-125/.semver/PR-125 with force:False [2023-03-13T01:44:41.085Z] 2023-03-13 01:44:40,983 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-125/.semver/PR-125 [2023-03-13T01:44:41.085Z] 2023-03-13 01:44:40,986 [execute] INFO git cat-file --batch-check [2023-03-13T01:44:41.085Z] 2023-03-13 01:44:40,987 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T01:44:41.085Z] 2023-03-13 01:44:40,992 [execute] INFO git cat-file --batch [2023-03-13T01:44:41.085Z] 2023-03-13 01:44:40,992 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T01:44:41.085Z] 2023-03-13 01:44:40,997 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-125/.semver/PR-125 [2023-03-13T01:44:41.085Z] 0.0.0 [Pipeline] } [2023-03-13T01:44:41.116Z] $ docker exec --env ******** --env ******** 3b81cd7e68767f6c862a890f4ba81ad0bd28432a10a7a967ec4b60f3f9eb3565 ssh-agent -k [2023-03-13T01:44:41.224Z] unset SSH_AUTH_SOCK; [2023-03-13T01:44:41.225Z] unset SSH_AGENT_PID; [2023-03-13T01:44:41.225Z] echo Agent pid 77 killed; [2023-03-13T01:44:41.233Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-13T01:44:41.654Z] + git semver [Pipeline] } [2023-03-13T01:44:41.943Z] $ docker stop --time=1 3b81cd7e68767f6c862a890f4ba81ad0bd28432a10a7a967ec4b60f3f9eb3565 [2023-03-13T01:44:43.255Z] $ docker rm -f --volumes 3b81cd7e68767f6c862a890f4ba81ad0bd28432a10a7a967ec4b60f3f9eb3565 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T01:44:43.675Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-13T01:44:43.961Z] Stashed 1 file(s) [Pipeline] echo [2023-03-13T01:44:43.979Z] [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-13T01:44:44.584Z] provisioning config files... [2023-03-13T01:44:44.595Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-125@tmp/config1766747564503863060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T01:44:44.935Z] ---> docker-login.sh [2023-03-13T01:44:44.935Z] nexus3.edgexfoundry.org:10001 [2023-03-13T01:44:44.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T01:44:44.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T01:44:44.935Z] Configure a credential helper to remove this warning. See [2023-03-13T01:44:44.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T01:44:44.935Z] [2023-03-13T01:44:44.935Z] Login Succeeded [2023-03-13T01:44:44.935Z] nexus3.edgexfoundry.org:10002 [2023-03-13T01:44:44.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T01:44:44.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T01:44:44.935Z] Configure a credential helper to remove this warning. See [2023-03-13T01:44:44.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T01:44:44.935Z] [2023-03-13T01:44:44.935Z] Login Succeeded [2023-03-13T01:44:44.935Z] nexus3.edgexfoundry.org:10003 [2023-03-13T01:44:45.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T01:44:45.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T01:44:45.195Z] Configure a credential helper to remove this warning. See [2023-03-13T01:44:45.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T01:44:45.195Z] [2023-03-13T01:44:45.195Z] Login Succeeded [2023-03-13T01:44:45.195Z] nexus3.edgexfoundry.org:10004 [2023-03-13T01:44:45.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T01:44:45.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T01:44:45.454Z] Configure a credential helper to remove this warning. See [2023-03-13T01:44:45.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T01:44:45.454Z] [2023-03-13T01:44:45.454Z] Login Succeeded [2023-03-13T01:44:45.454Z] docker.io [2023-03-13T01:44:45.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T01:44:45.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T01:44:45.714Z] Configure a credential helper to remove this warning. See [2023-03-13T01:44:45.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T01:44:45.714Z] [2023-03-13T01:44:45.714Z] Login Succeeded [2023-03-13T01:44:45.714Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T01:44:45.741Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T01:44:45.969Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T01:44:46.012Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T01:44:46.054Z] ========================================================= [2023-03-13T01:44:46.054Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-13T01:44:46.054Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T01:44:46.623Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-13T01:44:46.624Z] Sending build context to Docker daemon 16MB [2023-03-13T01:44:46.624Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T01:44:46.624Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-13T01:44:46.624Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-13T01:44:46.624Z] 213ec9aee27d: Pulling fs layer [2023-03-13T01:44:46.624Z] 4583459ba037: Pulling fs layer [2023-03-13T01:44:46.624Z] 93c1e223e6f2: Pulling fs layer [2023-03-13T01:44:46.624Z] 53926ce57604: Pulling fs layer [2023-03-13T01:44:46.624Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-13T01:44:46.624Z] 22ff95d597cd: Pulling fs layer [2023-03-13T01:44:46.624Z] 12d6caf4c0d1: Pulling fs layer [2023-03-13T01:44:46.624Z] 96b7cbca73a9: Pulling fs layer [2023-03-13T01:44:46.624Z] a7acece74701: Pulling fs layer [2023-03-13T01:44:46.624Z] 53926ce57604: Waiting [2023-03-13T01:44:46.624Z] 21b2b0c7a3f4: Waiting [2023-03-13T01:44:46.624Z] 22ff95d597cd: Waiting [2023-03-13T01:44:46.624Z] 12d6caf4c0d1: Waiting [2023-03-13T01:44:46.624Z] 96b7cbca73a9: Waiting [2023-03-13T01:44:46.624Z] a7acece74701: Waiting [2023-03-13T01:44:46.884Z] 93c1e223e6f2: Verifying Checksum [2023-03-13T01:44:46.884Z] 93c1e223e6f2: Download complete [2023-03-13T01:44:46.884Z] 4583459ba037: Verifying Checksum [2023-03-13T01:44:46.884Z] 4583459ba037: Download complete [2023-03-13T01:44:46.884Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-13T01:44:46.884Z] 21b2b0c7a3f4: Download complete [2023-03-13T01:44:46.884Z] 22ff95d597cd: Verifying Checksum [2023-03-13T01:44:46.884Z] 22ff95d597cd: Download complete [2023-03-13T01:44:46.884Z] 213ec9aee27d: Verifying Checksum [2023-03-13T01:44:46.884Z] 12d6caf4c0d1: Verifying Checksum [2023-03-13T01:44:46.884Z] 12d6caf4c0d1: Download complete [2023-03-13T01:44:47.147Z] 213ec9aee27d: Pull complete [2023-03-13T01:44:47.147Z] 4583459ba037: Pull complete [2023-03-13T01:44:47.147Z] 93c1e223e6f2: Pull complete [2023-03-13T01:44:47.411Z] a7acece74701: Verifying Checksum [2023-03-13T01:44:47.411Z] a7acece74701: Download complete [2023-03-13T01:44:47.673Z] 96b7cbca73a9: Verifying Checksum [2023-03-13T01:44:47.673Z] 96b7cbca73a9: Download complete [2023-03-13T01:44:47.673Z] 53926ce57604: Verifying Checksum [2023-03-13T01:44:47.673Z] 53926ce57604: Download complete [2023-03-13T01:44:51.867Z] 53926ce57604: Pull complete [2023-03-13T01:44:51.867Z] 21b2b0c7a3f4: Pull complete [2023-03-13T01:44:51.867Z] 22ff95d597cd: Pull complete [2023-03-13T01:44:51.867Z] 12d6caf4c0d1: Pull complete [2023-03-13T01:44:54.402Z] 96b7cbca73a9: Pull complete [2023-03-13T01:44:55.349Z] a7acece74701: Pull complete [2023-03-13T01:44:55.349Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-13T01:44:55.349Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-13T01:44:55.349Z] ---> db6d94c90886 [2023-03-13T01:44:55.349Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-13T01:44:56.728Z] ---> Running in 9e2038db61d3 [2023-03-13T01:44:56.728Z] Removing intermediate container 9e2038db61d3 [2023-03-13T01:44:56.728Z] ---> 1881a6836b40 [2023-03-13T01:44:56.728Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T01:44:56.728Z] ---> Running in 178fe643a468 [2023-03-13T01:44:56.987Z] Removing intermediate container 178fe643a468 [2023-03-13T01:44:56.987Z] ---> ca4f21180b1f [2023-03-13T01:44:56.987Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-03-13T01:44:56.987Z] ---> Running in 3477178ac18f [2023-03-13T01:44:56.987Z] Removing intermediate container 3477178ac18f [2023-03-13T01:44:56.987Z] ---> 46b07acf3983 [2023-03-13T01:44:56.987Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-13T01:44:57.246Z] ---> Running in 52bb2f735c39 [2023-03-13T01:44:57.246Z] Removing intermediate container 52bb2f735c39 [2023-03-13T01:44:57.246Z] ---> c9c0c99947a7 [2023-03-13T01:44:57.246Z] Step 7/12 : WORKDIR /device-gpio [2023-03-13T01:44:57.246Z] ---> Running in d2c69b7986bb [2023-03-13T01:44:57.246Z] Removing intermediate container d2c69b7986bb [2023-03-13T01:44:57.246Z] ---> 2c85e9b9c6fe [2023-03-13T01:44:57.246Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T01:44:57.246Z] ---> Running in edae5553e699 [2023-03-13T01:44:57.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-13T01:44:57.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-13T01:44:58.381Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-13T01:44:58.381Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-13T01:44:58.381Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-13T01:44:58.381Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-13T01:44:58.381Z] Executing busybox-1.35.0-r17.trigger [2023-03-13T01:44:58.381Z] OK: 216 MiB in 55 packages [2023-03-13T01:44:58.639Z] Removing intermediate container edae5553e699 [2023-03-13T01:44:58.639Z] ---> 2b87a492603f [2023-03-13T01:44:58.639Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-13T01:44:58.898Z] ---> 8b4338b9b9b6 [2023-03-13T01:44:58.898Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T01:44:58.898Z] ---> Running in 69733ebfd10f [2023-03-13T01:44:59.392Z] Still waiting to schedule task [2023-03-13T01:44:59.393Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-9810’ is offline [2023-03-13T01:45:30.992Z] Removing intermediate container 69733ebfd10f [2023-03-13T01:45:30.992Z] ---> 64faab6991dc [2023-03-13T01:45:30.992Z] Step 11/12 : COPY . . [2023-03-13T01:45:30.992Z] ---> cdf2ea86c018 [2023-03-13T01:45:30.992Z] Step 12/12 : RUN ${MAKE} [2023-03-13T01:45:30.992Z] ---> Running in 2eac149d6946 [2023-03-13T01:45:30.992Z] noop [2023-03-13T01:45:30.992Z] Removing intermediate container 2eac149d6946 [2023-03-13T01:45:30.992Z] ---> 7b6bea87640b [2023-03-13T01:45:30.992Z] Successfully built 7b6bea87640b [2023-03-13T01:45:30.992Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T01:45:31.446Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T01:45:31.446Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T01:45:31.616Z] prd-ubuntu20.04-docker-8c-8g-9813 does not seem to be running inside a container [2023-03-13T01:45:31.650Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-125 -v /w/workspace/edgexfoundry_device-gpio_PR-125:/w/workspace/edgexfoundry_device-gpio_PR-125:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-125@tmp:/w/workspace/edgexfoundry_device-gpio_PR-125@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-13T01:45:32.045Z] $ docker top a9df27bd1f36703d5e46b5b723a341b31812e6aa49867ca99082a57102160859 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T01:45:32.445Z] + go version [2023-03-13T01:45:32.445Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-13T01:45:32.483Z] $ docker stop --time=1 a9df27bd1f36703d5e46b5b723a341b31812e6aa49867ca99082a57102160859 [2023-03-13T01:45:33.775Z] $ docker rm -f --volumes a9df27bd1f36703d5e46b5b723a341b31812e6aa49867ca99082a57102160859 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T01:45:34.476Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T01:45:34.476Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T01:45:34.616Z] prd-ubuntu20.04-docker-8c-8g-9813 does not seem to be running inside a container [2023-03-13T01:45:34.651Z] $ 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-125 -v /w/workspace/edgexfoundry_device-gpio_PR-125:/w/workspace/edgexfoundry_device-gpio_PR-125:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-125@tmp:/w/workspace/edgexfoundry_device-gpio_PR-125@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-13T01:45:35.019Z] $ docker top 7c68109a27448599fd2acbce6a5a3a2bc82a60ce318954677234599b32d7088d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T01:45:35.406Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-125 [Pipeline] fileExists [Pipeline] sh [2023-03-13T01:45:35.759Z] + make test [2023-03-13T01:45:35.759Z] go test ./... -coverprofile=coverage.out ./... [2023-03-13T01:45:36.018Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-03-13T01:45:45.984Z] # github.com/edgexfoundry/device-gpio/internal/driver [2023-03-13T01:45:45.984Z] internal/driver/config.go:30:24: undefined: service.DriverConfigs [2023-03-13T01:45:45.984Z] internal/driver/config.go:35:24: undefined: service.DriverConfigs [2023-03-13T01:45:45.984Z] make: *** [Makefile:29: unittest] Error 2 [Pipeline] } [2023-03-13T01:45:46.032Z] $ docker stop --time=1 7c68109a27448599fd2acbce6a5a3a2bc82a60ce318954677234599b32d7088d [2023-03-13T01:45:47.661Z] $ docker rm -f --volumes 7c68109a27448599fd2acbce6a5a3a2bc82a60ce318954677234599b32d7088d [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-13T01:45:48.830Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T01:45:48.830Z] [2023-03-13T01:45:48.830Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T01:45:49.220Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T01:45:49.220Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-13T01:45:49.220Z] 5eb5b503b376: Pulling fs layer [2023-03-13T01:45:49.220Z] 5c69ac0246d0: Pulling fs layer [2023-03-13T01:45:49.220Z] ec43610c2a17: Pulling fs layer [2023-03-13T01:45:49.220Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-13T01:45:49.220Z] 33b1e0a273af: Pulling fs layer [2023-03-13T01:45:49.220Z] 5d3b04190fa2: Pulling fs layer [2023-03-13T01:45:49.220Z] 2f39f015ded8: Pulling fs layer [2023-03-13T01:45:49.220Z] 33b1e0a273af: Waiting [2023-03-13T01:45:49.220Z] 5d3b04190fa2: Waiting [2023-03-13T01:45:49.220Z] 2f39f015ded8: Waiting [2023-03-13T01:45:49.220Z] 3a2ae6a8a46f: Waiting [2023-03-13T01:45:49.220Z] 5c69ac0246d0: Verifying Checksum [2023-03-13T01:45:49.220Z] 5c69ac0246d0: Download complete [2023-03-13T01:45:49.220Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-13T01:45:49.220Z] 3a2ae6a8a46f: Download complete [2023-03-13T01:45:49.481Z] 33b1e0a273af: Verifying Checksum [2023-03-13T01:45:49.481Z] 33b1e0a273af: Download complete [2023-03-13T01:45:49.481Z] ec43610c2a17: Verifying Checksum [2023-03-13T01:45:49.481Z] ec43610c2a17: Download complete [2023-03-13T01:45:49.481Z] 5d3b04190fa2: Download complete [2023-03-13T01:45:49.481Z] 5eb5b503b376: Verifying Checksum [2023-03-13T01:45:49.481Z] 5eb5b503b376: Download complete [2023-03-13T01:45:50.419Z] 2f39f015ded8: Download complete [2023-03-13T01:45:50.678Z] 5eb5b503b376: Pull complete [2023-03-13T01:45:50.938Z] 5c69ac0246d0: Pull complete [2023-03-13T01:45:51.508Z] ec43610c2a17: Pull complete [2023-03-13T01:45:51.508Z] 3a2ae6a8a46f: Pull complete [2023-03-13T01:45:51.766Z] 33b1e0a273af: Pull complete [2023-03-13T01:45:51.766Z] 5d3b04190fa2: Pull complete [2023-03-13T01:45:57.035Z] 2f39f015ded8: Pull complete [2023-03-13T01:45:57.035Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-13T01:45:57.035Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T01:45:57.035Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T01:45:57.380Z] prd-ubuntu20.04-docker-8c-8g-9813 does not seem to be running inside a container [2023-03-13T01:45:57.462Z] $ 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-125 -v /w/workspace/edgexfoundry_device-gpio_PR-125:/w/workspace/edgexfoundry_device-gpio_PR-125:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-125@tmp:/w/workspace/edgexfoundry_device-gpio_PR-125@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-13T01:45:58.959Z] $ docker top 8921df12d1750c2edd87cb48360ffb91d4557a5fc2383b125c2cb9f968d86e62 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T01:45:59.475Z] ---> job-cost.sh [2023-03-13T01:45:59.475Z] lf-activate-venv: SKIPPING [2023-03-13T01:45:59.475Z] INFO: No Stack... [2023-03-13T01:45:59.736Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T01:45:59.995Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T01:46:00.313Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-125/archives/cost.csv [2023-03-13T01:46:00.313Z] + cut -d, -f6 [Pipeline] lock [2023-03-13T01:46:00.356Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-125-1-stack-cost] [2023-03-13T01:46:00.366Z] Resource [jenkins-edgexfoundry-device-gpio-PR-125-1-stack-cost] did not exist. Created. [2023-03-13T01:46:00.366Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-125-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T01:46:00.816Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-13T01:46:00.877Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T01:46:00.897Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-125-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T01:46:00.969Z] $ docker stop --time=1 8921df12d1750c2edd87cb48360ffb91d4557a5fc2383b125c2cb9f968d86e62 [2023-03-13T01:46:02.143Z] $ docker rm -f --volumes 8921df12d1750c2edd87cb48360ffb91d4557a5fc2383b125c2cb9f968d86e62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-13T01:46:02.525Z] Failed in branch amd64 [2023-03-13T01:47:24.846Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9815 in /w/workspace/edgexfoundry_device-gpio_PR-125 [Pipeline] { [Pipeline] ws [2023-03-13T01:47:24.917Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2023-03-13T01:47:25.024Z] The recommended git tool is: git [2023-03-13T01:47:30.837Z] using credential edgex-jenkins-ssh [2023-03-13T01:47:30.854Z] Cloning the remote Git repository [2023-03-13T01:47:30.911Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-03-13T01:47:30.994Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2023-03-13T01:47:31.158Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-03-13T01:47:31.159Z] > git --version # timeout=10 [2023-03-13T01:47:31.179Z] > git --version # 'git version 2.25.1' [2023-03-13T01:47:31.181Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T01:47:31.262Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T01:47:32.905Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-03-13T01:47:32.934Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T01:47:34.548Z] Merging remotes/origin/main commit 2471770c414ffcb3969497332fd67a405e85392b into PR head commit 5ae7bfd882258db4911214705cc56c2c31268691 [2023-03-13T01:47:34.812Z] Merge succeeded, producing 5ae7bfd882258db4911214705cc56c2c31268691 [2023-03-13T01:47:34.812Z] Checking out Revision 5ae7bfd882258db4911214705cc56c2c31268691 (PR-125) [2023-03-13T01:47:33.987Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-03-13T01:47:34.046Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-03-13T01:47:34.047Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T01:47:34.071Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-13T01:47:34.572Z] > git config core.sparsecheckout # timeout=10 [2023-03-13T01:47:34.602Z] > git checkout -f 5ae7bfd882258db4911214705cc56c2c31268691 # timeout=10 [2023-03-13T01:47:34.698Z] > git remote # timeout=10 [2023-03-13T01:47:34.718Z] > git config --get remote.origin.url # timeout=10 [2023-03-13T01:47:34.750Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T01:47:34.765Z] > git merge 2471770c414ffcb3969497332fd67a405e85392b # timeout=10 [2023-03-13T01:47:34.794Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-13T01:47:34.824Z] > git config core.sparsecheckout # timeout=10 [2023-03-13T01:47:34.844Z] > git checkout -f 5ae7bfd882258db4911214705cc56c2c31268691 # timeout=10 [2023-03-13T01:47:35.389Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-03-13T01:47:35.451Z] > git --version # timeout=10 [2023-03-13T01:47:35.464Z] > git --version # 'git version 2.25.1' [2023-03-13T01:47:35.493Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T01:47:36.587Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-13T01:47:36.587Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T01:47:36.587Z] Dload Upload Total Spent Left Speed [2023-03-13T01:47:36.587Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 91733 [Pipeline] sh [2023-03-13T01:47:37.227Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-13T01:47:37.590Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-13T01:47:37.590Z] + sudo tee /etc/docker/daemon.new [2023-03-13T01:47:37.590Z] { [2023-03-13T01:47:37.590Z] "registry-mirrors": [ [2023-03-13T01:47:37.590Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-13T01:47:37.590Z] ], [2023-03-13T01:47:37.590Z] "bip": "10.250.0.254/24", [2023-03-13T01:47:37.590Z] "hosts": [ [2023-03-13T01:47:37.590Z] "tcp://0.0.0.0:5555", [2023-03-13T01:47:37.590Z] "unix:///var/run/docker.sock" [2023-03-13T01:47:37.590Z] ], [2023-03-13T01:47:37.590Z] "mtu": 1458, [2023-03-13T01:47:37.590Z] "selinux-enabled": true, [2023-03-13T01:47:37.590Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-13T01:47:37.590Z] } [Pipeline] sh [2023-03-13T01:47:37.951Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-13T01:47:38.313Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T01:47:56.655Z] provisioning config files... [2023-03-13T01:47:56.684Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config15464387670211980464tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T01:47:57.083Z] ---> docker-login.sh [2023-03-13T01:47:57.083Z] nexus3.edgexfoundry.org:10001 [2023-03-13T01:47:57.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T01:47:57.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T01:47:57.672Z] Configure a credential helper to remove this warning. See [2023-03-13T01:47:57.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T01:47:57.672Z] [2023-03-13T01:47:57.672Z] Login Succeeded [2023-03-13T01:47:57.672Z] nexus3.edgexfoundry.org:10002 [2023-03-13T01:47:57.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T01:47:57.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T01:47:57.941Z] Configure a credential helper to remove this warning. See [2023-03-13T01:47:57.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T01:47:57.941Z] [2023-03-13T01:47:57.941Z] Login Succeeded [2023-03-13T01:47:57.941Z] nexus3.edgexfoundry.org:10003 [2023-03-13T01:47:58.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T01:47:58.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T01:47:58.477Z] Configure a credential helper to remove this warning. See [2023-03-13T01:47:58.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T01:47:58.477Z] [2023-03-13T01:47:58.477Z] Login Succeeded [2023-03-13T01:47:58.477Z] nexus3.edgexfoundry.org:10004 [2023-03-13T01:47:58.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T01:47:58.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T01:47:58.748Z] Configure a credential helper to remove this warning. See [2023-03-13T01:47:58.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T01:47:58.748Z] [2023-03-13T01:47:58.748Z] Login Succeeded [2023-03-13T01:47:58.748Z] docker.io [2023-03-13T01:47:59.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T01:47:59.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T01:47:59.285Z] Configure a credential helper to remove this warning. See [2023-03-13T01:47:59.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T01:47:59.285Z] [2023-03-13T01:47:59.285Z] Login Succeeded [2023-03-13T01:47:59.285Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T01:47:59.310Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T01:47:59.709Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T01:47:59.749Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T01:47:59.785Z] ========================================================= [2023-03-13T01:47:59.785Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-13T01:47:59.785Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T01:48:00.288Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-13T01:48:00.558Z] Sending build context to Docker daemon 8.08MB [2023-03-13T01:48:00.558Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T01:48:00.558Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-13T01:48:00.833Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-13T01:48:00.833Z] 9b18e9b68314: Pulling fs layer [2023-03-13T01:48:00.833Z] 35d82f9e3411: Pulling fs layer [2023-03-13T01:48:00.833Z] e16973657156: Pulling fs layer [2023-03-13T01:48:00.833Z] fc693d55d65f: Pulling fs layer [2023-03-13T01:48:00.833Z] 7e9fc2657dce: Pulling fs layer [2023-03-13T01:48:00.833Z] dda99020689f: Pulling fs layer [2023-03-13T01:48:00.833Z] db1c61fa0a46: Pulling fs layer [2023-03-13T01:48:00.833Z] 891c053d2c06: Pulling fs layer [2023-03-13T01:48:00.833Z] fc693d55d65f: Waiting [2023-03-13T01:48:00.833Z] 7e9fc2657dce: Waiting [2023-03-13T01:48:00.833Z] dda99020689f: Waiting [2023-03-13T01:48:00.833Z] db1c61fa0a46: Waiting [2023-03-13T01:48:00.833Z] 891c053d2c06: Waiting [2023-03-13T01:48:00.833Z] e16973657156: Verifying Checksum [2023-03-13T01:48:00.833Z] e16973657156: Download complete [2023-03-13T01:48:00.833Z] 35d82f9e3411: Verifying Checksum [2023-03-13T01:48:00.833Z] 35d82f9e3411: Download complete [2023-03-13T01:48:00.833Z] 7e9fc2657dce: Download complete [2023-03-13T01:48:00.833Z] dda99020689f: Download complete [2023-03-13T01:48:00.833Z] 9b18e9b68314: Verifying Checksum [2023-03-13T01:48:00.833Z] 9b18e9b68314: Download complete [2023-03-13T01:48:01.811Z] 9b18e9b68314: Pull complete [2023-03-13T01:48:02.087Z] 891c053d2c06: Verifying Checksum [2023-03-13T01:48:02.087Z] 891c053d2c06: Download complete [2023-03-13T01:48:02.357Z] 35d82f9e3411: Pull complete [2023-03-13T01:48:02.627Z] e16973657156: Pull complete [2023-03-13T01:48:03.223Z] db1c61fa0a46: Verifying Checksum [2023-03-13T01:48:03.223Z] db1c61fa0a46: Download complete [2023-03-13T01:48:03.809Z] fc693d55d65f: Verifying Checksum [2023-03-13T01:48:03.809Z] fc693d55d65f: Download complete [2023-03-13T01:48:16.135Z] fc693d55d65f: Pull complete [2023-03-13T01:48:16.135Z] 7e9fc2657dce: Pull complete [2023-03-13T01:48:16.135Z] dda99020689f: Pull complete [2023-03-13T01:48:20.385Z] db1c61fa0a46: Pull complete [2023-03-13T01:48:22.436Z] 891c053d2c06: Pull complete [2023-03-13T01:48:22.436Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-13T01:48:22.436Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-13T01:48:22.436Z] ---> f96f9c87975a [2023-03-13T01:48:22.436Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-13T01:48:25.019Z] ---> Running in 70e232011247 [2023-03-13T01:48:25.019Z] Removing intermediate container 70e232011247 [2023-03-13T01:48:25.019Z] ---> f1afc5fecc92 [2023-03-13T01:48:25.019Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T01:48:25.019Z] ---> Running in b2e308ae4bfb [2023-03-13T01:48:25.294Z] Removing intermediate container b2e308ae4bfb [2023-03-13T01:48:25.294Z] ---> 516a0e305fd7 [2023-03-13T01:48:25.294Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-03-13T01:48:25.565Z] ---> Running in adccb23a8680 [2023-03-13T01:48:25.832Z] Removing intermediate container adccb23a8680 [2023-03-13T01:48:25.832Z] ---> a361cc1743ac [2023-03-13T01:48:25.832Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-13T01:48:25.832Z] ---> Running in 70330dd0e1e7 [2023-03-13T01:48:26.419Z] Removing intermediate container 70330dd0e1e7 [2023-03-13T01:48:26.419Z] ---> 85a5c48e651d [2023-03-13T01:48:26.419Z] Step 7/12 : WORKDIR /device-gpio [2023-03-13T01:48:26.419Z] ---> Running in 74ff0797eff5 [2023-03-13T01:48:26.690Z] Removing intermediate container 74ff0797eff5 [2023-03-13T01:48:26.690Z] ---> cbe1d1784d33 [2023-03-13T01:48:26.690Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T01:48:26.957Z] ---> Running in 0ee1c6180f21 [2023-03-13T01:48:27.918Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-13T01:48:28.504Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-13T01:48:29.467Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-13T01:48:29.737Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-13T01:48:29.737Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-13T01:48:29.737Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-13T01:48:29.737Z] Executing busybox-1.35.0-r17.trigger [2023-03-13T01:48:29.737Z] OK: 226 MiB in 55 packages [2023-03-13T01:48:31.152Z] Removing intermediate container 0ee1c6180f21 [2023-03-13T01:48:31.152Z] ---> d03a2336fc76 [2023-03-13T01:48:31.153Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-13T01:48:31.420Z] ---> 1a3828474a55 [2023-03-13T01:48:31.420Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T01:48:31.420Z] ---> Running in cc98dff36279 [2023-03-13T01:49:53.097Z] Removing intermediate container cc98dff36279 [2023-03-13T01:49:53.097Z] ---> 605432c801c9 [2023-03-13T01:49:53.097Z] Step 11/12 : COPY . . [2023-03-13T01:49:53.097Z] ---> 86c178b1b510 [2023-03-13T01:49:53.097Z] Step 12/12 : RUN ${MAKE} [2023-03-13T01:49:53.097Z] ---> Running in 0962284134f2 [2023-03-13T01:49:53.097Z] noop [2023-03-13T01:49:53.097Z] Removing intermediate container 0962284134f2 [2023-03-13T01:49:53.097Z] ---> 9113269519fc [2023-03-13T01:49:53.097Z] Successfully built 9113269519fc [2023-03-13T01:49:53.097Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T01:49:53.548Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T01:49:53.548Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T01:49:53.813Z] prd-ubuntu20.04-docker-arm64-4c-16g-9815 does not seem to be running inside a container [2023-03-13T01:49:53.885Z] $ 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-13T01:49:55.187Z] $ docker top f18f0d67469402d4bba8af7b4025c9c3b2c238d877e7b45a9d84337d4bd1b4f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T01:49:56.116Z] + go version [2023-03-13T01:49:56.116Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-13T01:49:56.151Z] $ docker stop --time=1 f18f0d67469402d4bba8af7b4025c9c3b2c238d877e7b45a9d84337d4bd1b4f4 [2023-03-13T01:49:57.831Z] $ docker rm -f --volumes f18f0d67469402d4bba8af7b4025c9c3b2c238d877e7b45a9d84337d4bd1b4f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T01:49:58.712Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T01:49:58.712Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T01:49:58.991Z] prd-ubuntu20.04-docker-arm64-4c-16g-9815 does not seem to be running inside a container [2023-03-13T01:49:59.067Z] $ 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-13T01:50:00.268Z] $ docker top 7ddc8c5e280fe8787fe745618aad166d005a951d1b1c1006623dfe57fe8bd635 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T01:50:01.159Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2023-03-13T01:50:01.879Z] + make test [2023-03-13T01:50:01.879Z] go test ./... -coverprofile=coverage.out ./... [2023-03-13T01:50:03.294Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-03-13T01:51:39.983Z] # github.com/edgexfoundry/device-gpio/internal/driver [2023-03-13T01:51:39.983Z] internal/driver/config.go:30:24: undefined: service.DriverConfigs [2023-03-13T01:51:39.983Z] internal/driver/config.go:35:24: undefined: service.DriverConfigs [2023-03-13T01:51:39.983Z] make: *** [Makefile:29: unittest] Error 2 [Pipeline] } [2023-03-13T01:51:40.045Z] $ docker stop --time=1 7ddc8c5e280fe8787fe745618aad166d005a951d1b1c1006623dfe57fe8bd635 [2023-03-13T01:51:41.879Z] $ docker rm -f --volumes 7ddc8c5e280fe8787fe745618aad166d005a951d1b1c1006623dfe57fe8bd635 [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-13T01:51:43.424Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T01:51:43.424Z] [2023-03-13T01:51:43.424Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T01:51:43.823Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T01:51:44.092Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-13T01:51:44.092Z] 8998bd30e6a1: Pulling fs layer [2023-03-13T01:51:44.092Z] 04944245beec: Pulling fs layer [2023-03-13T01:51:44.092Z] 699f458cf7ca: Pulling fs layer [2023-03-13T01:51:44.092Z] 765212b225bb: Pulling fs layer [2023-03-13T01:51:44.092Z] f23df028b6ca: Pulling fs layer [2023-03-13T01:51:44.092Z] d65c8cfc05b1: Pulling fs layer [2023-03-13T01:51:44.092Z] 2437ff75d9bd: Pulling fs layer [2023-03-13T01:51:44.092Z] 765212b225bb: Waiting [2023-03-13T01:51:44.092Z] f23df028b6ca: Waiting [2023-03-13T01:51:44.092Z] d65c8cfc05b1: Waiting [2023-03-13T01:51:44.092Z] 2437ff75d9bd: Waiting [2023-03-13T01:51:44.092Z] 04944245beec: Verifying Checksum [2023-03-13T01:51:44.092Z] 04944245beec: Download complete [2023-03-13T01:51:44.092Z] 765212b225bb: Verifying Checksum [2023-03-13T01:51:44.092Z] 765212b225bb: Download complete [2023-03-13T01:51:44.361Z] f23df028b6ca: Verifying Checksum [2023-03-13T01:51:44.361Z] f23df028b6ca: Download complete [2023-03-13T01:51:44.361Z] d65c8cfc05b1: Verifying Checksum [2023-03-13T01:51:44.361Z] d65c8cfc05b1: Download complete [2023-03-13T01:51:44.631Z] 699f458cf7ca: Verifying Checksum [2023-03-13T01:51:44.631Z] 699f458cf7ca: Download complete [2023-03-13T01:51:44.898Z] 8998bd30e6a1: Verifying Checksum [2023-03-13T01:51:44.898Z] 8998bd30e6a1: Download complete [2023-03-13T01:51:47.480Z] 2437ff75d9bd: Verifying Checksum [2023-03-13T01:51:47.480Z] 2437ff75d9bd: Download complete [2023-03-13T01:51:50.069Z] 8998bd30e6a1: Pull complete [2023-03-13T01:51:50.339Z] 04944245beec: Pull complete [2023-03-13T01:51:52.296Z] 699f458cf7ca: Pull complete [2023-03-13T01:51:52.296Z] 765212b225bb: Pull complete [2023-03-13T01:51:54.252Z] f23df028b6ca: Pull complete [2023-03-13T01:51:54.252Z] d65c8cfc05b1: Pull complete [2023-03-13T01:52:12.513Z] 2437ff75d9bd: Pull complete [2023-03-13T01:52:12.513Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-13T01:52:12.513Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T01:52:12.513Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T01:52:12.918Z] prd-ubuntu20.04-docker-arm64-4c-16g-9815 does not seem to be running inside a container [2023-03-13T01:52:12.994Z] $ 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-13T01:52:16.004Z] $ docker top 62c9fff890e9a2420b83c04b60cb7304edc1962f6fa2bb97c094ed905d4756f4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T01:52:16.922Z] ---> job-cost.sh [2023-03-13T01:52:16.922Z] lf-activate-venv: SKIPPING [2023-03-13T01:52:16.922Z] INFO: No Stack... [2023-03-13T01:52:17.189Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-13T01:52:18.154Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T01:52:18.824Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2023-03-13T01:52:18.824Z] + cut -d, -f6 [Pipeline] lock [2023-03-13T01:52:18.922Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-125-1-stack-cost] [2023-03-13T01:52:18.927Z] Resource [jenkins-edgexfoundry-device-gpio-PR-125-1-stack-cost] did not exist. Created. [2023-03-13T01:52:18.927Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-125-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T01:52:19.677Z] /w/workspace/device-gpio/1@tmp/durable-c7b96f38/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-13T01:52:20.381Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-13T01:52:20.418Z] Warning: overwriting stash ‘stack-cost’ [2023-03-13T01:52:20.915Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T01:52:20.931Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-125-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T01:52:21.005Z] $ docker stop --time=1 62c9fff890e9a2420b83c04b60cb7304edc1962f6fa2bb97c094ed905d4756f4 [2023-03-13T01:52:22.778Z] $ docker rm -f --volumes 62c9fff890e9a2420b83c04b60cb7304edc1962f6fa2bb97c094ed905d4756f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-13T01:52:23.484Z] 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-13T01:52:25.456Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-125/archives ] [2023-03-13T01:52:25.456Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-125/archives [2023-03-13T01:52:25.456Z] total 16 [2023-03-13T01:52:25.456Z] drwxr-xr-x 3 root root 4096 Mar 13 01:45 . [2023-03-13T01:52:25.456Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 01:46 .. [2023-03-13T01:52:25.456Z] drwxr-xr-x 2 root root 4096 Mar 13 01:45 cost [2023-03-13T01:52:25.456Z] -rw-r--r-- 1 root root 83 Mar 13 01:45 cost.csv [2023-03-13T01:52:25.456Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-125/archives [2023-03-13T01:52:25.456Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-125/archives [2023-03-13T01:52:25.456Z] total 16 [2023-03-13T01:52:25.456Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 01:45 . [2023-03-13T01:52:25.456Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 01:46 .. [2023-03-13T01:52:25.456Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 01:45 cost [2023-03-13T01:52:25.456Z] -rw-r--r-- 1 jenkins jenkins 83 Mar 13 01:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-13T01:52:25.785Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T01:52:26.681Z] ---> package-listing.sh [2023-03-13T01:52:26.681Z] ++ facter osfamily [2023-03-13T01:52:26.681Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-13T01:52:26.940Z] + OS_FAMILY=debian [2023-03-13T01:52:26.940Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-125 [2023-03-13T01:52:26.940Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-13T01:52:26.940Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-13T01:52:26.940Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-13T01:52:26.940Z] + PACKAGES=/tmp/packages_start.txt [2023-03-13T01:52:26.940Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-125 ']' [2023-03-13T01:52:26.940Z] + PACKAGES=/tmp/packages_end.txt [2023-03-13T01:52:26.940Z] + case "${OS_FAMILY}" in [2023-03-13T01:52:26.940Z] + dpkg -l [2023-03-13T01:52:26.940Z] + grep '^ii' [2023-03-13T01:52:26.940Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-13T01:52:26.940Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-13T01:52:26.940Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-13T01:52:26.940Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-125 ']' [2023-03-13T01:52:26.940Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-125/archives/ [2023-03-13T01:52:26.940Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-125/archives/ [Pipeline] echo [2023-03-13T01:52:26.972Z] 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-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-13T01:52:27.266Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T01:52:27.889Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T01:52:27.889Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T01:52:28.040Z] prd-ubuntu20.04-docker-8c-8g-9813 does not seem to be running inside a container [2023-03-13T01:52:28.073Z] $ 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-125/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-125 -v /w/workspace/edgexfoundry_device-gpio_PR-125:/w/workspace/edgexfoundry_device-gpio_PR-125:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-125@tmp:/w/workspace/edgexfoundry_device-gpio_PR-125@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-13T01:52:28.279Z] $ docker top 87a742c1a827ca549a0a9143bfeedf1cafe1a6d269d02f04e350d86dbfedc6fc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T01:52:28.674Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-13T01:52:28.989Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-13T01:52:29.299Z] + ls /var/log/sa-host [2023-03-13T01:52:29.299Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T01:52:29.519Z] provisioning config files... [2023-03-13T01:52:29.528Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-125@tmp/config3300902613122070877tmp [Pipeline] { [Pipeline] echo [2023-03-13T01:52:29.586Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T01:52:29.902Z] ---> create-netrc.sh [Pipeline] } [2023-03-13T01:52:29.929Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-13T01:52:30.340Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-13T01:52:30.377Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T01:52:30.692Z] ---> sudo-logs.sh [2023-03-13T01:52:30.692Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-13T01:52:30.789Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T01:52:31.120Z] ---> job-cost.sh [2023-03-13T01:52:31.120Z] lf-activate-venv: SKIPPING [2023-03-13T01:52:31.120Z] DEBUG: total: 0.2199999988079071 [2023-03-13T01:52:31.120Z] INFO: Retrieving Stack Cost... [2023-03-13T01:52:31.378Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T01:52:31.640Z] INFO: Archiving Costs [Pipeline] echo [2023-03-13T01:52:31.678Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T01:52:32.000Z] ---> logs-deploy.sh [2023-03-13T01:52:32.000Z] lf-activate-venv: SKIPPING [2023-03-13T01:52:32.000Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-125/1 [2023-03-13T01:52:32.000Z] INFO: archiving workspace using pattern(s): [2023-03-13T01:52:32.939Z] Archives upload complete. [2023-03-13T01:52:33.198Z] INFO: archiving logs to Nexus