Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b19aafbc411bcd63609cf2a8da139e924bfed411+6427482eab3bd2356a4491c722b8795ef3b48a72 (1053adc49c1f174d5fc5989382646cadf950d2fb) 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-ssh12439014706397347150.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-ssh8919208954131633590.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-130/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-130/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3006468935940677308.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 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-ssh8253579814391754631.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-130/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-130/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16000109042545276181.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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-2414 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 6427482eab3bd2356a4491c722b8795ef3b48a72 into PR head commit b19aafbc411bcd63609cf2a8da139e924bfed411 Merge succeeded, producing 448b4cb967c416db0ef7cc83da17e9a6b2e1fda7 Checking out Revision 448b4cb967c416db0ef7cc83da17e9a6b2e1fda7 (PR-130) > 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 6427482eab3bd2356a4491c722b8795ef3b48a72 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 448b4cb967c416db0ef7cc83da17e9a6b2e1fda7 # timeout=10 Commit message: "Merge commit '6427482eab3bd2356a4491c722b8795ef3b48a72' into HEAD" > git rev-list --no-walk b19aafbc411bcd63609cf2a8da139e924bfed411 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-16T13:21:22.453Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-16T13:21:22.494Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-16T13:21:22.509Z] ========================================================= [2023-03-16T13:21:22.509Z] EdgeX Global Pipelines Version Info [2023-03-16T13:21:22.509Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-16T13:21:23.213Z] ------------------- [2023-03-16T13:21:23.213Z] stable info: [2023-03-16T13:21:23.213Z] ------------------- [2023-03-16T13:21:23.213Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-16T13:21:23.213Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-16T13:21:23.213Z] Message: update stable to v1.0.245 [2023-03-16T13:21:23.783Z] ------------------- [2023-03-16T13:21:23.783Z] experimental info: [2023-03-16T13:21:23.783Z] ------------------- [2023-03-16T13:21:23.783Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-16T13:21:23.783Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-16T13:21:23.783Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-16T13:21:23.946Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-03-16T13:21:23.963Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-03-16T13:21:23.980Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-16T13:21:23.990Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-16T13:21:24.003Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-16T13:21:24.015Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-16T13:21:24.026Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-16T13:21:24.037Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-16T13:21:24.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-16T13:21:24.061Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-16T13:21:24.075Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-16T13:21:24.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-03-16T13:21:24.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-16T13:21:24.105Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-16T13:21:24.114Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-16T13:21:24.123Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-16T13:21:24.132Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T13:21:24.141Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T13:21:24.159Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-16T13:21:24.176Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-16T13:21:24.184Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-16T13:21:24.196Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-16T13:21:24.209Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-16T13:21:24.225Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-16T13:21:24.236Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-16T13:21:24.248Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-16T13:21:24.263Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-16T13:21:24.279Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-130 [Pipeline] echo [2023-03-16T13:21:24.288Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-130 [Pipeline] echo [2023-03-16T13:21:24.302Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-130 [Pipeline] echo [2023-03-16T13:21:24.319Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 448b4cb967c416db0ef7cc83da17e9a6b2e1fda7 [Pipeline] echo [2023-03-16T13:21:24.332Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 448b4cb [Pipeline] echo [2023-03-16T13:21:24.346Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T13:21:24.397Z] provisioning config files... [2023-03-16T13:21:24.413Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-130@tmp/config8032859409950823522tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T13:21:24.712Z] ---> docker-login.sh [2023-03-16T13:21:24.712Z] nexus3.edgexfoundry.org:10001 [2023-03-16T13:21:24.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T13:21:24.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T13:21:24.972Z] Configure a credential helper to remove this warning. See [2023-03-16T13:21:24.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T13:21:24.972Z] [2023-03-16T13:21:24.972Z] Login Succeeded [2023-03-16T13:21:24.972Z] nexus3.edgexfoundry.org:10002 [2023-03-16T13:21:24.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T13:21:24.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T13:21:24.972Z] Configure a credential helper to remove this warning. See [2023-03-16T13:21:24.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T13:21:24.972Z] [2023-03-16T13:21:24.972Z] Login Succeeded [2023-03-16T13:21:24.972Z] nexus3.edgexfoundry.org:10003 [2023-03-16T13:21:25.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T13:21:25.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T13:21:25.234Z] Configure a credential helper to remove this warning. See [2023-03-16T13:21:25.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T13:21:25.234Z] [2023-03-16T13:21:25.234Z] Login Succeeded [2023-03-16T13:21:25.234Z] nexus3.edgexfoundry.org:10004 [2023-03-16T13:21:25.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T13:21:25.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T13:21:25.234Z] Configure a credential helper to remove this warning. See [2023-03-16T13:21:25.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T13:21:25.234Z] [2023-03-16T13:21:25.234Z] Login Succeeded [2023-03-16T13:21:25.234Z] docker.io [2023-03-16T13:21:25.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T13:21:25.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T13:21:25.493Z] Configure a credential helper to remove this warning. See [2023-03-16T13:21:25.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T13:21:25.493Z] [2023-03-16T13:21:25.493Z] Login Succeeded [2023-03-16T13:21:25.493Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T13:21:25.500Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-16T13:21:25.878Z] + git rev-list -1 --merges 448b4cb967c416db0ef7cc83da17e9a6b2e1fda7~1..448b4cb967c416db0ef7cc83da17e9a6b2e1fda7 [Pipeline] echo [2023-03-16T13:21:25.916Z] -----------> git rev-list -1 --merges 448b4cb967c416db0ef7cc83da17e9a6b2e1fda7~1..448b4cb967c416db0ef7cc83da17e9a6b2e1fda7 448b4cb967c416db0ef7cc83da17e9a6b2e1fda7 [2023-03-16T13:21:25.916Z] 448b4cb967c416db0ef7cc83da17e9a6b2e1fda7 [false] [Pipeline] sh [2023-03-16T13:21:26.203Z] + git log --format=format:%s -1 448b4cb967c416db0ef7cc83da17e9a6b2e1fda7 [Pipeline] echo [2023-03-16T13:21:26.215Z] ========================================================= [2023-03-16T13:21:26.215Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-16T13:21:26.215Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T13:21:26.571Z] + git log --format=format:%s -1 448b4cb967c416db0ef7cc83da17e9a6b2e1fda7 [Pipeline] echo [2023-03-16T13:21:26.582Z] [semverPrep] GIT_COMMIT: 448b4cb967c416db0ef7cc83da17e9a6b2e1fda7, Commit Message: Merge commit '6427482eab3bd2356a4491c722b8795ef3b48a72' into HEAD [Pipeline] echo [2023-03-16T13:21:26.592Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-16T13:21:26.954Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-16T13:21:26.954Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-16T13:21:26.954Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-16T13:21:26.954Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-16T13:21:26.954Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-16T13:21:26.954Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-16T13:21:26.954Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T13:21:27.366Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T13:21:27.366Z] [2023-03-16T13:21:27.366Z] 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-16T13:21:27.665Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T13:21:27.665Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-16T13:21:27.665Z] b85a868b505f: Pulling fs layer [2023-03-16T13:21:27.665Z] e2be974225ed: Pulling fs layer [2023-03-16T13:21:27.665Z] 339a4e72a1f5: Pulling fs layer [2023-03-16T13:21:27.665Z] 988bab9f4d93: Pulling fs layer [2023-03-16T13:21:27.665Z] 1469e6f7b9e6: Pulling fs layer [2023-03-16T13:21:27.665Z] eaf3925da568: Pulling fs layer [2023-03-16T13:21:27.665Z] bab4dde63d76: Pulling fs layer [2023-03-16T13:21:27.665Z] bde34c3a00c8: Pulling fs layer [2023-03-16T13:21:27.665Z] b352a97aabf1: Pulling fs layer [2023-03-16T13:21:27.665Z] 4872d77fe225: Pulling fs layer [2023-03-16T13:21:27.665Z] 5851b861e8e6: Pulling fs layer [2023-03-16T13:21:27.665Z] bde34c3a00c8: Waiting [2023-03-16T13:21:27.665Z] b352a97aabf1: Waiting [2023-03-16T13:21:27.665Z] 988bab9f4d93: Waiting [2023-03-16T13:21:27.665Z] 4872d77fe225: Waiting [2023-03-16T13:21:27.665Z] 1469e6f7b9e6: Waiting [2023-03-16T13:21:27.665Z] 5851b861e8e6: Waiting [2023-03-16T13:21:27.665Z] bab4dde63d76: Waiting [2023-03-16T13:21:27.665Z] eaf3925da568: Waiting [2023-03-16T13:21:27.665Z] e2be974225ed: Download complete [2023-03-16T13:21:27.665Z] 988bab9f4d93: Download complete [2023-03-16T13:21:27.927Z] 1469e6f7b9e6: Download complete [2023-03-16T13:21:27.927Z] eaf3925da568: Verifying Checksum [2023-03-16T13:21:27.927Z] eaf3925da568: Download complete [2023-03-16T13:21:27.928Z] b85a868b505f: Verifying Checksum [2023-03-16T13:21:27.928Z] b85a868b505f: Download complete [2023-03-16T13:21:27.928Z] bde34c3a00c8: Verifying Checksum [2023-03-16T13:21:27.928Z] bde34c3a00c8: Download complete [2023-03-16T13:21:27.928Z] b352a97aabf1: Download complete [2023-03-16T13:21:28.186Z] 4872d77fe225: Verifying Checksum [2023-03-16T13:21:28.186Z] 4872d77fe225: Download complete [2023-03-16T13:21:28.186Z] 5851b861e8e6: Verifying Checksum [2023-03-16T13:21:28.186Z] 5851b861e8e6: Download complete [2023-03-16T13:21:28.186Z] bab4dde63d76: Verifying Checksum [2023-03-16T13:21:28.186Z] bab4dde63d76: Download complete [2023-03-16T13:21:28.447Z] 339a4e72a1f5: Verifying Checksum [2023-03-16T13:21:28.447Z] 339a4e72a1f5: Download complete [2023-03-16T13:21:29.382Z] b85a868b505f: Pull complete [2023-03-16T13:21:29.382Z] e2be974225ed: Pull complete [2023-03-16T13:21:29.949Z] 339a4e72a1f5: Pull complete [2023-03-16T13:21:29.949Z] 988bab9f4d93: Pull complete [2023-03-16T13:21:30.208Z] 1469e6f7b9e6: Pull complete [2023-03-16T13:21:30.467Z] eaf3925da568: Pull complete [2023-03-16T13:21:32.370Z] bab4dde63d76: Pull complete [2023-03-16T13:21:32.370Z] bde34c3a00c8: Pull complete [2023-03-16T13:21:32.370Z] b352a97aabf1: Pull complete [2023-03-16T13:21:32.370Z] 4872d77fe225: Pull complete [2023-03-16T13:21:32.631Z] 5851b861e8e6: Pull complete [2023-03-16T13:21:32.631Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-16T13:21:32.631Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T13:21:32.631Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T13:21:32.742Z] prd-ubuntu20.04-docker-8c-8g-2414 does not seem to be running inside a container [2023-03-16T13:21:32.758Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-16T13:21:35.647Z] $ docker top 84dccd27df6473ccf4896c6ebb8436898e2a7ee94794e7fbdc4dd16583ca9a16 -eo pid,comm [2023-03-16T13:21:35.719Z] 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-16T13:21:35.719Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-16T13:21:35.752Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T13:21:35.752Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T13:21:35.892Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T13:21:35.880Z] $ docker exec 84dccd27df6473ccf4896c6ebb8436898e2a7ee94794e7fbdc4dd16583ca9a16 ssh-agent [2023-03-16T13:21:36.008Z] SSH_AUTH_SOCK=/tmp/ssh-MZ9o8sdtscjl/agent.32 [2023-03-16T13:21:36.008Z] SSH_AGENT_PID=38 [2023-03-16T13:21:36.016Z] Running ssh-add (command line suppressed) [2023-03-16T13:21:36.104Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-130@tmp/private_key_2141503164480936126.key (/w/workspace/edgexfoundry_device-gpio_PR-130@tmp/private_key_2141503164480936126.key) [2023-03-16T13:21:36.140Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T13:21:36.431Z] + git tag --points-at HEAD [Pipeline] } [2023-03-16T13:21:36.434Z] $ docker exec --env ******** --env ******** 84dccd27df6473ccf4896c6ebb8436898e2a7ee94794e7fbdc4dd16583ca9a16 ssh-agent -k [2023-03-16T13:21:36.542Z] unset SSH_AUTH_SOCK; [2023-03-16T13:21:36.543Z] unset SSH_AGENT_PID; [2023-03-16T13:21:36.543Z] echo Agent pid 38 killed; [2023-03-16T13:21:36.572Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-16T13:21:36.591Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T13:21:36.591Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T13:21:36.711Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T13:21:36.700Z] $ docker exec 84dccd27df6473ccf4896c6ebb8436898e2a7ee94794e7fbdc4dd16583ca9a16 ssh-agent [2023-03-16T13:21:36.820Z] SSH_AUTH_SOCK=/tmp/ssh-LW0e6YQePUsX/agent.70 [2023-03-16T13:21:36.820Z] SSH_AGENT_PID=76 [2023-03-16T13:21:36.825Z] Running ssh-add (command line suppressed) [2023-03-16T13:21:36.911Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-130@tmp/private_key_2992936972802005986.key (/w/workspace/edgexfoundry_device-gpio_PR-130@tmp/private_key_2992936972802005986.key) [2023-03-16T13:21:36.941Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T13:21:37.231Z] + git semver init [2023-03-16T13:21:37.491Z] 2023-03-16 13:21:37,389 [run_init] DEBUG init version:0.0.0 force:False [2023-03-16T13:21:37.491Z] 2023-03-16 13:21:37,390 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-130/.semver [2023-03-16T13:21:37.491Z] 2023-03-16 13:21:37,391 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-130/.semver [2023-03-16T13:21:37.491Z] 2023-03-16 13:21:37,391 [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-16T13:21:38.427Z] 2023-03-16 13:21:38,318 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-130/.git/info/exclude [2023-03-16T13:21:38.427Z] 2023-03-16 13:21:38,319 [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-16T13:21:38.427Z] 2023-03-16 13:21:38,319 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-130/.semver/PR-130 [2023-03-16T13:21:38.427Z] 2023-03-16 13:21:38,324 [execute] INFO git cat-file --batch-check [2023-03-16T13:21:38.427Z] 2023-03-16 13:21:38,324 [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-16T13:21:38.427Z] 2023-03-16 13:21:38,330 [execute] INFO git cat-file --batch [2023-03-16T13:21:38.427Z] 2023-03-16 13:21:38,330 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-130/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T13:21:38.427Z] 2023-03-16 13:21:38,334 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-130/.semver/PR-130 [2023-03-16T13:21:38.427Z] 0.0.0 [Pipeline] } [2023-03-16T13:21:38.423Z] $ docker exec --env ******** --env ******** 84dccd27df6473ccf4896c6ebb8436898e2a7ee94794e7fbdc4dd16583ca9a16 ssh-agent -k [2023-03-16T13:21:38.526Z] unset SSH_AUTH_SOCK; [2023-03-16T13:21:38.526Z] unset SSH_AGENT_PID; [2023-03-16T13:21:38.526Z] echo Agent pid 76 killed; [2023-03-16T13:21:38.550Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-16T13:21:38.855Z] + git semver [Pipeline] } [2023-03-16T13:21:39.116Z] $ docker stop --time=1 84dccd27df6473ccf4896c6ebb8436898e2a7ee94794e7fbdc4dd16583ca9a16 [2023-03-16T13:21:40.436Z] $ docker rm -f --volumes 84dccd27df6473ccf4896c6ebb8436898e2a7ee94794e7fbdc4dd16583ca9a16 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T13:21:40.783Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-16T13:21:40.980Z] Stashed 1 file(s) [Pipeline] echo [2023-03-16T13:21:40.984Z] [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-16T13:21:41.091Z] provisioning config files... [2023-03-16T13:21:41.099Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-130@tmp/config14395229364964937302tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T13:21:41.397Z] ---> docker-login.sh [2023-03-16T13:21:41.398Z] nexus3.edgexfoundry.org:10001 [2023-03-16T13:21:41.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T13:21:41.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T13:21:41.398Z] Configure a credential helper to remove this warning. See [2023-03-16T13:21:41.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T13:21:41.398Z] [2023-03-16T13:21:41.398Z] Login Succeeded [2023-03-16T13:21:41.398Z] nexus3.edgexfoundry.org:10002 [2023-03-16T13:21:41.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T13:21:41.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T13:21:41.398Z] Configure a credential helper to remove this warning. See [2023-03-16T13:21:41.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T13:21:41.398Z] [2023-03-16T13:21:41.398Z] Login Succeeded [2023-03-16T13:21:41.398Z] nexus3.edgexfoundry.org:10003 [2023-03-16T13:21:41.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T13:21:41.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T13:21:41.657Z] Configure a credential helper to remove this warning. See [2023-03-16T13:21:41.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T13:21:41.657Z] [2023-03-16T13:21:41.657Z] Login Succeeded [2023-03-16T13:21:41.657Z] nexus3.edgexfoundry.org:10004 [2023-03-16T13:21:41.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T13:21:41.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T13:21:41.657Z] Configure a credential helper to remove this warning. See [2023-03-16T13:21:41.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T13:21:41.657Z] [2023-03-16T13:21:41.657Z] Login Succeeded [2023-03-16T13:21:41.657Z] docker.io [2023-03-16T13:21:41.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T13:21:41.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T13:21:41.918Z] Configure a credential helper to remove this warning. See [2023-03-16T13:21:41.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T13:21:41.918Z] [2023-03-16T13:21:41.918Z] Login Succeeded [2023-03-16T13:21:41.918Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T13:21:41.929Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T13:21:41.996Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T13:21:42.011Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T13:21:42.021Z] ========================================================= [2023-03-16T13:21:42.021Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-16T13:21:42.021Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T13:21:42.327Z] + 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-16T13:21:42.327Z] Sending build context to Docker daemon 16.02MB [2023-03-16T13:21:42.327Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T13:21:42.327Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-16T13:21:42.327Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-16T13:21:42.327Z] 63b65145d645: Pulling fs layer [2023-03-16T13:21:42.327Z] a2d21d5440eb: Pulling fs layer [2023-03-16T13:21:42.327Z] 935e6c44a52c: Pulling fs layer [2023-03-16T13:21:42.327Z] 94cc34f8dd06: Pulling fs layer [2023-03-16T13:21:42.327Z] 30dea6a524f1: Pulling fs layer [2023-03-16T13:21:42.327Z] a2aff8979fd8: Pulling fs layer [2023-03-16T13:21:42.327Z] 6808be2612f2: Pulling fs layer [2023-03-16T13:21:42.327Z] f25807f1079a: Pulling fs layer [2023-03-16T13:21:42.327Z] 6808be2612f2: Waiting [2023-03-16T13:21:42.327Z] 94cc34f8dd06: Waiting [2023-03-16T13:21:42.327Z] 30dea6a524f1: Waiting [2023-03-16T13:21:42.327Z] a2aff8979fd8: Waiting [2023-03-16T13:21:42.327Z] f25807f1079a: Waiting [2023-03-16T13:21:42.587Z] a2d21d5440eb: Download complete [2023-03-16T13:21:42.587Z] 94cc34f8dd06: Verifying Checksum [2023-03-16T13:21:42.587Z] 94cc34f8dd06: Download complete [2023-03-16T13:21:42.587Z] 30dea6a524f1: Download complete [2023-03-16T13:21:42.587Z] 63b65145d645: Verifying Checksum [2023-03-16T13:21:42.587Z] 63b65145d645: Download complete [2023-03-16T13:21:42.587Z] a2aff8979fd8: Verifying Checksum [2023-03-16T13:21:42.587Z] a2aff8979fd8: Download complete [2023-03-16T13:21:42.848Z] 63b65145d645: Pull complete [2023-03-16T13:21:42.848Z] a2d21d5440eb: Pull complete [2023-03-16T13:21:43.109Z] f25807f1079a: Verifying Checksum [2023-03-16T13:21:43.109Z] f25807f1079a: Download complete [2023-03-16T13:21:43.371Z] 935e6c44a52c: Verifying Checksum [2023-03-16T13:21:43.371Z] 935e6c44a52c: Download complete [2023-03-16T13:21:43.371Z] 6808be2612f2: Verifying Checksum [2023-03-16T13:21:43.371Z] 6808be2612f2: Download complete [2023-03-16T13:21:47.556Z] 935e6c44a52c: Pull complete [2023-03-16T13:21:47.556Z] 94cc34f8dd06: Pull complete [2023-03-16T13:21:47.556Z] 30dea6a524f1: Pull complete [2023-03-16T13:21:47.556Z] a2aff8979fd8: Pull complete [2023-03-16T13:21:49.454Z] 6808be2612f2: Pull complete [2023-03-16T13:21:50.388Z] f25807f1079a: Pull complete [2023-03-16T13:21:50.388Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-16T13:21:50.388Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-16T13:21:50.388Z] ---> 3b553350e43f [2023-03-16T13:21:50.388Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-16T13:21:55.656Z] ---> Running in 1098528e04cd [2023-03-16T13:21:55.656Z] Removing intermediate container 1098528e04cd [2023-03-16T13:21:55.656Z] ---> e121b6418811 [2023-03-16T13:21:55.656Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T13:21:55.656Z] ---> Running in 87ed52dd06e6 [2023-03-16T13:21:55.915Z] Removing intermediate container 87ed52dd06e6 [2023-03-16T13:21:55.915Z] ---> 995dd4ed24de [2023-03-16T13:21:55.915Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-03-16T13:21:55.915Z] ---> Running in f554993068e8 [2023-03-16T13:21:55.915Z] Removing intermediate container f554993068e8 [2023-03-16T13:21:55.915Z] ---> 200fd45ec8a6 [2023-03-16T13:21:55.915Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T13:21:55.915Z] ---> Running in 4e85eaa44805 [2023-03-16T13:21:56.056Z] Still waiting to schedule task [2023-03-16T13:21:56.057Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2412’ is offline [2023-03-16T13:21:56.173Z] Removing intermediate container 4e85eaa44805 [2023-03-16T13:21:56.173Z] ---> 10756c5a5880 [2023-03-16T13:21:56.174Z] Step 7/12 : WORKDIR /device-gpio [2023-03-16T13:21:56.174Z] ---> Running in 8cc914899347 [2023-03-16T13:21:56.174Z] Removing intermediate container 8cc914899347 [2023-03-16T13:21:56.174Z] ---> e7dab367f1f8 [2023-03-16T13:21:56.174Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T13:21:56.174Z] ---> Running in 5bbc89e97653 [2023-03-16T13:21:56.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-16T13:21:56.690Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-16T13:21:56.690Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-16T13:21:56.690Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-16T13:21:56.690Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-16T13:21:56.690Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-16T13:21:56.690Z] Executing busybox-1.35.0-r29.trigger [2023-03-16T13:21:56.948Z] OK: 269 MiB in 57 packages [2023-03-16T13:21:57.206Z] Removing intermediate container 5bbc89e97653 [2023-03-16T13:21:57.206Z] ---> 071d1cc9bb3b [2023-03-16T13:21:57.206Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-16T13:21:57.465Z] ---> 192d6c7e4d1d [2023-03-16T13:21:57.465Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T13:21:57.465Z] ---> Running in 8e2adde44cde [2023-03-16T13:22:24.027Z] Removing intermediate container 8e2adde44cde [2023-03-16T13:22:24.027Z] ---> 75add4443e52 [2023-03-16T13:22:24.027Z] Step 11/12 : COPY . . [2023-03-16T13:22:24.680Z] ---> e1b8f8788d4a [2023-03-16T13:22:24.680Z] Step 12/12 : RUN ${MAKE} [2023-03-16T13:22:24.680Z] ---> Running in 0f984f8807b5 [2023-03-16T13:22:24.938Z] noop [2023-03-16T13:22:25.197Z] Removing intermediate container 0f984f8807b5 [2023-03-16T13:22:25.197Z] ---> bc443c91afbe [2023-03-16T13:22:25.197Z] Successfully built bc443c91afbe [2023-03-16T13:22:25.197Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T13:22:25.503Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T13:22:25.503Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T13:22:25.573Z] prd-ubuntu20.04-docker-8c-8g-2414 does not seem to be running inside a container [2023-03-16T13:22:25.613Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-16T13:22:25.944Z] $ docker top 3f5435974f845e19cad76f8c87a7fd7d270b116b312699b2ae813c9bb044a3c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T13:22:26.281Z] + go version [2023-03-16T13:22:26.281Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-16T13:22:26.296Z] $ docker stop --time=1 3f5435974f845e19cad76f8c87a7fd7d270b116b312699b2ae813c9bb044a3c5 [2023-03-16T13:22:27.570Z] $ docker rm -f --volumes 3f5435974f845e19cad76f8c87a7fd7d270b116b312699b2ae813c9bb044a3c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T13:22:27.960Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T13:22:27.960Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T13:22:28.029Z] prd-ubuntu20.04-docker-8c-8g-2414 does not seem to be running inside a container [2023-03-16T13:22:28.072Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-16T13:22:28.395Z] $ docker top 284e4824afa89ea969d125e6a5253bb7d6b1cae804ee3b518639d0d85e920272 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T13:22:28.737Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-130 [Pipeline] fileExists [Pipeline] sh [2023-03-16T13:22:29.035Z] + make test [2023-03-16T13:22:29.035Z] go test ./... -coverprofile=coverage.out ./... [2023-03-16T13:22:34.305Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-03-16T13:22:44.268Z] # github.com/edgexfoundry/device-gpio/internal/driver [2023-03-16T13:22:44.268Z] internal/driver/config.go:29:24: undefined: service.DriverConfigs [2023-03-16T13:22:44.268Z] internal/driver/config.go:34:24: undefined: service.DriverConfigs [2023-03-16T13:22:44.268Z] FAIL [2023-03-16T13:22:44.268Z] make: *** [Makefile:29: unittest] Error 1 [Pipeline] } [2023-03-16T13:22:44.283Z] $ docker stop --time=1 284e4824afa89ea969d125e6a5253bb7d6b1cae804ee3b518639d0d85e920272 [2023-03-16T13:22:47.876Z] $ docker rm -f --volumes 284e4824afa89ea969d125e6a5253bb7d6b1cae804ee3b518639d0d85e920272 [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-16T13:22:48.388Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T13:22:48.388Z] [2023-03-16T13:22:48.388Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T13:22:48.679Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T13:22:48.679Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-16T13:22:48.679Z] 5eb5b503b376: Pulling fs layer [2023-03-16T13:22:48.679Z] 5c69ac0246d0: Pulling fs layer [2023-03-16T13:22:48.679Z] ec43610c2a17: Pulling fs layer [2023-03-16T13:22:48.679Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-16T13:22:48.679Z] 33b1e0a273af: Pulling fs layer [2023-03-16T13:22:48.679Z] 5d3b04190fa2: Pulling fs layer [2023-03-16T13:22:48.679Z] 2f39f015ded8: Pulling fs layer [2023-03-16T13:22:48.679Z] 33b1e0a273af: Waiting [2023-03-16T13:22:48.679Z] 5d3b04190fa2: Waiting [2023-03-16T13:22:48.679Z] 2f39f015ded8: Waiting [2023-03-16T13:22:48.679Z] 3a2ae6a8a46f: Waiting [2023-03-16T13:22:48.679Z] 5c69ac0246d0: Download complete [2023-03-16T13:22:48.679Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-16T13:22:48.679Z] 3a2ae6a8a46f: Download complete [2023-03-16T13:22:48.937Z] 33b1e0a273af: Verifying Checksum [2023-03-16T13:22:48.937Z] 33b1e0a273af: Download complete [2023-03-16T13:22:48.937Z] ec43610c2a17: Download complete [2023-03-16T13:22:48.937Z] 5d3b04190fa2: Verifying Checksum [2023-03-16T13:22:48.937Z] 5d3b04190fa2: Download complete [2023-03-16T13:22:48.937Z] 5eb5b503b376: Verifying Checksum [2023-03-16T13:22:48.937Z] 5eb5b503b376: Download complete [2023-03-16T13:22:49.503Z] 2f39f015ded8: Download complete [2023-03-16T13:22:50.069Z] 5eb5b503b376: Pull complete [2023-03-16T13:22:50.327Z] 5c69ac0246d0: Pull complete [2023-03-16T13:22:50.585Z] ec43610c2a17: Pull complete [2023-03-16T13:22:50.586Z] 3a2ae6a8a46f: Pull complete [2023-03-16T13:22:50.844Z] 33b1e0a273af: Pull complete [2023-03-16T13:22:51.103Z] 5d3b04190fa2: Pull complete [2023-03-16T13:22:55.292Z] 2f39f015ded8: Pull complete [2023-03-16T13:22:55.292Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-16T13:22:55.292Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T13:22:55.292Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T13:22:55.370Z] prd-ubuntu20.04-docker-8c-8g-2414 does not seem to be running inside a container [2023-03-16T13:22:55.407Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-16T13:22:59.832Z] $ docker top ead116de8fa3c268766ff14161a584c23fdd8e153f240b7c3262fd95932b350d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T13:23:00.187Z] ---> job-cost.sh [2023-03-16T13:23:00.187Z] lf-activate-venv: SKIPPING [2023-03-16T13:23:00.187Z] INFO: No Stack... [2023-03-16T13:23:00.446Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T13:23:00.705Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T13:23:00.989Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-130/archives/cost.csv [2023-03-16T13:23:00.989Z] + cut -d, -f6 [Pipeline] lock [2023-03-16T13:23:01.001Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-130-2-stack-cost] [2023-03-16T13:23:01.009Z] Resource [jenkins-edgexfoundry-device-gpio-PR-130-2-stack-cost] did not exist. Created. [2023-03-16T13:23:01.010Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-130-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T13:23:01.305Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-16T13:23:01.332Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T13:23:01.338Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-130-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T13:23:01.357Z] $ docker stop --time=1 ead116de8fa3c268766ff14161a584c23fdd8e153f240b7c3262fd95932b350d [2023-03-16T13:23:02.503Z] $ docker rm -f --volumes ead116de8fa3c268766ff14161a584c23fdd8e153f240b7c3262fd95932b350d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-16T13:23:02.613Z] Failed in branch amd64 [2023-03-16T13:24:35.314Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2420 in /w/workspace/edgexfoundry_device-gpio_PR-130 [Pipeline] { [Pipeline] ws [2023-03-16T13:24:35.328Z] Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout [2023-03-16T13:24:35.356Z] The recommended git tool is: git [2023-03-16T13:24:41.631Z] using credential edgex-jenkins-ssh [2023-03-16T13:24:41.651Z] Cloning the remote Git repository [2023-03-16T13:24:41.715Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-03-16T13:24:41.846Z] > git init /w/workspace/device-gpio/2 # timeout=10 [2023-03-16T13:24:42.047Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-03-16T13:24:42.049Z] > git --version # timeout=10 [2023-03-16T13:24:42.075Z] > git --version # 'git version 2.25.1' [2023-03-16T13:24:42.078Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T13:24:42.284Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T13:24:44.019Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-03-16T13:24:44.046Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T13:24:45.030Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-03-16T13:24:45.080Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-03-16T13:24:45.082Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T13:24:45.098Z] > 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-16T13:24:45.633Z] Merging remotes/origin/main commit 6427482eab3bd2356a4491c722b8795ef3b48a72 into PR head commit b19aafbc411bcd63609cf2a8da139e924bfed411 [2023-03-16T13:24:45.965Z] Merge succeeded, producing af053f5182e8fdd8834de17488706f0b590e2792 [2023-03-16T13:24:45.965Z] Checking out Revision af053f5182e8fdd8834de17488706f0b590e2792 (PR-130) [2023-03-16T13:24:45.651Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T13:24:45.737Z] > git checkout -f b19aafbc411bcd63609cf2a8da139e924bfed411 # timeout=10 [2023-03-16T13:24:45.823Z] > git remote # timeout=10 [2023-03-16T13:24:45.843Z] > git config --get remote.origin.url # timeout=10 [2023-03-16T13:24:45.865Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T13:24:45.880Z] > git merge 6427482eab3bd2356a4491c722b8795ef3b48a72 # timeout=10 [2023-03-16T13:24:45.939Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-16T13:24:45.973Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T13:24:45.992Z] > git checkout -f af053f5182e8fdd8834de17488706f0b590e2792 # timeout=10 [2023-03-16T13:24:49.522Z] Commit message: "Merge commit '6427482eab3bd2356a4491c722b8795ef3b48a72' into HEAD" [2023-03-16T13:24:49.533Z] > git rev-list --no-walk b19aafbc411bcd63609cf2a8da139e924bfed411 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T13:24:50.487Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-16T13:24:50.487Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-16T13:24:50.487Z] Dload Upload Total Spent Left Speed [2023-03-16T13:24:50.487Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh [2023-03-16T13:24:51.124Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-16T13:24:51.461Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-16T13:24:51.461Z] + sudo tee /etc/docker/daemon.new [2023-03-16T13:24:51.461Z] { [2023-03-16T13:24:51.461Z] "registry-mirrors": [ [2023-03-16T13:24:51.461Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-16T13:24:51.461Z] ], [2023-03-16T13:24:51.461Z] "bip": "10.250.0.254/24", [2023-03-16T13:24:51.461Z] "hosts": [ [2023-03-16T13:24:51.461Z] "tcp://0.0.0.0:5555", [2023-03-16T13:24:51.461Z] "unix:///var/run/docker.sock" [2023-03-16T13:24:51.461Z] ], [2023-03-16T13:24:51.461Z] "mtu": 1458, [2023-03-16T13:24:51.462Z] "selinux-enabled": true, [2023-03-16T13:24:51.462Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-16T13:24:51.462Z] } [Pipeline] sh [2023-03-16T13:24:51.797Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-16T13:24:52.168Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T13:25:10.463Z] provisioning config files... [2023-03-16T13:25:10.493Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config14310088487034491532tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T13:25:10.850Z] ---> docker-login.sh [2023-03-16T13:25:10.850Z] nexus3.edgexfoundry.org:10001 [2023-03-16T13:25:11.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T13:25:11.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T13:25:11.393Z] Configure a credential helper to remove this warning. See [2023-03-16T13:25:11.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T13:25:11.393Z] [2023-03-16T13:25:11.393Z] Login Succeeded [2023-03-16T13:25:11.393Z] nexus3.edgexfoundry.org:10002 [2023-03-16T13:25:11.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T13:25:11.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T13:25:11.932Z] Configure a credential helper to remove this warning. See [2023-03-16T13:25:11.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T13:25:11.932Z] [2023-03-16T13:25:11.932Z] Login Succeeded [2023-03-16T13:25:11.932Z] nexus3.edgexfoundry.org:10003 [2023-03-16T13:25:11.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T13:25:12.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T13:25:12.204Z] Configure a credential helper to remove this warning. See [2023-03-16T13:25:12.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T13:25:12.204Z] [2023-03-16T13:25:12.204Z] Login Succeeded [2023-03-16T13:25:12.204Z] nexus3.edgexfoundry.org:10004 [2023-03-16T13:25:12.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T13:25:12.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T13:25:12.475Z] Configure a credential helper to remove this warning. See [2023-03-16T13:25:12.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T13:25:12.475Z] [2023-03-16T13:25:12.475Z] Login Succeeded [2023-03-16T13:25:12.475Z] docker.io [2023-03-16T13:25:12.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T13:25:13.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T13:25:13.013Z] Configure a credential helper to remove this warning. See [2023-03-16T13:25:13.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T13:25:13.013Z] [2023-03-16T13:25:13.013Z] Login Succeeded [2023-03-16T13:25:13.013Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T13:25:13.026Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T13:25:13.316Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T13:25:13.326Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T13:25:13.333Z] ========================================================= [2023-03-16T13:25:13.333Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-16T13:25:13.333Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T13:25:13.674Z] + 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-16T13:25:13.943Z] Sending build context to Docker daemon 8.093MB [2023-03-16T13:25:13.943Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T13:25:13.943Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-16T13:25:14.216Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-16T13:25:14.216Z] af6eaf76a39c: Pulling fs layer [2023-03-16T13:25:14.216Z] 55522c791124: Pulling fs layer [2023-03-16T13:25:14.216Z] ce5c4a1c91eb: Pulling fs layer [2023-03-16T13:25:14.216Z] 169dfbe0d373: Pulling fs layer [2023-03-16T13:25:14.216Z] e1ff8fa3b103: Pulling fs layer [2023-03-16T13:25:14.216Z] 52ebb69f0ebf: Pulling fs layer [2023-03-16T13:25:14.216Z] 5abe8eddf0d5: Pulling fs layer [2023-03-16T13:25:14.216Z] e1ff8fa3b103: Waiting [2023-03-16T13:25:14.216Z] 52ebb69f0ebf: Waiting [2023-03-16T13:25:14.216Z] 5abe8eddf0d5: Waiting [2023-03-16T13:25:14.216Z] 169dfbe0d373: Waiting [2023-03-16T13:25:14.216Z] 55522c791124: Verifying Checksum [2023-03-16T13:25:14.216Z] 55522c791124: Download complete [2023-03-16T13:25:14.216Z] 169dfbe0d373: Download complete [2023-03-16T13:25:14.216Z] e1ff8fa3b103: Verifying Checksum [2023-03-16T13:25:14.216Z] e1ff8fa3b103: Download complete [2023-03-16T13:25:14.216Z] af6eaf76a39c: Verifying Checksum [2023-03-16T13:25:14.216Z] af6eaf76a39c: Download complete [2023-03-16T13:25:15.209Z] af6eaf76a39c: Pull complete [2023-03-16T13:25:15.484Z] 5abe8eddf0d5: Verifying Checksum [2023-03-16T13:25:15.484Z] 5abe8eddf0d5: Download complete [2023-03-16T13:25:15.754Z] 55522c791124: Pull complete [2023-03-16T13:25:16.726Z] ce5c4a1c91eb: Verifying Checksum [2023-03-16T13:25:16.726Z] ce5c4a1c91eb: Download complete [2023-03-16T13:25:16.726Z] 52ebb69f0ebf: Verifying Checksum [2023-03-16T13:25:16.726Z] 52ebb69f0ebf: Download complete [2023-03-16T13:25:29.071Z] ce5c4a1c91eb: Pull complete [2023-03-16T13:25:29.071Z] 169dfbe0d373: Pull complete [2023-03-16T13:25:29.071Z] e1ff8fa3b103: Pull complete [2023-03-16T13:25:34.449Z] 52ebb69f0ebf: Pull complete [2023-03-16T13:25:35.870Z] 5abe8eddf0d5: Pull complete [2023-03-16T13:25:35.870Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-16T13:25:35.870Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-16T13:25:35.870Z] ---> 6cb57ee374ae [2023-03-16T13:25:35.870Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-16T13:25:37.824Z] ---> Running in 35dba20d7856 [2023-03-16T13:25:37.824Z] Removing intermediate container 35dba20d7856 [2023-03-16T13:25:37.824Z] ---> 25bfb5d92439 [2023-03-16T13:25:37.824Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T13:25:38.094Z] ---> Running in 215314a9c3a7 [2023-03-16T13:25:38.365Z] Removing intermediate container 215314a9c3a7 [2023-03-16T13:25:38.365Z] ---> 5cdc48734367 [2023-03-16T13:25:38.365Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-03-16T13:25:38.365Z] ---> Running in 5fa42ff1b9e0 [2023-03-16T13:25:38.637Z] Removing intermediate container 5fa42ff1b9e0 [2023-03-16T13:25:38.637Z] ---> e2d3f00a9b84 [2023-03-16T13:25:38.637Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T13:25:38.909Z] ---> Running in 4037e0d8f688 [2023-03-16T13:25:39.178Z] Removing intermediate container 4037e0d8f688 [2023-03-16T13:25:39.178Z] ---> 26ab58239f39 [2023-03-16T13:25:39.178Z] Step 7/12 : WORKDIR /device-gpio [2023-03-16T13:25:39.445Z] ---> Running in 928b15bb81d2 [2023-03-16T13:25:39.721Z] Removing intermediate container 928b15bb81d2 [2023-03-16T13:25:39.721Z] ---> 5097b66ba11d [2023-03-16T13:25:39.721Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T13:25:39.721Z] ---> Running in 64c1376e6eb6 [2023-03-16T13:25:41.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-16T13:25:41.730Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-16T13:25:42.698Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-16T13:25:42.969Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-16T13:25:42.969Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-16T13:25:42.969Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-16T13:25:42.969Z] Executing busybox-1.35.0-r29.trigger [2023-03-16T13:25:42.969Z] OK: 268 MiB in 57 packages [2023-03-16T13:25:43.939Z] Removing intermediate container 64c1376e6eb6 [2023-03-16T13:25:43.939Z] ---> 15fdc11ab09b [2023-03-16T13:25:43.939Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-16T13:25:44.532Z] ---> 7130c6864a40 [2023-03-16T13:25:44.532Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T13:25:44.805Z] ---> Running in b6729ae9b2d6 [2023-03-16T13:26:52.838Z] Removing intermediate container b6729ae9b2d6 [2023-03-16T13:26:52.838Z] ---> c080682f3948 [2023-03-16T13:26:52.838Z] Step 11/12 : COPY . . [2023-03-16T13:26:52.838Z] ---> f165ab5afa56 [2023-03-16T13:26:52.838Z] Step 12/12 : RUN ${MAKE} [2023-03-16T13:26:52.838Z] ---> Running in c601d354ed31 [2023-03-16T13:26:52.838Z] noop [2023-03-16T13:26:52.838Z] Removing intermediate container c601d354ed31 [2023-03-16T13:26:52.838Z] ---> 3bbf175a1696 [2023-03-16T13:26:52.838Z] Successfully built 3bbf175a1696 [2023-03-16T13:26:52.838Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T13:26:53.180Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T13:26:53.180Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T13:26:53.388Z] prd-ubuntu20.04-docker-arm64-4c-16g-2420 does not seem to be running inside a container [2023-03-16T13:26:53.462Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-16T13:26:54.677Z] $ docker top c8f9bc344d166f7d4fcf76fc7a7c6c28d20f71841b91e2e9092b8b4bcbcf9cf0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T13:26:55.509Z] + go version [2023-03-16T13:26:55.509Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-16T13:26:55.532Z] $ docker stop --time=1 c8f9bc344d166f7d4fcf76fc7a7c6c28d20f71841b91e2e9092b8b4bcbcf9cf0 [2023-03-16T13:26:57.153Z] $ docker rm -f --volumes c8f9bc344d166f7d4fcf76fc7a7c6c28d20f71841b91e2e9092b8b4bcbcf9cf0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T13:26:57.698Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T13:26:57.698Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T13:26:57.881Z] prd-ubuntu20.04-docker-arm64-4c-16g-2420 does not seem to be running inside a container [2023-03-16T13:26:57.966Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-16T13:26:59.155Z] $ docker top 07fd85cde2322260f1494f455af6daaaa0fbeec0c9f991d859b609bcc707dcd8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T13:27:00.002Z] + git config --global --add safe.directory /w/workspace/device-gpio/2 [Pipeline] fileExists [Pipeline] sh [2023-03-16T13:27:00.341Z] + make test [2023-03-16T13:27:00.342Z] go test ./... -coverprofile=coverage.out ./... [2023-03-16T13:27:39.304Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-03-16T13:29:46.118Z] # github.com/edgexfoundry/device-gpio/internal/driver [2023-03-16T13:29:46.118Z] internal/driver/config.go:29:24: undefined: service.DriverConfigs [2023-03-16T13:29:46.118Z] internal/driver/config.go:34:24: undefined: service.DriverConfigs [2023-03-16T13:29:56.232Z] FAIL [2023-03-16T13:29:56.232Z] make: *** [Makefile:29: unittest] Error 1 [Pipeline] } [2023-03-16T13:29:56.257Z] $ docker stop --time=1 07fd85cde2322260f1494f455af6daaaa0fbeec0c9f991d859b609bcc707dcd8 [2023-03-16T13:29:58.254Z] $ docker rm -f --volumes 07fd85cde2322260f1494f455af6daaaa0fbeec0c9f991d859b609bcc707dcd8 [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-16T13:29:59.557Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T13:29:59.557Z] [2023-03-16T13:29:59.557Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T13:29:59.906Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T13:30:00.179Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-16T13:30:00.179Z] 8998bd30e6a1: Pulling fs layer [2023-03-16T13:30:00.179Z] 04944245beec: Pulling fs layer [2023-03-16T13:30:00.179Z] 699f458cf7ca: Pulling fs layer [2023-03-16T13:30:00.179Z] 765212b225bb: Pulling fs layer [2023-03-16T13:30:00.179Z] f23df028b6ca: Pulling fs layer [2023-03-16T13:30:00.179Z] d65c8cfc05b1: Pulling fs layer [2023-03-16T13:30:00.179Z] 2437ff75d9bd: Pulling fs layer [2023-03-16T13:30:00.179Z] 765212b225bb: Waiting [2023-03-16T13:30:00.179Z] f23df028b6ca: Waiting [2023-03-16T13:30:00.179Z] d65c8cfc05b1: Waiting [2023-03-16T13:30:00.179Z] 2437ff75d9bd: Waiting [2023-03-16T13:30:00.179Z] 04944245beec: Verifying Checksum [2023-03-16T13:30:00.179Z] 04944245beec: Download complete [2023-03-16T13:30:00.179Z] 765212b225bb: Verifying Checksum [2023-03-16T13:30:00.179Z] 765212b225bb: Download complete [2023-03-16T13:30:00.179Z] f23df028b6ca: Download complete [2023-03-16T13:30:00.450Z] d65c8cfc05b1: Verifying Checksum [2023-03-16T13:30:00.450Z] d65c8cfc05b1: Download complete [2023-03-16T13:30:00.450Z] 699f458cf7ca: Verifying Checksum [2023-03-16T13:30:00.450Z] 699f458cf7ca: Download complete [2023-03-16T13:30:01.044Z] 8998bd30e6a1: Verifying Checksum [2023-03-16T13:30:01.044Z] 8998bd30e6a1: Download complete [2023-03-16T13:30:03.655Z] 2437ff75d9bd: Verifying Checksum [2023-03-16T13:30:03.655Z] 2437ff75d9bd: Download complete [2023-03-16T13:30:05.606Z] 8998bd30e6a1: Pull complete [2023-03-16T13:30:06.195Z] 04944245beec: Pull complete [2023-03-16T13:30:08.155Z] 699f458cf7ca: Pull complete [2023-03-16T13:30:08.155Z] 765212b225bb: Pull complete [2023-03-16T13:30:09.126Z] f23df028b6ca: Pull complete [2023-03-16T13:30:09.126Z] d65c8cfc05b1: Pull complete [2023-03-16T13:30:24.156Z] 2437ff75d9bd: Pull complete [2023-03-16T13:30:24.156Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-16T13:30:24.156Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T13:30:24.156Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T13:30:24.366Z] prd-ubuntu20.04-docker-arm64-4c-16g-2420 does not seem to be running inside a container [2023-03-16T13:30:24.452Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-16T13:30:27.878Z] $ docker top 9becbe39a8f9e69febcd789c7b2de423cc0018308899ea9c72752e3e3b3c6e29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T13:30:28.769Z] ---> job-cost.sh [2023-03-16T13:30:28.769Z] lf-activate-venv: SKIPPING [2023-03-16T13:30:28.769Z] INFO: No Stack... [2023-03-16T13:30:29.361Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-16T13:30:29.949Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T13:30:30.605Z] + cat /w/workspace/device-gpio/2/archives/cost.csv [2023-03-16T13:30:30.605Z] + cut -d, -f6 [Pipeline] lock [2023-03-16T13:30:30.686Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-130-2-stack-cost] [2023-03-16T13:30:30.693Z] Resource [jenkins-edgexfoundry-device-gpio-PR-130-2-stack-cost] did not exist. Created. [2023-03-16T13:30:30.693Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-130-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T13:30:31.372Z] /w/workspace/device-gpio/2@tmp/durable-91306490/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-16T13:30:32.032Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-16T13:30:32.050Z] Warning: overwriting stash ‘stack-cost’ [2023-03-16T13:30:32.769Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T13:30:32.776Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-130-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T13:30:32.799Z] $ docker stop --time=1 9becbe39a8f9e69febcd789c7b2de423cc0018308899ea9c72752e3e3b3c6e29 [2023-03-16T13:30:34.633Z] $ docker rm -f --volumes 9becbe39a8f9e69febcd789c7b2de423cc0018308899ea9c72752e3e3b3c6e29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-16T13:30:34.888Z] 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-16T13:30:35.529Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-130/archives ] [2023-03-16T13:30:35.529Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-130/archives [2023-03-16T13:30:35.529Z] total 16 [2023-03-16T13:30:35.529Z] drwxr-xr-x 3 root root 4096 Mar 16 13:23 . [2023-03-16T13:30:35.529Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 13:23 .. [2023-03-16T13:30:35.529Z] drwxr-xr-x 2 root root 4096 Mar 16 13:23 cost [2023-03-16T13:30:35.529Z] -rw-r--r-- 1 root root 83 Mar 16 13:23 cost.csv [2023-03-16T13:30:35.529Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-130/archives [2023-03-16T13:30:35.529Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-130/archives [2023-03-16T13:30:35.529Z] total 16 [2023-03-16T13:30:35.529Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 13:23 . [2023-03-16T13:30:35.529Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 13:23 .. [2023-03-16T13:30:35.529Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 13:23 cost [2023-03-16T13:30:35.529Z] -rw-r--r-- 1 jenkins jenkins 83 Mar 16 13:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-16T13:30:35.818Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T13:30:36.677Z] ---> package-listing.sh [2023-03-16T13:30:36.678Z] ++ facter osfamily [2023-03-16T13:30:36.678Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-16T13:30:36.936Z] + OS_FAMILY=debian [2023-03-16T13:30:36.936Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-130 [2023-03-16T13:30:36.936Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-16T13:30:36.936Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-16T13:30:36.936Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-16T13:30:36.936Z] + PACKAGES=/tmp/packages_start.txt [2023-03-16T13:30:36.936Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-130 ']' [2023-03-16T13:30:36.936Z] + PACKAGES=/tmp/packages_end.txt [2023-03-16T13:30:36.936Z] + case "${OS_FAMILY}" in [2023-03-16T13:30:36.936Z] + dpkg -l [2023-03-16T13:30:36.936Z] + grep '^ii' [2023-03-16T13:30:36.936Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-16T13:30:36.936Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-16T13:30:36.936Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-16T13:30:36.936Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-130 ']' [2023-03-16T13:30:36.936Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-130/archives/ [2023-03-16T13:30:36.936Z] + 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-16T13:30:36.947Z] 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-16T13:30:37.225Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T13:30:37.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T13:30:37.523Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T13:30:37.587Z] prd-ubuntu20.04-docker-8c-8g-2414 does not seem to be running inside a container [2023-03-16T13:30:37.625Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-16T13:30:37.806Z] $ docker top 04530ea903cc13a10a061466325721b6f86c595314a910da250e26cf94b46ece -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T13:30:38.126Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-16T13:30:38.409Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-16T13:30:38.693Z] + ls /var/log/sa-host [2023-03-16T13:30:38.693Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T13:30:38.755Z] provisioning config files... [2023-03-16T13:30:38.763Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-130@tmp/config3893714345895079462tmp [Pipeline] { [Pipeline] echo [2023-03-16T13:30:38.774Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T13:30:39.064Z] ---> create-netrc.sh [Pipeline] } [2023-03-16T13:30:39.072Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-16T13:30:39.406Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-16T13:30:39.415Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T13:30:39.696Z] ---> sudo-logs.sh [2023-03-16T13:30:39.696Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-16T13:30:39.726Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T13:30:40.006Z] ---> job-cost.sh [2023-03-16T13:30:40.006Z] lf-activate-venv: SKIPPING [2023-03-16T13:30:40.006Z] DEBUG: total: 0.2199999988079071 [2023-03-16T13:30:40.006Z] INFO: Retrieving Stack Cost... [2023-03-16T13:30:40.265Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T13:30:40.523Z] INFO: Archiving Costs [Pipeline] echo [2023-03-16T13:30:40.533Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T13:30:40.810Z] ---> logs-deploy.sh [2023-03-16T13:30:40.810Z] lf-activate-venv: SKIPPING [2023-03-16T13:30:40.810Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-130/2 [2023-03-16T13:30:40.810Z] INFO: archiving workspace using pattern(s): [2023-03-16T13:30:41.746Z] Archives upload complete. [2023-03-16T13:30:41.746Z] INFO: archiving logs to Nexus