Pull request #61 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 27902db895a7fe75aa234fef7f82645cf4d73401+569473615fb9befb8fb7c39be4b8603efd71ba81 (30008b586f938aa535fc5777fabf3f29e03285da) 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-ssh8033881336263939245.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh10100405600355472556.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-61/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-61/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3286097173591584442.key Verifying host key using known hosts file > 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-61/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13620383025438540197.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh978149274107619326.key Verifying host key using known hosts file > 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-61/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-61/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh333787350721645705.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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 ‘prd-ubuntu20.04-docker-8c-8g-7978’ Running on prd-ubuntu20.04-docker-8c-8g-7984 in /w/workspace/edgexfoundry_device-gpio_PR-61 [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-61 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/61/head:refs/remotes/origin/PR-61 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 569473615fb9befb8fb7c39be4b8603efd71ba81 into PR head commit 27902db895a7fe75aa234fef7f82645cf4d73401 Merge succeeded, producing 27902db895a7fe75aa234fef7f82645cf4d73401 Checking out Revision 27902db895a7fe75aa234fef7f82645cf4d73401 (PR-61) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 27902db895a7fe75aa234fef7f82645cf4d73401 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 569473615fb9befb8fb7c39be4b8603efd71ba81 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 27902db895a7fe75aa234fef7f82645cf4d73401 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-17T01:06:58.217Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-17T01:06:58.431Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-17T01:06:58.530Z] ========================================================= [2022-10-17T01:06:58.530Z] EdgeX Global Pipelines Version Info [2022-10-17T01:06:58.530Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-17T01:06:59.273Z] ------------------- [2022-10-17T01:06:59.273Z] stable info: [2022-10-17T01:06:59.273Z] ------------------- [2022-10-17T01:06:59.273Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-17T01:06:59.273Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-17T01:06:59.273Z] Message: update stable to v1.0.239 [2022-10-17T01:06:59.846Z] ------------------- [2022-10-17T01:06:59.846Z] experimental info: [2022-10-17T01:06:59.846Z] ------------------- [2022-10-17T01:06:59.846Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-17T01:06:59.846Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-17T01:06:59.846Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-17T01:07:00.187Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-10-17T01:07:00.229Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-10-17T01:07:00.269Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-17T01:07:00.310Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-17T01:07:00.349Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-17T01:07:00.389Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-17T01:07:00.429Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-17T01:07:00.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-17T01:07:00.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-17T01:07:00.555Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-17T01:07:00.598Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-17T01:07:00.641Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-10-17T01:07:00.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-17T01:07:00.799Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-17T01:07:00.872Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-17T01:07:00.918Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-17T01:07:00.957Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T01:07:00.997Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T01:07:01.111Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-17T01:07:01.225Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-17T01:07:01.265Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-17T01:07:01.311Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-17T01:07:01.358Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-17T01:07:01.408Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-17T01:07:01.450Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-17T01:07:01.498Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-17T01:07:01.542Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-17T01:07:01.594Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-61 [Pipeline] echo [2022-10-17T01:07:01.637Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-61 [Pipeline] echo [2022-10-17T01:07:01.678Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-61 [Pipeline] echo [2022-10-17T01:07:01.726Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 27902db895a7fe75aa234fef7f82645cf4d73401 [Pipeline] echo [2022-10-17T01:07:01.771Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 27902db [Pipeline] echo [2022-10-17T01:07:01.812Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T01:07:01.936Z] provisioning config files... [2022-10-17T01:07:01.952Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-61@tmp/config3658286202951319870tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T01:07:02.298Z] ---> docker-login.sh [2022-10-17T01:07:02.298Z] nexus3.edgexfoundry.org:10001 [2022-10-17T01:07:02.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T01:07:02.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T01:07:02.558Z] Configure a credential helper to remove this warning. See [2022-10-17T01:07:02.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T01:07:02.558Z] [2022-10-17T01:07:02.558Z] Login Succeeded [2022-10-17T01:07:02.558Z] nexus3.edgexfoundry.org:10002 [2022-10-17T01:07:02.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T01:07:02.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T01:07:02.823Z] Configure a credential helper to remove this warning. See [2022-10-17T01:07:02.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T01:07:02.823Z] [2022-10-17T01:07:02.823Z] Login Succeeded [2022-10-17T01:07:02.823Z] nexus3.edgexfoundry.org:10003 [2022-10-17T01:07:02.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T01:07:02.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T01:07:02.823Z] Configure a credential helper to remove this warning. See [2022-10-17T01:07:02.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T01:07:02.823Z] [2022-10-17T01:07:02.823Z] Login Succeeded [2022-10-17T01:07:02.823Z] nexus3.edgexfoundry.org:10004 [2022-10-17T01:07:02.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T01:07:03.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T01:07:03.086Z] Configure a credential helper to remove this warning. See [2022-10-17T01:07:03.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T01:07:03.086Z] [2022-10-17T01:07:03.086Z] Login Succeeded [2022-10-17T01:07:03.086Z] docker.io [2022-10-17T01:07:03.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T01:07:03.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T01:07:03.346Z] Configure a credential helper to remove this warning. See [2022-10-17T01:07:03.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T01:07:03.346Z] [2022-10-17T01:07:03.346Z] Login Succeeded [2022-10-17T01:07:03.346Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T01:07:03.376Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-17T01:07:04.051Z] + git rev-list -1 --merges 27902db895a7fe75aa234fef7f82645cf4d73401~1..27902db895a7fe75aa234fef7f82645cf4d73401 [Pipeline] echo [2022-10-17T01:07:04.106Z] -----------> git rev-list -1 --merges 27902db895a7fe75aa234fef7f82645cf4d73401~1..27902db895a7fe75aa234fef7f82645cf4d73401 27902db895a7fe75aa234fef7f82645cf4d73401 [false] [Pipeline] sh [2022-10-17T01:07:04.418Z] + git log --format=format:%s -1 27902db895a7fe75aa234fef7f82645cf4d73401 [Pipeline] echo [2022-10-17T01:07:04.459Z] ========================================================= [2022-10-17T01:07:04.460Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-17T01:07:04.460Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T01:07:04.922Z] + git log --format=format:%s -1 27902db895a7fe75aa234fef7f82645cf4d73401 [Pipeline] echo [2022-10-17T01:07:04.953Z] [semverPrep] GIT_COMMIT: 27902db895a7fe75aa234fef7f82645cf4d73401, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-10-17T01:07:04.983Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-17T01:07:05.374Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-17T01:07:05.374Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-17T01:07:05.374Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-17T01:07:05.374Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-17T01:07:05.374Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-17T01:07:05.374Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-17T01:07:05.374Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T01:07:05.892Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T01:07:05.892Z] [2022-10-17T01:07:05.892Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T01:07:06.273Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T01:07:06.273Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-17T01:07:06.273Z] b85a868b505f: Pulling fs layer [2022-10-17T01:07:06.273Z] e2be974225ed: Pulling fs layer [2022-10-17T01:07:06.273Z] 339a4e72a1f5: Pulling fs layer [2022-10-17T01:07:06.273Z] 988bab9f4d93: Pulling fs layer [2022-10-17T01:07:06.273Z] 1469e6f7b9e6: Pulling fs layer [2022-10-17T01:07:06.273Z] eaf3925da568: Pulling fs layer [2022-10-17T01:07:06.273Z] bab4dde63d76: Pulling fs layer [2022-10-17T01:07:06.273Z] bde34c3a00c8: Pulling fs layer [2022-10-17T01:07:06.273Z] b352a97aabf1: Pulling fs layer [2022-10-17T01:07:06.273Z] 4872d77fe225: Pulling fs layer [2022-10-17T01:07:06.273Z] 5851b861e8e6: Pulling fs layer [2022-10-17T01:07:06.273Z] 5851b861e8e6: Waiting [2022-10-17T01:07:06.273Z] bde34c3a00c8: Waiting [2022-10-17T01:07:06.273Z] 1469e6f7b9e6: Waiting [2022-10-17T01:07:06.273Z] eaf3925da568: Waiting [2022-10-17T01:07:06.273Z] 4872d77fe225: Waiting [2022-10-17T01:07:06.273Z] 988bab9f4d93: Waiting [2022-10-17T01:07:06.273Z] bab4dde63d76: Waiting [2022-10-17T01:07:06.273Z] b352a97aabf1: Waiting [2022-10-17T01:07:06.273Z] e2be974225ed: Verifying Checksum [2022-10-17T01:07:06.273Z] e2be974225ed: Download complete [2022-10-17T01:07:06.273Z] 988bab9f4d93: Verifying Checksum [2022-10-17T01:07:06.273Z] 988bab9f4d93: Download complete [2022-10-17T01:07:06.535Z] 1469e6f7b9e6: Verifying Checksum [2022-10-17T01:07:06.535Z] 1469e6f7b9e6: Download complete [2022-10-17T01:07:06.535Z] eaf3925da568: Download complete [2022-10-17T01:07:06.535Z] 339a4e72a1f5: Verifying Checksum [2022-10-17T01:07:06.535Z] 339a4e72a1f5: Download complete [2022-10-17T01:07:06.535Z] bde34c3a00c8: Verifying Checksum [2022-10-17T01:07:06.535Z] bde34c3a00c8: Download complete [2022-10-17T01:07:06.535Z] b352a97aabf1: Download complete [2022-10-17T01:07:06.535Z] 4872d77fe225: Download complete [2022-10-17T01:07:06.535Z] 5851b861e8e6: Verifying Checksum [2022-10-17T01:07:06.535Z] 5851b861e8e6: Download complete [2022-10-17T01:07:06.535Z] b85a868b505f: Download complete [2022-10-17T01:07:06.795Z] bab4dde63d76: Verifying Checksum [2022-10-17T01:07:06.795Z] bab4dde63d76: Download complete [2022-10-17T01:07:07.732Z] b85a868b505f: Pull complete [2022-10-17T01:07:07.992Z] e2be974225ed: Pull complete [2022-10-17T01:07:08.563Z] 339a4e72a1f5: Pull complete [2022-10-17T01:07:08.563Z] 988bab9f4d93: Pull complete [2022-10-17T01:07:08.822Z] 1469e6f7b9e6: Pull complete [2022-10-17T01:07:08.822Z] eaf3925da568: Pull complete [2022-10-17T01:07:10.729Z] bab4dde63d76: Pull complete [2022-10-17T01:07:10.729Z] bde34c3a00c8: Pull complete [2022-10-17T01:07:10.993Z] b352a97aabf1: Pull complete [2022-10-17T01:07:10.993Z] 4872d77fe225: Pull complete [2022-10-17T01:07:10.993Z] 5851b861e8e6: Pull complete [2022-10-17T01:07:10.993Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-17T01:07:10.993Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T01:07:10.993Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T01:07:11.231Z] prd-ubuntu20.04-docker-8c-8g-7984 does not seem to be running inside a container [2022-10-17T01:07:11.267Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-61 -v /w/workspace/edgexfoundry_device-gpio_PR-61:/w/workspace/edgexfoundry_device-gpio_PR-61:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-61@tmp:/w/workspace/edgexfoundry_device-gpio_PR-61@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 [2022-10-17T01:07:12.879Z] $ docker top 8e5079005218377aa3b4a18573f6ab8b83a07ebe98097a1c3fb25126fe3ce456 -eo pid,comm [2022-10-17T01:07:12.928Z] 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). [2022-10-17T01:07:12.928Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-17T01:07:13.068Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T01:07:13.068Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T01:07:13.191Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T01:07:13.197Z] $ docker exec 8e5079005218377aa3b4a18573f6ab8b83a07ebe98097a1c3fb25126fe3ce456 ssh-agent [2022-10-17T01:07:13.305Z] SSH_AUTH_SOCK=/tmp/ssh-rixsPHaEe3ho/agent.31 [2022-10-17T01:07:13.305Z] SSH_AGENT_PID=37 [2022-10-17T01:07:13.312Z] Running ssh-add (command line suppressed) [2022-10-17T01:07:13.414Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-61@tmp/private_key_6364248031591176360.key (/w/workspace/edgexfoundry_device-gpio_PR-61@tmp/private_key_6364248031591176360.key) [2022-10-17T01:07:13.427Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T01:07:13.759Z] + git tag --points-at HEAD [Pipeline] } [2022-10-17T01:07:13.796Z] $ docker exec --env ******** --env ******** 8e5079005218377aa3b4a18573f6ab8b83a07ebe98097a1c3fb25126fe3ce456 ssh-agent -k [2022-10-17T01:07:13.900Z] unset SSH_AUTH_SOCK; [2022-10-17T01:07:13.900Z] unset SSH_AGENT_PID; [2022-10-17T01:07:13.900Z] echo Agent pid 37 killed; [2022-10-17T01:07:13.910Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-17T01:07:14.013Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T01:07:14.013Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T01:07:14.130Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T01:07:14.136Z] $ docker exec 8e5079005218377aa3b4a18573f6ab8b83a07ebe98097a1c3fb25126fe3ce456 ssh-agent [2022-10-17T01:07:14.256Z] SSH_AUTH_SOCK=/tmp/ssh-M13IClUBQRoB/agent.69 [2022-10-17T01:07:14.256Z] SSH_AGENT_PID=75 [2022-10-17T01:07:14.261Z] Running ssh-add (command line suppressed) [2022-10-17T01:07:14.368Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-61@tmp/private_key_11021902090746699865.key (/w/workspace/edgexfoundry_device-gpio_PR-61@tmp/private_key_11021902090746699865.key) [2022-10-17T01:07:14.381Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T01:07:14.811Z] + git semver init [2022-10-17T01:07:15.071Z] 2022-10-17 01:07:15,003 [run_init] DEBUG init version:0.0.0 force:False [2022-10-17T01:07:15.071Z] 2022-10-17 01:07:15,003 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-61/.semver [2022-10-17T01:07:15.072Z] 2022-10-17 01:07:15,004 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-61/.semver [2022-10-17T01:07:15.072Z] 2022-10-17 01:07:15,004 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-61/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-61, universal_newlines=False, shell=None, istream=None) [2022-10-17T01:07:16.450Z] 2022-10-17 01:07:16,021 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-61/.git/info/exclude [2022-10-17T01:07:16.450Z] 2022-10-17 01:07:16,022 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-61/.semver/PR-61 with force:False [2022-10-17T01:07:16.450Z] 2022-10-17 01:07:16,022 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-61/.semver/PR-61 [2022-10-17T01:07:16.450Z] 2022-10-17 01:07:16,026 [execute] INFO git cat-file --batch-check [2022-10-17T01:07:16.450Z] 2022-10-17 01:07:16,026 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-61/.semver, universal_newlines=False, shell=None, istream=) [2022-10-17T01:07:16.450Z] 2022-10-17 01:07:16,032 [execute] INFO git cat-file --batch [2022-10-17T01:07:16.450Z] 2022-10-17 01:07:16,033 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-61/.semver, universal_newlines=False, shell=None, istream=) [2022-10-17T01:07:16.450Z] 2022-10-17 01:07:16,036 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-61/.semver/PR-61 [2022-10-17T01:07:16.450Z] 0.0.0 [Pipeline] } [2022-10-17T01:07:16.480Z] $ docker exec --env ******** --env ******** 8e5079005218377aa3b4a18573f6ab8b83a07ebe98097a1c3fb25126fe3ce456 ssh-agent -k [2022-10-17T01:07:16.569Z] unset SSH_AUTH_SOCK; [2022-10-17T01:07:16.570Z] unset SSH_AGENT_PID; [2022-10-17T01:07:16.570Z] echo Agent pid 75 killed; [2022-10-17T01:07:16.576Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-17T01:07:17.019Z] + git semver [Pipeline] } [2022-10-17T01:07:17.316Z] $ docker stop --time=1 8e5079005218377aa3b4a18573f6ab8b83a07ebe98097a1c3fb25126fe3ce456 [2022-10-17T01:07:18.654Z] $ docker rm -f 8e5079005218377aa3b4a18573f6ab8b83a07ebe98097a1c3fb25126fe3ce456 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T01:07:19.049Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-17T01:07:19.291Z] Stashed 1 file(s) [Pipeline] echo [2022-10-17T01:07:19.309Z] [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 [2022-10-17T01:07:19.949Z] provisioning config files... [2022-10-17T01:07:19.960Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-61@tmp/config15626312634185987428tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T01:07:20.321Z] ---> docker-login.sh [2022-10-17T01:07:20.321Z] nexus3.edgexfoundry.org:10001 [2022-10-17T01:07:20.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T01:07:20.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T01:07:20.321Z] Configure a credential helper to remove this warning. See [2022-10-17T01:07:20.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T01:07:20.321Z] [2022-10-17T01:07:20.321Z] Login Succeeded [2022-10-17T01:07:20.321Z] nexus3.edgexfoundry.org:10002 [2022-10-17T01:07:20.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T01:07:20.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T01:07:20.321Z] Configure a credential helper to remove this warning. See [2022-10-17T01:07:20.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T01:07:20.321Z] [2022-10-17T01:07:20.321Z] Login Succeeded [2022-10-17T01:07:20.321Z] nexus3.edgexfoundry.org:10003 [2022-10-17T01:07:20.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T01:07:20.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T01:07:20.581Z] Configure a credential helper to remove this warning. See [2022-10-17T01:07:20.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T01:07:20.581Z] [2022-10-17T01:07:20.581Z] Login Succeeded [2022-10-17T01:07:20.582Z] nexus3.edgexfoundry.org:10004 [2022-10-17T01:07:20.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T01:07:20.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T01:07:20.582Z] Configure a credential helper to remove this warning. See [2022-10-17T01:07:20.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T01:07:20.582Z] [2022-10-17T01:07:20.582Z] Login Succeeded [2022-10-17T01:07:20.582Z] docker.io [2022-10-17T01:07:20.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T01:07:21.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T01:07:21.104Z] Configure a credential helper to remove this warning. See [2022-10-17T01:07:21.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T01:07:21.104Z] [2022-10-17T01:07:21.104Z] Login Succeeded [2022-10-17T01:07:21.104Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T01:07:21.140Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-17T01:07:21.334Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T01:07:21.367Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T01:07:21.401Z] ========================================================= [2022-10-17T01:07:21.401Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-17T01:07:21.401Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T01:07:21.890Z] + 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 . [2022-10-17T01:07:21.890Z] Sending build context to Docker daemon 15.86MB [2022-10-17T01:07:21.890Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T01:07:21.890Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-17T01:07:21.890Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-17T01:07:21.890Z] 213ec9aee27d: Pulling fs layer [2022-10-17T01:07:21.890Z] 4583459ba037: Pulling fs layer [2022-10-17T01:07:21.890Z] 93c1e223e6f2: Pulling fs layer [2022-10-17T01:07:21.890Z] 53926ce57604: Pulling fs layer [2022-10-17T01:07:21.890Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-17T01:07:21.890Z] 30f14e443154: Pulling fs layer [2022-10-17T01:07:21.890Z] 801331c1e519: Pulling fs layer [2022-10-17T01:07:21.890Z] 99cc6dd402b0: Pulling fs layer [2022-10-17T01:07:21.890Z] 7d9ed39f4882: Pulling fs layer [2022-10-17T01:07:21.890Z] 53926ce57604: Waiting [2022-10-17T01:07:21.890Z] 21b2b0c7a3f4: Waiting [2022-10-17T01:07:21.890Z] 30f14e443154: Waiting [2022-10-17T01:07:21.890Z] 801331c1e519: Waiting [2022-10-17T01:07:21.890Z] 99cc6dd402b0: Waiting [2022-10-17T01:07:21.890Z] 7d9ed39f4882: Waiting [2022-10-17T01:07:22.152Z] 93c1e223e6f2: Verifying Checksum [2022-10-17T01:07:22.152Z] 93c1e223e6f2: Download complete [2022-10-17T01:07:22.152Z] 4583459ba037: Verifying Checksum [2022-10-17T01:07:22.152Z] 4583459ba037: Download complete [2022-10-17T01:07:22.152Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-17T01:07:22.152Z] 21b2b0c7a3f4: Download complete [2022-10-17T01:07:22.152Z] 30f14e443154: Verifying Checksum [2022-10-17T01:07:22.152Z] 30f14e443154: Download complete [2022-10-17T01:07:22.152Z] 213ec9aee27d: Verifying Checksum [2022-10-17T01:07:22.152Z] 213ec9aee27d: Download complete [2022-10-17T01:07:22.152Z] 801331c1e519: Verifying Checksum [2022-10-17T01:07:22.152Z] 801331c1e519: Download complete [2022-10-17T01:07:22.152Z] 213ec9aee27d: Pull complete [2022-10-17T01:07:22.412Z] 4583459ba037: Pull complete [2022-10-17T01:07:22.412Z] 93c1e223e6f2: Pull complete [2022-10-17T01:07:22.980Z] 7d9ed39f4882: Verifying Checksum [2022-10-17T01:07:22.980Z] 7d9ed39f4882: Download complete [2022-10-17T01:07:23.239Z] 99cc6dd402b0: Verifying Checksum [2022-10-17T01:07:23.239Z] 99cc6dd402b0: Download complete [2022-10-17T01:07:23.239Z] 53926ce57604: Verifying Checksum [2022-10-17T01:07:23.239Z] 53926ce57604: Download complete [2022-10-17T01:07:27.430Z] 53926ce57604: Pull complete [2022-10-17T01:07:27.430Z] 21b2b0c7a3f4: Pull complete [2022-10-17T01:07:27.430Z] 30f14e443154: Pull complete [2022-10-17T01:07:27.430Z] 801331c1e519: Pull complete [2022-10-17T01:07:28.804Z] 99cc6dd402b0: Pull complete [2022-10-17T01:07:29.738Z] 7d9ed39f4882: Pull complete [2022-10-17T01:07:29.738Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-17T01:07:29.738Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-17T01:07:29.738Z] ---> 1dedd983c030 [2022-10-17T01:07:29.738Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-17T01:07:31.648Z] ---> Running in 7b319cc26790 [2022-10-17T01:07:31.648Z] Removing intermediate container 7b319cc26790 [2022-10-17T01:07:31.648Z] ---> 3d3479a9e3c6 [2022-10-17T01:07:31.648Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T01:07:31.648Z] ---> Running in 11cb5b677007 [2022-10-17T01:07:31.907Z] Removing intermediate container 11cb5b677007 [2022-10-17T01:07:31.907Z] ---> 495b44a84415 [2022-10-17T01:07:31.907Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T01:07:31.907Z] ---> Running in dda248676cf3 [2022-10-17T01:07:31.907Z] Removing intermediate container dda248676cf3 [2022-10-17T01:07:31.907Z] ---> 4e800a6c2603 [2022-10-17T01:07:31.907Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T01:07:32.166Z] ---> Running in e99ee642bd98 [2022-10-17T01:07:32.166Z] Removing intermediate container e99ee642bd98 [2022-10-17T01:07:32.166Z] ---> 1c2325598d75 [2022-10-17T01:07:32.166Z] Step 7/13 : WORKDIR /device-gpio [2022-10-17T01:07:32.166Z] ---> Running in ad85bb0298fe [2022-10-17T01:07:32.424Z] Removing intermediate container ad85bb0298fe [2022-10-17T01:07:32.424Z] ---> 7608f21b7688 [2022-10-17T01:07:32.424Z] Step 8/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T01:07:32.424Z] ---> Running in 58cb565f4ff2 [2022-10-17T01:07:32.990Z] Removing intermediate container 58cb565f4ff2 [2022-10-17T01:07:32.990Z] ---> 10638f1e5836 [2022-10-17T01:07:32.990Z] Step 9/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T01:07:32.990Z] ---> Running in e99cdd23a50f [2022-10-17T01:07:33.249Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T01:07:34.186Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T01:07:34.445Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-17T01:07:34.704Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-17T01:07:34.704Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-17T01:07:34.735Z] Still waiting to schedule task [2022-10-17T01:07:34.735Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7982’ [2022-10-17T01:07:34.964Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-17T01:07:34.964Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T01:07:34.964Z] OK: 216 MiB in 55 packages [2022-10-17T01:07:35.532Z] Removing intermediate container e99cdd23a50f [2022-10-17T01:07:35.532Z] ---> 5e15252a2906 [2022-10-17T01:07:35.532Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-17T01:07:35.532Z] ---> 370fed7ee055 [2022-10-17T01:07:35.532Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T01:07:35.532Z] ---> Running in 411a07e0d417 [2022-10-17T01:07:57.492Z] Removing intermediate container 411a07e0d417 [2022-10-17T01:07:57.492Z] ---> 481b393cc34b [2022-10-17T01:07:57.492Z] Step 12/13 : COPY . . [2022-10-17T01:07:57.492Z] ---> 51ccd712074f [2022-10-17T01:07:57.492Z] Step 13/13 : RUN ${MAKE} [2022-10-17T01:07:57.492Z] ---> Running in 228948703c14 [2022-10-17T01:07:57.492Z] noop [2022-10-17T01:07:57.492Z] Removing intermediate container 228948703c14 [2022-10-17T01:07:57.492Z] ---> a863cc85391c [2022-10-17T01:07:57.492Z] Successfully built a863cc85391c [2022-10-17T01:07:57.492Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T01:07:57.938Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-17T01:07:57.938Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T01:07:58.091Z] prd-ubuntu20.04-docker-8c-8g-7984 does not seem to be running inside a container [2022-10-17T01:07:58.121Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-61 -v /w/workspace/edgexfoundry_device-gpio_PR-61:/w/workspace/edgexfoundry_device-gpio_PR-61:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-61@tmp:/w/workspace/edgexfoundry_device-gpio_PR-61@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 [2022-10-17T01:07:58.513Z] $ docker top f4e484c5d18e229087b95f24e90880afddfa30fd7994f9ea1ce61a9dc4488961 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T01:07:58.899Z] + go version [2022-10-17T01:07:58.899Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-17T01:07:58.936Z] $ docker stop --time=1 f4e484c5d18e229087b95f24e90880afddfa30fd7994f9ea1ce61a9dc4488961 [2022-10-17T01:08:00.237Z] $ docker rm -f f4e484c5d18e229087b95f24e90880afddfa30fd7994f9ea1ce61a9dc4488961 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T01:08:01.064Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-17T01:08:01.064Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T01:08:01.218Z] prd-ubuntu20.04-docker-8c-8g-7984 does not seem to be running inside a container [2022-10-17T01:08:01.248Z] $ 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-61 -v /w/workspace/edgexfoundry_device-gpio_PR-61:/w/workspace/edgexfoundry_device-gpio_PR-61:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-61@tmp:/w/workspace/edgexfoundry_device-gpio_PR-61@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 [2022-10-17T01:08:01.628Z] $ docker top 610f4ae2c14a30b934ad0281dd72f5bbcdfbefef8bf12379bbada2f5934b336a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T01:08:02.018Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-61 [Pipeline] fileExists [Pipeline] sh [2022-10-17T01:08:02.385Z] + make test [2022-10-17T01:08:02.385Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-17T01:08:02.643Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-10-17T01:08:10.754Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-10-17T01:08:10.754Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-10-17T01:08:17.306Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-17T01:08:17.306Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-17T01:08:19.830Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-17T01:08:19.830Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-17T01:08:19.830Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-17T01:08:19.865Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-17T01:08:19.897Z] $ docker stop --time=1 610f4ae2c14a30b934ad0281dd72f5bbcdfbefef8bf12379bbada2f5934b336a [2022-10-17T01:08:21.756Z] $ docker rm -f 610f4ae2c14a30b934ad0281dd72f5bbcdfbefef8bf12379bbada2f5934b336a [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T01:08:22.247Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-17T01:08:22.315Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-17T01:08:22.995Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-17T01:08:23.311Z] + ls -al . [2022-10-17T01:08:23.311Z] total 164 [2022-10-17T01:08:23.311Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 01:08 . [2022-10-17T01:08:23.311Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 01:06 .. [2022-10-17T01:08:23.311Z] -rw-rw-r-- 1 jenkins jenkins 120 Oct 17 01:06 .dockerignore [2022-10-17T01:08:23.311Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 01:08 .git [2022-10-17T01:08:23.311Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 01:06 .github [2022-10-17T01:08:23.311Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 17 01:06 .gitignore [2022-10-17T01:08:23.311Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 01:06 .golangci.yml [2022-10-17T01:08:23.311Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 01:07 .semver [2022-10-17T01:08:23.311Z] -rw-rw-r-- 1 jenkins jenkins 9691 Oct 17 01:06 Attribution.txt [2022-10-17T01:08:23.311Z] -rw-rw-r-- 1 jenkins jenkins 3081 Oct 17 01:06 CHANGELOG.md [2022-10-17T01:08:23.311Z] -rw-rw-r-- 1 jenkins jenkins 1929 Oct 17 01:06 Dockerfile [2022-10-17T01:08:23.311Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 01:06 GOVERNANCE.md [2022-10-17T01:08:23.311Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 17 01:06 Jenkinsfile [2022-10-17T01:08:23.311Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 01:06 LICENSE [2022-10-17T01:08:23.311Z] -rw-rw-r-- 1 jenkins jenkins 2085 Oct 17 01:06 Makefile [2022-10-17T01:08:23.311Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 17 01:06 OWNERS.md [2022-10-17T01:08:23.311Z] -rw-rw-r-- 1 jenkins jenkins 11842 Oct 17 01:06 README.md [2022-10-17T01:08:23.311Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 01:07 VERSION [2022-10-17T01:08:23.311Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 01:06 bin [2022-10-17T01:08:23.311Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 01:06 cmd [2022-10-17T01:08:23.311Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 17 01:08 coverage.out [2022-10-17T01:08:23.311Z] -rw-rw-r-- 1 jenkins jenkins 3459 Oct 17 01:06 go.mod [2022-10-17T01:08:23.311Z] -rw-rw-r-- 1 jenkins jenkins 38054 Oct 17 01:06 go.sum [2022-10-17T01:08:23.311Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 01:06 internal [2022-10-17T01:08:23.311Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 01:06 snap [2022-10-17T01:08:23.311Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 17 01:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T01:08:23.701Z] + docker build -t device-gpio -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=27902db895a7fe75aa234fef7f82645cf4d73401 --label arch=amd64 --label version=0.0.0 . [2022-10-17T01:08:23.701Z] Sending build context to Docker daemon 15.86MB [2022-10-17T01:08:23.701Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T01:08:23.701Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-17T01:08:23.701Z] ---> a863cc85391c [2022-10-17T01:08:23.701Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-17T01:08:24.104Z] ---> Running in 4449c38488e1 [2022-10-17T01:08:24.104Z] Removing intermediate container 4449c38488e1 [2022-10-17T01:08:24.104Z] ---> 60ae614c3e8c [2022-10-17T01:08:24.104Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T01:08:24.104Z] ---> Running in 7cba2804f116 [2022-10-17T01:08:24.104Z] Removing intermediate container 7cba2804f116 [2022-10-17T01:08:24.104Z] ---> c3463f0401b0 [2022-10-17T01:08:24.104Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T01:08:24.104Z] ---> Running in f2a20b631188 [2022-10-17T01:08:24.104Z] Removing intermediate container f2a20b631188 [2022-10-17T01:08:24.104Z] ---> f5960344d9dd [2022-10-17T01:08:24.104Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T01:08:24.368Z] ---> Running in 5fbbc7b53d2a [2022-10-17T01:08:24.368Z] Removing intermediate container 5fbbc7b53d2a [2022-10-17T01:08:24.368Z] ---> 5a0bf1a63b16 [2022-10-17T01:08:24.368Z] Step 7/27 : WORKDIR /device-gpio [2022-10-17T01:08:24.368Z] ---> Running in 363604fc90cd [2022-10-17T01:08:24.368Z] Removing intermediate container 363604fc90cd [2022-10-17T01:08:24.368Z] ---> cc0204a702e2 [2022-10-17T01:08:24.368Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T01:08:24.630Z] ---> Running in 44e0de1fc771 [2022-10-17T01:08:25.267Z] Removing intermediate container 44e0de1fc771 [2022-10-17T01:08:25.267Z] ---> f1d753884d49 [2022-10-17T01:08:25.267Z] Step 9/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T01:08:25.267Z] ---> Running in 1662299fa7b1 [2022-10-17T01:08:25.534Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T01:08:26.507Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T01:08:26.507Z] OK: 216 MiB in 55 packages [2022-10-17T01:08:27.081Z] Removing intermediate container 1662299fa7b1 [2022-10-17T01:08:27.081Z] ---> f19759eef144 [2022-10-17T01:08:27.081Z] Step 10/27 : COPY go.mod vendor* ./ [2022-10-17T01:08:27.081Z] ---> 1ae79fb8d816 [2022-10-17T01:08:27.081Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T01:08:27.081Z] ---> Running in 4a4b8ba33733 [2022-10-17T01:08:28.017Z] Removing intermediate container 4a4b8ba33733 [2022-10-17T01:08:28.017Z] ---> a8d3d46b5128 [2022-10-17T01:08:28.017Z] Step 12/27 : COPY . . [2022-10-17T01:08:28.276Z] ---> 33d88287ffcc [2022-10-17T01:08:28.276Z] Step 13/27 : RUN ${MAKE} [2022-10-17T01:08:28.276Z] ---> Running in 9840974f7f2a [2022-10-17T01:08:28.534Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-10-17T01:08:46.621Z] Removing intermediate container 9840974f7f2a [2022-10-17T01:08:46.621Z] ---> 850bb2fcb82d [2022-10-17T01:08:46.621Z] Step 14/27 : FROM alpine:3.16 [2022-10-17T01:08:47.190Z] 3.16: Pulling from library/alpine [2022-10-17T01:08:47.469Z] 213ec9aee27d: Already exists [2022-10-17T01:08:47.469Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-17T01:08:47.469Z] Status: Downloaded newer image for alpine:3.16 [2022-10-17T01:08:47.469Z] ---> 9c6f07244728 [2022-10-17T01:08:47.469Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-10-17T01:08:47.730Z] ---> Running in 1bea1b2d5dad [2022-10-17T01:08:47.730Z] Removing intermediate container 1bea1b2d5dad [2022-10-17T01:08:47.730Z] ---> 5dd463747f58 [2022-10-17T01:08:47.730Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T01:08:47.730Z] ---> Running in 52ff43112680 [2022-10-17T01:08:48.298Z] Removing intermediate container 52ff43112680 [2022-10-17T01:08:48.298Z] ---> c14c9e300d4d [2022-10-17T01:08:48.298Z] Step 17/27 : RUN apk add --update --no-cache zeromq [2022-10-17T01:08:48.298Z] ---> Running in ca26e27bb2d7 [2022-10-17T01:08:48.556Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T01:08:49.493Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T01:08:49.752Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-17T01:08:50.011Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-17T01:08:50.011Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-17T01:08:50.011Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-17T01:08:50.269Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-17T01:08:50.269Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T01:08:50.269Z] OK: 8 MiB in 19 packages [2022-10-17T01:08:50.836Z] Removing intermediate container ca26e27bb2d7 [2022-10-17T01:08:50.836Z] ---> ec034ae773ea [2022-10-17T01:08:50.836Z] Step 18/27 : WORKDIR / [2022-10-17T01:08:50.836Z] ---> Running in 363c874f3b5f [2022-10-17T01:08:50.836Z] Removing intermediate container 363c874f3b5f [2022-10-17T01:08:50.836Z] ---> d738781b1493 [2022-10-17T01:08:50.836Z] Step 19/27 : COPY --from=builder /device-gpio/Attribution.txt / [2022-10-17T01:08:51.093Z] ---> 94d30e851900 [2022-10-17T01:08:51.093Z] Step 20/27 : COPY --from=builder /device-gpio/LICENSE / [2022-10-17T01:08:51.093Z] ---> 8ad460d76665 [2022-10-17T01:08:51.093Z] Step 21/27 : COPY --from=builder /device-gpio/cmd/ / [2022-10-17T01:08:51.658Z] ---> ca847e243be8 [2022-10-17T01:08:51.658Z] Step 22/27 : EXPOSE 59910 [2022-10-17T01:08:51.658Z] ---> Running in d0b660fbead1 [2022-10-17T01:08:51.916Z] Removing intermediate container d0b660fbead1 [2022-10-17T01:08:51.916Z] ---> a9325ebd03f6 [2022-10-17T01:08:51.916Z] Step 23/27 : ENTRYPOINT ["/device-gpio"] [2022-10-17T01:08:51.916Z] ---> Running in 812380200f1a [2022-10-17T01:08:51.916Z] Removing intermediate container 812380200f1a [2022-10-17T01:08:51.916Z] ---> 76cda5ead38f [2022-10-17T01:08:51.916Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-17T01:08:51.916Z] ---> Running in 1c1dba6646ad [2022-10-17T01:08:52.175Z] Removing intermediate container 1c1dba6646ad [2022-10-17T01:08:52.175Z] ---> 8427f53c02dd [2022-10-17T01:08:52.175Z] Step 25/27 : LABEL arch=amd64 [2022-10-17T01:08:52.175Z] ---> Running in 40a1a3fd656a [2022-10-17T01:08:52.175Z] Removing intermediate container 40a1a3fd656a [2022-10-17T01:08:52.175Z] ---> b87f19900d90 [2022-10-17T01:08:52.175Z] Step 26/27 : LABEL git_sha=27902db895a7fe75aa234fef7f82645cf4d73401 [2022-10-17T01:08:52.175Z] ---> Running in 7622d2c275d2 [2022-10-17T01:08:52.434Z] Removing intermediate container 7622d2c275d2 [2022-10-17T01:08:52.434Z] ---> 82b8ed5877d6 [2022-10-17T01:08:52.434Z] Step 27/27 : LABEL version=0.0.0 [2022-10-17T01:08:52.434Z] ---> Running in c0e2e33deed4 [2022-10-17T01:08:52.434Z] Removing intermediate container c0e2e33deed4 [2022-10-17T01:08:52.434Z] ---> 202878dd22d0 [2022-10-17T01:08:52.434Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-17T01:08:52.434Z] Successfully built 202878dd22d0 [2022-10-17T01:08:52.434Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T01:08:53.275Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T01:08:53.275Z] [2022-10-17T01:08:53.275Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T01:08:53.651Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T01:08:53.651Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-17T01:08:53.651Z] 5eb5b503b376: Pulling fs layer [2022-10-17T01:08:53.651Z] 5c69ac0246d0: Pulling fs layer [2022-10-17T01:08:53.651Z] ec43610c2a17: Pulling fs layer [2022-10-17T01:08:53.651Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-17T01:08:53.651Z] 33b1e0a273af: Pulling fs layer [2022-10-17T01:08:53.651Z] 5d3b04190fa2: Pulling fs layer [2022-10-17T01:08:53.651Z] 2f39f015ded8: Pulling fs layer [2022-10-17T01:08:53.651Z] 3a2ae6a8a46f: Waiting [2022-10-17T01:08:53.651Z] 5d3b04190fa2: Waiting [2022-10-17T01:08:53.651Z] 2f39f015ded8: Waiting [2022-10-17T01:08:53.651Z] 33b1e0a273af: Waiting [2022-10-17T01:08:53.651Z] 5c69ac0246d0: Download complete [2022-10-17T01:08:53.651Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-17T01:08:53.651Z] 3a2ae6a8a46f: Download complete [2022-10-17T01:08:53.651Z] 33b1e0a273af: Download complete [2022-10-17T01:08:53.651Z] ec43610c2a17: Verifying Checksum [2022-10-17T01:08:53.651Z] ec43610c2a17: Download complete [2022-10-17T01:08:53.651Z] 5d3b04190fa2: Download complete [2022-10-17T01:08:53.908Z] 5eb5b503b376: Verifying Checksum [2022-10-17T01:08:53.908Z] 5eb5b503b376: Download complete [2022-10-17T01:08:54.845Z] 2f39f015ded8: Download complete [2022-10-17T01:08:55.104Z] 5eb5b503b376: Pull complete [2022-10-17T01:08:55.104Z] 5c69ac0246d0: Pull complete [2022-10-17T01:08:55.671Z] ec43610c2a17: Pull complete [2022-10-17T01:08:55.671Z] 3a2ae6a8a46f: Pull complete [2022-10-17T01:08:55.671Z] 33b1e0a273af: Pull complete [2022-10-17T01:08:55.928Z] 5d3b04190fa2: Pull complete [2022-10-17T01:09:00.110Z] 2f39f015ded8: Pull complete [2022-10-17T01:09:00.110Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-17T01:09:00.110Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T01:09:00.110Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T01:09:00.326Z] prd-ubuntu20.04-docker-8c-8g-7984 does not seem to be running inside a container [2022-10-17T01:09:00.353Z] $ 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-61 -v /w/workspace/edgexfoundry_device-gpio_PR-61:/w/workspace/edgexfoundry_device-gpio_PR-61:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-61@tmp:/w/workspace/edgexfoundry_device-gpio_PR-61@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 [2022-10-17T01:09:02.246Z] $ docker top b009c69c2e4d11e0b4d5ab12b8261437f34e0380f1763791715dafe9e549619f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T01:09:02.709Z] ---> job-cost.sh [2022-10-17T01:09:02.710Z] lf-activate-venv: SKIPPING [2022-10-17T01:09:02.710Z] INFO: No Stack... [2022-10-17T01:09:02.969Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-17T01:09:03.536Z] INFO: Archiving Costs [Pipeline] sh [2022-10-17T01:09:03.848Z] + cut -d, -f6 [2022-10-17T01:09:03.849Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-61/archives/cost.csv [Pipeline] lock [2022-10-17T01:09:03.942Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-61-1-stack-cost] [2022-10-17T01:09:03.947Z] Resource [jenkins-edgexfoundry-device-gpio-PR-61-1-stack-cost] did not exist. Created. [2022-10-17T01:09:03.947Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-61-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-17T01:09:04.349Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-17T01:09:04.400Z] Stashed 1 file(s) [Pipeline] } [2022-10-17T01:09:04.432Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-61-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-17T01:09:04.595Z] $ docker stop --time=1 b009c69c2e4d11e0b4d5ab12b8261437f34e0380f1763791715dafe9e549619f [2022-10-17T01:09:05.747Z] $ docker rm -f b009c69c2e4d11e0b4d5ab12b8261437f34e0380f1763791715dafe9e549619f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-17T01:10:55.470Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7985 in /w/workspace/edgexfoundry_device-gpio_PR-61 [Pipeline] { [Pipeline] ws [2022-10-17T01:10:55.511Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2022-10-17T01:10:55.582Z] The recommended git tool is: git [2022-10-17T01:11:00.705Z] using credential edgex-jenkins-ssh [2022-10-17T01:11:00.722Z] Cloning the remote Git repository [2022-10-17T01:11:00.766Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-10-17T01:11:00.841Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2022-10-17T01:11:01.018Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-10-17T01:11:01.019Z] > git --version # timeout=10 [2022-10-17T01:11:01.040Z] > git --version # 'git version 2.25.1' [2022-10-17T01:11:01.042Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T01:11:01.084Z] Verifying host key using known hosts file [2022-10-17T01:11:01.272Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-17T01:11:01.293Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-17T01:11:02.878Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-10-17T01:11:02.910Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-17T01:11:03.808Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-10-17T01:11:03.855Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-10-17T01:11:03.856Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T01:11:03.862Z] Verifying host key using known hosts file [2022-10-17T01:11:03.870Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-17T01:11:03.886Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/61/head:refs/remotes/origin/PR-61 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-17T01:11:04.431Z] Merging remotes/origin/main commit 569473615fb9befb8fb7c39be4b8603efd71ba81 into PR head commit 27902db895a7fe75aa234fef7f82645cf4d73401 [2022-10-17T01:11:04.715Z] Merge succeeded, producing 27902db895a7fe75aa234fef7f82645cf4d73401 [2022-10-17T01:11:04.715Z] Checking out Revision 27902db895a7fe75aa234fef7f82645cf4d73401 (PR-61) [2022-10-17T01:11:05.235Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-10-17T01:11:05.288Z] > git --version # timeout=10 [2022-10-17T01:11:05.314Z] > git --version # 'git version 2.25.1' [2022-10-17T01:11:05.342Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-17T01:11:04.450Z] > git config core.sparsecheckout # timeout=10 [2022-10-17T01:11:04.470Z] > git checkout -f 27902db895a7fe75aa234fef7f82645cf4d73401 # timeout=10 [2022-10-17T01:11:04.586Z] > git remote # timeout=10 [2022-10-17T01:11:04.608Z] > git config --get remote.origin.url # timeout=10 [2022-10-17T01:11:04.629Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T01:11:04.642Z] Verifying host key using known hosts file [2022-10-17T01:11:04.647Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-17T01:11:04.658Z] > git merge 569473615fb9befb8fb7c39be4b8603efd71ba81 # timeout=10 [2022-10-17T01:11:04.690Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-17T01:11:04.721Z] > git config core.sparsecheckout # timeout=10 [2022-10-17T01:11:04.739Z] > git checkout -f 27902db895a7fe75aa234fef7f82645cf4d73401 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T01:11:06.542Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-17T01:11:06.542Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-17T01:11:06.542Z] Dload Upload Total Spent Left Speed [2022-10-17T01:11:06.542Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 84577 0 --:--:-- --:--:-- --:--:-- 85148 [Pipeline] sh [2022-10-17T01:11:07.125Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-17T01:11:07.472Z] + sudo tee /etc/docker/daemon.new [2022-10-17T01:11:07.472Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-17T01:11:07.472Z] { [2022-10-17T01:11:07.472Z] "registry-mirrors": [ [2022-10-17T01:11:07.472Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-17T01:11:07.472Z] ], [2022-10-17T01:11:07.472Z] "bip": "10.250.0.254/24", [2022-10-17T01:11:07.472Z] "hosts": [ [2022-10-17T01:11:07.472Z] "tcp://0.0.0.0:5555", [2022-10-17T01:11:07.472Z] "unix:///var/run/docker.sock" [2022-10-17T01:11:07.472Z] ], [2022-10-17T01:11:07.472Z] "mtu": 1458, [2022-10-17T01:11:07.472Z] "selinux-enabled": true, [2022-10-17T01:11:07.472Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-17T01:11:07.472Z] } [Pipeline] sh [2022-10-17T01:11:07.820Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-17T01:11:08.166Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T01:11:26.492Z] provisioning config files... [2022-10-17T01:11:26.519Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config3278607129073368188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T01:11:26.899Z] ---> docker-login.sh [2022-10-17T01:11:26.899Z] nexus3.edgexfoundry.org:10001 [2022-10-17T01:11:27.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T01:11:27.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T01:11:27.486Z] Configure a credential helper to remove this warning. See [2022-10-17T01:11:27.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T01:11:27.486Z] [2022-10-17T01:11:27.486Z] Login Succeeded [2022-10-17T01:11:27.486Z] nexus3.edgexfoundry.org:10002 [2022-10-17T01:11:27.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T01:11:28.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T01:11:28.023Z] Configure a credential helper to remove this warning. See [2022-10-17T01:11:28.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T01:11:28.023Z] [2022-10-17T01:11:28.023Z] Login Succeeded [2022-10-17T01:11:28.023Z] nexus3.edgexfoundry.org:10003 [2022-10-17T01:11:28.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T01:11:28.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T01:11:28.292Z] Configure a credential helper to remove this warning. See [2022-10-17T01:11:28.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T01:11:28.292Z] [2022-10-17T01:11:28.292Z] Login Succeeded [2022-10-17T01:11:28.292Z] nexus3.edgexfoundry.org:10004 [2022-10-17T01:11:28.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T01:11:28.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T01:11:28.562Z] Configure a credential helper to remove this warning. See [2022-10-17T01:11:28.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T01:11:28.562Z] [2022-10-17T01:11:28.562Z] Login Succeeded [2022-10-17T01:11:28.562Z] docker.io [2022-10-17T01:11:28.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T01:11:29.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T01:11:29.099Z] Configure a credential helper to remove this warning. See [2022-10-17T01:11:29.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T01:11:29.099Z] [2022-10-17T01:11:29.099Z] Login Succeeded [2022-10-17T01:11:29.099Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T01:11:29.129Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-17T01:11:29.429Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T01:11:29.465Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T01:11:29.496Z] ========================================================= [2022-10-17T01:11:29.496Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-17T01:11:29.496Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T01:11:29.977Z] + 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 . [2022-10-17T01:11:30.251Z] Sending build context to Docker daemon 7.998MB [2022-10-17T01:11:30.251Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T01:11:30.251Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-17T01:11:30.539Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-17T01:11:30.539Z] 9b18e9b68314: Pulling fs layer [2022-10-17T01:11:30.539Z] d32db5db7311: Pulling fs layer [2022-10-17T01:11:30.539Z] d0c4b47475fc: Pulling fs layer [2022-10-17T01:11:30.539Z] 5831b945b038: Pulling fs layer [2022-10-17T01:11:30.539Z] 86bbec2aaacd: Pulling fs layer [2022-10-17T01:11:30.539Z] e10730c5d714: Pulling fs layer [2022-10-17T01:11:30.539Z] 5dd5c2283517: Pulling fs layer [2022-10-17T01:11:30.539Z] d5ac0230b979: Pulling fs layer [2022-10-17T01:11:30.539Z] 86bbec2aaacd: Waiting [2022-10-17T01:11:30.539Z] e10730c5d714: Waiting [2022-10-17T01:11:30.539Z] 5dd5c2283517: Waiting [2022-10-17T01:11:30.539Z] d5ac0230b979: Waiting [2022-10-17T01:11:30.539Z] 5831b945b038: Waiting [2022-10-17T01:11:30.539Z] d0c4b47475fc: Verifying Checksum [2022-10-17T01:11:30.539Z] d0c4b47475fc: Download complete [2022-10-17T01:11:30.539Z] d32db5db7311: Verifying Checksum [2022-10-17T01:11:30.539Z] d32db5db7311: Download complete [2022-10-17T01:11:30.539Z] 86bbec2aaacd: Verifying Checksum [2022-10-17T01:11:30.539Z] 86bbec2aaacd: Download complete [2022-10-17T01:11:30.539Z] e10730c5d714: Verifying Checksum [2022-10-17T01:11:30.539Z] e10730c5d714: Download complete [2022-10-17T01:11:30.539Z] 9b18e9b68314: Verifying Checksum [2022-10-17T01:11:30.539Z] 9b18e9b68314: Download complete [2022-10-17T01:11:31.510Z] 9b18e9b68314: Pull complete [2022-10-17T01:11:31.779Z] d5ac0230b979: Verifying Checksum [2022-10-17T01:11:31.780Z] d5ac0230b979: Download complete [2022-10-17T01:11:32.050Z] d32db5db7311: Pull complete [2022-10-17T01:11:32.321Z] d0c4b47475fc: Pull complete [2022-10-17T01:11:32.909Z] 5dd5c2283517: Verifying Checksum [2022-10-17T01:11:33.491Z] 5831b945b038: Verifying Checksum [2022-10-17T01:11:33.491Z] 5831b945b038: Download complete [2022-10-17T01:11:45.807Z] 5831b945b038: Pull complete [2022-10-17T01:11:45.807Z] 86bbec2aaacd: Pull complete [2022-10-17T01:11:45.807Z] e10730c5d714: Pull complete [2022-10-17T01:11:52.582Z] 5dd5c2283517: Pull complete [2022-10-17T01:11:54.011Z] d5ac0230b979: Pull complete [2022-10-17T01:11:54.011Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-17T01:11:54.011Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-17T01:11:54.011Z] ---> 59b3b1a385d4 [2022-10-17T01:11:54.011Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-17T01:11:55.962Z] ---> Running in 3f8f01b6e430 [2022-10-17T01:11:56.241Z] Removing intermediate container 3f8f01b6e430 [2022-10-17T01:11:56.241Z] ---> 18626fe74f8c [2022-10-17T01:11:56.241Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T01:11:56.509Z] ---> Running in 8523970d654e [2022-10-17T01:11:56.782Z] Removing intermediate container 8523970d654e [2022-10-17T01:11:56.782Z] ---> eaec409d18e4 [2022-10-17T01:11:56.782Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T01:11:56.782Z] ---> Running in 25549ed60947 [2022-10-17T01:11:57.373Z] Removing intermediate container 25549ed60947 [2022-10-17T01:11:57.373Z] ---> 694ab453f306 [2022-10-17T01:11:57.373Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T01:11:57.373Z] ---> Running in 286a6a4e6f26 [2022-10-17T01:11:57.961Z] Removing intermediate container 286a6a4e6f26 [2022-10-17T01:11:57.961Z] ---> e8d04306d8be [2022-10-17T01:11:57.961Z] Step 7/13 : WORKDIR /device-gpio [2022-10-17T01:11:57.961Z] ---> Running in ece3e4d3e2d5 [2022-10-17T01:11:58.230Z] Removing intermediate container ece3e4d3e2d5 [2022-10-17T01:11:58.230Z] ---> 05454dee7eb7 [2022-10-17T01:11:58.230Z] Step 8/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T01:11:58.500Z] ---> Running in eaef2a7ebd8a [2022-10-17T01:12:00.466Z] Removing intermediate container eaef2a7ebd8a [2022-10-17T01:12:00.466Z] ---> ac7b1dc63023 [2022-10-17T01:12:00.466Z] Step 9/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T01:12:00.466Z] ---> Running in 434f32adef40 [2022-10-17T01:12:01.434Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T01:12:02.394Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T01:12:02.979Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-17T01:12:03.248Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-17T01:12:03.248Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-17T01:12:03.518Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-17T01:12:03.518Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T01:12:03.518Z] OK: 226 MiB in 55 packages [2022-10-17T01:12:05.474Z] Removing intermediate container 434f32adef40 [2022-10-17T01:12:05.474Z] ---> 9212022090b8 [2022-10-17T01:12:05.474Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-17T01:12:06.063Z] ---> d39e3af12969 [2022-10-17T01:12:06.063Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T01:12:06.063Z] ---> Running in aedcb5e93b2b [2022-10-17T01:13:02.505Z] Removing intermediate container aedcb5e93b2b [2022-10-17T01:13:02.505Z] ---> b96a93744fb5 [2022-10-17T01:13:02.505Z] Step 12/13 : COPY . . [2022-10-17T01:13:02.505Z] ---> 4b988c6c1ca4 [2022-10-17T01:13:02.505Z] Step 13/13 : RUN ${MAKE} [2022-10-17T01:13:02.505Z] ---> Running in 5471ef6a5e56 [2022-10-17T01:13:02.505Z] noop [2022-10-17T01:13:02.505Z] Removing intermediate container 5471ef6a5e56 [2022-10-17T01:13:02.505Z] ---> 3770ae264735 [2022-10-17T01:13:02.505Z] Successfully built 3770ae264735 [2022-10-17T01:13:02.505Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T01:13:03.068Z] + docker inspect -f . ci-base-image-arm64 [2022-10-17T01:13:03.068Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T01:13:03.320Z] prd-ubuntu20.04-docker-arm64-4c-16g-7985 does not seem to be running inside a container [2022-10-17T01:13:03.385Z] $ 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 [2022-10-17T01:13:04.853Z] $ docker top 48b1e8dcb9e21d4c72b80245456bcfc19c752c8345e5548d4ba5cdf6fd1f9ce2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T01:13:05.743Z] + go version [2022-10-17T01:13:05.743Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-17T01:13:05.785Z] $ docker stop --time=1 48b1e8dcb9e21d4c72b80245456bcfc19c752c8345e5548d4ba5cdf6fd1f9ce2 [2022-10-17T01:13:07.421Z] $ docker rm -f 48b1e8dcb9e21d4c72b80245456bcfc19c752c8345e5548d4ba5cdf6fd1f9ce2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T01:13:08.268Z] + docker inspect -f . ci-base-image-arm64 [2022-10-17T01:13:08.268Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T01:13:08.514Z] prd-ubuntu20.04-docker-arm64-4c-16g-7985 does not seem to be running inside a container [2022-10-17T01:13:08.576Z] $ 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 [2022-10-17T01:13:09.717Z] $ docker top 1a59a2ad0b31a20f76d788f055b8c0223cb2e303ba0fc388d24f4520837f871d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T01:13:10.576Z] + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh [2022-10-17T01:13:10.962Z] + make test [2022-10-17T01:13:10.962Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-17T01:13:12.912Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-10-17T01:14:34.573Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-10-17T01:14:34.573Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-10-17T01:14:34.573Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-17T01:14:34.573Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-17T01:14:52.792Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-17T01:14:52.792Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-17T01:14:52.792Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-17T01:14:52.835Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-17T01:14:52.862Z] $ docker stop --time=1 1a59a2ad0b31a20f76d788f055b8c0223cb2e303ba0fc388d24f4520837f871d [2022-10-17T01:14:54.609Z] $ docker rm -f 1a59a2ad0b31a20f76d788f055b8c0223cb2e303ba0fc388d24f4520837f871d [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T01:14:55.559Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-17T01:14:55.596Z] Warning: overwriting stash ‘coverage-report’ [2022-10-17T01:14:55.974Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T01:14:56.570Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-17T01:14:56.910Z] + ls -al . [2022-10-17T01:14:56.910Z] total 160 [2022-10-17T01:14:56.910Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 01:13 . [2022-10-17T01:14:56.910Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 01:11 .. [2022-10-17T01:14:56.910Z] -rw-rw-r-- 1 jenkins jenkins 120 Oct 17 01:11 .dockerignore [2022-10-17T01:14:56.910Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 01:11 .git [2022-10-17T01:14:56.910Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 01:11 .github [2022-10-17T01:14:56.910Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 17 01:11 .gitignore [2022-10-17T01:14:56.910Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 01:11 .golangci.yml [2022-10-17T01:14:56.910Z] -rw-rw-r-- 1 jenkins jenkins 9691 Oct 17 01:11 Attribution.txt [2022-10-17T01:14:56.910Z] -rw-rw-r-- 1 jenkins jenkins 3081 Oct 17 01:11 CHANGELOG.md [2022-10-17T01:14:56.910Z] -rw-rw-r-- 1 jenkins jenkins 1929 Oct 17 01:11 Dockerfile [2022-10-17T01:14:56.910Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 01:11 GOVERNANCE.md [2022-10-17T01:14:56.910Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 17 01:11 Jenkinsfile [2022-10-17T01:14:56.910Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 01:11 LICENSE [2022-10-17T01:14:56.910Z] -rw-rw-r-- 1 jenkins jenkins 2085 Oct 17 01:11 Makefile [2022-10-17T01:14:56.910Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 17 01:11 OWNERS.md [2022-10-17T01:14:56.910Z] -rw-rw-r-- 1 jenkins jenkins 11842 Oct 17 01:11 README.md [2022-10-17T01:14:56.910Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 01:07 VERSION [2022-10-17T01:14:56.910Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 01:11 bin [2022-10-17T01:14:56.910Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 01:11 cmd [2022-10-17T01:14:56.910Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 17 01:13 coverage.out [2022-10-17T01:14:56.910Z] -rw-rw-r-- 1 jenkins jenkins 3459 Oct 17 01:11 go.mod [2022-10-17T01:14:56.910Z] -rw-rw-r-- 1 jenkins jenkins 38054 Oct 17 01:11 go.sum [2022-10-17T01:14:56.910Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 01:11 internal [2022-10-17T01:14:56.910Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 01:11 snap [2022-10-17T01:14:56.910Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 17 01:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T01:14:57.327Z] + docker build -t device-gpio-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=27902db895a7fe75aa234fef7f82645cf4d73401 --label arch=arm64 --label version=0.0.0 . [2022-10-17T01:14:57.594Z] Sending build context to Docker daemon 7.999MB [2022-10-17T01:14:57.594Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T01:14:57.594Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-17T01:14:57.594Z] ---> 3770ae264735 [2022-10-17T01:14:57.594Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-17T01:14:57.858Z] ---> Running in 588ef8a6f5f4 [2022-10-17T01:14:58.125Z] Removing intermediate container 588ef8a6f5f4 [2022-10-17T01:14:58.125Z] ---> 93c153867820 [2022-10-17T01:14:58.125Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T01:14:58.125Z] ---> Running in 2c17a0809d5a [2022-10-17T01:14:58.393Z] Removing intermediate container 2c17a0809d5a [2022-10-17T01:14:58.393Z] ---> c95d5bed65f5 [2022-10-17T01:14:58.393Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T01:14:58.393Z] ---> Running in 6b08459d7a53 [2022-10-17T01:14:58.661Z] Removing intermediate container 6b08459d7a53 [2022-10-17T01:14:58.661Z] ---> 30cf1d3a3504 [2022-10-17T01:14:58.661Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T01:14:58.661Z] ---> Running in 197a96ccf09d [2022-10-17T01:14:58.927Z] Removing intermediate container 197a96ccf09d [2022-10-17T01:14:58.927Z] ---> 6b4a362feda5 [2022-10-17T01:14:58.927Z] Step 7/27 : WORKDIR /device-gpio [2022-10-17T01:14:59.193Z] ---> Running in 9727035f4185 [2022-10-17T01:14:59.461Z] Removing intermediate container 9727035f4185 [2022-10-17T01:14:59.461Z] ---> f23323879aa1 [2022-10-17T01:14:59.461Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T01:14:59.461Z] ---> Running in 6ddcd4628551 [2022-10-17T01:15:01.408Z] Removing intermediate container 6ddcd4628551 [2022-10-17T01:15:01.408Z] ---> b8d34fa1230f [2022-10-17T01:15:01.408Z] Step 9/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T01:15:01.408Z] ---> Running in c9a72b34c1fc [2022-10-17T01:15:02.002Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T01:15:02.963Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T01:15:03.927Z] OK: 226 MiB in 55 packages [2022-10-17T01:15:04.889Z] Removing intermediate container c9a72b34c1fc [2022-10-17T01:15:04.889Z] ---> 382df5c47bc9 [2022-10-17T01:15:04.889Z] Step 10/27 : COPY go.mod vendor* ./ [2022-10-17T01:15:05.158Z] ---> 690abcc8d464 [2022-10-17T01:15:05.158Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T01:15:05.158Z] ---> Running in ad9ee49d291f [2022-10-17T01:15:07.108Z] Removing intermediate container ad9ee49d291f [2022-10-17T01:15:07.108Z] ---> 3ef88dedb450 [2022-10-17T01:15:07.108Z] Step 12/27 : COPY . . [2022-10-17T01:15:08.065Z] ---> a4031ae2d2df [2022-10-17T01:15:08.065Z] Step 13/27 : RUN ${MAKE} [2022-10-17T01:15:08.065Z] ---> Running in d79e14a77699 [2022-10-17T01:15:09.032Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-10-17T01:17:45.776Z] Removing intermediate container d79e14a77699 [2022-10-17T01:17:45.776Z] ---> c58f5f7223a9 [2022-10-17T01:17:45.776Z] Step 14/27 : FROM alpine:3.16 [2022-10-17T01:17:45.776Z] 3.16: Pulling from library/alpine [2022-10-17T01:17:45.776Z] 9b18e9b68314: Already exists [2022-10-17T01:17:45.776Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-17T01:17:45.776Z] Status: Downloaded newer image for alpine:3.16 [2022-10-17T01:17:45.776Z] ---> a6215f271958 [2022-10-17T01:17:45.776Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-10-17T01:17:45.776Z] ---> Running in 6c3491d213ae [2022-10-17T01:17:45.776Z] Removing intermediate container 6c3491d213ae [2022-10-17T01:17:45.776Z] ---> 1b6016f638a5 [2022-10-17T01:17:45.776Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T01:17:45.776Z] ---> Running in ab01f0a98401 [2022-10-17T01:17:45.776Z] Removing intermediate container ab01f0a98401 [2022-10-17T01:17:45.776Z] ---> 5dfd40917aed [2022-10-17T01:17:45.776Z] Step 17/27 : RUN apk add --update --no-cache zeromq [2022-10-17T01:17:45.776Z] ---> Running in 9eab0c80d37d [2022-10-17T01:17:45.776Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T01:17:46.735Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T01:17:47.697Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-17T01:17:47.697Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-17T01:17:47.697Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-17T01:17:47.964Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-17T01:17:47.964Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-17T01:17:47.964Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T01:17:48.231Z] OK: 8 MiB in 19 packages [2022-10-17T01:17:49.190Z] Removing intermediate container 9eab0c80d37d [2022-10-17T01:17:49.190Z] ---> 0c6a90ea3e3e [2022-10-17T01:17:49.190Z] Step 18/27 : WORKDIR / [2022-10-17T01:17:49.190Z] ---> Running in 47b70a4457e4 [2022-10-17T01:17:49.458Z] Removing intermediate container 47b70a4457e4 [2022-10-17T01:17:49.458Z] ---> e5f915c52c7e [2022-10-17T01:17:49.458Z] Step 19/27 : COPY --from=builder /device-gpio/Attribution.txt / [2022-10-17T01:17:49.725Z] ---> 80e3d1113ffa [2022-10-17T01:17:49.725Z] Step 20/27 : COPY --from=builder /device-gpio/LICENSE / [2022-10-17T01:17:50.308Z] ---> 7ba730de0f88 [2022-10-17T01:17:50.308Z] Step 21/27 : COPY --from=builder /device-gpio/cmd/ / [2022-10-17T01:17:51.713Z] ---> ebda9848ff78 [2022-10-17T01:17:51.713Z] Step 22/27 : EXPOSE 59910 [2022-10-17T01:17:51.713Z] ---> Running in 3495f265e2e7 [2022-10-17T01:17:51.979Z] Removing intermediate container 3495f265e2e7 [2022-10-17T01:17:51.979Z] ---> c619b2d58c2b [2022-10-17T01:17:51.979Z] Step 23/27 : ENTRYPOINT ["/device-gpio"] [2022-10-17T01:17:51.979Z] ---> Running in 224bf4e82bc3 [2022-10-17T01:17:52.256Z] Removing intermediate container 224bf4e82bc3 [2022-10-17T01:17:52.256Z] ---> 9fa33b9f6ccf [2022-10-17T01:17:52.256Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-17T01:17:52.528Z] ---> Running in f9f82e654177 [2022-10-17T01:17:52.795Z] Removing intermediate container f9f82e654177 [2022-10-17T01:17:52.795Z] ---> c8254c9de6e2 [2022-10-17T01:17:52.795Z] Step 25/27 : LABEL arch=arm64 [2022-10-17T01:17:52.795Z] ---> Running in 462b98bdb153 [2022-10-17T01:17:53.063Z] Removing intermediate container 462b98bdb153 [2022-10-17T01:17:53.063Z] ---> 2f884581bb79 [2022-10-17T01:17:53.063Z] Step 26/27 : LABEL git_sha=27902db895a7fe75aa234fef7f82645cf4d73401 [2022-10-17T01:17:53.063Z] ---> Running in c605aeb241a9 [2022-10-17T01:17:53.330Z] Removing intermediate container c605aeb241a9 [2022-10-17T01:17:53.330Z] ---> 76f6ac2bbfad [2022-10-17T01:17:53.330Z] Step 27/27 : LABEL version=0.0.0 [2022-10-17T01:17:53.596Z] ---> Running in 473c4e12e379 [2022-10-17T01:17:53.863Z] Removing intermediate container 473c4e12e379 [2022-10-17T01:17:53.863Z] ---> 399eabe90fd9 [2022-10-17T01:17:53.863Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-17T01:17:53.863Z] Successfully built 399eabe90fd9 [2022-10-17T01:17:53.863Z] Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T01:17:54.736Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T01:17:54.736Z] [2022-10-17T01:17:54.736Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T01:17:55.151Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T01:17:55.151Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-17T01:17:55.151Z] 8998bd30e6a1: Pulling fs layer [2022-10-17T01:17:55.151Z] 04944245beec: Pulling fs layer [2022-10-17T01:17:55.151Z] 699f458cf7ca: Pulling fs layer [2022-10-17T01:17:55.151Z] 765212b225bb: Pulling fs layer [2022-10-17T01:17:55.151Z] f23df028b6ca: Pulling fs layer [2022-10-17T01:17:55.151Z] d65c8cfc05b1: Pulling fs layer [2022-10-17T01:17:55.151Z] 2437ff75d9bd: Pulling fs layer [2022-10-17T01:17:55.151Z] f23df028b6ca: Waiting [2022-10-17T01:17:55.151Z] d65c8cfc05b1: Waiting [2022-10-17T01:17:55.151Z] 2437ff75d9bd: Waiting [2022-10-17T01:17:55.151Z] 765212b225bb: Waiting [2022-10-17T01:17:55.440Z] 04944245beec: Verifying Checksum [2022-10-17T01:17:55.441Z] 04944245beec: Download complete [2022-10-17T01:17:55.441Z] 765212b225bb: Verifying Checksum [2022-10-17T01:17:55.441Z] 765212b225bb: Download complete [2022-10-17T01:17:55.441Z] f23df028b6ca: Verifying Checksum [2022-10-17T01:17:55.441Z] f23df028b6ca: Download complete [2022-10-17T01:17:55.441Z] d65c8cfc05b1: Download complete [2022-10-17T01:17:55.441Z] 699f458cf7ca: Verifying Checksum [2022-10-17T01:17:55.441Z] 699f458cf7ca: Download complete [2022-10-17T01:17:56.059Z] 8998bd30e6a1: Verifying Checksum [2022-10-17T01:17:56.059Z] 8998bd30e6a1: Download complete [2022-10-17T01:17:58.686Z] 2437ff75d9bd: Verifying Checksum [2022-10-17T01:17:58.686Z] 2437ff75d9bd: Download complete [2022-10-17T01:18:00.093Z] 8998bd30e6a1: Pull complete [2022-10-17T01:18:00.676Z] 04944245beec: Pull complete [2022-10-17T01:18:02.088Z] 699f458cf7ca: Pull complete [2022-10-17T01:18:02.088Z] 765212b225bb: Pull complete [2022-10-17T01:18:03.049Z] f23df028b6ca: Pull complete [2022-10-17T01:18:03.049Z] d65c8cfc05b1: Pull complete [2022-10-17T01:18:18.040Z] 2437ff75d9bd: Pull complete [2022-10-17T01:18:18.040Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-17T01:18:18.040Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T01:18:18.040Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T01:18:18.349Z] prd-ubuntu20.04-docker-arm64-4c-16g-7985 does not seem to be running inside a container [2022-10-17T01:18:18.410Z] $ 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 [2022-10-17T01:18:21.123Z] $ docker top 5abb567605fab00149d58d9edba764c539dbbf39347f773cc85ec7e08bc4fbe7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T01:18:22.031Z] ---> job-cost.sh [2022-10-17T01:18:22.031Z] lf-activate-venv: SKIPPING [2022-10-17T01:18:22.031Z] INFO: No Stack... [2022-10-17T01:18:22.299Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-17T01:18:23.255Z] INFO: Archiving Costs [Pipeline] sh [2022-10-17T01:18:23.908Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2022-10-17T01:18:23.908Z] + cut -d, -f6 [Pipeline] lock [2022-10-17T01:18:23.963Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-61-1-stack-cost] [2022-10-17T01:18:23.968Z] Resource [jenkins-edgexfoundry-device-gpio-PR-61-1-stack-cost] did not exist. Created. [2022-10-17T01:18:23.968Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-61-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-17T01:18:24.755Z] /w/workspace/device-gpio/1@tmp/durable-40a646c9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-17T01:18:25.108Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-17T01:18:25.145Z] Warning: overwriting stash ‘stack-cost’ [2022-10-17T01:18:25.187Z] Stashed 1 file(s) [Pipeline] } [2022-10-17T01:18:25.203Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-61-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-17T01:18:25.284Z] $ docker stop --time=1 5abb567605fab00149d58d9edba764c539dbbf39347f773cc85ec7e08bc4fbe7 [2022-10-17T01:18:26.793Z] $ docker rm -f 5abb567605fab00149d58d9edba764c539dbbf39347f773cc85ec7e08bc4fbe7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-17T01:18:27.797Z] provisioning config files... [2022-10-17T01:18:27.807Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-61@tmp/config1014599340215771931tmp [Pipeline] { [Pipeline] sh [2022-10-17T01:18:28.146Z] + set +x [2022-10-17T01:18:28.146Z] + curl -s https://codecov.io/bash [2022-10-17T01:18:28.146Z] + bash -s -- [2022-10-17T01:18:28.146Z] [2022-10-17T01:18:28.146Z] _____ _ [2022-10-17T01:18:28.146Z] / ____| | | [2022-10-17T01:18:28.146Z] | | ___ __| | ___ ___ _____ __ [2022-10-17T01:18:28.146Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-17T01:18:28.146Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-17T01:18:28.146Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-17T01:18:28.146Z] Bash-1.0.6 [2022-10-17T01:18:28.146Z] [2022-10-17T01:18:28.146Z] [2022-10-17T01:18:28.146Z] ==> git version 2.25.1 found [2022-10-17T01:18:28.146Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-17T01:18:28.146Z] Release-Date: 2020-01-08 [2022-10-17T01:18:28.146Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-17T01:18:28.146Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-17T01:18:28.146Z] ==> Jenkins CI detected. [2022-10-17T01:18:28.146Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-61 [2022-10-17T01:18:28.146Z] project root: . [2022-10-17T01:18:28.146Z] --> token set from env [2022-10-17T01:18:28.146Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-17T01:18:28.146Z] ==> Running gcov in . (disable via -X gcov) [2022-10-17T01:18:28.146Z] ==> Python coveragepy not found [2022-10-17T01:18:28.146Z] ==> Searching for coverage reports in: [2022-10-17T01:18:28.146Z] + . [2022-10-17T01:18:28.146Z] -> Found 1 reports [2022-10-17T01:18:28.146Z] ==> Detecting git/mercurial file structure [2022-10-17T01:18:28.146Z] ==> Reading reports [2022-10-17T01:18:28.407Z] + ./coverage.out bytes=10 [2022-10-17T01:18:28.407Z] ==> Appending adjustments [2022-10-17T01:18:28.407Z] https://docs.codecov.io/docs/fixing-reports [2022-10-17T01:18:28.407Z] + Found adjustments [2022-10-17T01:18:28.407Z] ==> Gzipping contents [2022-10-17T01:18:28.407Z] 4.0K /tmp/codecov.FDVfMc.gz [2022-10-17T01:18:28.407Z] ==> Uploading reports [2022-10-17T01:18:28.407Z] url: https://codecov.io [2022-10-17T01:18:28.407Z] query: branch=PR-61&commit=27902db895a7fe75aa234fef7f82645cf4d73401&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-61%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=61&job=&cmd_args= [2022-10-17T01:18:28.407Z] -> Pinging Codecov [2022-10-17T01:18:28.407Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-61&commit=27902db895a7fe75aa234fef7f82645cf4d73401&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-61%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=61&job=&cmd_args= [2022-10-17T01:18:28.666Z] -> Uploading to [2022-10-17T01:18:28.667Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-17/3EC07B1A8CA8AF9BCAA0BB9F0134797F/27902db895a7fe75aa234fef7f82645cf4d73401/223803c4-f207-45e0-90d3-b3fcc30f7df4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T011828Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0d4b391f51676629a707b71fca8a1c9002da82e0215966c3335f210acb206fec [2022-10-17T01:18:28.667Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-17T01:18:28.667Z] Dload Upload Total Spent Left Speed [2022-10-17T01:18:28.925Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 2881 --:--:-- --:--:-- --:--:-- 2881 [2022-10-17T01:18:28.925Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/27902db895a7fe75aa234fef7f82645cf4d73401 [Pipeline] } [2022-10-17T01:18:28.957Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-17T01:18:30.714Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-61/archives ] [2022-10-17T01:18:30.715Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-61/archives [2022-10-17T01:18:30.715Z] total 16 [2022-10-17T01:18:30.715Z] drwxr-xr-x 3 root root 4096 Oct 17 01:09 . [2022-10-17T01:18:30.715Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 01:09 .. [2022-10-17T01:18:30.715Z] drwxr-xr-x 2 root root 4096 Oct 17 01:09 cost [2022-10-17T01:18:30.715Z] -rw-r--r-- 1 root root 82 Oct 17 01:09 cost.csv [2022-10-17T01:18:30.715Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-61/archives [2022-10-17T01:18:30.715Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-61/archives [2022-10-17T01:18:30.715Z] total 16 [2022-10-17T01:18:30.715Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 01:09 . [2022-10-17T01:18:30.715Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 01:09 .. [2022-10-17T01:18:30.715Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 01:09 cost [2022-10-17T01:18:30.715Z] -rw-r--r-- 1 jenkins jenkins 82 Oct 17 01:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-17T01:18:31.050Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T01:18:31.949Z] ---> package-listing.sh [2022-10-17T01:18:31.950Z] ++ facter osfamily [2022-10-17T01:18:31.950Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-17T01:18:32.208Z] + OS_FAMILY=debian [2022-10-17T01:18:32.208Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-61 [2022-10-17T01:18:32.208Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-17T01:18:32.208Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-17T01:18:32.208Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-17T01:18:32.208Z] + PACKAGES=/tmp/packages_start.txt [2022-10-17T01:18:32.208Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-61 ']' [2022-10-17T01:18:32.208Z] + PACKAGES=/tmp/packages_end.txt [2022-10-17T01:18:32.208Z] + case "${OS_FAMILY}" in [2022-10-17T01:18:32.208Z] + dpkg -l [2022-10-17T01:18:32.208Z] + grep '^ii' [2022-10-17T01:18:32.208Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-17T01:18:32.208Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-17T01:18:32.208Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-17T01:18:32.208Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-61 ']' [2022-10-17T01:18:32.208Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-61/archives/ [2022-10-17T01:18:32.208Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-61/archives/ [Pipeline] echo [2022-10-17T01:18:32.243Z] 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-61/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-17T01:18:32.534Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T01:18:33.162Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T01:18:33.162Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T01:18:33.303Z] prd-ubuntu20.04-docker-8c-8g-7984 does not seem to be running inside a container [2022-10-17T01:18:33.332Z] $ 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-61/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-61 -v /w/workspace/edgexfoundry_device-gpio_PR-61:/w/workspace/edgexfoundry_device-gpio_PR-61:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-61@tmp:/w/workspace/edgexfoundry_device-gpio_PR-61@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 [2022-10-17T01:18:33.560Z] $ docker top 3d132255e7f2981f9019d77dfb1b5fc170910c12b2ad1cd78e1c7f823a32f63a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T01:18:33.947Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-17T01:18:34.257Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-17T01:18:34.568Z] + ls /var/log/sa-host [2022-10-17T01:18:34.568Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T01:18:34.789Z] provisioning config files... [2022-10-17T01:18:34.798Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-61@tmp/config564703806326643244tmp [Pipeline] { [Pipeline] echo [2022-10-17T01:18:34.852Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T01:18:35.164Z] ---> create-netrc.sh [Pipeline] } [2022-10-17T01:18:35.194Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-17T01:18:35.594Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-17T01:18:35.626Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T01:18:35.937Z] ---> sudo-logs.sh [2022-10-17T01:18:35.937Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-17T01:18:36.018Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T01:18:36.327Z] ---> job-cost.sh [2022-10-17T01:18:36.327Z] lf-activate-venv: SKIPPING [2022-10-17T01:18:36.327Z] DEBUG: total: 0.2199999988079071 [2022-10-17T01:18:36.327Z] INFO: Retrieving Stack Cost... [2022-10-17T01:18:36.892Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-17T01:18:37.151Z] INFO: Archiving Costs [Pipeline] echo [2022-10-17T01:18:37.182Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T01:18:37.490Z] ---> logs-deploy.sh [2022-10-17T01:18:37.490Z] lf-activate-venv: SKIPPING [2022-10-17T01:18:37.490Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-61/1 [2022-10-17T01:18:37.490Z] INFO: archiving workspace using pattern(s): [2022-10-17T01:18:38.427Z] Archives upload complete. [2022-10-17T01:18:38.427Z] INFO: archiving logs to Nexus