Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 626ee0dc731c846558003605e490be3fc08946a3 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-ssh11877683522271189457.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh7148053465357903161.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6013243788328321633.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4965329581743695966.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14016763984674497200.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4559 in /w/workspace/edgexfoundry_device-gpio_main [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_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 626ee0dc731c846558003605e490be3fc08946a3 (main) Commit message: "Merge pull request #188 from FelixTing/update-sdk" > 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 core.sparsecheckout # timeout=10 > git checkout -f 626ee0dc731c846558003605e490be3fc08946a3 # timeout=10 > git rev-list --no-walk ff16a83fb79151c0064e67c7d63c34566d8a7cb4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-25T10:58:17.548Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-25T10:58:17.612Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-25T10:58:17.628Z] ========================================================= [2023-08-25T10:58:17.628Z] EdgeX Global Pipelines Version Info [2023-08-25T10:58:17.628Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-25T10:58:18.347Z] ------------------- [2023-08-25T10:58:18.347Z] stable info: [2023-08-25T10:58:18.347Z] ------------------- [2023-08-25T10:58:18.347Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-25T10:58:18.347Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-25T10:58:18.347Z] Message: update stable to v1.0.253 [2023-08-25T10:58:18.917Z] ------------------- [2023-08-25T10:58:18.917Z] experimental info: [2023-08-25T10:58:18.917Z] ------------------- [2023-08-25T10:58:18.917Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-25T10:58:18.917Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-25T10:58:18.917Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-25T10:58:19.063Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-08-25T10:58:19.072Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-08-25T10:58:19.093Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-25T10:58:19.111Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-25T10:58:19.129Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-25T10:58:19.146Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-25T10:58:19.160Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-25T10:58:19.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-25T10:58:19.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-25T10:58:19.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-25T10:58:19.210Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-25T10:58:19.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-08-25T10:58:19.247Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-25T10:58:19.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-25T10:58:19.283Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-25T10:58:19.300Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-25T10:58:19.314Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-25T10:58:19.326Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-25T10:58:19.341Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-25T10:58:19.360Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-25T10:58:19.370Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-25T10:58:19.381Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-25T10:58:19.393Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-25T10:58:19.409Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-25T10:58:19.426Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-25T10:58:19.442Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-25T10:58:19.463Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-25T10:58:19.479Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-25T10:58:19.494Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-25T10:58:19.507Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-25T10:58:19.520Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 626ee0dc731c846558003605e490be3fc08946a3 [Pipeline] echo [2023-08-25T10:58:19.533Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 626ee0d [Pipeline] echo [2023-08-25T10:58:19.549Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T10:58:19.594Z] provisioning config files... [2023-08-25T10:58:19.609Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5895495796607389292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T10:58:19.916Z] ---> docker-login.sh [2023-08-25T10:58:19.916Z] nexus3.edgexfoundry.org:10001 [2023-08-25T10:58:20.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:58:20.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:58:20.177Z] Configure a credential helper to remove this warning. See [2023-08-25T10:58:20.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:58:20.177Z] [2023-08-25T10:58:20.177Z] Login Succeeded [2023-08-25T10:58:20.177Z] nexus3.edgexfoundry.org:10002 [2023-08-25T10:58:20.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:58:20.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:58:20.436Z] Configure a credential helper to remove this warning. See [2023-08-25T10:58:20.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:58:20.436Z] [2023-08-25T10:58:20.436Z] Login Succeeded [2023-08-25T10:58:20.436Z] nexus3.edgexfoundry.org:10003 [2023-08-25T10:58:20.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:58:20.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:58:20.436Z] Configure a credential helper to remove this warning. See [2023-08-25T10:58:20.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:58:20.436Z] [2023-08-25T10:58:20.436Z] Login Succeeded [2023-08-25T10:58:20.436Z] nexus3.edgexfoundry.org:10004 [2023-08-25T10:58:20.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:58:20.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:58:20.694Z] Configure a credential helper to remove this warning. See [2023-08-25T10:58:20.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:58:20.694Z] [2023-08-25T10:58:20.694Z] Login Succeeded [2023-08-25T10:58:20.694Z] docker.io [2023-08-25T10:58:20.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:58:20.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:58:20.953Z] Configure a credential helper to remove this warning. See [2023-08-25T10:58:20.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:58:20.953Z] [2023-08-25T10:58:20.953Z] Login Succeeded [2023-08-25T10:58:20.953Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T10:58:20.960Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-25T10:58:21.305Z] + git rev-list -1 --merges 626ee0dc731c846558003605e490be3fc08946a3~1..626ee0dc731c846558003605e490be3fc08946a3 [Pipeline] echo [2023-08-25T10:58:21.350Z] -----------> git rev-list -1 --merges 626ee0dc731c846558003605e490be3fc08946a3~1..626ee0dc731c846558003605e490be3fc08946a3 626ee0dc731c846558003605e490be3fc08946a3 [2023-08-25T10:58:21.350Z] 626ee0dc731c846558003605e490be3fc08946a3 [false] [Pipeline] sh [2023-08-25T10:58:21.640Z] + git log --format=format:%s -1 626ee0dc731c846558003605e490be3fc08946a3 [Pipeline] echo [2023-08-25T10:58:21.679Z] ========================================================= [2023-08-25T10:58:21.679Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-25T10:58:21.679Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T10:58:22.015Z] + git log --format=format:%s -1 626ee0dc731c846558003605e490be3fc08946a3 [Pipeline] echo [2023-08-25T10:58:22.027Z] [semverPrep] GIT_COMMIT: 626ee0dc731c846558003605e490be3fc08946a3, Commit Message: Merge pull request #188 from FelixTing/update-sdk [Pipeline] echo [2023-08-25T10:58:22.034Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-25T10:58:22.375Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T10:58:22.375Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-25T10:58:22.375Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-25T10:58:22.375Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-25T10:58:22.375Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-25T10:58:22.375Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-25T10:58:22.375Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:58:22.733Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T10:58:22.733Z] [2023-08-25T10:58:22.733Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:58:23.037Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T10:58:23.037Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-25T10:58:23.037Z] b85a868b505f: Pulling fs layer [2023-08-25T10:58:23.037Z] e2be974225ed: Pulling fs layer [2023-08-25T10:58:23.037Z] 339a4e72a1f5: Pulling fs layer [2023-08-25T10:58:23.037Z] 988bab9f4d93: Pulling fs layer [2023-08-25T10:58:23.037Z] 1469e6f7b9e6: Pulling fs layer [2023-08-25T10:58:23.037Z] eaf3925da568: Pulling fs layer [2023-08-25T10:58:23.037Z] bab4dde63d76: Pulling fs layer [2023-08-25T10:58:23.037Z] bde34c3a00c8: Pulling fs layer [2023-08-25T10:58:23.037Z] b352a97aabf1: Pulling fs layer [2023-08-25T10:58:23.037Z] 4872d77fe225: Pulling fs layer [2023-08-25T10:58:23.037Z] 5851b861e8e6: Pulling fs layer [2023-08-25T10:58:23.037Z] 1469e6f7b9e6: Waiting [2023-08-25T10:58:23.037Z] eaf3925da568: Waiting [2023-08-25T10:58:23.037Z] bab4dde63d76: Waiting [2023-08-25T10:58:23.037Z] bde34c3a00c8: Waiting [2023-08-25T10:58:23.037Z] b352a97aabf1: Waiting [2023-08-25T10:58:23.037Z] 4872d77fe225: Waiting [2023-08-25T10:58:23.037Z] 5851b861e8e6: Waiting [2023-08-25T10:58:23.037Z] 988bab9f4d93: Waiting [2023-08-25T10:58:23.037Z] e2be974225ed: Verifying Checksum [2023-08-25T10:58:23.037Z] e2be974225ed: Download complete [2023-08-25T10:58:23.037Z] 988bab9f4d93: Verifying Checksum [2023-08-25T10:58:23.037Z] 988bab9f4d93: Download complete [2023-08-25T10:58:23.037Z] 1469e6f7b9e6: Verifying Checksum [2023-08-25T10:58:23.037Z] 1469e6f7b9e6: Download complete [2023-08-25T10:58:23.296Z] eaf3925da568: Download complete [2023-08-25T10:58:23.296Z] 339a4e72a1f5: Verifying Checksum [2023-08-25T10:58:23.296Z] 339a4e72a1f5: Download complete [2023-08-25T10:58:23.296Z] bde34c3a00c8: Verifying Checksum [2023-08-25T10:58:23.296Z] bde34c3a00c8: Download complete [2023-08-25T10:58:23.296Z] b352a97aabf1: Verifying Checksum [2023-08-25T10:58:23.296Z] b352a97aabf1: Download complete [2023-08-25T10:58:23.296Z] 4872d77fe225: Download complete [2023-08-25T10:58:23.296Z] 5851b861e8e6: Verifying Checksum [2023-08-25T10:58:23.296Z] 5851b861e8e6: Download complete [2023-08-25T10:58:23.296Z] b85a868b505f: Download complete [2023-08-25T10:58:23.864Z] bab4dde63d76: Verifying Checksum [2023-08-25T10:58:23.864Z] bab4dde63d76: Download complete [2023-08-25T10:58:24.432Z] b85a868b505f: Pull complete [2023-08-25T10:58:24.690Z] e2be974225ed: Pull complete [2023-08-25T10:58:25.256Z] 339a4e72a1f5: Pull complete [2023-08-25T10:58:25.256Z] 988bab9f4d93: Pull complete [2023-08-25T10:58:25.516Z] 1469e6f7b9e6: Pull complete [2023-08-25T10:58:25.776Z] eaf3925da568: Pull complete [2023-08-25T10:58:27.715Z] bab4dde63d76: Pull complete [2023-08-25T10:58:27.715Z] bde34c3a00c8: Pull complete [2023-08-25T10:58:27.715Z] b352a97aabf1: Pull complete [2023-08-25T10:58:27.715Z] 4872d77fe225: Pull complete [2023-08-25T10:58:27.715Z] 5851b861e8e6: Pull complete [2023-08-25T10:58:28.012Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-25T10:58:28.012Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T10:58:28.012Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T10:58:28.110Z] prd-ubuntu20.04-docker-8c-8g-4559 does not seem to be running inside a container [2023-08-25T10:58:28.141Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-25T10:58:32.528Z] $ docker top e556af6212f540cff2454790ff0ee6a7c06a9bb60d6e31aef3cb34a2eda04866 -eo pid,comm [2023-08-25T10:58:32.584Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-25T10:58:32.584Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T10:58:32.624Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T10:58:32.624Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T10:58:32.738Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T10:58:32.738Z] $ docker exec e556af6212f540cff2454790ff0ee6a7c06a9bb60d6e31aef3cb34a2eda04866 ssh-agent [2023-08-25T10:58:32.862Z] SSH_AUTH_SOCK=/tmp/ssh-OeLKrnFjX6Te/agent.32 [2023-08-25T10:58:32.862Z] SSH_AGENT_PID=38 [2023-08-25T10:58:32.868Z] Running ssh-add (command line suppressed) [2023-08-25T10:58:32.979Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_17971028972419044201.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_17971028972419044201.key) [2023-08-25T10:58:32.998Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T10:58:33.285Z] + git tag --points-at HEAD [Pipeline] } [2023-08-25T10:58:33.299Z] $ docker exec --env ******** --env ******** e556af6212f540cff2454790ff0ee6a7c06a9bb60d6e31aef3cb34a2eda04866 ssh-agent -k [2023-08-25T10:58:33.406Z] unset SSH_AUTH_SOCK; [2023-08-25T10:58:33.406Z] unset SSH_AGENT_PID; [2023-08-25T10:58:33.406Z] echo Agent pid 38 killed; [2023-08-25T10:58:33.420Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-25T10:58:33.445Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T10:58:33.445Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T10:58:33.555Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T10:58:33.554Z] $ docker exec e556af6212f540cff2454790ff0ee6a7c06a9bb60d6e31aef3cb34a2eda04866 ssh-agent [2023-08-25T10:58:33.676Z] SSH_AUTH_SOCK=/tmp/ssh-P6utIx7XPrjG/agent.70 [2023-08-25T10:58:33.676Z] SSH_AGENT_PID=76 [2023-08-25T10:58:33.680Z] Running ssh-add (command line suppressed) [2023-08-25T10:58:33.780Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5169549792273846051.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5169549792273846051.key) [2023-08-25T10:58:33.806Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T10:58:34.091Z] + git semver init [2023-08-25T10:58:34.349Z] 2023-08-25 10:58:34,258 [run_init] DEBUG init version:0.0.0 force:False [2023-08-25T10:58:34.349Z] 2023-08-25 10:58:34,258 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2023-08-25T10:58:34.349Z] 2023-08-25 10:58:34,259 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2023-08-25T10:58:34.349Z] 2023-08-25 10:58:34,259 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_main/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-08-25T10:58:35.287Z] 2023-08-25 10:58:35,209 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2023-08-25T10:58:35.287Z] 2023-08-25 10:58:35,209 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2023-08-25T10:58:35.287Z] 2023-08-25 10:58:35,210 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-08-25T10:58:35.287Z] 2023-08-25 10:58:35,210 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-08-25T10:58:35.287Z] 3.1.0-dev.4 [Pipeline] } [2023-08-25T10:58:35.293Z] $ docker exec --env ******** --env ******** e556af6212f540cff2454790ff0ee6a7c06a9bb60d6e31aef3cb34a2eda04866 ssh-agent -k [2023-08-25T10:58:35.387Z] unset SSH_AUTH_SOCK; [2023-08-25T10:58:35.388Z] unset SSH_AGENT_PID; [2023-08-25T10:58:35.388Z] echo Agent pid 76 killed; [2023-08-25T10:58:35.399Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T10:58:35.707Z] + git semver [Pipeline] } [2023-08-25T10:58:35.979Z] $ docker stop --time=1 e556af6212f540cff2454790ff0ee6a7c06a9bb60d6e31aef3cb34a2eda04866 [2023-08-25T10:58:37.265Z] $ docker rm -f --volumes e556af6212f540cff2454790ff0ee6a7c06a9bb60d6e31aef3cb34a2eda04866 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T10:58:37.604Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-25T10:58:37.817Z] Stashed 1 file(s) [Pipeline] echo [2023-08-25T10:58:37.821Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.4 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T10:58:37.985Z] provisioning config files... [2023-08-25T10:58:37.994Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config12761182599891685828tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T10:58:38.291Z] ---> docker-login.sh [2023-08-25T10:58:38.291Z] nexus3.edgexfoundry.org:10001 [2023-08-25T10:58:38.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:58:38.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:58:38.291Z] Configure a credential helper to remove this warning. See [2023-08-25T10:58:38.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:58:38.291Z] [2023-08-25T10:58:38.291Z] Login Succeeded [2023-08-25T10:58:38.291Z] nexus3.edgexfoundry.org:10002 [2023-08-25T10:58:38.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:58:38.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:58:38.291Z] Configure a credential helper to remove this warning. See [2023-08-25T10:58:38.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:58:38.291Z] [2023-08-25T10:58:38.291Z] Login Succeeded [2023-08-25T10:58:38.291Z] nexus3.edgexfoundry.org:10003 [2023-08-25T10:58:38.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:58:38.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:58:38.550Z] Configure a credential helper to remove this warning. See [2023-08-25T10:58:38.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:58:38.550Z] [2023-08-25T10:58:38.550Z] Login Succeeded [2023-08-25T10:58:38.550Z] nexus3.edgexfoundry.org:10004 [2023-08-25T10:58:38.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:58:38.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:58:38.550Z] Configure a credential helper to remove this warning. See [2023-08-25T10:58:38.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:58:38.550Z] [2023-08-25T10:58:38.550Z] Login Succeeded [2023-08-25T10:58:38.550Z] docker.io [2023-08-25T10:58:38.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T10:58:38.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T10:58:38.809Z] Configure a credential helper to remove this warning. See [2023-08-25T10:58:38.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T10:58:38.809Z] [2023-08-25T10:58:38.809Z] Login Succeeded [2023-08-25T10:58:38.809Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T10:58:38.816Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-25T10:58:38.884Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T10:58:38.900Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T10:58:38.911Z] ========================================================= [2023-08-25T10:58:38.911Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-25T10:58:38.911Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:58:39.218Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-25T10:58:39.218Z] Sending build context to Docker daemon 16.04MB [2023-08-25T10:58:39.218Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T10:58:39.218Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-25T10:58:39.218Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-25T10:58:39.218Z] 4db1b89c0bd1: Pulling fs layer [2023-08-25T10:58:39.218Z] 6911f1a30b25: Pulling fs layer [2023-08-25T10:58:39.218Z] e194b8c5c2a9: Pulling fs layer [2023-08-25T10:58:39.218Z] 6863d3e3a2b1: Pulling fs layer [2023-08-25T10:58:39.218Z] ec0bb842ea78: Pulling fs layer [2023-08-25T10:58:39.218Z] 40a00589a448: Pulling fs layer [2023-08-25T10:58:39.218Z] 6c08303d61cc: Pulling fs layer [2023-08-25T10:58:39.218Z] 798269fcf238: Pulling fs layer [2023-08-25T10:58:39.218Z] 6863d3e3a2b1: Waiting [2023-08-25T10:58:39.218Z] 40a00589a448: Waiting [2023-08-25T10:58:39.218Z] 6c08303d61cc: Waiting [2023-08-25T10:58:39.218Z] 798269fcf238: Waiting [2023-08-25T10:58:39.218Z] ec0bb842ea78: Waiting [2023-08-25T10:58:39.482Z] 6911f1a30b25: Download complete [2023-08-25T10:58:39.482Z] 6863d3e3a2b1: Verifying Checksum [2023-08-25T10:58:39.482Z] 6863d3e3a2b1: Download complete [2023-08-25T10:58:39.482Z] ec0bb842ea78: Verifying Checksum [2023-08-25T10:58:39.482Z] ec0bb842ea78: Download complete [2023-08-25T10:58:39.482Z] 4db1b89c0bd1: Verifying Checksum [2023-08-25T10:58:39.483Z] 4db1b89c0bd1: Download complete [2023-08-25T10:58:39.483Z] 40a00589a448: Verifying Checksum [2023-08-25T10:58:39.483Z] 40a00589a448: Download complete [2023-08-25T10:58:39.483Z] 4db1b89c0bd1: Pull complete [2023-08-25T10:58:39.744Z] 6911f1a30b25: Pull complete [2023-08-25T10:58:40.003Z] 798269fcf238: Verifying Checksum [2023-08-25T10:58:40.003Z] 798269fcf238: Download complete [2023-08-25T10:58:40.003Z] e194b8c5c2a9: Verifying Checksum [2023-08-25T10:58:40.003Z] e194b8c5c2a9: Download complete [2023-08-25T10:58:40.261Z] 6c08303d61cc: Verifying Checksum [2023-08-25T10:58:40.261Z] 6c08303d61cc: Download complete [2023-08-25T10:58:43.555Z] e194b8c5c2a9: Pull complete [2023-08-25T10:58:43.555Z] 6863d3e3a2b1: Pull complete [2023-08-25T10:58:43.555Z] ec0bb842ea78: Pull complete [2023-08-25T10:58:43.555Z] 40a00589a448: Pull complete [2023-08-25T10:58:46.086Z] 6c08303d61cc: Pull complete [2023-08-25T10:58:46.653Z] 798269fcf238: Pull complete [2023-08-25T10:58:46.911Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-25T10:58:46.911Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-25T10:58:46.911Z] ---> ec979cd7f677 [2023-08-25T10:58:46.911Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-25T10:58:52.940Z] Still waiting to schedule task [2023-08-25T10:58:52.941Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-4560’ is offline [2023-08-25T10:58:55.055Z] ---> Running in 04a0ab674cc7 [2023-08-25T10:58:55.055Z] Removing intermediate container 04a0ab674cc7 [2023-08-25T10:58:55.055Z] ---> bdc25d528824 [2023-08-25T10:58:55.055Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T10:58:55.055Z] ---> Running in b2490616104b [2023-08-25T10:58:55.055Z] Removing intermediate container b2490616104b [2023-08-25T10:58:55.055Z] ---> 855dc53bac68 [2023-08-25T10:58:55.055Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-08-25T10:58:55.055Z] ---> Running in 6aee0efb45e8 [2023-08-25T10:58:55.055Z] Removing intermediate container 6aee0efb45e8 [2023-08-25T10:58:55.055Z] ---> 918f92e4b247 [2023-08-25T10:58:55.055Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-25T10:58:55.055Z] ---> Running in 28e68befa81d [2023-08-25T10:58:55.313Z] Removing intermediate container 28e68befa81d [2023-08-25T10:58:55.313Z] ---> 952581c24ee7 [2023-08-25T10:58:55.313Z] Step 7/12 : WORKDIR /device-gpio [2023-08-25T10:58:55.313Z] ---> Running in 7015d9f46305 [2023-08-25T10:58:55.313Z] Removing intermediate container 7015d9f46305 [2023-08-25T10:58:55.313Z] ---> b232aa01453d [2023-08-25T10:58:55.313Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T10:58:55.313Z] ---> Running in c020e457da6a [2023-08-25T10:58:55.571Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T10:58:55.830Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T10:58:56.091Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-25T10:58:56.091Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-25T10:58:56.091Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-25T10:58:56.091Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-25T10:58:56.091Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T10:58:56.091Z] OK: 269 MiB in 57 packages [2023-08-25T10:58:56.659Z] Removing intermediate container c020e457da6a [2023-08-25T10:58:56.659Z] ---> 56a8e1bfed95 [2023-08-25T10:58:56.659Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-25T10:58:56.917Z] ---> 2a024caac426 [2023-08-25T10:58:56.917Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T10:58:56.917Z] ---> Running in c9d0798a5768 [2023-08-25T10:59:35.650Z] Removing intermediate container c9d0798a5768 [2023-08-25T10:59:35.650Z] ---> 661539c79779 [2023-08-25T10:59:35.650Z] Step 11/12 : COPY . . [2023-08-25T10:59:35.650Z] ---> 0dd145722d06 [2023-08-25T10:59:35.650Z] Step 12/12 : RUN ${MAKE} [2023-08-25T10:59:35.650Z] ---> Running in cb35bc8f0a80 [2023-08-25T10:59:35.650Z] noop [2023-08-25T10:59:35.650Z] Removing intermediate container cb35bc8f0a80 [2023-08-25T10:59:35.650Z] ---> e306ae5121a5 [2023-08-25T10:59:35.650Z] Successfully built e306ae5121a5 [2023-08-25T10:59:35.650Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:59:35.966Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-25T10:59:35.966Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T10:59:36.034Z] prd-ubuntu20.04-docker-8c-8g-4559 does not seem to be running inside a container [2023-08-25T10:59:36.064Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** ci-base-image-x86_64 cat [2023-08-25T10:59:36.417Z] $ docker top 3798db8347acbf85dd771e245c9a436add47f5854e7a14169c8c5c4065e1829f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T10:59:36.766Z] + go version [2023-08-25T10:59:36.766Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-25T10:59:36.774Z] $ docker stop --time=1 3798db8347acbf85dd771e245c9a436add47f5854e7a14169c8c5c4065e1829f [2023-08-25T10:59:38.043Z] $ docker rm -f --volumes 3798db8347acbf85dd771e245c9a436add47f5854e7a14169c8c5c4065e1829f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T10:59:38.491Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-25T10:59:38.491Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T10:59:38.619Z] prd-ubuntu20.04-docker-8c-8g-4559 does not seem to be running inside a container [2023-08-25T10:59:38.647Z] $ 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_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** ci-base-image-x86_64 cat [2023-08-25T10:59:38.968Z] $ docker top 0152ab8f6434811bd975e676a5b5500cabf53868095a788bce31cbf470e305bf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T10:59:39.334Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh [2023-08-25T10:59:39.627Z] + make test [2023-08-25T10:59:39.627Z] go test ./... -coverprofile=coverage.out ./... [2023-08-25T10:59:44.896Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-08-25T10:59:54.865Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-08-25T10:59:54.866Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-08-25T11:00:00.123Z] go vet ./... [2023-08-25T11:00:03.400Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-25T11:00:03.400Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-25T11:00:03.400Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-25T11:00:03.413Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-25T11:00:03.421Z] $ docker stop --time=1 0152ab8f6434811bd975e676a5b5500cabf53868095a788bce31cbf470e305bf [2023-08-25T11:00:07.941Z] $ docker rm -f --volumes 0152ab8f6434811bd975e676a5b5500cabf53868095a788bce31cbf470e305bf [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T11:00:08.390Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-25T11:00:08.429Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-25T11:00:08.869Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-25T11:00:09.153Z] + ls -al . [2023-08-25T11:00:09.153Z] total 168 [2023-08-25T11:00:09.153Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 25 10:59 . [2023-08-25T11:00:09.153Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 10:58 .. [2023-08-25T11:00:09.153Z] -rw-rw-r-- 1 jenkins jenkins 120 Aug 25 10:58 .dockerignore [2023-08-25T11:00:09.153Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 10:58 .git [2023-08-25T11:00:09.153Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 10:58 .github [2023-08-25T11:00:09.153Z] -rw-rw-r-- 1 jenkins jenkins 343 Aug 25 10:58 .gitignore [2023-08-25T11:00:09.153Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 10:58 .golangci.yml [2023-08-25T11:00:09.153Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 10:58 .semver [2023-08-25T11:00:09.153Z] -rw-rw-r-- 1 jenkins jenkins 10671 Aug 25 10:58 Attribution.txt [2023-08-25T11:00:09.153Z] -rw-rw-r-- 1 jenkins jenkins 6184 Aug 25 10:58 CHANGELOG.md [2023-08-25T11:00:09.153Z] -rw-rw-r-- 1 jenkins jenkins 1542 Aug 25 10:58 Dockerfile [2023-08-25T11:00:09.153Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 10:58 GOVERNANCE.md [2023-08-25T11:00:09.153Z] -rw-rw-r-- 1 jenkins jenkins 657 Aug 25 10:58 Jenkinsfile [2023-08-25T11:00:09.153Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 10:58 LICENSE [2023-08-25T11:00:09.153Z] -rw-rw-r-- 1 jenkins jenkins 1923 Aug 25 10:58 Makefile [2023-08-25T11:00:09.153Z] -rw-rw-r-- 1 jenkins jenkins 617 Aug 25 10:58 OWNERS.md [2023-08-25T11:00:09.153Z] -rw-rw-r-- 1 jenkins jenkins 12293 Aug 25 10:58 README.md [2023-08-25T11:00:09.153Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 25 10:58 VERSION [2023-08-25T11:00:09.153Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 10:58 bin [2023-08-25T11:00:09.153Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 10:58 cmd [2023-08-25T11:00:09.153Z] -rw-r--r-- 1 jenkins jenkins 10 Aug 25 10:59 coverage.out [2023-08-25T11:00:09.153Z] -rw-rw-r-- 1 jenkins jenkins 3696 Aug 25 10:58 go.mod [2023-08-25T11:00:09.153Z] -rw-rw-r-- 1 jenkins jenkins 34022 Aug 25 10:58 go.sum [2023-08-25T11:00:09.153Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 10:58 internal [2023-08-25T11:00:09.153Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 10:58 snap [2023-08-25T11:00:09.153Z] -rw-rw-r-- 1 jenkins jenkins 209 Aug 25 10:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:00:10.042Z] + 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=626ee0dc731c846558003605e490be3fc08946a3 --label arch=amd64 --label version=3.1.0-dev.4 . [2023-08-25T11:00:10.042Z] Sending build context to Docker daemon 16.04MB [2023-08-25T11:00:10.042Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T11:00:10.042Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-25T11:00:10.042Z] ---> e306ae5121a5 [2023-08-25T11:00:10.042Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-08-25T11:00:10.992Z] ---> Running in 7fb1c86d6b26 [2023-08-25T11:00:10.992Z] Removing intermediate container 7fb1c86d6b26 [2023-08-25T11:00:10.992Z] ---> b60b475cc20e [2023-08-25T11:00:10.992Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T11:00:10.992Z] ---> Running in 7b34d8429899 [2023-08-25T11:00:10.992Z] Removing intermediate container 7b34d8429899 [2023-08-25T11:00:10.992Z] ---> 04860c4e0fd4 [2023-08-25T11:00:10.992Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-08-25T11:00:10.992Z] ---> Running in 6056561a1410 [2023-08-25T11:00:11.250Z] Removing intermediate container 6056561a1410 [2023-08-25T11:00:11.250Z] ---> b32720b7bf27 [2023-08-25T11:00:11.250Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-25T11:00:11.250Z] ---> Running in 9e07aa1785d6 [2023-08-25T11:00:11.250Z] Removing intermediate container 9e07aa1785d6 [2023-08-25T11:00:11.250Z] ---> 03177078a79d [2023-08-25T11:00:11.250Z] Step 7/25 : WORKDIR /device-gpio [2023-08-25T11:00:11.250Z] ---> Running in 743d675ed76b [2023-08-25T11:00:11.510Z] Removing intermediate container 743d675ed76b [2023-08-25T11:00:11.510Z] ---> b26e509f8ecb [2023-08-25T11:00:11.510Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T11:00:11.510Z] ---> Running in d8eec961c0df [2023-08-25T11:00:11.767Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T11:00:11.767Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T11:00:12.025Z] OK: 269 MiB in 57 packages [2023-08-25T11:00:12.284Z] Removing intermediate container d8eec961c0df [2023-08-25T11:00:12.284Z] ---> aabb5aff5355 [2023-08-25T11:00:12.284Z] Step 9/25 : COPY go.mod vendor* ./ [2023-08-25T11:00:12.566Z] ---> bb072f3b6fc4 [2023-08-25T11:00:12.566Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T11:00:12.566Z] ---> Running in 1ffd9a4a99f2 [2023-08-25T11:00:13.500Z] Removing intermediate container 1ffd9a4a99f2 [2023-08-25T11:00:13.500Z] ---> a8b88247d29a [2023-08-25T11:00:13.500Z] Step 11/25 : COPY . . [2023-08-25T11:00:14.066Z] ---> d849c6b2d53f [2023-08-25T11:00:14.066Z] Step 12/25 : RUN ${MAKE} [2023-08-25T11:00:14.066Z] ---> Running in 9a1a00dd2037 [2023-08-25T11:00:14.324Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.1.0-dev.4 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-08-25T11:00:37.138Z] Removing intermediate container 9a1a00dd2037 [2023-08-25T11:00:37.138Z] ---> ec17e881293b [2023-08-25T11:00:37.138Z] Step 13/25 : FROM alpine:3.17 [2023-08-25T11:00:37.138Z] 3.17: Pulling from library/alpine [2023-08-25T11:00:37.138Z] 9398808236ff: Pulling fs layer [2023-08-25T11:00:37.138Z] 9398808236ff: Verifying Checksum [2023-08-25T11:00:37.138Z] 9398808236ff: Download complete [2023-08-25T11:00:37.138Z] 9398808236ff: Pull complete [2023-08-25T11:00:37.138Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-25T11:00:37.138Z] Status: Downloaded newer image for alpine:3.17 [2023-08-25T11:00:37.138Z] ---> 1e0b8b5322fc [2023-08-25T11:00:37.138Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-08-25T11:00:37.138Z] ---> Running in 642451f78902 [2023-08-25T11:00:37.396Z] Removing intermediate container 642451f78902 [2023-08-25T11:00:37.396Z] ---> 3f6fb52adf09 [2023-08-25T11:00:37.396Z] Step 15/25 : RUN apk add --update --no-cache [2023-08-25T11:00:37.396Z] ---> Running in 4d1858b4bcee [2023-08-25T11:00:37.653Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T11:00:37.914Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T11:00:38.173Z] OK: 7 MiB in 15 packages [2023-08-25T11:00:38.429Z] Removing intermediate container 4d1858b4bcee [2023-08-25T11:00:38.429Z] ---> 3e3a594b227b [2023-08-25T11:00:38.429Z] Step 16/25 : WORKDIR / [2023-08-25T11:00:38.429Z] ---> Running in fd33ef50ab22 [2023-08-25T11:00:38.429Z] Removing intermediate container fd33ef50ab22 [2023-08-25T11:00:38.429Z] ---> 891b4225d69d [2023-08-25T11:00:38.429Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-08-25T11:00:38.688Z] ---> 0c7fed740ba8 [2023-08-25T11:00:38.688Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-08-25T11:00:38.945Z] ---> 154726fbbb43 [2023-08-25T11:00:38.945Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-08-25T11:00:39.921Z] ---> d7b1fa76c7e0 [2023-08-25T11:00:39.921Z] Step 20/25 : EXPOSE 59910 [2023-08-25T11:00:39.921Z] ---> Running in 0a1a8a49f129 [2023-08-25T11:00:39.921Z] Removing intermediate container 0a1a8a49f129 [2023-08-25T11:00:39.921Z] ---> 7f7dbe7064c4 [2023-08-25T11:00:39.921Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-08-25T11:00:39.921Z] ---> Running in 892118e6482c [2023-08-25T11:00:40.179Z] Removing intermediate container 892118e6482c [2023-08-25T11:00:40.180Z] ---> b1b14c4ccf24 [2023-08-25T11:00:40.180Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-25T11:00:40.180Z] ---> Running in 25030c030647 [2023-08-25T11:00:40.180Z] Removing intermediate container 25030c030647 [2023-08-25T11:00:40.180Z] ---> 115641818bdd [2023-08-25T11:00:40.180Z] Step 23/25 : LABEL arch=amd64 [2023-08-25T11:00:40.180Z] ---> Running in 5118541c1228 [2023-08-25T11:00:40.180Z] Removing intermediate container 5118541c1228 [2023-08-25T11:00:40.180Z] ---> f28947c9cbae [2023-08-25T11:00:40.180Z] Step 24/25 : LABEL git_sha=626ee0dc731c846558003605e490be3fc08946a3 [2023-08-25T11:00:40.180Z] ---> Running in 823d3152d366 [2023-08-25T11:00:40.439Z] Removing intermediate container 823d3152d366 [2023-08-25T11:00:40.439Z] ---> 9ca48f5c3481 [2023-08-25T11:00:40.439Z] Step 25/25 : LABEL version=3.1.0-dev.4 [2023-08-25T11:00:40.439Z] ---> Running in 7bb5b663ab50 [2023-08-25T11:00:40.439Z] Removing intermediate container 7bb5b663ab50 [2023-08-25T11:00:40.439Z] ---> 17c5da89ae97 [2023-08-25T11:00:40.439Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-25T11:00:40.439Z] Successfully built 17c5da89ae97 [2023-08-25T11:00:40.439Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T11:00:40.556Z] provisioning config files... [2023-08-25T11:00:40.564Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config7411371050361260030tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:00:40.855Z] ---> docker-login.sh [2023-08-25T11:00:40.855Z] nexus3.edgexfoundry.org:10001 [2023-08-25T11:00:40.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:00:40.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:00:40.855Z] Configure a credential helper to remove this warning. See [2023-08-25T11:00:40.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:00:40.855Z] [2023-08-25T11:00:40.855Z] Login Succeeded [2023-08-25T11:00:40.855Z] nexus3.edgexfoundry.org:10002 [2023-08-25T11:00:40.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:00:40.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:00:40.855Z] Configure a credential helper to remove this warning. See [2023-08-25T11:00:40.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:00:40.855Z] [2023-08-25T11:00:40.855Z] Login Succeeded [2023-08-25T11:00:40.855Z] nexus3.edgexfoundry.org:10003 [2023-08-25T11:00:41.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:00:41.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:00:41.113Z] Configure a credential helper to remove this warning. See [2023-08-25T11:00:41.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:00:41.113Z] [2023-08-25T11:00:41.113Z] Login Succeeded [2023-08-25T11:00:41.113Z] nexus3.edgexfoundry.org:10004 [2023-08-25T11:00:41.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:00:41.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:00:41.113Z] Configure a credential helper to remove this warning. See [2023-08-25T11:00:41.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:00:41.113Z] [2023-08-25T11:00:41.113Z] Login Succeeded [2023-08-25T11:00:41.113Z] docker.io [2023-08-25T11:00:41.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:00:41.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:00:41.371Z] Configure a credential helper to remove this warning. See [2023-08-25T11:00:41.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:00:41.371Z] [2023-08-25T11:00:41.371Z] Login Succeeded [2023-08-25T11:00:41.371Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T11:00:41.378Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-25T11:00:41.415Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T11:00:41.439Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2023-08-25T11:00:41.439Z] 626ee0dc731c846558003605e490be3fc08946a3 [2023-08-25T11:00:41.439Z] latest [2023-08-25T11:00:41.439Z] 3.1.0-dev.4 [2023-08-25T11:00:41.439Z] 626ee0dc731c846558003605e490be3fc08946a3-3.1.0-dev.4 [2023-08-25T11:00:41.439Z] main [2023-08-25T11:00:41.439Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:00:41.755Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:626ee0dc731c846558003605e490be3fc08946a3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:00:42.065Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:626ee0dc731c846558003605e490be3fc08946a3 [2023-08-25T11:00:42.065Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-08-25T11:00:42.065Z] 585951078516: Preparing [2023-08-25T11:00:42.065Z] 2e3d5b70d94e: Preparing [2023-08-25T11:00:42.065Z] 3636e8759c69: Preparing [2023-08-25T11:00:42.065Z] b67396a30164: Preparing [2023-08-25T11:00:42.065Z] 36b50b131297: Preparing [2023-08-25T11:00:42.065Z] 36b50b131297: Layer already exists [2023-08-25T11:00:42.065Z] b67396a30164: Pushed [2023-08-25T11:00:42.065Z] 2e3d5b70d94e: Pushed [2023-08-25T11:00:42.065Z] 3636e8759c69: Pushed [2023-08-25T11:00:44.603Z] 585951078516: Pushed [2023-08-25T11:00:44.861Z] 626ee0dc731c846558003605e490be3fc08946a3: digest: sha256:302668576b4574ca0cc780bfd30348c3f482443ef5930f87bafef1edd7ab6b28 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:00:45.166Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:00:45.475Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-08-25T11:00:45.475Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-08-25T11:00:45.475Z] 585951078516: Preparing [2023-08-25T11:00:45.475Z] 2e3d5b70d94e: Preparing [2023-08-25T11:00:45.475Z] 3636e8759c69: Preparing [2023-08-25T11:00:45.475Z] b67396a30164: Preparing [2023-08-25T11:00:45.475Z] 36b50b131297: Preparing [2023-08-25T11:00:45.475Z] 585951078516: Layer already exists [2023-08-25T11:00:45.475Z] 2e3d5b70d94e: Layer already exists [2023-08-25T11:00:45.475Z] 36b50b131297: Layer already exists [2023-08-25T11:00:45.475Z] 3636e8759c69: Layer already exists [2023-08-25T11:00:45.475Z] b67396a30164: Layer already exists [2023-08-25T11:00:45.475Z] latest: digest: sha256:302668576b4574ca0cc780bfd30348c3f482443ef5930f87bafef1edd7ab6b28 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:00:45.788Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:00:46.104Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.4 [2023-08-25T11:00:46.104Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-08-25T11:00:46.104Z] 585951078516: Preparing [2023-08-25T11:00:46.104Z] 2e3d5b70d94e: Preparing [2023-08-25T11:00:46.104Z] 3636e8759c69: Preparing [2023-08-25T11:00:46.104Z] b67396a30164: Preparing [2023-08-25T11:00:46.104Z] 36b50b131297: Preparing [2023-08-25T11:00:46.104Z] b67396a30164: Layer already exists [2023-08-25T11:00:46.104Z] 36b50b131297: Layer already exists [2023-08-25T11:00:46.104Z] 585951078516: Layer already exists [2023-08-25T11:00:46.104Z] 2e3d5b70d94e: Layer already exists [2023-08-25T11:00:46.104Z] 3636e8759c69: Layer already exists [2023-08-25T11:00:46.104Z] 3.1.0-dev.4: digest: sha256:302668576b4574ca0cc780bfd30348c3f482443ef5930f87bafef1edd7ab6b28 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:00:46.415Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:626ee0dc731c846558003605e490be3fc08946a3-3.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:00:46.718Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:626ee0dc731c846558003605e490be3fc08946a3-3.1.0-dev.4 [2023-08-25T11:00:46.719Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-08-25T11:00:46.719Z] 585951078516: Preparing [2023-08-25T11:00:46.719Z] 2e3d5b70d94e: Preparing [2023-08-25T11:00:46.719Z] 3636e8759c69: Preparing [2023-08-25T11:00:46.719Z] b67396a30164: Preparing [2023-08-25T11:00:46.719Z] 36b50b131297: Preparing [2023-08-25T11:00:46.719Z] 36b50b131297: Layer already exists [2023-08-25T11:00:46.719Z] 585951078516: Layer already exists [2023-08-25T11:00:46.719Z] b67396a30164: Layer already exists [2023-08-25T11:00:46.719Z] 3636e8759c69: Layer already exists [2023-08-25T11:00:46.719Z] 2e3d5b70d94e: Layer already exists [2023-08-25T11:00:46.719Z] 626ee0dc731c846558003605e490be3fc08946a3-3.1.0-dev.4: digest: sha256:302668576b4574ca0cc780bfd30348c3f482443ef5930f87bafef1edd7ab6b28 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:00:47.028Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:00:47.336Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2023-08-25T11:00:47.336Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-08-25T11:00:47.336Z] 585951078516: Preparing [2023-08-25T11:00:47.336Z] 2e3d5b70d94e: Preparing [2023-08-25T11:00:47.336Z] 3636e8759c69: Preparing [2023-08-25T11:00:47.336Z] b67396a30164: Preparing [2023-08-25T11:00:47.336Z] 36b50b131297: Preparing [2023-08-25T11:00:47.336Z] 585951078516: Layer already exists [2023-08-25T11:00:47.336Z] b67396a30164: Layer already exists [2023-08-25T11:00:47.336Z] 36b50b131297: Layer already exists [2023-08-25T11:00:47.336Z] 3636e8759c69: Layer already exists [2023-08-25T11:00:47.336Z] 2e3d5b70d94e: Layer already exists [2023-08-25T11:00:47.336Z] main: digest: sha256:302668576b4574ca0cc780bfd30348c3f482443ef5930f87bafef1edd7ab6b28 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-25T11:00:47.383Z] ===================================================== [Pipeline] echo [2023-08-25T11:00:47.394Z] taggedImages: [2023-08-25T11:00:47.394Z] - nexus3.edgexfoundry.org:10004/device-gpio:626ee0dc731c846558003605e490be3fc08946a3 [2023-08-25T11:00:47.394Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-08-25T11:00:47.394Z] - nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.4 [2023-08-25T11:00:47.394Z] - nexus3.edgexfoundry.org:10004/device-gpio:626ee0dc731c846558003605e490be3fc08946a3-3.1.0-dev.4 [2023-08-25T11:00:47.394Z] - nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // script [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 [2023-08-25T11:00:47.784Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T11:00:47.784Z] [2023-08-25T11:00:47.784Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:00:48.084Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T11:00:48.084Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-25T11:00:48.084Z] 5eb5b503b376: Pulling fs layer [2023-08-25T11:00:48.084Z] 5c69ac0246d0: Pulling fs layer [2023-08-25T11:00:48.084Z] ec43610c2a17: Pulling fs layer [2023-08-25T11:00:48.084Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-25T11:00:48.084Z] 33b1e0a273af: Pulling fs layer [2023-08-25T11:00:48.084Z] 5d3b04190fa2: Pulling fs layer [2023-08-25T11:00:48.084Z] 2f39f015ded8: Pulling fs layer [2023-08-25T11:00:48.084Z] 5d3b04190fa2: Waiting [2023-08-25T11:00:48.084Z] 33b1e0a273af: Waiting [2023-08-25T11:00:48.084Z] 2f39f015ded8: Waiting [2023-08-25T11:00:48.084Z] 3a2ae6a8a46f: Waiting [2023-08-25T11:00:48.084Z] 5c69ac0246d0: Verifying Checksum [2023-08-25T11:00:48.084Z] 5c69ac0246d0: Download complete [2023-08-25T11:00:48.084Z] 33b1e0a273af: Verifying Checksum [2023-08-25T11:00:48.084Z] 33b1e0a273af: Download complete [2023-08-25T11:00:48.343Z] 5d3b04190fa2: Verifying Checksum [2023-08-25T11:00:48.343Z] 5d3b04190fa2: Download complete [2023-08-25T11:00:48.343Z] ec43610c2a17: Verifying Checksum [2023-08-25T11:00:48.343Z] ec43610c2a17: Download complete [2023-08-25T11:00:48.601Z] 5eb5b503b376: Verifying Checksum [2023-08-25T11:00:48.601Z] 5eb5b503b376: Download complete [2023-08-25T11:00:49.166Z] 2f39f015ded8: Download complete [2023-08-25T11:00:49.729Z] 5eb5b503b376: Pull complete [2023-08-25T11:00:50.010Z] 5c69ac0246d0: Pull complete [2023-08-25T11:00:50.576Z] ec43610c2a17: Pull complete [2023-08-25T11:00:50.576Z] 3a2ae6a8a46f: Pull complete [2023-08-25T11:00:50.839Z] 33b1e0a273af: Pull complete [2023-08-25T11:00:50.839Z] 5d3b04190fa2: Pull complete [2023-08-25T11:00:55.029Z] 2f39f015ded8: Pull complete [2023-08-25T11:00:55.029Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-25T11:00:55.029Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T11:00:55.029Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:00:55.115Z] prd-ubuntu20.04-docker-8c-8g-4559 does not seem to be running inside a container [2023-08-25T11:00:55.141Z] $ 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_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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-lftools-log-publisher:latest cat [2023-08-25T11:01:00.962Z] $ docker top d67321862ad892e134510ade0693e6bc9332a74871ec94f2c8b14056d239985b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:01:01.327Z] ---> job-cost.sh [2023-08-25T11:01:01.327Z] lf-activate-venv: SKIPPING [2023-08-25T11:01:01.327Z] INFO: No Stack... [2023-08-25T11:01:01.588Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-25T11:01:02.158Z] INFO: Archiving Costs [Pipeline] sh [2023-08-25T11:01:02.444Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2023-08-25T11:01:02.444Z] + cut -d, -f6 [Pipeline] lock [2023-08-25T11:01:02.457Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-91-stack-cost] [2023-08-25T11:01:02.463Z] Resource [jenkins-edgexfoundry-device-gpio-main-91-stack-cost] did not exist. Created. [2023-08-25T11:01:02.464Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-91-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-25T11:01:02.760Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-25T11:01:02.789Z] Stashed 1 file(s) [Pipeline] } [2023-08-25T11:01:02.796Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-91-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-25T11:01:02.808Z] $ docker stop --time=1 d67321862ad892e134510ade0693e6bc9332a74871ec94f2c8b14056d239985b [2023-08-25T11:01:03.977Z] $ docker rm -f --volumes d67321862ad892e134510ade0693e6bc9332a74871ec94f2c8b14056d239985b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-25T11:01:50.989Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4567 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2023-08-25T11:01:51.006Z] Running in /w/workspace/device-gpio/91 [Pipeline] { [Pipeline] checkout [2023-08-25T11:01:51.053Z] The recommended git tool is: git [2023-08-25T11:01:59.207Z] using credential edgex-jenkins-ssh [2023-08-25T11:01:59.227Z] Cloning the remote Git repository [2023-08-25T11:01:59.310Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-08-25T11:01:59.553Z] > git init /w/workspace/device-gpio/91 # timeout=10 [2023-08-25T11:01:59.853Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-08-25T11:01:59.854Z] > git --version # timeout=10 [2023-08-25T11:01:59.901Z] > git --version # 'git version 2.25.1' [2023-08-25T11:01:59.905Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-25T11:02:00.169Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-25T11:02:01.982Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-08-25T11:02:02.031Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-25T11:02:03.491Z] Avoid second fetch [2023-08-25T11:02:03.492Z] Checking out Revision 626ee0dc731c846558003605e490be3fc08946a3 (main) [2023-08-25T11:02:04.364Z] Commit message: "Merge pull request #188 from FelixTing/update-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2023-08-25T11:02:03.513Z] > git config core.sparsecheckout # timeout=10 [2023-08-25T11:02:03.645Z] > git checkout -f 626ee0dc731c846558003605e490be3fc08946a3 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T11:02:05.427Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-25T11:02:05.427Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-25T11:02:05.427Z] Dload Upload Total Spent Left Speed [2023-08-25T11:02:05.428Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 185k [Pipeline] sh [2023-08-25T11:02:06.449Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-25T11:02:06.838Z] + sudo tee /etc/docker/daemon.new [2023-08-25T11:02:06.838Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-25T11:02:06.838Z] { [2023-08-25T11:02:06.838Z] "registry-mirrors": [ [2023-08-25T11:02:06.838Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-25T11:02:06.838Z] ], [2023-08-25T11:02:06.838Z] "bip": "10.250.0.254/24", [2023-08-25T11:02:06.838Z] "hosts": [ [2023-08-25T11:02:06.838Z] "tcp://0.0.0.0:5555", [2023-08-25T11:02:06.838Z] "unix:///var/run/docker.sock" [2023-08-25T11:02:06.838Z] ], [2023-08-25T11:02:06.838Z] "mtu": 1458, [2023-08-25T11:02:06.838Z] "selinux-enabled": true, [2023-08-25T11:02:06.838Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-25T11:02:06.838Z] } [Pipeline] sh [2023-08-25T11:02:07.529Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-25T11:02:08.186Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T11:02:26.737Z] provisioning config files... [2023-08-25T11:02:26.767Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/91@tmp/config6474376327964868202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:02:27.141Z] ---> docker-login.sh [2023-08-25T11:02:27.141Z] nexus3.edgexfoundry.org:10001 [2023-08-25T11:02:27.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:02:28.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:02:28.005Z] Configure a credential helper to remove this warning. See [2023-08-25T11:02:28.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:02:28.005Z] [2023-08-25T11:02:28.005Z] Login Succeeded [2023-08-25T11:02:28.005Z] nexus3.edgexfoundry.org:10002 [2023-08-25T11:02:28.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:02:28.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:02:28.277Z] Configure a credential helper to remove this warning. See [2023-08-25T11:02:28.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:02:28.277Z] [2023-08-25T11:02:28.277Z] Login Succeeded [2023-08-25T11:02:28.277Z] nexus3.edgexfoundry.org:10003 [2023-08-25T11:02:28.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:02:28.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:02:28.548Z] Configure a credential helper to remove this warning. See [2023-08-25T11:02:28.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:02:28.548Z] [2023-08-25T11:02:28.548Z] Login Succeeded [2023-08-25T11:02:28.548Z] nexus3.edgexfoundry.org:10004 [2023-08-25T11:02:28.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:02:29.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:02:29.091Z] Configure a credential helper to remove this warning. See [2023-08-25T11:02:29.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:02:29.091Z] [2023-08-25T11:02:29.091Z] Login Succeeded [2023-08-25T11:02:29.091Z] docker.io [2023-08-25T11:02:29.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:02:29.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:02:29.631Z] Configure a credential helper to remove this warning. See [2023-08-25T11:02:29.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:02:29.631Z] [2023-08-25T11:02:29.631Z] Login Succeeded [2023-08-25T11:02:29.631Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T11:02:29.647Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-25T11:02:29.992Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T11:02:30.009Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T11:02:30.020Z] ========================================================= [2023-08-25T11:02:30.020Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-25T11:02:30.020Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:02:30.396Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-25T11:02:30.673Z] Sending build context to Docker daemon 8.08MB [2023-08-25T11:02:30.951Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T11:02:30.951Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-25T11:02:30.951Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-25T11:02:30.951Z] edb6bdbacee9: Pulling fs layer [2023-08-25T11:02:30.951Z] 5f9638ab2659: Pulling fs layer [2023-08-25T11:02:30.951Z] 8d51d6327a98: Pulling fs layer [2023-08-25T11:02:30.951Z] 8b374f2dd631: Pulling fs layer [2023-08-25T11:02:30.951Z] ec14aa9079de: Pulling fs layer [2023-08-25T11:02:30.951Z] 2f466654f4bb: Pulling fs layer [2023-08-25T11:02:30.951Z] 554e91adad29: Pulling fs layer [2023-08-25T11:02:30.951Z] ec14aa9079de: Waiting [2023-08-25T11:02:30.951Z] 2f466654f4bb: Waiting [2023-08-25T11:02:30.951Z] 554e91adad29: Waiting [2023-08-25T11:02:30.951Z] 8b374f2dd631: Waiting [2023-08-25T11:02:31.221Z] 5f9638ab2659: Verifying Checksum [2023-08-25T11:02:31.221Z] 5f9638ab2659: Download complete [2023-08-25T11:02:31.221Z] 8b374f2dd631: Verifying Checksum [2023-08-25T11:02:31.221Z] 8b374f2dd631: Download complete [2023-08-25T11:02:31.221Z] ec14aa9079de: Verifying Checksum [2023-08-25T11:02:31.221Z] ec14aa9079de: Download complete [2023-08-25T11:02:31.221Z] edb6bdbacee9: Verifying Checksum [2023-08-25T11:02:31.221Z] edb6bdbacee9: Download complete [2023-08-25T11:02:32.661Z] edb6bdbacee9: Pull complete [2023-08-25T11:02:32.661Z] 554e91adad29: Verifying Checksum [2023-08-25T11:02:32.661Z] 554e91adad29: Download complete [2023-08-25T11:02:32.935Z] 5f9638ab2659: Pull complete [2023-08-25T11:02:33.919Z] 8d51d6327a98: Verifying Checksum [2023-08-25T11:02:33.919Z] 8d51d6327a98: Download complete [2023-08-25T11:02:34.189Z] 2f466654f4bb: Verifying Checksum [2023-08-25T11:02:34.189Z] 2f466654f4bb: Download complete [2023-08-25T11:02:46.555Z] 8d51d6327a98: Pull complete [2023-08-25T11:02:46.555Z] 8b374f2dd631: Pull complete [2023-08-25T11:02:46.555Z] ec14aa9079de: Pull complete [2023-08-25T11:02:51.948Z] 2f466654f4bb: Pull complete [2023-08-25T11:02:54.568Z] 554e91adad29: Pull complete [2023-08-25T11:02:54.568Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-25T11:02:54.568Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-25T11:02:54.568Z] ---> 1e15ea492957 [2023-08-25T11:02:54.568Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-25T11:02:56.533Z] ---> Running in 8358331895b8 [2023-08-25T11:02:56.804Z] Removing intermediate container 8358331895b8 [2023-08-25T11:02:56.804Z] ---> a40cfdbc3546 [2023-08-25T11:02:57.073Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T11:02:57.073Z] ---> Running in 0a110c4cf4f3 [2023-08-25T11:02:57.343Z] Removing intermediate container 0a110c4cf4f3 [2023-08-25T11:02:57.343Z] ---> 79dceb52217b [2023-08-25T11:02:57.343Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-08-25T11:02:57.343Z] ---> Running in 7432327e6a45 [2023-08-25T11:02:57.628Z] Removing intermediate container 7432327e6a45 [2023-08-25T11:02:57.628Z] ---> b398efd2c9b9 [2023-08-25T11:02:57.628Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-25T11:02:57.898Z] ---> Running in 6a45e5203978 [2023-08-25T11:02:58.166Z] Removing intermediate container 6a45e5203978 [2023-08-25T11:02:58.166Z] ---> cfdf70a8cd74 [2023-08-25T11:02:58.166Z] Step 7/12 : WORKDIR /device-gpio [2023-08-25T11:02:58.166Z] ---> Running in 7c383baf084e [2023-08-25T11:02:58.435Z] Removing intermediate container 7c383baf084e [2023-08-25T11:02:58.435Z] ---> fcfae25f640f [2023-08-25T11:02:58.435Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T11:02:58.435Z] ---> Running in 1b204fd61297 [2023-08-25T11:02:59.942Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T11:03:00.531Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T11:03:01.952Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-25T11:03:01.952Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-25T11:03:01.952Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-25T11:03:01.952Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-25T11:03:01.952Z] Executing busybox-1.35.0-r29.trigger [2023-08-25T11:03:01.952Z] OK: 268 MiB in 57 packages [2023-08-25T11:03:03.384Z] Removing intermediate container 1b204fd61297 [2023-08-25T11:03:03.384Z] ---> 8ddd1fd46a0c [2023-08-25T11:03:03.384Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-25T11:03:03.656Z] ---> 834673457208 [2023-08-25T11:03:03.656Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T11:03:03.927Z] ---> Running in 583e6072b166 [2023-08-25T11:04:25.610Z] Removing intermediate container 583e6072b166 [2023-08-25T11:04:25.610Z] ---> 1d1e7e1d7360 [2023-08-25T11:04:25.610Z] Step 11/12 : COPY . . [2023-08-25T11:04:25.610Z] ---> fccea78979a2 [2023-08-25T11:04:25.610Z] Step 12/12 : RUN ${MAKE} [2023-08-25T11:04:25.610Z] ---> Running in 24e032ddd0c7 [2023-08-25T11:04:25.610Z] noop [2023-08-25T11:04:25.610Z] Removing intermediate container 24e032ddd0c7 [2023-08-25T11:04:25.610Z] ---> 8d0e3f6a75b2 [2023-08-25T11:04:25.610Z] Successfully built 8d0e3f6a75b2 [2023-08-25T11:04:25.610Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:04:25.968Z] + docker inspect -f . ci-base-image-arm64 [2023-08-25T11:04:25.968Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:04:26.210Z] prd-ubuntu20.04-docker-arm64-4c-16g-4567 does not seem to be running inside a container [2023-08-25T11:04:26.284Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/91 -v /w/workspace/device-gpio/91:/w/workspace/device-gpio/91:rw,z -v /w/workspace/device-gpio/91@tmp:/w/workspace/device-gpio/91@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 ******** ci-base-image-arm64 cat [2023-08-25T11:04:27.737Z] $ docker top 11e9087d3aa4913baa2b3dc60bfcebae485b799787f2c00e1248c1da15c9189a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T11:04:28.628Z] + go version [2023-08-25T11:04:28.628Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-25T11:04:28.642Z] $ docker stop --time=1 11e9087d3aa4913baa2b3dc60bfcebae485b799787f2c00e1248c1da15c9189a [2023-08-25T11:04:30.340Z] $ docker rm -f --volumes 11e9087d3aa4913baa2b3dc60bfcebae485b799787f2c00e1248c1da15c9189a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:04:30.921Z] + docker inspect -f . ci-base-image-arm64 [2023-08-25T11:04:30.921Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:04:31.132Z] prd-ubuntu20.04-docker-arm64-4c-16g-4567 does not seem to be running inside a container [2023-08-25T11:04:31.209Z] $ 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/91 -v /w/workspace/device-gpio/91:/w/workspace/device-gpio/91:rw,z -v /w/workspace/device-gpio/91@tmp:/w/workspace/device-gpio/91@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 ******** ci-base-image-arm64 cat [2023-08-25T11:04:32.837Z] $ docker top ecb378434f0240088e08183b67221ce8c8b44126138158e9fb33a34be4aa30db -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T11:04:33.738Z] + git config --global --add safe.directory /w/workspace/device-gpio/91 [Pipeline] fileExists [Pipeline] sh [2023-08-25T11:04:34.415Z] + make test [2023-08-25T11:04:34.415Z] go test ./... -coverprofile=coverage.out ./... [2023-08-25T11:05:13.350Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-08-25T11:07:35.097Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-08-25T11:07:35.097Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-08-25T11:07:35.097Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-25T11:07:35.097Z] go vet ./... [2023-08-25T11:08:02.040Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-25T11:08:02.041Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-25T11:08:02.041Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-25T11:08:02.061Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-25T11:08:02.067Z] $ docker stop --time=1 ecb378434f0240088e08183b67221ce8c8b44126138158e9fb33a34be4aa30db [2023-08-25T11:08:04.082Z] $ docker rm -f --volumes ecb378434f0240088e08183b67221ce8c8b44126138158e9fb33a34be4aa30db [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T11:08:05.454Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-25T11:08:05.481Z] Warning: overwriting stash ‘coverage-report’ [2023-08-25T11:08:06.032Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T11:08:06.434Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-25T11:08:06.778Z] + ls -al . [2023-08-25T11:08:06.778Z] total 164 [2023-08-25T11:08:06.778Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 11:04 . [2023-08-25T11:08:06.778Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 11:02 .. [2023-08-25T11:08:06.778Z] -rw-rw-r-- 1 jenkins jenkins 120 Aug 25 11:02 .dockerignore [2023-08-25T11:08:06.778Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 11:02 .git [2023-08-25T11:08:06.778Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 11:02 .github [2023-08-25T11:08:06.778Z] -rw-rw-r-- 1 jenkins jenkins 343 Aug 25 11:02 .gitignore [2023-08-25T11:08:06.778Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 11:02 .golangci.yml [2023-08-25T11:08:06.778Z] -rw-rw-r-- 1 jenkins jenkins 10671 Aug 25 11:02 Attribution.txt [2023-08-25T11:08:06.778Z] -rw-rw-r-- 1 jenkins jenkins 6184 Aug 25 11:02 CHANGELOG.md [2023-08-25T11:08:06.778Z] -rw-rw-r-- 1 jenkins jenkins 1542 Aug 25 11:02 Dockerfile [2023-08-25T11:08:06.778Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 11:02 GOVERNANCE.md [2023-08-25T11:08:06.778Z] -rw-rw-r-- 1 jenkins jenkins 657 Aug 25 11:02 Jenkinsfile [2023-08-25T11:08:06.778Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 11:02 LICENSE [2023-08-25T11:08:06.778Z] -rw-rw-r-- 1 jenkins jenkins 1923 Aug 25 11:02 Makefile [2023-08-25T11:08:06.778Z] -rw-rw-r-- 1 jenkins jenkins 617 Aug 25 11:02 OWNERS.md [2023-08-25T11:08:06.778Z] -rw-rw-r-- 1 jenkins jenkins 12293 Aug 25 11:02 README.md [2023-08-25T11:08:06.778Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 25 10:58 VERSION [2023-08-25T11:08:06.778Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 11:02 bin [2023-08-25T11:08:06.778Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 11:02 cmd [2023-08-25T11:08:06.778Z] -rw-r--r-- 1 jenkins jenkins 10 Aug 25 11:04 coverage.out [2023-08-25T11:08:06.778Z] -rw-rw-r-- 1 jenkins jenkins 3696 Aug 25 11:02 go.mod [2023-08-25T11:08:06.778Z] -rw-rw-r-- 1 jenkins jenkins 34022 Aug 25 11:02 go.sum [2023-08-25T11:08:06.778Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 11:02 internal [2023-08-25T11:08:06.778Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 11:02 snap [2023-08-25T11:08:06.778Z] -rw-rw-r-- 1 jenkins jenkins 209 Aug 25 11:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:08:07.134Z] + 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=626ee0dc731c846558003605e490be3fc08946a3 --label arch=arm64 --label version=3.1.0-dev.4 . [2023-08-25T11:08:07.416Z] Sending build context to Docker daemon 8.081MB [2023-08-25T11:08:07.416Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T11:08:07.416Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-25T11:08:07.416Z] ---> 8d0e3f6a75b2 [2023-08-25T11:08:07.416Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-08-25T11:08:07.688Z] ---> Running in d18ae5d1af94 [2023-08-25T11:08:07.959Z] Removing intermediate container d18ae5d1af94 [2023-08-25T11:08:07.959Z] ---> 72540fde6e7b [2023-08-25T11:08:07.959Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-25T11:08:08.235Z] ---> Running in a8561b2ce5e9 [2023-08-25T11:08:08.510Z] Removing intermediate container a8561b2ce5e9 [2023-08-25T11:08:08.510Z] ---> 7504deec0f10 [2023-08-25T11:08:08.510Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-08-25T11:08:08.510Z] ---> Running in d88460824f20 [2023-08-25T11:08:08.786Z] Removing intermediate container d88460824f20 [2023-08-25T11:08:08.786Z] ---> df139ac3c8e7 [2023-08-25T11:08:08.786Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-25T11:08:09.058Z] ---> Running in 999f69f9895c [2023-08-25T11:08:09.331Z] Removing intermediate container 999f69f9895c [2023-08-25T11:08:09.331Z] ---> a67e9be13124 [2023-08-25T11:08:09.331Z] Step 7/25 : WORKDIR /device-gpio [2023-08-25T11:08:09.331Z] ---> Running in 9033e464a044 [2023-08-25T11:08:09.923Z] Removing intermediate container 9033e464a044 [2023-08-25T11:08:09.923Z] ---> 70166fcff799 [2023-08-25T11:08:09.923Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-25T11:08:09.923Z] ---> Running in 33171d91f692 [2023-08-25T11:08:10.898Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T11:08:11.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T11:08:13.288Z] OK: 268 MiB in 57 packages [2023-08-25T11:08:13.875Z] Removing intermediate container 33171d91f692 [2023-08-25T11:08:13.875Z] ---> 35db7a68e5a2 [2023-08-25T11:08:13.875Z] Step 9/25 : COPY go.mod vendor* ./ [2023-08-25T11:08:14.466Z] ---> 7b02253124d6 [2023-08-25T11:08:14.466Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T11:08:14.466Z] ---> Running in 4289760c0a66 [2023-08-25T11:08:17.058Z] Removing intermediate container 4289760c0a66 [2023-08-25T11:08:17.058Z] ---> fef52baaf921 [2023-08-25T11:08:17.058Z] Step 11/25 : COPY . . [2023-08-25T11:08:17.646Z] ---> 334107d3bc64 [2023-08-25T11:08:17.646Z] Step 12/25 : RUN ${MAKE} [2023-08-25T11:08:17.916Z] ---> Running in 4f095fd202ba [2023-08-25T11:08:18.884Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.1.0-dev.4 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-08-25T11:11:10.683Z] Removing intermediate container 4f095fd202ba [2023-08-25T11:11:10.683Z] ---> 247a6acb6a92 [2023-08-25T11:11:10.683Z] Step 13/25 : FROM alpine:3.17 [2023-08-25T11:11:10.683Z] 3.17: Pulling from library/alpine [2023-08-25T11:11:10.683Z] 4060ece20d7a: Pulling fs layer [2023-08-25T11:11:10.683Z] 4060ece20d7a: Verifying Checksum [2023-08-25T11:11:10.683Z] 4060ece20d7a: Download complete [2023-08-25T11:11:10.683Z] 4060ece20d7a: Pull complete [2023-08-25T11:11:10.683Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-25T11:11:10.683Z] Status: Downloaded newer image for alpine:3.17 [2023-08-25T11:11:10.683Z] ---> 8650cd65339b [2023-08-25T11:11:10.683Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-08-25T11:11:10.683Z] ---> Running in bbcd5f1a8ead [2023-08-25T11:11:10.683Z] Removing intermediate container bbcd5f1a8ead [2023-08-25T11:11:10.683Z] ---> a8c94be04650 [2023-08-25T11:11:10.683Z] Step 15/25 : RUN apk add --update --no-cache [2023-08-25T11:11:10.683Z] ---> Running in 0a3207ac6611 [2023-08-25T11:11:10.683Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T11:11:10.683Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T11:11:10.683Z] OK: 7 MiB in 15 packages [2023-08-25T11:11:10.683Z] Removing intermediate container 0a3207ac6611 [2023-08-25T11:11:10.683Z] ---> c97cada064ff [2023-08-25T11:11:10.683Z] Step 16/25 : WORKDIR / [2023-08-25T11:11:10.683Z] ---> Running in f07fb42490a9 [2023-08-25T11:11:10.683Z] Removing intermediate container f07fb42490a9 [2023-08-25T11:11:10.683Z] ---> 0c530eaef1c4 [2023-08-25T11:11:10.683Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-08-25T11:11:10.683Z] ---> e5193ee09dc7 [2023-08-25T11:11:10.683Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-08-25T11:11:11.267Z] ---> 909741f94004 [2023-08-25T11:11:11.267Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-08-25T11:11:12.679Z] ---> 301e30adaae6 [2023-08-25T11:11:12.679Z] Step 20/25 : EXPOSE 59910 [2023-08-25T11:11:12.947Z] ---> Running in 47da65fecdbd [2023-08-25T11:11:13.219Z] Removing intermediate container 47da65fecdbd [2023-08-25T11:11:13.219Z] ---> 2b2a8fe69201 [2023-08-25T11:11:13.219Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-08-25T11:11:13.219Z] ---> Running in cd5e934d460c [2023-08-25T11:11:13.490Z] Removing intermediate container cd5e934d460c [2023-08-25T11:11:13.490Z] ---> 5f37efe7be05 [2023-08-25T11:11:13.490Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-25T11:11:13.490Z] ---> Running in b4b22f9e1514 [2023-08-25T11:11:14.083Z] Removing intermediate container b4b22f9e1514 [2023-08-25T11:11:14.083Z] ---> 9f680d498b00 [2023-08-25T11:11:14.083Z] Step 23/25 : LABEL arch=arm64 [2023-08-25T11:11:14.083Z] ---> Running in e7979d25285a [2023-08-25T11:11:14.351Z] Removing intermediate container e7979d25285a [2023-08-25T11:11:14.351Z] ---> 5cfedfd3f490 [2023-08-25T11:11:14.351Z] Step 24/25 : LABEL git_sha=626ee0dc731c846558003605e490be3fc08946a3 [2023-08-25T11:11:14.351Z] ---> Running in 52f3fa4bc87d [2023-08-25T11:11:14.621Z] Removing intermediate container 52f3fa4bc87d [2023-08-25T11:11:14.621Z] ---> ddd40f935589 [2023-08-25T11:11:14.621Z] Step 25/25 : LABEL version=3.1.0-dev.4 [2023-08-25T11:11:14.621Z] ---> Running in b828b1a71ff2 [2023-08-25T11:11:15.213Z] Removing intermediate container b828b1a71ff2 [2023-08-25T11:11:15.213Z] ---> 7b2d6f4989e9 [2023-08-25T11:11:15.213Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-25T11:11:15.213Z] Successfully built 7b2d6f4989e9 [2023-08-25T11:11:15.213Z] Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T11:11:15.359Z] provisioning config files... [2023-08-25T11:11:15.376Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/91@tmp/config2856179118972686986tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:11:15.719Z] ---> docker-login.sh [2023-08-25T11:11:15.719Z] nexus3.edgexfoundry.org:10001 [2023-08-25T11:11:15.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:11:15.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:11:15.989Z] Configure a credential helper to remove this warning. See [2023-08-25T11:11:15.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:11:15.989Z] [2023-08-25T11:11:15.989Z] Login Succeeded [2023-08-25T11:11:15.989Z] nexus3.edgexfoundry.org:10002 [2023-08-25T11:11:16.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:11:16.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:11:16.529Z] Configure a credential helper to remove this warning. See [2023-08-25T11:11:16.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:11:16.529Z] [2023-08-25T11:11:16.529Z] Login Succeeded [2023-08-25T11:11:16.529Z] nexus3.edgexfoundry.org:10003 [2023-08-25T11:11:16.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:11:16.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:11:16.799Z] Configure a credential helper to remove this warning. See [2023-08-25T11:11:16.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:11:16.799Z] [2023-08-25T11:11:16.799Z] Login Succeeded [2023-08-25T11:11:16.799Z] nexus3.edgexfoundry.org:10004 [2023-08-25T11:11:17.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:11:17.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:11:17.342Z] Configure a credential helper to remove this warning. See [2023-08-25T11:11:17.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:11:17.342Z] [2023-08-25T11:11:17.342Z] Login Succeeded [2023-08-25T11:11:17.342Z] docker.io [2023-08-25T11:11:17.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T11:11:17.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T11:11:17.888Z] Configure a credential helper to remove this warning. See [2023-08-25T11:11:17.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T11:11:17.888Z] [2023-08-25T11:11:17.888Z] Login Succeeded [2023-08-25T11:11:17.888Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T11:11:17.905Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-25T11:11:17.944Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T11:11:17.971Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2023-08-25T11:11:17.971Z] 626ee0dc731c846558003605e490be3fc08946a3 [2023-08-25T11:11:17.971Z] latest [2023-08-25T11:11:17.971Z] 3.1.0-dev.4 [2023-08-25T11:11:17.971Z] 626ee0dc731c846558003605e490be3fc08946a3-3.1.0-dev.4 [2023-08-25T11:11:17.971Z] main [2023-08-25T11:11:17.971Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:18.330Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:626ee0dc731c846558003605e490be3fc08946a3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:18.689Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:626ee0dc731c846558003605e490be3fc08946a3 [2023-08-25T11:11:18.689Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-08-25T11:11:18.689Z] e0895e73ba95: Preparing [2023-08-25T11:11:18.689Z] dcac8c39ac11: Preparing [2023-08-25T11:11:18.689Z] 77ccf7c72221: Preparing [2023-08-25T11:11:18.689Z] 0e6ee27de3e6: Preparing [2023-08-25T11:11:18.689Z] d2d9d24a8c2a: Preparing [2023-08-25T11:11:18.960Z] d2d9d24a8c2a: Layer already exists [2023-08-25T11:11:18.960Z] 77ccf7c72221: Pushed [2023-08-25T11:11:18.960Z] dcac8c39ac11: Pushed [2023-08-25T11:11:18.960Z] 0e6ee27de3e6: Pushed [2023-08-25T11:11:25.629Z] e0895e73ba95: Pushed [2023-08-25T11:11:25.629Z] 626ee0dc731c846558003605e490be3fc08946a3: digest: sha256:63624a5dd66e5f01601e896482d7c1d250db2da88982cb79ba76f9c57f1735b1 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:25.996Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:26.356Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-08-25T11:11:26.356Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-08-25T11:11:26.356Z] e0895e73ba95: Preparing [2023-08-25T11:11:26.356Z] dcac8c39ac11: Preparing [2023-08-25T11:11:26.356Z] 77ccf7c72221: Preparing [2023-08-25T11:11:26.356Z] 0e6ee27de3e6: Preparing [2023-08-25T11:11:26.356Z] d2d9d24a8c2a: Preparing [2023-08-25T11:11:26.356Z] dcac8c39ac11: Layer already exists [2023-08-25T11:11:26.356Z] 0e6ee27de3e6: Layer already exists [2023-08-25T11:11:26.356Z] e0895e73ba95: Layer already exists [2023-08-25T11:11:26.356Z] 77ccf7c72221: Layer already exists [2023-08-25T11:11:26.356Z] d2d9d24a8c2a: Layer already exists [2023-08-25T11:11:26.624Z] latest: digest: sha256:63624a5dd66e5f01601e896482d7c1d250db2da88982cb79ba76f9c57f1735b1 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:26.984Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:27.333Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.4 [2023-08-25T11:11:27.333Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-08-25T11:11:27.333Z] e0895e73ba95: Preparing [2023-08-25T11:11:27.333Z] dcac8c39ac11: Preparing [2023-08-25T11:11:27.333Z] 77ccf7c72221: Preparing [2023-08-25T11:11:27.333Z] 0e6ee27de3e6: Preparing [2023-08-25T11:11:27.333Z] d2d9d24a8c2a: Preparing [2023-08-25T11:11:27.333Z] d2d9d24a8c2a: Layer already exists [2023-08-25T11:11:27.333Z] 0e6ee27de3e6: Layer already exists [2023-08-25T11:11:27.333Z] dcac8c39ac11: Layer already exists [2023-08-25T11:11:27.333Z] 77ccf7c72221: Layer already exists [2023-08-25T11:11:27.333Z] e0895e73ba95: Layer already exists [2023-08-25T11:11:27.602Z] 3.1.0-dev.4: digest: sha256:63624a5dd66e5f01601e896482d7c1d250db2da88982cb79ba76f9c57f1735b1 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:27.964Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:626ee0dc731c846558003605e490be3fc08946a3-3.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:28.324Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:626ee0dc731c846558003605e490be3fc08946a3-3.1.0-dev.4 [2023-08-25T11:11:28.324Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-08-25T11:11:28.324Z] e0895e73ba95: Preparing [2023-08-25T11:11:28.324Z] dcac8c39ac11: Preparing [2023-08-25T11:11:28.324Z] 77ccf7c72221: Preparing [2023-08-25T11:11:28.324Z] 0e6ee27de3e6: Preparing [2023-08-25T11:11:28.324Z] d2d9d24a8c2a: Preparing [2023-08-25T11:11:28.324Z] 0e6ee27de3e6: Layer already exists [2023-08-25T11:11:28.324Z] d2d9d24a8c2a: Layer already exists [2023-08-25T11:11:28.324Z] 77ccf7c72221: Layer already exists [2023-08-25T11:11:28.324Z] e0895e73ba95: Layer already exists [2023-08-25T11:11:28.324Z] dcac8c39ac11: Layer already exists [2023-08-25T11:11:28.591Z] 626ee0dc731c846558003605e490be3fc08946a3-3.1.0-dev.4: digest: sha256:63624a5dd66e5f01601e896482d7c1d250db2da88982cb79ba76f9c57f1735b1 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:28.946Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:29.293Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2023-08-25T11:11:29.294Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-08-25T11:11:29.294Z] e0895e73ba95: Preparing [2023-08-25T11:11:29.294Z] dcac8c39ac11: Preparing [2023-08-25T11:11:29.294Z] 77ccf7c72221: Preparing [2023-08-25T11:11:29.294Z] 0e6ee27de3e6: Preparing [2023-08-25T11:11:29.294Z] d2d9d24a8c2a: Preparing [2023-08-25T11:11:29.294Z] dcac8c39ac11: Layer already exists [2023-08-25T11:11:29.294Z] 0e6ee27de3e6: Layer already exists [2023-08-25T11:11:29.294Z] 77ccf7c72221: Layer already exists [2023-08-25T11:11:29.294Z] e0895e73ba95: Layer already exists [2023-08-25T11:11:29.294Z] d2d9d24a8c2a: Layer already exists [2023-08-25T11:11:29.562Z] main: digest: sha256:63624a5dd66e5f01601e896482d7c1d250db2da88982cb79ba76f9c57f1735b1 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-25T11:11:29.615Z] ===================================================== [Pipeline] echo [2023-08-25T11:11:29.627Z] taggedImages: [2023-08-25T11:11:29.627Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:626ee0dc731c846558003605e490be3fc08946a3 [2023-08-25T11:11:29.627Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-08-25T11:11:29.627Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.4 [2023-08-25T11:11:29.627Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:626ee0dc731c846558003605e490be3fc08946a3-3.1.0-dev.4 [2023-08-25T11:11:29.627Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:30.009Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T11:11:30.009Z] [2023-08-25T11:11:30.009Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:11:30.348Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T11:11:30.622Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-25T11:11:30.622Z] 8998bd30e6a1: Pulling fs layer [2023-08-25T11:11:30.622Z] 04944245beec: Pulling fs layer [2023-08-25T11:11:30.623Z] 699f458cf7ca: Pulling fs layer [2023-08-25T11:11:30.623Z] 765212b225bb: Pulling fs layer [2023-08-25T11:11:30.623Z] f23df028b6ca: Pulling fs layer [2023-08-25T11:11:30.623Z] d65c8cfc05b1: Pulling fs layer [2023-08-25T11:11:30.623Z] 2437ff75d9bd: Pulling fs layer [2023-08-25T11:11:30.623Z] 765212b225bb: Waiting [2023-08-25T11:11:30.623Z] 2437ff75d9bd: Waiting [2023-08-25T11:11:30.623Z] f23df028b6ca: Waiting [2023-08-25T11:11:30.623Z] d65c8cfc05b1: Waiting [2023-08-25T11:11:30.623Z] 04944245beec: Verifying Checksum [2023-08-25T11:11:30.623Z] 04944245beec: Download complete [2023-08-25T11:11:30.623Z] 765212b225bb: Verifying Checksum [2023-08-25T11:11:30.623Z] 765212b225bb: Download complete [2023-08-25T11:11:30.623Z] f23df028b6ca: Download complete [2023-08-25T11:11:30.623Z] d65c8cfc05b1: Verifying Checksum [2023-08-25T11:11:30.623Z] d65c8cfc05b1: Download complete [2023-08-25T11:11:30.892Z] 699f458cf7ca: Verifying Checksum [2023-08-25T11:11:30.892Z] 699f458cf7ca: Download complete [2023-08-25T11:11:31.163Z] 8998bd30e6a1: Verifying Checksum [2023-08-25T11:11:31.163Z] 8998bd30e6a1: Download complete [2023-08-25T11:11:33.760Z] 2437ff75d9bd: Verifying Checksum [2023-08-25T11:11:33.760Z] 2437ff75d9bd: Download complete [2023-08-25T11:11:35.708Z] 8998bd30e6a1: Pull complete [2023-08-25T11:11:35.977Z] 04944245beec: Pull complete [2023-08-25T11:11:37.389Z] 699f458cf7ca: Pull complete [2023-08-25T11:11:37.656Z] 765212b225bb: Pull complete [2023-08-25T11:11:38.620Z] f23df028b6ca: Pull complete [2023-08-25T11:11:38.620Z] d65c8cfc05b1: Pull complete [2023-08-25T11:11:53.625Z] 2437ff75d9bd: Pull complete [2023-08-25T11:11:53.625Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-25T11:11:53.625Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T11:11:53.625Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:11:53.880Z] prd-ubuntu20.04-docker-arm64-4c-16g-4567 does not seem to be running inside a container [2023-08-25T11:11:53.958Z] $ 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/91 -v /w/workspace/device-gpio/91:/w/workspace/device-gpio/91:rw,z -v /w/workspace/device-gpio/91@tmp:/w/workspace/device-gpio/91@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-25T11:11:56.720Z] $ docker top 4e60d3eb2199e2b3f910e7ae8b19edde1be6460e9cedd2aad76dfa5a7baee03d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:11:57.602Z] ---> job-cost.sh [2023-08-25T11:11:57.602Z] lf-activate-venv: SKIPPING [2023-08-25T11:11:57.602Z] INFO: No Stack... [2023-08-25T11:11:57.873Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-25T11:11:58.827Z] INFO: Archiving Costs [Pipeline] sh [2023-08-25T11:11:59.145Z] + cut -d, -f6 [2023-08-25T11:11:59.145Z] + cat /w/workspace/device-gpio/91/archives/cost.csv [Pipeline] lock [2023-08-25T11:11:59.210Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-91-stack-cost] [2023-08-25T11:11:59.218Z] Resource [jenkins-edgexfoundry-device-gpio-main-91-stack-cost] did not exist. Created. [2023-08-25T11:11:59.218Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-91-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-25T11:11:59.557Z] /w/workspace/device-gpio/91@tmp/durable-15c82c67/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-25T11:12:00.213Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-25T11:12:00.233Z] Warning: overwriting stash ‘stack-cost’ [2023-08-25T11:12:00.288Z] Stashed 1 file(s) [Pipeline] } [2023-08-25T11:12:00.309Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-91-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-25T11:12:00.322Z] $ docker stop --time=1 4e60d3eb2199e2b3f910e7ae8b19edde1be6460e9cedd2aad76dfa5a7baee03d [2023-08-25T11:12:03.297Z] $ docker rm -f --volumes 4e60d3eb2199e2b3f910e7ae8b19edde1be6460e9cedd2aad76dfa5a7baee03d [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 [2023-08-25T11:12:03.671Z] provisioning config files... [2023-08-25T11:12:03.678Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config13658195832724435794tmp [Pipeline] { [Pipeline] sh [2023-08-25T11:12:03.968Z] + set +x [2023-08-25T11:12:03.968Z] + curl -s https://codecov.io/bash [2023-08-25T11:12:03.968Z] + bash -s -- [2023-08-25T11:12:03.968Z] [2023-08-25T11:12:03.968Z] _____ _ [2023-08-25T11:12:03.968Z] / ____| | | [2023-08-25T11:12:03.968Z] | | ___ __| | ___ ___ _____ __ [2023-08-25T11:12:03.968Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-25T11:12:03.968Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-25T11:12:03.968Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-25T11:12:03.968Z] Bash-1.0.6 [2023-08-25T11:12:03.968Z] [2023-08-25T11:12:03.968Z] [2023-08-25T11:12:03.968Z] ==> git version 2.25.1 found [2023-08-25T11:12:03.968Z] ==> 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 [2023-08-25T11:12:03.968Z] Release-Date: 2020-01-08 [2023-08-25T11:12:03.968Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-08-25T11:12:03.968Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-25T11:12:03.968Z] ==> Jenkins CI detected. [2023-08-25T11:12:03.968Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2023-08-25T11:12:03.968Z] project root: . [2023-08-25T11:12:03.968Z] --> token set from env [2023-08-25T11:12:03.968Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-25T11:12:03.968Z] ==> Running gcov in . (disable via -X gcov) [2023-08-25T11:12:03.968Z] ==> Python coveragepy not found [2023-08-25T11:12:03.968Z] ==> Searching for coverage reports in: [2023-08-25T11:12:03.968Z] + . [2023-08-25T11:12:03.968Z] -> Found 1 reports [2023-08-25T11:12:03.968Z] ==> Detecting git/mercurial file structure [2023-08-25T11:12:03.968Z] ==> Reading reports [2023-08-25T11:12:03.968Z] + ./coverage.out bytes=10 [2023-08-25T11:12:03.968Z] ==> Appending adjustments [2023-08-25T11:12:03.968Z] https://docs.codecov.io/docs/fixing-reports [2023-08-25T11:12:04.227Z] + Found adjustments [2023-08-25T11:12:04.227Z] ==> Gzipping contents [2023-08-25T11:12:04.227Z] 4.0K /tmp/codecov.8MG8ur.gz [2023-08-25T11:12:04.227Z] ==> Uploading reports [2023-08-25T11:12:04.227Z] url: https://codecov.io [2023-08-25T11:12:04.227Z] query: branch=main&commit=626ee0dc731c846558003605e490be3fc08946a3&build=91&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F91%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-25T11:12:04.227Z] -> Pinging Codecov [2023-08-25T11:12:04.227Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=main&commit=626ee0dc731c846558003605e490be3fc08946a3&build=91&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F91%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-25T11:12:04.227Z] -> Uploading to [2023-08-25T11:12:04.227Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-25/3EC07B1A8CA8AF9BCAA0BB9F0134797F/626ee0dc731c846558003605e490be3fc08946a3/2f311bad-e6aa-4d3c-b19e-e1a52843efde.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230825%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230825T111204Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=77443895c0f93214edc326530fb946ebd43868b539033bc8ddfca9d3c975a104 [2023-08-25T11:12:04.227Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-25T11:12:04.227Z] Dload Upload Total Spent Left Speed [2023-08-25T11:12:04.487Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3480 --:--:-- --:--:-- --:--:-- 3480 [2023-08-25T11:12:04.487Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/626ee0dc731c846558003605e490be3fc08946a3 [Pipeline] } [2023-08-25T11:12:04.494Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-25T11:12:04.637Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-25T11:12:04.646Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:12:04.945Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-25T11:12:04.945Z] [2023-08-25T11:12:04.945Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:12:05.243Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-25T11:12:05.243Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-25T11:12:05.243Z] df9b9388f04a: Pulling fs layer [2023-08-25T11:12:05.243Z] 52dc419b0ee2: Pulling fs layer [2023-08-25T11:12:05.243Z] 25bc292e5bac: Pulling fs layer [2023-08-25T11:12:05.243Z] 114826534d7a: Pulling fs layer [2023-08-25T11:12:05.243Z] 4657fd5d0bcf: Pulling fs layer [2023-08-25T11:12:05.243Z] 6ad1cebc031e: Pulling fs layer [2023-08-25T11:12:05.243Z] 8a3aa393b2d8: Pulling fs layer [2023-08-25T11:12:05.243Z] 8a3aa393b2d8: Waiting [2023-08-25T11:12:05.243Z] 6ad1cebc031e: Waiting [2023-08-25T11:12:05.243Z] 114826534d7a: Waiting [2023-08-25T11:12:05.243Z] 4657fd5d0bcf: Waiting [2023-08-25T11:12:05.243Z] 25bc292e5bac: Download complete [2023-08-25T11:12:05.243Z] 52dc419b0ee2: Download complete [2023-08-25T11:12:05.243Z] 4657fd5d0bcf: Verifying Checksum [2023-08-25T11:12:05.243Z] 4657fd5d0bcf: Download complete [2023-08-25T11:12:05.243Z] df9b9388f04a: Download complete [2023-08-25T11:12:05.504Z] df9b9388f04a: Pull complete [2023-08-25T11:12:05.504Z] 6ad1cebc031e: Verifying Checksum [2023-08-25T11:12:05.504Z] 6ad1cebc031e: Download complete [2023-08-25T11:12:05.504Z] 52dc419b0ee2: Pull complete [2023-08-25T11:12:05.504Z] 25bc292e5bac: Pull complete [2023-08-25T11:12:06.072Z] 114826534d7a: Verifying Checksum [2023-08-25T11:12:06.072Z] 114826534d7a: Download complete [2023-08-25T11:12:06.072Z] 8a3aa393b2d8: Verifying Checksum [2023-08-25T11:12:06.072Z] 8a3aa393b2d8: Download complete [2023-08-25T11:12:09.405Z] 114826534d7a: Pull complete [2023-08-25T11:12:09.405Z] 4657fd5d0bcf: Pull complete [2023-08-25T11:12:09.972Z] 6ad1cebc031e: Pull complete [2023-08-25T11:12:12.503Z] 8a3aa393b2d8: Pull complete [2023-08-25T11:12:12.503Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-25T11:12:12.503Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-25T11:12:12.503Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:12:12.589Z] prd-ubuntu20.04-docker-8c-8g-4559 does not seem to be running inside a container [2023-08-25T11:12:12.647Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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/edgex-snyk-go:1.410.4 cat [2023-08-25T11:12:19.802Z] $ docker top 96cde6337127488bbe83653dc2a0b82791042abf29b2cebbdb328bcb7f18dcc8 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-25T11:12:19.865Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2023-08-25T11:12:20.142Z] + set -o pipefail [2023-08-25T11:12:20.142Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2023-08-25T11:12:25.411Z] [2023-08-25T11:12:25.411Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2023-08-25T11:12:25.411Z] [2023-08-25T11:12:25.411Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/bdbffd94-bf9a-423a-a0d1-1ce343a104ba [2023-08-25T11:12:25.411Z] [2023-08-25T11:12:25.411Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-08-25T11:12:25.411Z] [2023-08-25T11:12:25.411Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-25T11:12:25.411Z] [2023-08-25T11:12:25.411Z] [2023-08-25T11:12:25.411Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-25T11:12:25.411Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-25T11:12:25.411Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-08-25T11:12:25.416Z] $ docker stop --time=1 96cde6337127488bbe83653dc2a0b82791042abf29b2cebbdb328bcb7f18dcc8 [2023-08-25T11:12:31.353Z] $ docker rm -f --volumes 96cde6337127488bbe83653dc2a0b82791042abf29b2cebbdb328bcb7f18dcc8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-25T11:12:32.145Z] + git log --format=format:%s -1 626ee0dc731c846558003605e490be3fc08946a3 [Pipeline] sh [2023-08-25T11:12:32.438Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T11:12:32.438Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:12:32.740Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T11:12:32.740Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:12:32.808Z] prd-ubuntu20.04-docker-8c-8g-4559 does not seem to be running inside a container [2023-08-25T11:12:32.834Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-25T11:12:33.285Z] $ docker top fdce67887371190be6f56eff5d64d8090e1acf37ce189ac75981c26248308cba -eo pid,comm [2023-08-25T11:12:33.338Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-25T11:12:33.338Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T11:12:33.378Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T11:12:33.378Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T11:12:33.512Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T11:12:33.510Z] $ docker exec fdce67887371190be6f56eff5d64d8090e1acf37ce189ac75981c26248308cba ssh-agent [2023-08-25T11:12:33.624Z] SSH_AUTH_SOCK=/tmp/ssh-0Qnh6CZ7hwfV/agent.32 [2023-08-25T11:12:33.624Z] SSH_AGENT_PID=38 [2023-08-25T11:12:33.629Z] Running ssh-add (command line suppressed) [2023-08-25T11:12:33.712Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_10814423649590027864.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_10814423649590027864.key) [2023-08-25T11:12:33.729Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T11:12:34.020Z] + git semver tag [2023-08-25T11:12:34.587Z] 2023-08-25 11:12:34,315 [run_tag] DEBUG tag force:False [2023-08-25T11:12:34.587Z] 2023-08-25 11:12:34,315 [check_head_tag] DEBUG check head tag [2023-08-25T11:12:34.587Z] 2023-08-25 11:12:34,316 [execute] INFO git cat-file --batch-check [2023-08-25T11:12:34.587Z] 2023-08-25 11:12:34,316 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-08-25T11:12:34.587Z] 2023-08-25 11:12:34,319 [execute] INFO git cat-file --batch [2023-08-25T11:12:34.587Z] 2023-08-25 11:12:34,319 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-08-25T11:12:34.587Z] 2023-08-25 11:12:34,326 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-08-25T11:12:34.587Z] 2023-08-25 11:12:34,326 [execute] INFO git tag -a v3.1.0-dev.4 -m v3.1.0-dev.4 [2023-08-25T11:12:34.587Z] 2023-08-25 11:12:34,327 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.4', '-m', 'v3.1.0-dev.4'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-08-25T11:12:34.587Z] 2023-08-25 11:12:34,331 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-08-25T11:12:34.587Z] 3.1.0-dev.4 [Pipeline] } [2023-08-25T11:12:34.591Z] $ docker exec --env ******** --env ******** fdce67887371190be6f56eff5d64d8090e1acf37ce189ac75981c26248308cba ssh-agent -k [2023-08-25T11:12:34.681Z] unset SSH_AUTH_SOCK; [2023-08-25T11:12:34.682Z] unset SSH_AGENT_PID; [2023-08-25T11:12:34.682Z] echo Agent pid 38 killed; [2023-08-25T11:12:34.694Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T11:12:34.997Z] + git semver [Pipeline] } [2023-08-25T11:12:35.260Z] $ docker stop --time=1 fdce67887371190be6f56eff5d64d8090e1acf37ce189ac75981c26248308cba [2023-08-25T11:12:37.003Z] $ docker rm -f --volumes fdce67887371190be6f56eff5d64d8090e1acf37ce189ac75981c26248308cba [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:12:37.393Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-25T11:12:37.393Z] [2023-08-25T11:12:37.393Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:12:37.689Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-25T11:12:37.689Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-25T11:12:37.689Z] ab5ef0e58194: Pulling fs layer [2023-08-25T11:12:37.689Z] 9712f1f96733: Pulling fs layer [2023-08-25T11:12:37.689Z] 63f879dbbcfc: Pulling fs layer [2023-08-25T11:12:37.689Z] 0d9ebad4ef96: Pulling fs layer [2023-08-25T11:12:37.689Z] e9a5061849ea: Pulling fs layer [2023-08-25T11:12:37.689Z] d747dcd14b5f: Pulling fs layer [2023-08-25T11:12:37.689Z] 2de7ff778b66: Pulling fs layer [2023-08-25T11:12:37.689Z] e9a5061849ea: Waiting [2023-08-25T11:12:37.689Z] d747dcd14b5f: Waiting [2023-08-25T11:12:37.689Z] 2de7ff778b66: Waiting [2023-08-25T11:12:37.689Z] 0d9ebad4ef96: Waiting [2023-08-25T11:12:37.689Z] 9712f1f96733: Verifying Checksum [2023-08-25T11:12:37.689Z] 9712f1f96733: Download complete [2023-08-25T11:12:37.947Z] 63f879dbbcfc: Verifying Checksum [2023-08-25T11:12:37.947Z] 63f879dbbcfc: Download complete [2023-08-25T11:12:37.947Z] e9a5061849ea: Verifying Checksum [2023-08-25T11:12:37.947Z] e9a5061849ea: Download complete [2023-08-25T11:12:38.207Z] d747dcd14b5f: Verifying Checksum [2023-08-25T11:12:38.207Z] d747dcd14b5f: Download complete [2023-08-25T11:12:38.207Z] 0d9ebad4ef96: Verifying Checksum [2023-08-25T11:12:38.207Z] 0d9ebad4ef96: Download complete [2023-08-25T11:12:38.207Z] ab5ef0e58194: Verifying Checksum [2023-08-25T11:12:38.207Z] ab5ef0e58194: Download complete [2023-08-25T11:12:38.207Z] 2de7ff778b66: Verifying Checksum [2023-08-25T11:12:38.207Z] 2de7ff778b66: Download complete [2023-08-25T11:12:40.742Z] ab5ef0e58194: Pull complete [2023-08-25T11:12:40.742Z] 9712f1f96733: Pull complete [2023-08-25T11:12:41.676Z] 63f879dbbcfc: Pull complete [2023-08-25T11:12:45.975Z] 0d9ebad4ef96: Pull complete [2023-08-25T11:12:45.975Z] e9a5061849ea: Pull complete [2023-08-25T11:12:45.975Z] d747dcd14b5f: Pull complete [2023-08-25T11:12:46.917Z] 2de7ff778b66: Pull complete [2023-08-25T11:12:46.917Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-25T11:12:46.917Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-25T11:12:46.917Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:12:47.006Z] prd-ubuntu20.04-docker-8c-8g-4559 does not seem to be running inside a container [2023-08-25T11:12:47.033Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-08-25T11:12:56.342Z] $ docker top f1d2974f02181f08fee53c3f0a847d7cff6daa6a65118755e108684212893d6f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-25T11:12:56.416Z] provisioning config files... [2023-08-25T11:12:56.422Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config3488812579009081043tmp [2023-08-25T11:12:56.431Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config15029226513363752229tmp [2023-08-25T11:12:56.441Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config17956193372584935679tmp [Pipeline] { [Pipeline] echo [2023-08-25T11:12:56.459Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:12:56.743Z] ---> sigul-configuration.sh [2023-08-25T11:12:56.743Z] gpg: directory `/root/.gnupg' created [2023-08-25T11:12:56.743Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-25T11:12:56.743Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-25T11:12:56.743Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-25T11:12:56.743Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-25T11:12:56.743Z] gpg: CAST5 encrypted data [2023-08-25T11:12:56.743Z] gpg: encrypted with 1 passphrase [2023-08-25T11:12:56.743Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-25T11:12:57.027Z] + mkdir /home/jenkins [2023-08-25T11:12:57.027Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-25T11:12:57.311Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-08-25T11:12:57.317Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:12:57.597Z] ---> sigul-install.sh [2023-08-25T11:12:57.597Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-25T11:12:57.888Z] + git tag --list [2023-08-25T11:12:57.888Z] v1.0.0 [2023-08-25T11:12:57.888Z] v2.1.0 [2023-08-25T11:12:57.888Z] v2.1.1 [2023-08-25T11:12:57.888Z] v2.2.0 [2023-08-25T11:12:57.888Z] v2.3.0 [2023-08-25T11:12:57.888Z] v3.0 [2023-08-25T11:12:57.888Z] v3.0.0 [2023-08-25T11:12:57.888Z] v3.1.0-dev.1 [2023-08-25T11:12:57.888Z] v3.1.0-dev.2 [2023-08-25T11:12:57.888Z] v3.1.0-dev.3 [2023-08-25T11:12:57.888Z] v3.1.0-dev.4 [Pipeline] sh [2023-08-25T11:12:58.175Z] + lftools sign git-tag v3.1.0-dev.4 [2023-08-25T11:12:58.742Z] Signing Git tag with Sigul... [2023-08-25T11:12:58.742Z] Signing v3.1.0-dev.4 [Pipeline] echo [2023-08-25T11:12:59.008Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:12:59.289Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-25T11:12:59.296Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-25T11:12:59.314Z] $ docker stop --time=1 f1d2974f02181f08fee53c3f0a847d7cff6daa6a65118755e108684212893d6f [2023-08-25T11:13:00.617Z] $ docker rm -f --volumes f1d2974f02181f08fee53c3f0a847d7cff6daa6a65118755e108684212893d6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-25T11:13:01.013Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T11:13:01.013Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:13:01.308Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T11:13:01.308Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:13:01.381Z] prd-ubuntu20.04-docker-8c-8g-4559 does not seem to be running inside a container [2023-08-25T11:13:01.407Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-25T11:13:01.783Z] $ docker top fd8f1da6861eb9df48843c296d872baaf37cdae0e49fd979c56b290d1789b327 -eo pid,comm [2023-08-25T11:13:01.838Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-25T11:13:01.838Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T11:13:01.867Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T11:13:01.868Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T11:13:01.982Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T11:13:01.979Z] $ docker exec fd8f1da6861eb9df48843c296d872baaf37cdae0e49fd979c56b290d1789b327 ssh-agent [2023-08-25T11:13:02.101Z] SSH_AUTH_SOCK=/tmp/ssh-HgJRU4U3w8fn/agent.32 [2023-08-25T11:13:02.101Z] SSH_AGENT_PID=38 [2023-08-25T11:13:02.105Z] Running ssh-add (command line suppressed) [2023-08-25T11:13:02.196Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4823382085604661294.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4823382085604661294.key) [2023-08-25T11:13:02.214Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T11:13:02.495Z] + git semver bump pre [2023-08-25T11:13:02.753Z] 2023-08-25 11:13:02,683 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-08-25T11:13:02.753Z] 2023-08-25 11:13:02,683 [bump_version] DEBUG bumping version:3.1.0-dev.4 on axis:pre with prefix:dev [2023-08-25T11:13:02.753Z] 2023-08-25 11:13:02,683 [bump_version] DEBUG bumped version:3.1.0-dev.5 [2023-08-25T11:13:02.753Z] 2023-08-25 11:13:02,683 [write_version] DEBUG write version:3.1.0-dev.5 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True [2023-08-25T11:13:02.753Z] 2023-08-25 11:13:02,683 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-08-25T11:13:02.753Z] 2023-08-25 11:13:02,684 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-08-25T11:13:02.754Z] 2023-08-25 11:13:02,686 [execute] INFO git cat-file --batch-check [2023-08-25T11:13:02.754Z] 2023-08-25 11:13:02,686 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-25T11:13:02.754Z] 2023-08-25 11:13:02,691 [execute] INFO git cat-file --batch [2023-08-25T11:13:02.754Z] 2023-08-25 11:13:02,692 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-25T11:13:02.754Z] 2023-08-25 11:13:02,697 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-08-25T11:13:02.754Z] 3.1.0-dev.5 [Pipeline] } [2023-08-25T11:13:02.758Z] $ docker exec --env ******** --env ******** fd8f1da6861eb9df48843c296d872baaf37cdae0e49fd979c56b290d1789b327 ssh-agent -k [2023-08-25T11:13:02.860Z] unset SSH_AUTH_SOCK; [2023-08-25T11:13:02.861Z] unset SSH_AGENT_PID; [2023-08-25T11:13:02.862Z] echo Agent pid 38 killed; [2023-08-25T11:13:02.875Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T11:13:03.186Z] + git semver [Pipeline] } [2023-08-25T11:13:03.454Z] $ docker stop --time=1 fd8f1da6861eb9df48843c296d872baaf37cdae0e49fd979c56b290d1789b327 [2023-08-25T11:13:04.714Z] $ docker rm -f --volumes fd8f1da6861eb9df48843c296d872baaf37cdae0e49fd979c56b290d1789b327 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T11:13:05.082Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T11:13:05.082Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:13:05.378Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T11:13:05.378Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:13:05.451Z] prd-ubuntu20.04-docker-8c-8g-4559 does not seem to be running inside a container [2023-08-25T11:13:05.497Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-25T11:13:05.840Z] $ docker top 6a4d30b97eb00a58c681e6c6e64cb819240427b488410ba734ecbd184c98405d -eo pid,comm [2023-08-25T11:13:05.889Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-25T11:13:05.889Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T11:13:05.923Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T11:13:05.923Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T11:13:06.035Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T11:13:06.033Z] $ docker exec 6a4d30b97eb00a58c681e6c6e64cb819240427b488410ba734ecbd184c98405d ssh-agent [2023-08-25T11:13:06.148Z] SSH_AUTH_SOCK=/tmp/ssh-1TPtYihsaaQH/agent.33 [2023-08-25T11:13:06.148Z] SSH_AGENT_PID=39 [2023-08-25T11:13:06.152Z] Running ssh-add (command line suppressed) [2023-08-25T11:13:06.246Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_18256382320816650932.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_18256382320816650932.key) [2023-08-25T11:13:06.264Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T11:13:06.547Z] + git semver push [2023-08-25T11:13:06.805Z] 2023-08-25 11:13:06,745 [run_push] DEBUG push [2023-08-25T11:13:06.805Z] 2023-08-25 11:13:06,745 [execute] INFO git cat-file --batch-check [2023-08-25T11:13:06.805Z] 2023-08-25 11:13:06,746 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-25T11:13:06.805Z] 2023-08-25 11:13:06,749 [execute] INFO git rev-list c812ab5eb34f61d4d329845b5e116823023179b4 -- [2023-08-25T11:13:06.805Z] 2023-08-25 11:13:06,749 [execute] DEBUG Popen(['git', 'rev-list', 'c812ab5eb34f61d4d329845b5e116823023179b4', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-25T11:13:06.805Z] 2023-08-25 11:13:06,758 [execute] INFO git fetch -v origin [2023-08-25T11:13:06.805Z] 2023-08-25 11:13:06,758 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-08-25T11:13:07.373Z] 2023-08-25 11:13:07,213 [run_push] DEBUG no remote changes detected [2023-08-25T11:13:07.373Z] 2023-08-25 11:13:07,214 [execute] INFO git push origin semver [2023-08-25T11:13:07.373Z] 2023-08-25 11:13:07,214 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-25T11:13:08.311Z] 2023-08-25 11:13:08,103 [run_push] DEBUG push all version tags [2023-08-25T11:13:08.311Z] 2023-08-25 11:13:08,103 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-25T11:13:08.311Z] 2023-08-25 11:13:08,104 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-08-25T11:13:09.251Z] 2023-08-25 11:13:08,894 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-08-25T11:13:09.251Z] 3.1.0-dev.5 [Pipeline] } [2023-08-25T11:13:09.255Z] $ docker exec --env ******** --env ******** 6a4d30b97eb00a58c681e6c6e64cb819240427b488410ba734ecbd184c98405d ssh-agent -k [2023-08-25T11:13:09.353Z] unset SSH_AUTH_SOCK; [2023-08-25T11:13:09.353Z] unset SSH_AGENT_PID; [2023-08-25T11:13:09.353Z] echo Agent pid 39 killed; [2023-08-25T11:13:09.371Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T11:13:09.678Z] + git semver [Pipeline] } [2023-08-25T11:13:09.943Z] $ docker stop --time=1 6a4d30b97eb00a58c681e6c6e64cb819240427b488410ba734ecbd184c98405d [2023-08-25T11:13:11.203Z] $ docker rm -f --volumes 6a4d30b97eb00a58c681e6c6e64cb819240427b488410ba734ecbd184c98405d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 [2023-08-25T11:13:11.728Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2023-08-25T11:13:11.729Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-08-25T11:13:11.729Z] total 16 [2023-08-25T11:13:11.729Z] drwxr-xr-x 3 root root 4096 Aug 25 11:01 . [2023-08-25T11:13:11.729Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 11:12 .. [2023-08-25T11:13:11.729Z] drwxr-xr-x 2 root root 4096 Aug 25 11:01 cost [2023-08-25T11:13:11.729Z] -rw-r--r-- 1 root root 82 Aug 25 11:01 cost.csv [2023-08-25T11:13:11.729Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2023-08-25T11:13:11.729Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-08-25T11:13:11.729Z] total 16 [2023-08-25T11:13:11.729Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 11:01 . [2023-08-25T11:13:11.729Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 11:12 .. [2023-08-25T11:13:11.729Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 11:01 cost [2023-08-25T11:13:11.729Z] -rw-r--r-- 1 jenkins jenkins 82 Aug 25 11:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:13:12.014Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:13:12.867Z] ---> package-listing.sh [2023-08-25T11:13:12.867Z] ++ facter osfamily [2023-08-25T11:13:12.867Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-25T11:13:13.126Z] + OS_FAMILY=debian [2023-08-25T11:13:13.126Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2023-08-25T11:13:13.126Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-25T11:13:13.126Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-25T11:13:13.126Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-25T11:13:13.126Z] + PACKAGES=/tmp/packages_start.txt [2023-08-25T11:13:13.126Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-08-25T11:13:13.126Z] + PACKAGES=/tmp/packages_end.txt [2023-08-25T11:13:13.126Z] + case "${OS_FAMILY}" in [2023-08-25T11:13:13.126Z] + dpkg -l [2023-08-25T11:13:13.126Z] + grep '^ii' [2023-08-25T11:13:13.126Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-25T11:13:13.126Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-25T11:13:13.126Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-25T11:13:13.126Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-08-25T11:13:13.126Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2023-08-25T11:13:13.126Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2023-08-25T11:13:13.137Z] 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-25T11:13:13.412Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T11:13:13.976Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T11:13:13.976Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T11:13:14.045Z] prd-ubuntu20.04-docker-8c-8g-4559 does not seem to be running inside a container [2023-08-25T11:13:14.093Z] $ 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_main/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_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-25T11:13:14.413Z] $ docker top f3bc7d2ef89affa0c3f45141b89ed0c9ca7b427ba74728303d0aaf0f27b1dbbe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T11:13:14.837Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-25T11:13:15.156Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-25T11:13:15.440Z] + ls /var/log/sa-host [2023-08-25T11:13:15.440Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T11:13:15.501Z] provisioning config files... [2023-08-25T11:13:15.508Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config4930711390555730622tmp [Pipeline] { [Pipeline] echo [2023-08-25T11:13:15.519Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:13:15.799Z] ---> create-netrc.sh [Pipeline] } [2023-08-25T11:13:15.806Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:13:16.135Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-25T11:13:16.143Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:13:16.468Z] ---> sudo-logs.sh [2023-08-25T11:13:16.468Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-25T11:13:16.490Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:13:16.770Z] ---> job-cost.sh [2023-08-25T11:13:16.770Z] lf-activate-venv: SKIPPING [2023-08-25T11:13:16.770Z] DEBUG: total: 0.2199999988079071 [2023-08-25T11:13:16.770Z] INFO: Retrieving Stack Cost... [2023-08-25T11:13:17.336Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-25T11:13:17.596Z] INFO: Archiving Costs [Pipeline] echo [2023-08-25T11:13:17.604Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T11:13:17.886Z] ---> logs-deploy.sh [2023-08-25T11:13:17.886Z] lf-activate-venv: SKIPPING [2023-08-25T11:13:17.886Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/91 [2023-08-25T11:13:17.887Z] INFO: archiving workspace using pattern(s): [2023-08-25T11:13:18.822Z] Archives upload complete. [2023-08-25T11:13:18.822Z] INFO: archiving logs to Nexus