Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 20941c594b03f51cf34eeaee0d664e33008baa13 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-ssh14086319927144211577.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-ssh17520223037126884995.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-ssh15460464242296078457.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-ssh6308664970739113293.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-ssh10616906385308815106.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5750 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 20941c594b03f51cf34eeaee0d664e33008baa13 (main) Commit message: "Merge pull request #192 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.20" > 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 20941c594b03f51cf34eeaee0d664e33008baa13 # timeout=10 > git rev-list --no-walk 6e92736b20cec9f8b19b597911ea3a32490ec124 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-11T01:04:16.896Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-11T01:04:16.939Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-11T01:04:16.959Z] ========================================================= [2023-09-11T01:04:16.959Z] EdgeX Global Pipelines Version Info [2023-09-11T01:04:16.959Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:04:17.667Z] ------------------- [2023-09-11T01:04:17.667Z] stable info: [2023-09-11T01:04:17.667Z] ------------------- [2023-09-11T01:04:17.667Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-11T01:04:17.667Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-11T01:04:17.667Z] Message: update stable to v1.0.253 [2023-09-11T01:04:18.238Z] ------------------- [2023-09-11T01:04:18.238Z] experimental info: [2023-09-11T01:04:18.238Z] ------------------- [2023-09-11T01:04:18.238Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-11T01:04:18.238Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-11T01:04:18.238Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-11T01:04:18.429Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-09-11T01:04:18.444Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-09-11T01:04:18.461Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-11T01:04:18.478Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-11T01:04:18.491Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-11T01:04:18.502Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-09-11T01:04:18.514Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-11T01:04:18.525Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-11T01:04:18.538Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-11T01:04:18.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-11T01:04:18.562Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-11T01:04:18.575Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-09-11T01:04:18.588Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-11T01:04:18.600Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-11T01:04:18.614Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-11T01:04:18.624Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-11T01:04:18.633Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-11T01:04:18.642Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-11T01:04:18.651Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-11T01:04:18.659Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-11T01:04:18.667Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-11T01:04:18.675Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-11T01:04:18.684Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-11T01:04:18.705Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-11T01:04:18.726Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-11T01:04:18.745Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-11T01:04:18.760Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-11T01:04:18.771Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-11T01:04:18.786Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-11T01:04:18.805Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-11T01:04:18.823Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 20941c594b03f51cf34eeaee0d664e33008baa13 [Pipeline] echo [2023-09-11T01:04:18.839Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 20941c5 [Pipeline] echo [2023-09-11T01:04:18.857Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-11T01:04:18.894Z] provisioning config files... [2023-09-11T01:04:18.910Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config15122137444688983715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:04:19.215Z] ---> docker-login.sh [2023-09-11T01:04:19.215Z] nexus3.edgexfoundry.org:10001 [2023-09-11T01:04:19.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:04:19.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:04:19.476Z] Configure a credential helper to remove this warning. See [2023-09-11T01:04:19.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:04:19.476Z] [2023-09-11T01:04:19.476Z] Login Succeeded [2023-09-11T01:04:19.476Z] nexus3.edgexfoundry.org:10002 [2023-09-11T01:04:19.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:04:19.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:04:19.739Z] Configure a credential helper to remove this warning. See [2023-09-11T01:04:19.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:04:19.739Z] [2023-09-11T01:04:19.739Z] Login Succeeded [2023-09-11T01:04:19.739Z] nexus3.edgexfoundry.org:10003 [2023-09-11T01:04:19.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:04:19.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:04:19.739Z] Configure a credential helper to remove this warning. See [2023-09-11T01:04:19.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:04:19.739Z] [2023-09-11T01:04:19.739Z] Login Succeeded [2023-09-11T01:04:19.739Z] nexus3.edgexfoundry.org:10004 [2023-09-11T01:04:19.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:04:19.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:04:19.999Z] Configure a credential helper to remove this warning. See [2023-09-11T01:04:19.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:04:19.999Z] [2023-09-11T01:04:19.999Z] Login Succeeded [2023-09-11T01:04:19.999Z] docker.io [2023-09-11T01:04:19.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:04:20.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:04:20.259Z] Configure a credential helper to remove this warning. See [2023-09-11T01:04:20.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:04:20.259Z] [2023-09-11T01:04:20.259Z] Login Succeeded [2023-09-11T01:04:20.259Z] ---> docker-login.sh ends [Pipeline] } [2023-09-11T01:04:20.267Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-11T01:04:20.653Z] + git rev-list -1 --merges 20941c594b03f51cf34eeaee0d664e33008baa13~1..20941c594b03f51cf34eeaee0d664e33008baa13 [Pipeline] echo [2023-09-11T01:04:20.702Z] -----------> git rev-list -1 --merges 20941c594b03f51cf34eeaee0d664e33008baa13~1..20941c594b03f51cf34eeaee0d664e33008baa13 20941c594b03f51cf34eeaee0d664e33008baa13 [2023-09-11T01:04:20.702Z] 20941c594b03f51cf34eeaee0d664e33008baa13 [false] [Pipeline] sh [2023-09-11T01:04:20.996Z] + git log --format=format:%s -1 20941c594b03f51cf34eeaee0d664e33008baa13 [Pipeline] echo [2023-09-11T01:04:21.027Z] ========================================================= [2023-09-11T01:04:21.027Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-11T01:04:21.027Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-11T01:04:21.367Z] + git log --format=format:%s -1 20941c594b03f51cf34eeaee0d664e33008baa13 [Pipeline] echo [2023-09-11T01:04:21.377Z] [semverPrep] GIT_COMMIT: 20941c594b03f51cf34eeaee0d664e33008baa13, Commit Message: Merge pull request #192 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.20 [Pipeline] echo [2023-09-11T01:04:21.389Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-11T01:04:21.774Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-11T01:04:21.774Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-11T01:04:21.774Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-11T01:04:21.774Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-11T01:04:21.774Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-11T01:04:21.774Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-11T01:04:21.774Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:04:22.207Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T01:04:22.207Z] [2023-09-11T01:04:22.207Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:04:22.518Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T01:04:22.519Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-11T01:04:22.519Z] b85a868b505f: Pulling fs layer [2023-09-11T01:04:22.519Z] e2be974225ed: Pulling fs layer [2023-09-11T01:04:22.519Z] 339a4e72a1f5: Pulling fs layer [2023-09-11T01:04:22.519Z] 988bab9f4d93: Pulling fs layer [2023-09-11T01:04:22.519Z] 1469e6f7b9e6: Pulling fs layer [2023-09-11T01:04:22.519Z] eaf3925da568: Pulling fs layer [2023-09-11T01:04:22.519Z] bab4dde63d76: Pulling fs layer [2023-09-11T01:04:22.519Z] bde34c3a00c8: Pulling fs layer [2023-09-11T01:04:22.519Z] b352a97aabf1: Pulling fs layer [2023-09-11T01:04:22.519Z] 4872d77fe225: Pulling fs layer [2023-09-11T01:04:22.519Z] 5851b861e8e6: Pulling fs layer [2023-09-11T01:04:22.519Z] bab4dde63d76: Waiting [2023-09-11T01:04:22.519Z] bde34c3a00c8: Waiting [2023-09-11T01:04:22.519Z] 1469e6f7b9e6: Waiting [2023-09-11T01:04:22.519Z] eaf3925da568: Waiting [2023-09-11T01:04:22.519Z] b352a97aabf1: Waiting [2023-09-11T01:04:22.519Z] 4872d77fe225: Waiting [2023-09-11T01:04:22.519Z] 5851b861e8e6: Waiting [2023-09-11T01:04:22.519Z] 988bab9f4d93: Waiting [2023-09-11T01:04:22.519Z] e2be974225ed: Verifying Checksum [2023-09-11T01:04:22.519Z] e2be974225ed: Download complete [2023-09-11T01:04:22.519Z] 988bab9f4d93: Verifying Checksum [2023-09-11T01:04:22.519Z] 988bab9f4d93: Download complete [2023-09-11T01:04:22.778Z] 1469e6f7b9e6: Verifying Checksum [2023-09-11T01:04:22.778Z] 1469e6f7b9e6: Download complete [2023-09-11T01:04:22.778Z] eaf3925da568: Verifying Checksum [2023-09-11T01:04:22.778Z] eaf3925da568: Download complete [2023-09-11T01:04:22.778Z] 339a4e72a1f5: Verifying Checksum [2023-09-11T01:04:22.778Z] 339a4e72a1f5: Download complete [2023-09-11T01:04:22.778Z] bde34c3a00c8: Verifying Checksum [2023-09-11T01:04:22.778Z] bde34c3a00c8: Download complete [2023-09-11T01:04:22.778Z] b352a97aabf1: Verifying Checksum [2023-09-11T01:04:22.778Z] b352a97aabf1: Download complete [2023-09-11T01:04:22.778Z] 4872d77fe225: Verifying Checksum [2023-09-11T01:04:22.778Z] 4872d77fe225: Download complete [2023-09-11T01:04:22.778Z] 5851b861e8e6: Verifying Checksum [2023-09-11T01:04:22.778Z] 5851b861e8e6: Download complete [2023-09-11T01:04:22.778Z] b85a868b505f: Verifying Checksum [2023-09-11T01:04:22.778Z] b85a868b505f: Download complete [2023-09-11T01:04:23.036Z] bab4dde63d76: Verifying Checksum [2023-09-11T01:04:23.036Z] bab4dde63d76: Download complete [2023-09-11T01:04:23.971Z] b85a868b505f: Pull complete [2023-09-11T01:04:24.230Z] e2be974225ed: Pull complete [2023-09-11T01:04:24.802Z] 339a4e72a1f5: Pull complete [2023-09-11T01:04:24.802Z] 988bab9f4d93: Pull complete [2023-09-11T01:04:25.062Z] 1469e6f7b9e6: Pull complete [2023-09-11T01:04:25.062Z] eaf3925da568: Pull complete [2023-09-11T01:04:26.966Z] bab4dde63d76: Pull complete [2023-09-11T01:04:26.966Z] bde34c3a00c8: Pull complete [2023-09-11T01:04:27.225Z] b352a97aabf1: Pull complete [2023-09-11T01:04:27.225Z] 4872d77fe225: Pull complete [2023-09-11T01:04:27.225Z] 5851b861e8e6: Pull complete [2023-09-11T01:04:27.225Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-11T01:04:27.225Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T01:04:27.225Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:04:27.319Z] prd-ubuntu20.04-docker-8c-8g-5750 does not seem to be running inside a container [2023-09-11T01:04:27.351Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-11T01:04:30.334Z] $ docker top 23c24f42c6598a19fdbc865844740e5c78c22c2d5ea95616f46dbd1b9ba63023 -eo pid,comm [2023-09-11T01:04:30.392Z] 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-09-11T01:04:30.392Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-11T01:04:30.423Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-11T01:04:30.423Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-11T01:04:30.543Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-11T01:04:30.544Z] $ docker exec 23c24f42c6598a19fdbc865844740e5c78c22c2d5ea95616f46dbd1b9ba63023 ssh-agent [2023-09-11T01:04:30.661Z] SSH_AUTH_SOCK=/tmp/ssh-bWcfXpc50Pdz/agent.32 [2023-09-11T01:04:30.661Z] SSH_AGENT_PID=38 [2023-09-11T01:04:30.668Z] Running ssh-add (command line suppressed) [2023-09-11T01:04:30.770Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5831153206482687640.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5831153206482687640.key) [2023-09-11T01:04:30.786Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-11T01:04:31.076Z] + git tag --points-at HEAD [Pipeline] } [2023-09-11T01:04:31.091Z] $ docker exec --env ******** --env ******** 23c24f42c6598a19fdbc865844740e5c78c22c2d5ea95616f46dbd1b9ba63023 ssh-agent -k [2023-09-11T01:04:31.201Z] unset SSH_AUTH_SOCK; [2023-09-11T01:04:31.203Z] unset SSH_AGENT_PID; [2023-09-11T01:04:31.203Z] echo Agent pid 38 killed; [2023-09-11T01:04:31.215Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-11T01:04:31.243Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-11T01:04:31.243Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-11T01:04:31.351Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-11T01:04:31.351Z] $ docker exec 23c24f42c6598a19fdbc865844740e5c78c22c2d5ea95616f46dbd1b9ba63023 ssh-agent [2023-09-11T01:04:31.473Z] SSH_AUTH_SOCK=/tmp/ssh-c6DhdnOaUa0g/agent.71 [2023-09-11T01:04:31.473Z] SSH_AGENT_PID=77 [2023-09-11T01:04:31.478Z] Running ssh-add (command line suppressed) [2023-09-11T01:04:31.582Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_560407193922766485.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_560407193922766485.key) [2023-09-11T01:04:31.600Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-11T01:04:31.884Z] + git semver init [2023-09-11T01:04:32.144Z] 2023-09-11 01:04:32,098 [run_init] DEBUG init version:0.0.0 force:False [2023-09-11T01:04:32.144Z] 2023-09-11 01:04:32,099 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2023-09-11T01:04:32.144Z] 2023-09-11 01:04:32,099 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2023-09-11T01:04:32.144Z] 2023-09-11 01:04:32,099 [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-09-11T01:04:33.087Z] 2023-09-11 01:04:33,058 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2023-09-11T01:04:33.087Z] 2023-09-11 01:04:33,058 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2023-09-11T01:04:33.087Z] 2023-09-11 01:04:33,058 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-11T01:04:33.087Z] 2023-09-11 01:04:33,059 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-11T01:04:33.088Z] 3.1.0-dev.7 [Pipeline] } [2023-09-11T01:04:33.094Z] $ docker exec --env ******** --env ******** 23c24f42c6598a19fdbc865844740e5c78c22c2d5ea95616f46dbd1b9ba63023 ssh-agent -k [2023-09-11T01:04:33.189Z] unset SSH_AUTH_SOCK; [2023-09-11T01:04:33.189Z] unset SSH_AGENT_PID; [2023-09-11T01:04:33.189Z] echo Agent pid 77 killed; [2023-09-11T01:04:33.202Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-11T01:04:33.517Z] + git semver [Pipeline] } [2023-09-11T01:04:34.097Z] $ docker stop --time=1 23c24f42c6598a19fdbc865844740e5c78c22c2d5ea95616f46dbd1b9ba63023 [2023-09-11T01:04:35.389Z] $ docker rm -f --volumes 23c24f42c6598a19fdbc865844740e5c78c22c2d5ea95616f46dbd1b9ba63023 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-11T01:04:35.741Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-11T01:04:35.945Z] Stashed 1 file(s) [Pipeline] echo [2023-09-11T01:04:35.948Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.7 [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-09-11T01:04:36.119Z] provisioning config files... [2023-09-11T01:04:36.129Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1545535632195979882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:04:36.423Z] ---> docker-login.sh [2023-09-11T01:04:36.423Z] nexus3.edgexfoundry.org:10001 [2023-09-11T01:04:36.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:04:36.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:04:36.423Z] Configure a credential helper to remove this warning. See [2023-09-11T01:04:36.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:04:36.423Z] [2023-09-11T01:04:36.423Z] Login Succeeded [2023-09-11T01:04:36.423Z] nexus3.edgexfoundry.org:10002 [2023-09-11T01:04:36.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:04:36.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:04:36.423Z] Configure a credential helper to remove this warning. See [2023-09-11T01:04:36.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:04:36.423Z] [2023-09-11T01:04:36.423Z] Login Succeeded [2023-09-11T01:04:36.423Z] nexus3.edgexfoundry.org:10003 [2023-09-11T01:04:36.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:04:36.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:04:36.684Z] Configure a credential helper to remove this warning. See [2023-09-11T01:04:36.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:04:36.684Z] [2023-09-11T01:04:36.684Z] Login Succeeded [2023-09-11T01:04:36.684Z] nexus3.edgexfoundry.org:10004 [2023-09-11T01:04:36.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:04:36.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:04:36.684Z] Configure a credential helper to remove this warning. See [2023-09-11T01:04:36.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:04:36.684Z] [2023-09-11T01:04:36.684Z] Login Succeeded [2023-09-11T01:04:36.684Z] docker.io [2023-09-11T01:04:36.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:04:36.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:04:36.943Z] Configure a credential helper to remove this warning. See [2023-09-11T01:04:36.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:04:36.943Z] [2023-09-11T01:04:36.943Z] Login Succeeded [2023-09-11T01:04:36.943Z] ---> docker-login.sh ends [Pipeline] } [2023-09-11T01:04:36.951Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-11T01:04:37.005Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T01:04:37.017Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T01:04:37.024Z] ========================================================= [2023-09-11T01:04:37.024Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-09-11T01:04:37.024Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:04:37.327Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-11T01:04:37.327Z] Sending build context to Docker daemon 16.08MB [2023-09-11T01:04:37.327Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-09-11T01:04:37.327Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-11T01:04:37.587Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-11T01:04:37.587Z] 4db1b89c0bd1: Pulling fs layer [2023-09-11T01:04:37.587Z] 6911f1a30b25: Pulling fs layer [2023-09-11T01:04:37.587Z] e194b8c5c2a9: Pulling fs layer [2023-09-11T01:04:37.587Z] 6863d3e3a2b1: Pulling fs layer [2023-09-11T01:04:37.587Z] ec0bb842ea78: Pulling fs layer [2023-09-11T01:04:37.587Z] 40a00589a448: Pulling fs layer [2023-09-11T01:04:37.587Z] 6c08303d61cc: Pulling fs layer [2023-09-11T01:04:37.587Z] 798269fcf238: Pulling fs layer [2023-09-11T01:04:37.587Z] 6c08303d61cc: Waiting [2023-09-11T01:04:37.588Z] 798269fcf238: Waiting [2023-09-11T01:04:37.588Z] 40a00589a448: Waiting [2023-09-11T01:04:37.588Z] ec0bb842ea78: Waiting [2023-09-11T01:04:37.588Z] 6911f1a30b25: Download complete [2023-09-11T01:04:37.588Z] 6863d3e3a2b1: Download complete [2023-09-11T01:04:37.588Z] 4db1b89c0bd1: Download complete [2023-09-11T01:04:37.588Z] ec0bb842ea78: Verifying Checksum [2023-09-11T01:04:37.588Z] ec0bb842ea78: Download complete [2023-09-11T01:04:37.588Z] 40a00589a448: Verifying Checksum [2023-09-11T01:04:37.588Z] 40a00589a448: Download complete [2023-09-11T01:04:37.849Z] 4db1b89c0bd1: Pull complete [2023-09-11T01:04:37.849Z] 6911f1a30b25: Pull complete [2023-09-11T01:04:38.109Z] 798269fcf238: Verifying Checksum [2023-09-11T01:04:38.109Z] 798269fcf238: Download complete [2023-09-11T01:04:38.109Z] e194b8c5c2a9: Verifying Checksum [2023-09-11T01:04:38.109Z] e194b8c5c2a9: Download complete [2023-09-11T01:04:38.367Z] 6c08303d61cc: Verifying Checksum [2023-09-11T01:04:38.367Z] 6c08303d61cc: Download complete [2023-09-11T01:04:41.678Z] e194b8c5c2a9: Pull complete [2023-09-11T01:04:41.678Z] 6863d3e3a2b1: Pull complete [2023-09-11T01:04:41.678Z] ec0bb842ea78: Pull complete [2023-09-11T01:04:41.678Z] 40a00589a448: Pull complete [2023-09-11T01:04:44.206Z] 6c08303d61cc: Pull complete [2023-09-11T01:04:45.144Z] 798269fcf238: Pull complete [2023-09-11T01:04:45.144Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-09-11T01:04:45.144Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-09-11T01:04:45.144Z] ---> ec979cd7f677 [2023-09-11T01:04:45.144Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-11T01:04:51.068Z] Still waiting to schedule task [2023-09-11T01:04:51.068Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-11T01:04:51.715Z] ---> Running in 810b2068f780 [2023-09-11T01:04:51.715Z] Removing intermediate container 810b2068f780 [2023-09-11T01:04:51.715Z] ---> 6d3b0cfd72a9 [2023-09-11T01:04:51.715Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-11T01:04:51.715Z] ---> Running in 6802bef3cb46 [2023-09-11T01:04:51.715Z] Removing intermediate container 6802bef3cb46 [2023-09-11T01:04:51.715Z] ---> 2af188344e96 [2023-09-11T01:04:51.715Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-09-11T01:04:51.715Z] ---> Running in 2704fe03e6e1 [2023-09-11T01:04:51.715Z] Removing intermediate container 2704fe03e6e1 [2023-09-11T01:04:51.715Z] ---> 6ea417c32495 [2023-09-11T01:04:51.715Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-11T01:04:51.715Z] ---> Running in 3a08e81501b2 [2023-09-11T01:04:51.715Z] Removing intermediate container 3a08e81501b2 [2023-09-11T01:04:51.715Z] ---> 4b88ade28e1c [2023-09-11T01:04:51.715Z] Step 7/12 : WORKDIR /device-gpio [2023-09-11T01:04:51.715Z] ---> Running in 4e9f2d5c2c1f [2023-09-11T01:04:51.715Z] Removing intermediate container 4e9f2d5c2c1f [2023-09-11T01:04:51.715Z] ---> 6bd872c6bcda [2023-09-11T01:04:51.715Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-11T01:04:51.715Z] ---> Running in e54401ea9541 [2023-09-11T01:04:51.715Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-11T01:04:53.093Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-11T01:04:53.093Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-09-11T01:04:56.343Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-09-11T01:04:56.343Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-09-11T01:04:56.343Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-09-11T01:04:56.343Z] Executing busybox-1.35.0-r29.trigger [2023-09-11T01:04:56.343Z] OK: 269 MiB in 57 packages [2023-09-11T01:04:56.343Z] Removing intermediate container e54401ea9541 [2023-09-11T01:04:56.343Z] ---> ee48cefca93f [2023-09-11T01:04:56.343Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-11T01:04:56.343Z] ---> 50f360e6c748 [2023-09-11T01:04:56.343Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-11T01:04:56.343Z] ---> Running in beb9a8c01370 [2023-09-11T01:05:50.693Z] Removing intermediate container beb9a8c01370 [2023-09-11T01:05:50.693Z] ---> 96ec9e7ce791 [2023-09-11T01:05:50.693Z] Step 11/12 : COPY . . [2023-09-11T01:05:50.693Z] ---> 985d2a546e99 [2023-09-11T01:05:50.693Z] Step 12/12 : RUN ${MAKE} [2023-09-11T01:05:50.693Z] ---> Running in 100564d6afb5 [2023-09-11T01:05:50.693Z] noop [2023-09-11T01:05:50.693Z] Removing intermediate container 100564d6afb5 [2023-09-11T01:05:50.693Z] ---> b9be7eeec9ce [2023-09-11T01:05:50.693Z] Successfully built b9be7eeec9ce [2023-09-11T01:05:50.693Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:05:51.004Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-11T01:05:51.005Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:05:51.072Z] prd-ubuntu20.04-docker-8c-8g-5750 does not seem to be running inside a container [2023-09-11T01:05:51.190Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-09-11T01:05:51.513Z] $ docker top eff01b294fd60dcf8e1d1a19252228290bf76b3b995073f4fb3f8c8269638ab4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-11T01:05:51.756Z] + go version [2023-09-11T01:05:51.756Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-09-11T01:05:51.861Z] $ docker stop --time=1 eff01b294fd60dcf8e1d1a19252228290bf76b3b995073f4fb3f8c8269638ab4 [2023-09-11T01:05:53.101Z] $ docker rm -f --volumes eff01b294fd60dcf8e1d1a19252228290bf76b3b995073f4fb3f8c8269638ab4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:05:53.401Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-11T01:05:53.402Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:05:53.473Z] prd-ubuntu20.04-docker-8c-8g-5750 does not seem to be running inside a container [2023-09-11T01:05:53.606Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-09-11T01:05:53.934Z] $ docker top d24eeb98a0184499517227783d3c271838cda08e3f7bb8853507471ac9086a79 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-11T01:05:54.180Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh [2023-09-11T01:05:54.474Z] + make test [2023-09-11T01:05:54.474Z] go test ./... -coverprofile=coverage.out ./... [2023-09-11T01:05:59.738Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-09-11T01:06:09.696Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-09-11T01:06:09.696Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-09-11T01:06:14.954Z] go vet ./... [2023-09-11T01:06:19.132Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-11T01:06:19.132Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-11T01:06:19.132Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-11T01:06:19.142Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-11T01:06:19.301Z] $ docker stop --time=1 d24eeb98a0184499517227783d3c271838cda08e3f7bb8853507471ac9086a79 [2023-09-11T01:06:23.234Z] $ docker rm -f --volumes d24eeb98a0184499517227783d3c271838cda08e3f7bb8853507471ac9086a79 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-11T01:06:23.528Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-11T01:06:23.567Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-11T01:06:24.095Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-11T01:06:24.380Z] + ls -al . [2023-09-11T01:06:24.380Z] total 168 [2023-09-11T01:06:24.380Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 11 01:05 . [2023-09-11T01:06:24.380Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 01:04 .. [2023-09-11T01:06:24.380Z] -rw-rw-r-- 1 jenkins jenkins 120 Sep 11 01:04 .dockerignore [2023-09-11T01:06:24.380Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 01:04 .git [2023-09-11T01:06:24.380Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 01:04 .github [2023-09-11T01:06:24.380Z] -rw-rw-r-- 1 jenkins jenkins 343 Sep 11 01:04 .gitignore [2023-09-11T01:06:24.380Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 11 01:04 .golangci.yml [2023-09-11T01:06:24.380Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 11 01:04 .semver [2023-09-11T01:06:24.381Z] -rw-rw-r-- 1 jenkins jenkins 10671 Sep 11 01:04 Attribution.txt [2023-09-11T01:06:24.381Z] -rw-rw-r-- 1 jenkins jenkins 6184 Sep 11 01:04 CHANGELOG.md [2023-09-11T01:06:24.381Z] -rw-rw-r-- 1 jenkins jenkins 1542 Sep 11 01:04 Dockerfile [2023-09-11T01:06:24.381Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 11 01:04 GOVERNANCE.md [2023-09-11T01:06:24.381Z] -rw-rw-r-- 1 jenkins jenkins 657 Sep 11 01:04 Jenkinsfile [2023-09-11T01:06:24.381Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 11 01:04 LICENSE [2023-09-11T01:06:24.381Z] -rw-rw-r-- 1 jenkins jenkins 1923 Sep 11 01:04 Makefile [2023-09-11T01:06:24.381Z] -rw-rw-r-- 1 jenkins jenkins 617 Sep 11 01:04 OWNERS.md [2023-09-11T01:06:24.381Z] -rw-rw-r-- 1 jenkins jenkins 12293 Sep 11 01:04 README.md [2023-09-11T01:06:24.381Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 11 01:04 VERSION [2023-09-11T01:06:24.381Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 01:04 bin [2023-09-11T01:06:24.381Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 01:04 cmd [2023-09-11T01:06:24.381Z] -rw-r--r-- 1 jenkins jenkins 10 Sep 11 01:05 coverage.out [2023-09-11T01:06:24.381Z] -rw-rw-r-- 1 jenkins jenkins 3696 Sep 11 01:04 go.mod [2023-09-11T01:06:24.381Z] -rw-rw-r-- 1 jenkins jenkins 34022 Sep 11 01:04 go.sum [2023-09-11T01:06:24.381Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 01:04 internal [2023-09-11T01:06:24.381Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 01:04 snap [2023-09-11T01:06:24.381Z] -rw-rw-r-- 1 jenkins jenkins 209 Sep 11 01:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:06:24.730Z] + 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=20941c594b03f51cf34eeaee0d664e33008baa13 --label arch=amd64 --label version=3.1.0-dev.7 . [2023-09-11T01:06:24.730Z] Sending build context to Docker daemon 16.08MB [2023-09-11T01:06:24.730Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-09-11T01:06:24.730Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-11T01:06:24.730Z] ---> b9be7eeec9ce [2023-09-11T01:06:24.730Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-11T01:06:24.989Z] ---> Running in 84a855092744 [2023-09-11T01:06:24.989Z] Removing intermediate container 84a855092744 [2023-09-11T01:06:24.989Z] ---> 853e603a9c77 [2023-09-11T01:06:24.989Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-11T01:06:25.288Z] ---> Running in 86ae7e8314ec [2023-09-11T01:06:25.288Z] Removing intermediate container 86ae7e8314ec [2023-09-11T01:06:25.288Z] ---> 2096b61a50aa [2023-09-11T01:06:25.288Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-09-11T01:06:25.288Z] ---> Running in a4c05967de5c [2023-09-11T01:06:25.288Z] Removing intermediate container a4c05967de5c [2023-09-11T01:06:25.288Z] ---> 013e07ed88fe [2023-09-11T01:06:25.288Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-11T01:06:25.288Z] ---> Running in fa52d65f7607 [2023-09-11T01:06:25.288Z] Removing intermediate container fa52d65f7607 [2023-09-11T01:06:25.288Z] ---> 78a03b50ac9c [2023-09-11T01:06:25.288Z] Step 7/25 : WORKDIR /device-gpio [2023-09-11T01:06:25.288Z] ---> Running in 40dec8322893 [2023-09-11T01:06:25.565Z] Removing intermediate container 40dec8322893 [2023-09-11T01:06:25.565Z] ---> 5703ac12b03e [2023-09-11T01:06:25.565Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-11T01:06:25.565Z] ---> Running in 3b06a235c0f4 [2023-09-11T01:06:25.828Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-11T01:06:26.099Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-11T01:06:26.375Z] OK: 269 MiB in 57 packages [2023-09-11T01:06:26.650Z] Removing intermediate container 3b06a235c0f4 [2023-09-11T01:06:26.650Z] ---> d4dc954bc975 [2023-09-11T01:06:26.650Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-11T01:06:26.650Z] ---> 573f1ad6abd6 [2023-09-11T01:06:26.650Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-11T01:06:26.650Z] ---> Running in c6bff1752764 [2023-09-11T01:06:27.219Z] Removing intermediate container c6bff1752764 [2023-09-11T01:06:27.219Z] ---> 299c9005fd58 [2023-09-11T01:06:27.219Z] Step 11/25 : COPY . . [2023-09-11T01:06:27.806Z] ---> 1c93e76e68f5 [2023-09-11T01:06:27.806Z] Step 12/25 : RUN ${MAKE} [2023-09-11T01:06:27.806Z] ---> Running in 2d4fb72fb30c [2023-09-11T01:06:28.065Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.1.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-09-11T01:06:50.071Z] Removing intermediate container 2d4fb72fb30c [2023-09-11T01:06:50.071Z] ---> a21ef7026f73 [2023-09-11T01:06:50.071Z] Step 13/25 : FROM alpine:3.17 [2023-09-11T01:06:50.071Z] 3.17: Pulling from library/alpine [2023-09-11T01:06:50.071Z] 9398808236ff: Pulling fs layer [2023-09-11T01:06:50.071Z] 9398808236ff: Download complete [2023-09-11T01:06:50.071Z] 9398808236ff: Pull complete [2023-09-11T01:06:50.071Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-11T01:06:50.071Z] Status: Downloaded newer image for alpine:3.17 [2023-09-11T01:06:50.071Z] ---> 1e0b8b5322fc [2023-09-11T01:06:50.071Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-09-11T01:06:50.071Z] ---> Running in a48c30ad4a02 [2023-09-11T01:06:50.071Z] Removing intermediate container a48c30ad4a02 [2023-09-11T01:06:50.071Z] ---> 03fae6880f0d [2023-09-11T01:06:50.071Z] Step 15/25 : RUN apk add --update --no-cache [2023-09-11T01:06:50.071Z] ---> Running in be60db11349c [2023-09-11T01:06:50.071Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-11T01:06:50.071Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-11T01:06:50.071Z] OK: 7 MiB in 15 packages [2023-09-11T01:06:50.071Z] Removing intermediate container be60db11349c [2023-09-11T01:06:50.071Z] ---> 058b68800ea3 [2023-09-11T01:06:50.071Z] Step 16/25 : WORKDIR / [2023-09-11T01:06:50.071Z] ---> Running in fc14bec871d3 [2023-09-11T01:06:50.071Z] Removing intermediate container fc14bec871d3 [2023-09-11T01:06:50.071Z] ---> 03d77a1bda96 [2023-09-11T01:06:50.071Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-09-11T01:06:50.071Z] ---> 3caf9aea9e2c [2023-09-11T01:06:50.071Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-09-11T01:06:50.071Z] ---> 1e30f6e463e6 [2023-09-11T01:06:50.071Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-09-11T01:06:51.004Z] ---> ef75bfe8d210 [2023-09-11T01:06:51.004Z] Step 20/25 : EXPOSE 59910 [2023-09-11T01:06:51.004Z] ---> Running in 8ec35c3a22ff [2023-09-11T01:06:51.004Z] Removing intermediate container 8ec35c3a22ff [2023-09-11T01:06:51.004Z] ---> aa09095efef5 [2023-09-11T01:06:51.004Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-09-11T01:06:51.004Z] ---> Running in cf4818a3a13c [2023-09-11T01:06:51.004Z] Removing intermediate container cf4818a3a13c [2023-09-11T01:06:51.004Z] ---> 27a6c1ee72aa [2023-09-11T01:06:51.004Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-11T01:06:51.004Z] ---> Running in 21145bba8019 [2023-09-11T01:06:51.004Z] Removing intermediate container 21145bba8019 [2023-09-11T01:06:51.004Z] ---> 20a0a2571a1d [2023-09-11T01:06:51.004Z] Step 23/25 : LABEL arch=amd64 [2023-09-11T01:06:51.004Z] ---> Running in 5b48b145d41e [2023-09-11T01:06:51.263Z] Removing intermediate container 5b48b145d41e [2023-09-11T01:06:51.263Z] ---> f7ede75ebb97 [2023-09-11T01:06:51.263Z] Step 24/25 : LABEL git_sha=20941c594b03f51cf34eeaee0d664e33008baa13 [2023-09-11T01:06:51.263Z] ---> Running in 4722cd717c20 [2023-09-11T01:06:51.263Z] Removing intermediate container 4722cd717c20 [2023-09-11T01:06:51.263Z] ---> 34947d1384aa [2023-09-11T01:06:51.263Z] Step 25/25 : LABEL version=3.1.0-dev.7 [2023-09-11T01:06:51.263Z] ---> Running in 0697350c8aea [2023-09-11T01:06:51.263Z] Removing intermediate container 0697350c8aea [2023-09-11T01:06:51.263Z] ---> 1aaba225fb3c [2023-09-11T01:06:51.263Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-11T01:06:51.263Z] Successfully built 1aaba225fb3c [2023-09-11T01:06:51.263Z] 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-09-11T01:06:51.345Z] provisioning config files... [2023-09-11T01:06:51.353Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config4796296704126605770tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:06:55.081Z] ---> docker-login.sh [2023-09-11T01:06:55.081Z] nexus3.edgexfoundry.org:10001 [2023-09-11T01:06:55.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:06:56.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:06:56.123Z] Configure a credential helper to remove this warning. See [2023-09-11T01:06:56.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:06:56.123Z] [2023-09-11T01:06:56.123Z] Login Succeeded [2023-09-11T01:06:56.123Z] nexus3.edgexfoundry.org:10002 [2023-09-11T01:06:56.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:06:56.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:06:56.382Z] Configure a credential helper to remove this warning. See [2023-09-11T01:06:56.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:06:56.382Z] [2023-09-11T01:06:56.382Z] Login Succeeded [2023-09-11T01:06:56.382Z] nexus3.edgexfoundry.org:10003 [2023-09-11T01:06:56.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:06:56.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:06:56.382Z] Configure a credential helper to remove this warning. See [2023-09-11T01:06:56.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:06:56.382Z] [2023-09-11T01:06:56.382Z] Login Succeeded [2023-09-11T01:06:56.382Z] nexus3.edgexfoundry.org:10004 [2023-09-11T01:06:56.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:06:56.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:06:56.382Z] Configure a credential helper to remove this warning. See [2023-09-11T01:06:56.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:06:56.382Z] [2023-09-11T01:06:56.382Z] Login Succeeded [2023-09-11T01:06:56.382Z] docker.io [2023-09-11T01:06:56.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:06:56.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:06:56.641Z] Configure a credential helper to remove this warning. See [2023-09-11T01:06:56.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:06:56.641Z] [2023-09-11T01:06:56.641Z] Login Succeeded [2023-09-11T01:06:56.641Z] ---> docker-login.sh ends [Pipeline] } [2023-09-11T01:06:56.647Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-11T01:06:56.672Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T01:06:56.689Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2023-09-11T01:06:56.689Z] 20941c594b03f51cf34eeaee0d664e33008baa13 [2023-09-11T01:06:56.689Z] latest [2023-09-11T01:06:56.689Z] 3.1.0-dev.7 [2023-09-11T01:06:56.689Z] 20941c594b03f51cf34eeaee0d664e33008baa13-3.1.0-dev.7 [2023-09-11T01:06:56.689Z] main [2023-09-11T01:06:56.689Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:06:57.002Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:20941c594b03f51cf34eeaee0d664e33008baa13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:06:57.312Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:20941c594b03f51cf34eeaee0d664e33008baa13 [2023-09-11T01:06:57.312Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-09-11T01:06:57.312Z] 83945b51cbb9: Preparing [2023-09-11T01:06:57.312Z] 90fd93fe8f82: Preparing [2023-09-11T01:06:57.312Z] e1cf55ba9ffe: Preparing [2023-09-11T01:06:57.312Z] de2ef766d0af: Preparing [2023-09-11T01:06:57.312Z] 36b50b131297: Preparing [2023-09-11T01:06:57.312Z] 36b50b131297: Layer already exists [2023-09-11T01:06:57.312Z] de2ef766d0af: Pushed [2023-09-11T01:06:57.312Z] e1cf55ba9ffe: Pushed [2023-09-11T01:06:57.312Z] 90fd93fe8f82: Pushed [2023-09-11T01:06:59.851Z] 83945b51cbb9: Pushed [2023-09-11T01:06:59.851Z] 20941c594b03f51cf34eeaee0d664e33008baa13: digest: sha256:aa440270c1915a972d598741b28f294a83ba91a33f031c8530976bc3beed3746 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:07:00.162Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:07:00.475Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-09-11T01:07:00.476Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-09-11T01:07:00.476Z] 83945b51cbb9: Preparing [2023-09-11T01:07:00.476Z] 90fd93fe8f82: Preparing [2023-09-11T01:07:00.476Z] e1cf55ba9ffe: Preparing [2023-09-11T01:07:00.476Z] de2ef766d0af: Preparing [2023-09-11T01:07:00.476Z] 36b50b131297: Preparing [2023-09-11T01:07:00.476Z] 83945b51cbb9: Layer already exists [2023-09-11T01:07:00.476Z] de2ef766d0af: Layer already exists [2023-09-11T01:07:00.476Z] 36b50b131297: Layer already exists [2023-09-11T01:07:00.476Z] 90fd93fe8f82: Layer already exists [2023-09-11T01:07:00.476Z] e1cf55ba9ffe: Layer already exists [2023-09-11T01:07:00.476Z] latest: digest: sha256:aa440270c1915a972d598741b28f294a83ba91a33f031c8530976bc3beed3746 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:07:00.795Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:07:01.107Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.7 [2023-09-11T01:07:01.107Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-09-11T01:07:01.107Z] 83945b51cbb9: Preparing [2023-09-11T01:07:01.107Z] 90fd93fe8f82: Preparing [2023-09-11T01:07:01.107Z] e1cf55ba9ffe: Preparing [2023-09-11T01:07:01.107Z] de2ef766d0af: Preparing [2023-09-11T01:07:01.107Z] 36b50b131297: Preparing [2023-09-11T01:07:01.107Z] 83945b51cbb9: Layer already exists [2023-09-11T01:07:01.107Z] e1cf55ba9ffe: Layer already exists [2023-09-11T01:07:01.107Z] 36b50b131297: Layer already exists [2023-09-11T01:07:01.107Z] 90fd93fe8f82: Layer already exists [2023-09-11T01:07:01.107Z] de2ef766d0af: Layer already exists [2023-09-11T01:07:01.107Z] 3.1.0-dev.7: digest: sha256:aa440270c1915a972d598741b28f294a83ba91a33f031c8530976bc3beed3746 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:07:01.422Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:20941c594b03f51cf34eeaee0d664e33008baa13-3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:07:01.732Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:20941c594b03f51cf34eeaee0d664e33008baa13-3.1.0-dev.7 [2023-09-11T01:07:01.732Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-09-11T01:07:01.732Z] 83945b51cbb9: Preparing [2023-09-11T01:07:01.732Z] 90fd93fe8f82: Preparing [2023-09-11T01:07:01.732Z] e1cf55ba9ffe: Preparing [2023-09-11T01:07:01.732Z] de2ef766d0af: Preparing [2023-09-11T01:07:01.732Z] 36b50b131297: Preparing [2023-09-11T01:07:01.732Z] 36b50b131297: Layer already exists [2023-09-11T01:07:01.732Z] 83945b51cbb9: Layer already exists [2023-09-11T01:07:01.732Z] e1cf55ba9ffe: Layer already exists [2023-09-11T01:07:01.732Z] 90fd93fe8f82: Layer already exists [2023-09-11T01:07:01.732Z] de2ef766d0af: Layer already exists [2023-09-11T01:07:01.732Z] 20941c594b03f51cf34eeaee0d664e33008baa13-3.1.0-dev.7: digest: sha256:aa440270c1915a972d598741b28f294a83ba91a33f031c8530976bc3beed3746 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:07:02.050Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:07:02.359Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2023-09-11T01:07:02.359Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-09-11T01:07:02.359Z] 83945b51cbb9: Preparing [2023-09-11T01:07:02.359Z] 90fd93fe8f82: Preparing [2023-09-11T01:07:02.359Z] e1cf55ba9ffe: Preparing [2023-09-11T01:07:02.359Z] de2ef766d0af: Preparing [2023-09-11T01:07:02.359Z] 36b50b131297: Preparing [2023-09-11T01:07:02.359Z] 90fd93fe8f82: Layer already exists [2023-09-11T01:07:02.359Z] 36b50b131297: Layer already exists [2023-09-11T01:07:02.359Z] de2ef766d0af: Layer already exists [2023-09-11T01:07:02.359Z] 83945b51cbb9: Layer already exists [2023-09-11T01:07:02.359Z] e1cf55ba9ffe: Layer already exists [2023-09-11T01:07:02.359Z] main: digest: sha256:aa440270c1915a972d598741b28f294a83ba91a33f031c8530976bc3beed3746 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-11T01:07:02.400Z] ===================================================== [Pipeline] echo [2023-09-11T01:07:02.406Z] taggedImages: [2023-09-11T01:07:02.406Z] - nexus3.edgexfoundry.org:10004/device-gpio:20941c594b03f51cf34eeaee0d664e33008baa13 [2023-09-11T01:07:02.406Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-09-11T01:07:02.406Z] - nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.7 [2023-09-11T01:07:02.406Z] - nexus3.edgexfoundry.org:10004/device-gpio:20941c594b03f51cf34eeaee0d664e33008baa13-3.1.0-dev.7 [2023-09-11T01:07:02.406Z] - 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-09-11T01:07:02.794Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-11T01:07:02.794Z] [2023-09-11T01:07:02.794Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:07:03.096Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-11T01:07:03.096Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-11T01:07:03.096Z] 5eb5b503b376: Pulling fs layer [2023-09-11T01:07:03.096Z] 5c69ac0246d0: Pulling fs layer [2023-09-11T01:07:03.096Z] ec43610c2a17: Pulling fs layer [2023-09-11T01:07:03.096Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-11T01:07:03.096Z] 33b1e0a273af: Pulling fs layer [2023-09-11T01:07:03.096Z] 5d3b04190fa2: Pulling fs layer [2023-09-11T01:07:03.096Z] 2f39f015ded8: Pulling fs layer [2023-09-11T01:07:03.096Z] 33b1e0a273af: Waiting [2023-09-11T01:07:03.096Z] 5d3b04190fa2: Waiting [2023-09-11T01:07:03.096Z] 2f39f015ded8: Waiting [2023-09-11T01:07:03.096Z] 5c69ac0246d0: Verifying Checksum [2023-09-11T01:07:03.096Z] 5c69ac0246d0: Download complete [2023-09-11T01:07:03.096Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-11T01:07:03.096Z] 3a2ae6a8a46f: Download complete [2023-09-11T01:07:03.096Z] 33b1e0a273af: Verifying Checksum [2023-09-11T01:07:03.096Z] 33b1e0a273af: Download complete [2023-09-11T01:07:03.096Z] ec43610c2a17: Verifying Checksum [2023-09-11T01:07:03.096Z] ec43610c2a17: Download complete [2023-09-11T01:07:03.096Z] 5d3b04190fa2: Download complete [2023-09-11T01:07:03.354Z] 5eb5b503b376: Verifying Checksum [2023-09-11T01:07:03.354Z] 5eb5b503b376: Download complete [2023-09-11T01:07:03.924Z] 2f39f015ded8: Download complete [2023-09-11T01:07:04.489Z] 5eb5b503b376: Pull complete [2023-09-11T01:07:04.489Z] 5c69ac0246d0: Pull complete [2023-09-11T01:07:05.054Z] ec43610c2a17: Pull complete [2023-09-11T01:07:05.054Z] 3a2ae6a8a46f: Pull complete [2023-09-11T01:07:05.311Z] 33b1e0a273af: Pull complete [2023-09-11T01:07:05.311Z] 5d3b04190fa2: Pull complete [2023-09-11T01:07:10.624Z] 2f39f015ded8: Pull complete [2023-09-11T01:07:10.624Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-11T01:07:10.624Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-11T01:07:10.624Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:07:10.705Z] prd-ubuntu20.04-docker-8c-8g-5750 does not seem to be running inside a container [2023-09-11T01:07:10.727Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-11T01:07:15.911Z] $ docker top 513be6eb1f35a281dc114f35722cf00a7d3b6dabad9cbbe9466a80a348fb3588 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:07:16.327Z] ---> job-cost.sh [2023-09-11T01:07:16.327Z] lf-activate-venv: SKIPPING [2023-09-11T01:07:16.327Z] INFO: No Stack... [2023-09-11T01:07:16.586Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-11T01:07:16.846Z] INFO: Archiving Costs [Pipeline] sh [2023-09-11T01:07:17.139Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2023-09-11T01:07:17.139Z] + cut -d, -f6 [Pipeline] lock [2023-09-11T01:07:17.150Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-94-stack-cost] [2023-09-11T01:07:17.160Z] Resource [jenkins-edgexfoundry-device-gpio-main-94-stack-cost] did not exist. Created. [2023-09-11T01:07:17.160Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-94-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-11T01:07:17.462Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-11T01:07:17.493Z] Stashed 1 file(s) [Pipeline] } [2023-09-11T01:07:17.500Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-94-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-11T01:07:17.501Z] $ docker stop --time=1 513be6eb1f35a281dc114f35722cf00a7d3b6dabad9cbbe9466a80a348fb3588 [2023-09-11T01:07:18.649Z] $ docker rm -f --volumes 513be6eb1f35a281dc114f35722cf00a7d3b6dabad9cbbe9466a80a348fb3588 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-11T01:07:47.767Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5753 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2023-09-11T01:07:47.779Z] Running in /w/workspace/device-gpio/94 [Pipeline] { [Pipeline] checkout [2023-09-11T01:07:47.808Z] The recommended git tool is: git [2023-09-11T01:07:53.180Z] using credential edgex-jenkins-ssh [2023-09-11T01:07:53.203Z] Cloning the remote Git repository [2023-09-11T01:07:53.260Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-09-11T01:07:53.368Z] > git init /w/workspace/device-gpio/94 # timeout=10 [2023-09-11T01:07:53.537Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-09-11T01:07:53.539Z] > git --version # timeout=10 [2023-09-11T01:07:53.564Z] > git --version # 'git version 2.25.1' [2023-09-11T01:07:53.567Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-11T01:07:53.743Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-11T01:07:56.037Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-09-11T01:07:56.085Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-11T01:07:57.061Z] Avoid second fetch [2023-09-11T01:07:57.062Z] Checking out Revision 20941c594b03f51cf34eeaee0d664e33008baa13 (main) [2023-09-11T01:07:57.651Z] Commit message: "Merge pull request #192 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.20" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2023-09-11T01:07:57.082Z] > git config core.sparsecheckout # timeout=10 [2023-09-11T01:07:57.168Z] > git checkout -f 20941c594b03f51cf34eeaee0d664e33008baa13 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-11T01:07:58.662Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-11T01:07:58.662Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-11T01:07:58.662Z] Dload Upload Total Spent Left Speed [2023-09-11T01:07:58.662Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh [2023-09-11T01:07:59.291Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-11T01:07:59.620Z] + sudo tee /etc/docker/daemon.new [2023-09-11T01:07:59.620Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-11T01:07:59.620Z] { [2023-09-11T01:07:59.620Z] "registry-mirrors": [ [2023-09-11T01:07:59.620Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-11T01:07:59.620Z] ], [2023-09-11T01:07:59.620Z] "bip": "10.250.0.254/24", [2023-09-11T01:07:59.620Z] "hosts": [ [2023-09-11T01:07:59.620Z] "tcp://0.0.0.0:5555", [2023-09-11T01:07:59.620Z] "unix:///var/run/docker.sock" [2023-09-11T01:07:59.620Z] ], [2023-09-11T01:07:59.620Z] "mtu": 1458, [2023-09-11T01:07:59.620Z] "selinux-enabled": true, [2023-09-11T01:07:59.620Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-11T01:07:59.620Z] } [Pipeline] sh [2023-09-11T01:07:59.946Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-11T01:08:00.290Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-11T01:08:18.562Z] provisioning config files... [2023-09-11T01:08:18.585Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/94@tmp/config6158579391793459222tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:08:18.933Z] ---> docker-login.sh [2023-09-11T01:08:18.933Z] nexus3.edgexfoundry.org:10001 [2023-09-11T01:08:19.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:08:19.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:08:19.471Z] Configure a credential helper to remove this warning. See [2023-09-11T01:08:19.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:08:19.471Z] [2023-09-11T01:08:19.471Z] Login Succeeded [2023-09-11T01:08:19.471Z] nexus3.edgexfoundry.org:10002 [2023-09-11T01:08:19.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:08:19.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:08:19.740Z] Configure a credential helper to remove this warning. See [2023-09-11T01:08:19.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:08:19.740Z] [2023-09-11T01:08:19.740Z] Login Succeeded [2023-09-11T01:08:19.740Z] nexus3.edgexfoundry.org:10003 [2023-09-11T01:08:20.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:08:20.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:08:20.277Z] Configure a credential helper to remove this warning. See [2023-09-11T01:08:20.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:08:20.277Z] [2023-09-11T01:08:20.277Z] Login Succeeded [2023-09-11T01:08:20.277Z] nexus3.edgexfoundry.org:10004 [2023-09-11T01:08:20.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:08:20.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:08:20.545Z] Configure a credential helper to remove this warning. See [2023-09-11T01:08:20.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:08:20.545Z] [2023-09-11T01:08:20.545Z] Login Succeeded [2023-09-11T01:08:20.545Z] docker.io [2023-09-11T01:08:20.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:08:21.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:08:21.079Z] Configure a credential helper to remove this warning. See [2023-09-11T01:08:21.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:08:21.079Z] [2023-09-11T01:08:21.079Z] Login Succeeded [2023-09-11T01:08:21.079Z] ---> docker-login.sh ends [Pipeline] } [2023-09-11T01:08:21.092Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-11T01:08:21.331Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T01:08:21.348Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T01:08:21.363Z] ========================================================= [2023-09-11T01:08:21.363Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-09-11T01:08:21.363Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:08:21.707Z] + 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-09-11T01:08:21.977Z] Sending build context to Docker daemon 8.103MB [2023-09-11T01:08:21.977Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-09-11T01:08:21.977Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-11T01:08:23.402Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-11T01:08:23.402Z] edb6bdbacee9: Pulling fs layer [2023-09-11T01:08:23.402Z] 5f9638ab2659: Pulling fs layer [2023-09-11T01:08:23.402Z] 8d51d6327a98: Pulling fs layer [2023-09-11T01:08:23.402Z] 8b374f2dd631: Pulling fs layer [2023-09-11T01:08:23.402Z] ec14aa9079de: Pulling fs layer [2023-09-11T01:08:23.402Z] 2f466654f4bb: Pulling fs layer [2023-09-11T01:08:23.402Z] 554e91adad29: Pulling fs layer [2023-09-11T01:08:23.402Z] ec14aa9079de: Waiting [2023-09-11T01:08:23.402Z] 8b374f2dd631: Waiting [2023-09-11T01:08:23.402Z] 2f466654f4bb: Waiting [2023-09-11T01:08:23.402Z] 554e91adad29: Waiting [2023-09-11T01:08:23.402Z] 5f9638ab2659: Download complete [2023-09-11T01:08:23.674Z] 8b374f2dd631: Verifying Checksum [2023-09-11T01:08:23.674Z] 8b374f2dd631: Download complete [2023-09-11T01:08:23.674Z] ec14aa9079de: Verifying Checksum [2023-09-11T01:08:23.674Z] ec14aa9079de: Download complete [2023-09-11T01:08:23.674Z] edb6bdbacee9: Download complete [2023-09-11T01:08:24.645Z] edb6bdbacee9: Pull complete [2023-09-11T01:08:24.916Z] 554e91adad29: Verifying Checksum [2023-09-11T01:08:24.916Z] 554e91adad29: Download complete [2023-09-11T01:08:25.184Z] 5f9638ab2659: Pull complete [2023-09-11T01:08:26.160Z] 8d51d6327a98: Verifying Checksum [2023-09-11T01:08:26.160Z] 8d51d6327a98: Download complete [2023-09-11T01:08:26.160Z] 2f466654f4bb: Verifying Checksum [2023-09-11T01:08:26.160Z] 2f466654f4bb: Download complete [2023-09-11T01:08:38.492Z] 8d51d6327a98: Pull complete [2023-09-11T01:08:38.492Z] 8b374f2dd631: Pull complete [2023-09-11T01:08:38.492Z] ec14aa9079de: Pull complete [2023-09-11T01:08:43.878Z] 2f466654f4bb: Pull complete [2023-09-11T01:08:47.374Z] 554e91adad29: Pull complete [2023-09-11T01:08:47.374Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-09-11T01:08:47.374Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-09-11T01:08:47.374Z] ---> 1e15ea492957 [2023-09-11T01:08:47.374Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-11T01:08:48.795Z] ---> Running in 21785cd69b2b [2023-09-11T01:08:49.064Z] Removing intermediate container 21785cd69b2b [2023-09-11T01:08:49.064Z] ---> 7047fc967e52 [2023-09-11T01:08:49.064Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-11T01:08:49.064Z] ---> Running in 2c2f8a3076e4 [2023-09-11T01:08:49.334Z] Removing intermediate container 2c2f8a3076e4 [2023-09-11T01:08:49.334Z] ---> abc863adb37e [2023-09-11T01:08:49.334Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-09-11T01:08:49.603Z] ---> Running in 9223a44f98c8 [2023-09-11T01:08:49.872Z] Removing intermediate container 9223a44f98c8 [2023-09-11T01:08:49.872Z] ---> fef06067f139 [2023-09-11T01:08:49.872Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-11T01:08:49.872Z] ---> Running in cd706e03f68a [2023-09-11T01:08:50.140Z] Removing intermediate container cd706e03f68a [2023-09-11T01:08:50.140Z] ---> e038f3250561 [2023-09-11T01:08:50.140Z] Step 7/12 : WORKDIR /device-gpio [2023-09-11T01:08:50.406Z] ---> Running in f4afce256a81 [2023-09-11T01:08:50.675Z] Removing intermediate container f4afce256a81 [2023-09-11T01:08:50.675Z] ---> 620eb7f191b2 [2023-09-11T01:08:50.675Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-11T01:08:50.675Z] ---> Running in a53c844223d4 [2023-09-11T01:08:51.645Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-11T01:08:52.230Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-11T01:08:53.647Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-09-11T01:08:53.647Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-09-11T01:08:53.647Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-09-11T01:08:53.647Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-09-11T01:08:53.647Z] Executing busybox-1.35.0-r29.trigger [2023-09-11T01:08:53.647Z] OK: 268 MiB in 57 packages [2023-09-11T01:08:54.625Z] Removing intermediate container a53c844223d4 [2023-09-11T01:08:54.625Z] ---> 049c7261a005 [2023-09-11T01:08:54.625Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-11T01:08:55.215Z] ---> 03ca84f5557a [2023-09-11T01:08:55.215Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-11T01:08:55.215Z] ---> Running in 6511b19269fb [2023-09-11T01:10:03.101Z] Removing intermediate container 6511b19269fb [2023-09-11T01:10:03.101Z] ---> 150336ed241a [2023-09-11T01:10:03.101Z] Step 11/12 : COPY . . [2023-09-11T01:10:03.101Z] ---> e31bbfbff079 [2023-09-11T01:10:03.101Z] Step 12/12 : RUN ${MAKE} [2023-09-11T01:10:03.101Z] ---> Running in ceb12b16d584 [2023-09-11T01:10:03.101Z] noop [2023-09-11T01:10:03.101Z] Removing intermediate container ceb12b16d584 [2023-09-11T01:10:03.101Z] ---> 67d8d412f017 [2023-09-11T01:10:03.101Z] Successfully built 67d8d412f017 [2023-09-11T01:10:03.101Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:10:03.456Z] + docker inspect -f . ci-base-image-arm64 [2023-09-11T01:10:03.456Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:10:03.666Z] prd-ubuntu20.04-docker-arm64-4c-16g-5753 does not seem to be running inside a container [2023-09-11T01:10:03.735Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/94 -v /w/workspace/device-gpio/94:/w/workspace/device-gpio/94:rw,z -v /w/workspace/device-gpio/94@tmp:/w/workspace/device-gpio/94@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-arm64 cat [2023-09-11T01:10:04.954Z] $ docker top 982d1e18c1750c7420e43dc67edc0e591cd5f2424e1c7576e670437786ed8814 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-11T01:10:05.774Z] + go version [2023-09-11T01:10:05.774Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-09-11T01:10:05.794Z] $ docker stop --time=1 982d1e18c1750c7420e43dc67edc0e591cd5f2424e1c7576e670437786ed8814 [2023-09-11T01:10:07.420Z] $ docker rm -f --volumes 982d1e18c1750c7420e43dc67edc0e591cd5f2424e1c7576e670437786ed8814 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:10:07.956Z] + docker inspect -f . ci-base-image-arm64 [2023-09-11T01:10:07.956Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:10:08.150Z] prd-ubuntu20.04-docker-arm64-4c-16g-5753 does not seem to be running inside a container [2023-09-11T01:10:08.227Z] $ 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/94 -v /w/workspace/device-gpio/94:/w/workspace/device-gpio/94:rw,z -v /w/workspace/device-gpio/94@tmp:/w/workspace/device-gpio/94@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-arm64 cat [2023-09-11T01:10:10.415Z] $ docker top 0b2635667cec844db81271b413a28f6ab8bd6f8a7d22bbc76eab9b72b8b3ce11 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-11T01:10:11.234Z] + git config --global --add safe.directory /w/workspace/device-gpio/94 [Pipeline] fileExists [Pipeline] sh [2023-09-11T01:10:11.791Z] + make test [2023-09-11T01:10:11.791Z] go test ./... -coverprofile=coverage.out ./... [2023-09-11T01:10:44.004Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-09-11T01:12:50.675Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-09-11T01:12:50.675Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-09-11T01:12:50.675Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-11T01:12:50.675Z] go vet ./... [2023-09-11T01:13:17.382Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-11T01:13:17.382Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-11T01:13:17.382Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-11T01:13:17.399Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-11T01:13:17.411Z] $ docker stop --time=1 0b2635667cec844db81271b413a28f6ab8bd6f8a7d22bbc76eab9b72b8b3ce11 [2023-09-11T01:13:20.027Z] $ docker rm -f --volumes 0b2635667cec844db81271b413a28f6ab8bd6f8a7d22bbc76eab9b72b8b3ce11 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-11T01:13:21.198Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-11T01:13:21.219Z] Warning: overwriting stash ‘coverage-report’ [2023-09-11T01:13:21.638Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-11T01:13:22.028Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-11T01:13:22.344Z] + ls -al . [2023-09-11T01:13:22.344Z] total 164 [2023-09-11T01:13:22.344Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 01:10 . [2023-09-11T01:13:22.344Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 01:07 .. [2023-09-11T01:13:22.344Z] -rw-rw-r-- 1 jenkins jenkins 120 Sep 11 01:07 .dockerignore [2023-09-11T01:13:22.344Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 01:07 .git [2023-09-11T01:13:22.344Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 01:07 .github [2023-09-11T01:13:22.344Z] -rw-rw-r-- 1 jenkins jenkins 343 Sep 11 01:07 .gitignore [2023-09-11T01:13:22.344Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 11 01:07 .golangci.yml [2023-09-11T01:13:22.344Z] -rw-rw-r-- 1 jenkins jenkins 10671 Sep 11 01:07 Attribution.txt [2023-09-11T01:13:22.344Z] -rw-rw-r-- 1 jenkins jenkins 6184 Sep 11 01:07 CHANGELOG.md [2023-09-11T01:13:22.344Z] -rw-rw-r-- 1 jenkins jenkins 1542 Sep 11 01:07 Dockerfile [2023-09-11T01:13:22.344Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 11 01:07 GOVERNANCE.md [2023-09-11T01:13:22.344Z] -rw-rw-r-- 1 jenkins jenkins 657 Sep 11 01:07 Jenkinsfile [2023-09-11T01:13:22.344Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 11 01:07 LICENSE [2023-09-11T01:13:22.344Z] -rw-rw-r-- 1 jenkins jenkins 1923 Sep 11 01:07 Makefile [2023-09-11T01:13:22.344Z] -rw-rw-r-- 1 jenkins jenkins 617 Sep 11 01:07 OWNERS.md [2023-09-11T01:13:22.344Z] -rw-rw-r-- 1 jenkins jenkins 12293 Sep 11 01:07 README.md [2023-09-11T01:13:22.344Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 11 01:04 VERSION [2023-09-11T01:13:22.344Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 01:07 bin [2023-09-11T01:13:22.344Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 01:07 cmd [2023-09-11T01:13:22.344Z] -rw-r--r-- 1 jenkins jenkins 10 Sep 11 01:10 coverage.out [2023-09-11T01:13:22.344Z] -rw-rw-r-- 1 jenkins jenkins 3696 Sep 11 01:07 go.mod [2023-09-11T01:13:22.344Z] -rw-rw-r-- 1 jenkins jenkins 34022 Sep 11 01:07 go.sum [2023-09-11T01:13:22.344Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 01:07 internal [2023-09-11T01:13:22.344Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 01:07 snap [2023-09-11T01:13:22.344Z] -rw-rw-r-- 1 jenkins jenkins 209 Sep 11 01:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:13:22.693Z] + 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=20941c594b03f51cf34eeaee0d664e33008baa13 --label arch=arm64 --label version=3.1.0-dev.7 . [2023-09-11T01:13:22.962Z] Sending build context to Docker daemon 8.104MB [2023-09-11T01:13:22.962Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-09-11T01:13:22.962Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-11T01:13:22.962Z] ---> 67d8d412f017 [2023-09-11T01:13:22.962Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-11T01:13:23.231Z] ---> Running in 9f96c72e428d [2023-09-11T01:13:23.499Z] Removing intermediate container 9f96c72e428d [2023-09-11T01:13:23.499Z] ---> 76d558118629 [2023-09-11T01:13:23.499Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-11T01:13:23.499Z] ---> Running in fc0bce7b1c0e [2023-09-11T01:13:23.768Z] Removing intermediate container fc0bce7b1c0e [2023-09-11T01:13:23.768Z] ---> 6557af469773 [2023-09-11T01:13:23.768Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-09-11T01:13:24.036Z] ---> Running in 06b41d1cb847 [2023-09-11T01:13:24.305Z] Removing intermediate container 06b41d1cb847 [2023-09-11T01:13:24.305Z] ---> 0bf486c7f5dd [2023-09-11T01:13:24.305Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-11T01:13:24.305Z] ---> Running in 9aac5d31b3cb [2023-09-11T01:13:24.571Z] Removing intermediate container 9aac5d31b3cb [2023-09-11T01:13:24.571Z] ---> 6852ef245519 [2023-09-11T01:13:24.571Z] Step 7/25 : WORKDIR /device-gpio [2023-09-11T01:13:24.571Z] ---> Running in 8db60eee1069 [2023-09-11T01:13:24.847Z] Removing intermediate container 8db60eee1069 [2023-09-11T01:13:24.847Z] ---> b73d2ca85374 [2023-09-11T01:13:24.847Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-11T01:13:25.115Z] ---> Running in d638086aef59 [2023-09-11T01:13:26.086Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-11T01:13:26.671Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-11T01:13:27.633Z] OK: 268 MiB in 57 packages [2023-09-11T01:13:28.597Z] Removing intermediate container d638086aef59 [2023-09-11T01:13:28.597Z] ---> 1b669148fa79 [2023-09-11T01:13:28.597Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-11T01:13:32.617Z] ---> 109346ba7063 [2023-09-11T01:13:32.617Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-11T01:13:32.617Z] ---> Running in 9169a45c6ee1 [2023-09-11T01:13:33.203Z] Removing intermediate container 9169a45c6ee1 [2023-09-11T01:13:33.203Z] ---> 81972a1b5084 [2023-09-11T01:13:33.203Z] Step 11/25 : COPY . . [2023-09-11T01:13:34.169Z] ---> dc5fae2a610d [2023-09-11T01:13:34.169Z] Step 12/25 : RUN ${MAKE} [2023-09-11T01:13:34.169Z] ---> Running in d35ac90e4375 [2023-09-11T01:13:35.141Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.1.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-09-11T01:16:11.941Z] Removing intermediate container d35ac90e4375 [2023-09-11T01:16:11.941Z] ---> 01254f317724 [2023-09-11T01:16:11.941Z] Step 13/25 : FROM alpine:3.17 [2023-09-11T01:16:11.942Z] 3.17: Pulling from library/alpine [2023-09-11T01:16:11.942Z] 4060ece20d7a: Pulling fs layer [2023-09-11T01:16:11.942Z] 4060ece20d7a: Verifying Checksum [2023-09-11T01:16:11.942Z] 4060ece20d7a: Download complete [2023-09-11T01:16:11.942Z] 4060ece20d7a: Pull complete [2023-09-11T01:16:11.942Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-11T01:16:11.942Z] Status: Downloaded newer image for alpine:3.17 [2023-09-11T01:16:11.942Z] ---> 8650cd65339b [2023-09-11T01:16:11.942Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-09-11T01:16:11.942Z] ---> Running in a4905740ee8a [2023-09-11T01:16:11.942Z] Removing intermediate container a4905740ee8a [2023-09-11T01:16:11.942Z] ---> cba5e8b164bc [2023-09-11T01:16:11.942Z] Step 15/25 : RUN apk add --update --no-cache [2023-09-11T01:16:11.942Z] ---> Running in 805660cc3394 [2023-09-11T01:16:11.942Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-11T01:16:11.942Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-11T01:16:11.942Z] OK: 7 MiB in 15 packages [2023-09-11T01:16:11.942Z] Removing intermediate container 805660cc3394 [2023-09-11T01:16:11.942Z] ---> 18218248320f [2023-09-11T01:16:11.942Z] Step 16/25 : WORKDIR / [2023-09-11T01:16:11.942Z] ---> Running in 8d232720bafc [2023-09-11T01:16:11.942Z] Removing intermediate container 8d232720bafc [2023-09-11T01:16:11.942Z] ---> 3af1010471b6 [2023-09-11T01:16:11.942Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-09-11T01:16:11.942Z] ---> 736895b1e116 [2023-09-11T01:16:11.942Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-09-11T01:16:11.942Z] ---> 935e9d4b45fd [2023-09-11T01:16:11.942Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-09-11T01:16:11.942Z] ---> 2b635f69da13 [2023-09-11T01:16:11.942Z] Step 20/25 : EXPOSE 59910 [2023-09-11T01:16:11.942Z] ---> Running in ee2954493fa4 [2023-09-11T01:16:11.942Z] Removing intermediate container ee2954493fa4 [2023-09-11T01:16:11.942Z] ---> 972508b34c39 [2023-09-11T01:16:11.942Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-09-11T01:16:11.942Z] ---> Running in 7b4b2745ddff [2023-09-11T01:16:11.942Z] Removing intermediate container 7b4b2745ddff [2023-09-11T01:16:11.942Z] ---> 66dc6a583f6d [2023-09-11T01:16:11.942Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-11T01:16:11.942Z] ---> Running in f16c15787db0 [2023-09-11T01:16:11.942Z] Removing intermediate container f16c15787db0 [2023-09-11T01:16:11.942Z] ---> 1c16a12c909b [2023-09-11T01:16:11.942Z] Step 23/25 : LABEL arch=arm64 [2023-09-11T01:16:11.942Z] ---> Running in 6ac28b008400 [2023-09-11T01:16:11.942Z] Removing intermediate container 6ac28b008400 [2023-09-11T01:16:11.942Z] ---> 0e90d59665c8 [2023-09-11T01:16:11.942Z] Step 24/25 : LABEL git_sha=20941c594b03f51cf34eeaee0d664e33008baa13 [2023-09-11T01:16:11.942Z] ---> Running in 130a7cb93a56 [2023-09-11T01:16:11.942Z] Removing intermediate container 130a7cb93a56 [2023-09-11T01:16:11.942Z] ---> b6ba99a09b86 [2023-09-11T01:16:11.942Z] Step 25/25 : LABEL version=3.1.0-dev.7 [2023-09-11T01:16:11.942Z] ---> Running in a182ee60703c [2023-09-11T01:16:11.942Z] Removing intermediate container a182ee60703c [2023-09-11T01:16:11.942Z] ---> f044ddde41ae [2023-09-11T01:16:11.942Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-11T01:16:11.942Z] Successfully built f044ddde41ae [2023-09-11T01:16:11.942Z] 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-09-11T01:16:12.062Z] provisioning config files... [2023-09-11T01:16:12.079Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/94@tmp/config16774253241994333666tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:16:12.448Z] ---> docker-login.sh [2023-09-11T01:16:12.448Z] nexus3.edgexfoundry.org:10001 [2023-09-11T01:16:12.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:16:12.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:16:12.714Z] Configure a credential helper to remove this warning. See [2023-09-11T01:16:12.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:16:12.714Z] [2023-09-11T01:16:12.714Z] Login Succeeded [2023-09-11T01:16:12.714Z] nexus3.edgexfoundry.org:10002 [2023-09-11T01:16:12.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:16:12.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:16:12.984Z] Configure a credential helper to remove this warning. See [2023-09-11T01:16:12.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:16:12.984Z] [2023-09-11T01:16:12.984Z] Login Succeeded [2023-09-11T01:16:12.984Z] nexus3.edgexfoundry.org:10003 [2023-09-11T01:16:13.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:16:13.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:16:13.516Z] Configure a credential helper to remove this warning. See [2023-09-11T01:16:13.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:16:13.516Z] [2023-09-11T01:16:13.516Z] Login Succeeded [2023-09-11T01:16:13.516Z] nexus3.edgexfoundry.org:10004 [2023-09-11T01:16:13.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:16:13.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:16:13.782Z] Configure a credential helper to remove this warning. See [2023-09-11T01:16:13.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:16:13.782Z] [2023-09-11T01:16:13.782Z] Login Succeeded [2023-09-11T01:16:13.782Z] docker.io [2023-09-11T01:16:14.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:16:14.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:16:14.312Z] Configure a credential helper to remove this warning. See [2023-09-11T01:16:14.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:16:14.312Z] [2023-09-11T01:16:14.312Z] Login Succeeded [2023-09-11T01:16:14.312Z] ---> docker-login.sh ends [Pipeline] } [2023-09-11T01:16:14.326Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-11T01:16:14.352Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T01:16:14.370Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2023-09-11T01:16:14.370Z] 20941c594b03f51cf34eeaee0d664e33008baa13 [2023-09-11T01:16:14.370Z] latest [2023-09-11T01:16:14.370Z] 3.1.0-dev.7 [2023-09-11T01:16:14.370Z] 20941c594b03f51cf34eeaee0d664e33008baa13-3.1.0-dev.7 [2023-09-11T01:16:14.370Z] main [2023-09-11T01:16:14.370Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:16:14.701Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:20941c594b03f51cf34eeaee0d664e33008baa13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:16:15.039Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:20941c594b03f51cf34eeaee0d664e33008baa13 [2023-09-11T01:16:15.039Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-09-11T01:16:15.039Z] faf6dec6a933: Preparing [2023-09-11T01:16:15.039Z] ee9f0c963e28: Preparing [2023-09-11T01:16:15.039Z] 424e6524c1ef: Preparing [2023-09-11T01:16:15.039Z] 82d70918f9df: Preparing [2023-09-11T01:16:15.039Z] d2d9d24a8c2a: Preparing [2023-09-11T01:16:15.039Z] d2d9d24a8c2a: Layer already exists [2023-09-11T01:16:15.307Z] 82d70918f9df: Pushed [2023-09-11T01:16:15.307Z] ee9f0c963e28: Pushed [2023-09-11T01:16:15.307Z] 424e6524c1ef: Pushed [2023-09-11T01:16:21.946Z] faf6dec6a933: Pushed [2023-09-11T01:16:21.946Z] 20941c594b03f51cf34eeaee0d664e33008baa13: digest: sha256:2384daf3ea10ffc4e19f8e8a2301f53d142529c2d1f276131afb8d76390a51a5 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:16:22.284Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:16:22.623Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-09-11T01:16:22.623Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-09-11T01:16:22.623Z] faf6dec6a933: Preparing [2023-09-11T01:16:22.623Z] ee9f0c963e28: Preparing [2023-09-11T01:16:22.623Z] 424e6524c1ef: Preparing [2023-09-11T01:16:22.623Z] 82d70918f9df: Preparing [2023-09-11T01:16:22.623Z] d2d9d24a8c2a: Preparing [2023-09-11T01:16:22.623Z] faf6dec6a933: Layer already exists [2023-09-11T01:16:22.623Z] ee9f0c963e28: Layer already exists [2023-09-11T01:16:22.623Z] d2d9d24a8c2a: Layer already exists [2023-09-11T01:16:22.623Z] 82d70918f9df: Layer already exists [2023-09-11T01:16:22.623Z] 424e6524c1ef: Layer already exists [2023-09-11T01:16:22.623Z] latest: digest: sha256:2384daf3ea10ffc4e19f8e8a2301f53d142529c2d1f276131afb8d76390a51a5 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:16:23.229Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:16:23.563Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.7 [2023-09-11T01:16:23.563Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-09-11T01:16:23.563Z] faf6dec6a933: Preparing [2023-09-11T01:16:23.563Z] ee9f0c963e28: Preparing [2023-09-11T01:16:23.563Z] 424e6524c1ef: Preparing [2023-09-11T01:16:23.563Z] 82d70918f9df: Preparing [2023-09-11T01:16:23.563Z] d2d9d24a8c2a: Preparing [2023-09-11T01:16:23.563Z] 82d70918f9df: Layer already exists [2023-09-11T01:16:23.563Z] d2d9d24a8c2a: Layer already exists [2023-09-11T01:16:23.563Z] 424e6524c1ef: Layer already exists [2023-09-11T01:16:23.563Z] ee9f0c963e28: Layer already exists [2023-09-11T01:16:23.563Z] faf6dec6a933: Layer already exists [2023-09-11T01:16:23.563Z] 3.1.0-dev.7: digest: sha256:2384daf3ea10ffc4e19f8e8a2301f53d142529c2d1f276131afb8d76390a51a5 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:16:23.908Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:20941c594b03f51cf34eeaee0d664e33008baa13-3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:16:24.245Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:20941c594b03f51cf34eeaee0d664e33008baa13-3.1.0-dev.7 [2023-09-11T01:16:24.245Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-09-11T01:16:24.245Z] faf6dec6a933: Preparing [2023-09-11T01:16:24.245Z] ee9f0c963e28: Preparing [2023-09-11T01:16:24.245Z] 424e6524c1ef: Preparing [2023-09-11T01:16:24.245Z] 82d70918f9df: Preparing [2023-09-11T01:16:24.245Z] d2d9d24a8c2a: Preparing [2023-09-11T01:16:24.245Z] d2d9d24a8c2a: Layer already exists [2023-09-11T01:16:24.245Z] faf6dec6a933: Layer already exists [2023-09-11T01:16:24.245Z] 424e6524c1ef: Layer already exists [2023-09-11T01:16:24.245Z] ee9f0c963e28: Layer already exists [2023-09-11T01:16:24.245Z] 82d70918f9df: Layer already exists [2023-09-11T01:16:24.245Z] 20941c594b03f51cf34eeaee0d664e33008baa13-3.1.0-dev.7: digest: sha256:2384daf3ea10ffc4e19f8e8a2301f53d142529c2d1f276131afb8d76390a51a5 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:16:24.592Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:16:24.940Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2023-09-11T01:16:24.940Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-09-11T01:16:24.940Z] faf6dec6a933: Preparing [2023-09-11T01:16:24.940Z] ee9f0c963e28: Preparing [2023-09-11T01:16:24.940Z] 424e6524c1ef: Preparing [2023-09-11T01:16:24.940Z] 82d70918f9df: Preparing [2023-09-11T01:16:24.940Z] d2d9d24a8c2a: Preparing [2023-09-11T01:16:24.940Z] 82d70918f9df: Layer already exists [2023-09-11T01:16:24.940Z] 424e6524c1ef: Layer already exists [2023-09-11T01:16:24.940Z] ee9f0c963e28: Layer already exists [2023-09-11T01:16:24.940Z] faf6dec6a933: Layer already exists [2023-09-11T01:16:24.940Z] d2d9d24a8c2a: Layer already exists [2023-09-11T01:16:24.940Z] main: digest: sha256:2384daf3ea10ffc4e19f8e8a2301f53d142529c2d1f276131afb8d76390a51a5 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-11T01:16:24.998Z] ===================================================== [Pipeline] echo [2023-09-11T01:16:25.008Z] taggedImages: [2023-09-11T01:16:25.008Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:20941c594b03f51cf34eeaee0d664e33008baa13 [2023-09-11T01:16:25.008Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-09-11T01:16:25.008Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.7 [2023-09-11T01:16:25.008Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:20941c594b03f51cf34eeaee0d664e33008baa13-3.1.0-dev.7 [2023-09-11T01:16:25.008Z] - 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-09-11T01:16:25.370Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-11T01:16:25.370Z] [2023-09-11T01:16:25.370Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:16:25.700Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-11T01:16:25.701Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-11T01:16:25.701Z] 8998bd30e6a1: Pulling fs layer [2023-09-11T01:16:25.701Z] 04944245beec: Pulling fs layer [2023-09-11T01:16:25.701Z] 699f458cf7ca: Pulling fs layer [2023-09-11T01:16:25.701Z] 765212b225bb: Pulling fs layer [2023-09-11T01:16:25.701Z] f23df028b6ca: Pulling fs layer [2023-09-11T01:16:25.701Z] d65c8cfc05b1: Pulling fs layer [2023-09-11T01:16:25.701Z] 765212b225bb: Waiting [2023-09-11T01:16:25.701Z] f23df028b6ca: Waiting [2023-09-11T01:16:25.701Z] 2437ff75d9bd: Pulling fs layer [2023-09-11T01:16:25.701Z] d65c8cfc05b1: Waiting [2023-09-11T01:16:25.701Z] 2437ff75d9bd: Waiting [2023-09-11T01:16:25.970Z] 04944245beec: Verifying Checksum [2023-09-11T01:16:25.970Z] 04944245beec: Download complete [2023-09-11T01:16:25.970Z] 765212b225bb: Verifying Checksum [2023-09-11T01:16:25.970Z] 765212b225bb: Download complete [2023-09-11T01:16:25.970Z] f23df028b6ca: Download complete [2023-09-11T01:16:25.970Z] d65c8cfc05b1: Verifying Checksum [2023-09-11T01:16:25.970Z] d65c8cfc05b1: Download complete [2023-09-11T01:16:26.238Z] 699f458cf7ca: Verifying Checksum [2023-09-11T01:16:26.238Z] 699f458cf7ca: Download complete [2023-09-11T01:16:26.504Z] 8998bd30e6a1: Verifying Checksum [2023-09-11T01:16:26.504Z] 8998bd30e6a1: Download complete [2023-09-11T01:16:29.090Z] 2437ff75d9bd: Verifying Checksum [2023-09-11T01:16:29.090Z] 2437ff75d9bd: Download complete [2023-09-11T01:16:30.499Z] 8998bd30e6a1: Pull complete [2023-09-11T01:16:30.766Z] 04944245beec: Pull complete [2023-09-11T01:16:32.173Z] 699f458cf7ca: Pull complete [2023-09-11T01:16:32.173Z] 765212b225bb: Pull complete [2023-09-11T01:16:32.755Z] f23df028b6ca: Pull complete [2023-09-11T01:16:33.021Z] d65c8cfc05b1: Pull complete [2023-09-11T01:16:48.004Z] 2437ff75d9bd: Pull complete [2023-09-11T01:16:48.004Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-11T01:16:48.004Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-11T01:16:48.004Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:16:48.193Z] prd-ubuntu20.04-docker-arm64-4c-16g-5753 does not seem to be running inside a container [2023-09-11T01:16:48.250Z] $ 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/94 -v /w/workspace/device-gpio/94:/w/workspace/device-gpio/94:rw,z -v /w/workspace/device-gpio/94@tmp:/w/workspace/device-gpio/94@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:arm64 cat [2023-09-11T01:16:50.778Z] $ docker top ebd9abe8f5e4f89f3bb8c3ab8b0cdb095383febc99977ab6400300c014598d9a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:16:51.602Z] ---> job-cost.sh [2023-09-11T01:16:51.602Z] lf-activate-venv: SKIPPING [2023-09-11T01:16:51.602Z] INFO: No Stack... [2023-09-11T01:16:51.870Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-11T01:16:52.834Z] INFO: Archiving Costs [Pipeline] sh [2023-09-11T01:16:53.148Z] + cat /w/workspace/device-gpio/94/archives/cost.csv [2023-09-11T01:16:53.148Z] + cut -d, -f6 [Pipeline] lock [2023-09-11T01:16:53.184Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-94-stack-cost] [2023-09-11T01:16:53.191Z] Resource [jenkins-edgexfoundry-device-gpio-main-94-stack-cost] did not exist. Created. [2023-09-11T01:16:53.191Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-94-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-11T01:16:53.523Z] /w/workspace/device-gpio/94@tmp/durable-4f384030/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-11T01:16:53.853Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-11T01:16:53.873Z] Warning: overwriting stash ‘stack-cost’ [2023-09-11T01:16:53.932Z] Stashed 1 file(s) [Pipeline] } [2023-09-11T01:16:53.941Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-94-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-11T01:16:53.959Z] $ docker stop --time=1 ebd9abe8f5e4f89f3bb8c3ab8b0cdb095383febc99977ab6400300c014598d9a [2023-09-11T01:16:55.424Z] $ docker rm -f --volumes ebd9abe8f5e4f89f3bb8c3ab8b0cdb095383febc99977ab6400300c014598d9a [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-09-11T01:16:55.818Z] provisioning config files... [2023-09-11T01:16:55.826Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config11739822896114660569tmp [Pipeline] { [Pipeline] sh [2023-09-11T01:16:56.121Z] + set +x [2023-09-11T01:16:56.121Z] + bash -s -- [2023-09-11T01:16:56.121Z] + curl -s https://codecov.io/bash [2023-09-11T01:16:56.121Z] [2023-09-11T01:16:56.121Z] _____ _ [2023-09-11T01:16:56.121Z] / ____| | | [2023-09-11T01:16:56.121Z] | | ___ __| | ___ ___ _____ __ [2023-09-11T01:16:56.121Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-11T01:16:56.121Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-11T01:16:56.121Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-11T01:16:56.121Z] Bash-1.0.6 [2023-09-11T01:16:56.121Z] [2023-09-11T01:16:56.121Z] [2023-09-11T01:16:56.121Z] ==> git version 2.25.1 found [2023-09-11T01:16:56.121Z] ==> 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-09-11T01:16:56.121Z] Release-Date: 2020-01-08 [2023-09-11T01:16:56.121Z] 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-09-11T01:16:56.121Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-11T01:16:56.121Z] ==> Jenkins CI detected. [2023-09-11T01:16:56.121Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2023-09-11T01:16:56.121Z] project root: . [2023-09-11T01:16:56.121Z] --> token set from env [2023-09-11T01:16:56.121Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-11T01:16:56.121Z] ==> Running gcov in . (disable via -X gcov) [2023-09-11T01:16:56.121Z] ==> Python coveragepy not found [2023-09-11T01:16:56.121Z] ==> Searching for coverage reports in: [2023-09-11T01:16:56.121Z] + . [2023-09-11T01:16:56.121Z] -> Found 1 reports [2023-09-11T01:16:56.121Z] ==> Detecting git/mercurial file structure [2023-09-11T01:16:56.121Z] ==> Reading reports [2023-09-11T01:16:56.121Z] + ./coverage.out bytes=10 [2023-09-11T01:16:56.121Z] ==> Appending adjustments [2023-09-11T01:16:56.121Z] https://docs.codecov.io/docs/fixing-reports [2023-09-11T01:16:56.381Z] + Found adjustments [2023-09-11T01:16:56.381Z] ==> Gzipping contents [2023-09-11T01:16:56.381Z] 4.0K /tmp/codecov.qBRGsJ.gz [2023-09-11T01:16:56.381Z] ==> Uploading reports [2023-09-11T01:16:56.381Z] url: https://codecov.io [2023-09-11T01:16:56.381Z] query: branch=main&commit=20941c594b03f51cf34eeaee0d664e33008baa13&build=94&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F94%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-11T01:16:56.381Z] -> Pinging Codecov [2023-09-11T01:16:56.381Z] 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=20941c594b03f51cf34eeaee0d664e33008baa13&build=94&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F94%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-11T01:16:56.381Z] -> Uploading to [2023-09-11T01:16:56.381Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-11/3EC07B1A8CA8AF9BCAA0BB9F0134797F/20941c594b03f51cf34eeaee0d664e33008baa13/9b5c1e2c-139b-4bc0-8ac9-a38d309fc9ab.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230911%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230911T011656Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c94bf967b9f4e5f8cabb5acc427493563ad923472ad14d460b4f40324e564d8a [2023-09-11T01:16:56.381Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-11T01:16:56.381Z] Dload Upload Total Spent Left Speed [2023-09-11T01:16:56.641Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3203 --:--:-- --:--:-- --:--:-- 3203 [2023-09-11T01:16:56.641Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/20941c594b03f51cf34eeaee0d664e33008baa13 [Pipeline] } [2023-09-11T01:16:56.648Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-11T01:16:56.855Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-11T01:16:56.867Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:16:57.162Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-11T01:16:57.162Z] [2023-09-11T01:16:57.162Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:16:57.460Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-11T01:16:57.460Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-11T01:16:57.460Z] df9b9388f04a: Pulling fs layer [2023-09-11T01:16:57.460Z] 52dc419b0ee2: Pulling fs layer [2023-09-11T01:16:57.460Z] 25bc292e5bac: Pulling fs layer [2023-09-11T01:16:57.460Z] 114826534d7a: Pulling fs layer [2023-09-11T01:16:57.460Z] 4657fd5d0bcf: Pulling fs layer [2023-09-11T01:16:57.460Z] 6ad1cebc031e: Pulling fs layer [2023-09-11T01:16:57.460Z] 8a3aa393b2d8: Pulling fs layer [2023-09-11T01:16:57.460Z] 4657fd5d0bcf: Waiting [2023-09-11T01:16:57.460Z] 6ad1cebc031e: Waiting [2023-09-11T01:16:57.460Z] 114826534d7a: Waiting [2023-09-11T01:16:57.460Z] 8a3aa393b2d8: Waiting [2023-09-11T01:16:57.460Z] 25bc292e5bac: Verifying Checksum [2023-09-11T01:16:57.460Z] 25bc292e5bac: Download complete [2023-09-11T01:16:57.460Z] 52dc419b0ee2: Download complete [2023-09-11T01:16:57.460Z] 4657fd5d0bcf: Verifying Checksum [2023-09-11T01:16:57.460Z] 4657fd5d0bcf: Download complete [2023-09-11T01:16:57.460Z] df9b9388f04a: Download complete [2023-09-11T01:16:57.738Z] 6ad1cebc031e: Verifying Checksum [2023-09-11T01:16:57.738Z] 6ad1cebc031e: Download complete [2023-09-11T01:16:57.999Z] df9b9388f04a: Pull complete [2023-09-11T01:16:57.999Z] 52dc419b0ee2: Pull complete [2023-09-11T01:16:57.999Z] 25bc292e5bac: Pull complete [2023-09-11T01:16:58.258Z] 114826534d7a: Download complete [2023-09-11T01:16:58.258Z] 8a3aa393b2d8: Verifying Checksum [2023-09-11T01:16:58.258Z] 8a3aa393b2d8: Download complete [2023-09-11T01:17:01.539Z] 114826534d7a: Pull complete [2023-09-11T01:17:01.539Z] 4657fd5d0bcf: Pull complete [2023-09-11T01:17:01.797Z] 6ad1cebc031e: Pull complete [2023-09-11T01:17:04.326Z] 8a3aa393b2d8: Pull complete [2023-09-11T01:17:04.326Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-11T01:17:04.326Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-11T01:17:04.326Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:17:04.414Z] prd-ubuntu20.04-docker-8c-8g-5750 does not seem to be running inside a container [2023-09-11T01:17:04.425Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-11T01:17:09.089Z] $ docker top 7c0df234e0ebd783523a06dbf11835d45b33ac46fdd89106939e7a55f32d1b53 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-11T01:17:09.179Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2023-09-11T01:17:09.457Z] + set -o pipefail [2023-09-11T01:17:09.457Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2023-09-11T01:17:16.015Z] [2023-09-11T01:17:16.015Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2023-09-11T01:17:16.015Z] [2023-09-11T01:17:16.015Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/943e2ee2-c26e-438a-a4e0-1cce953c7471 [2023-09-11T01:17:16.015Z] [2023-09-11T01:17:16.015Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-11T01:17:16.015Z] [2023-09-11T01:17:16.015Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-11T01:17:16.015Z] [2023-09-11T01:17:16.273Z] [2023-09-11T01:17:16.273Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-11T01:17:16.273Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-11T01:17:16.273Z] More details here: https://snyk.co/ue1NS [2023-09-11T01:17:16.273Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-09-11T01:17:16.273Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-09-11T01:17:16.261Z] $ docker stop --time=1 7c0df234e0ebd783523a06dbf11835d45b33ac46fdd89106939e7a55f32d1b53 [2023-09-11T01:17:21.057Z] $ docker rm -f --volumes 7c0df234e0ebd783523a06dbf11835d45b33ac46fdd89106939e7a55f32d1b53 [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-09-11T01:17:21.784Z] + git log --format=format:%s -1 20941c594b03f51cf34eeaee0d664e33008baa13 [Pipeline] sh [2023-09-11T01:17:22.072Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-11T01:17:22.072Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:17:22.369Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T01:17:22.369Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:17:22.439Z] prd-ubuntu20.04-docker-8c-8g-5750 does not seem to be running inside a container [2023-09-11T01:17:22.447Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-11T01:17:22.890Z] $ docker top bb0da071cac5749aa2523b4a655bacbc2fc55923e57b732236e0c9f2072a10fb -eo pid,comm [2023-09-11T01:17:22.963Z] 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-09-11T01:17:22.963Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-11T01:17:23.004Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-11T01:17:23.004Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-11T01:17:23.116Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-11T01:17:23.097Z] $ docker exec bb0da071cac5749aa2523b4a655bacbc2fc55923e57b732236e0c9f2072a10fb ssh-agent [2023-09-11T01:17:23.230Z] SSH_AUTH_SOCK=/tmp/ssh-N3XQNiKKHjkb/agent.32 [2023-09-11T01:17:23.230Z] SSH_AGENT_PID=38 [2023-09-11T01:17:23.235Z] Running ssh-add (command line suppressed) [2023-09-11T01:17:23.325Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_17116295443935348651.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_17116295443935348651.key) [2023-09-11T01:17:23.360Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-11T01:17:23.647Z] + git semver tag [2023-09-11T01:17:23.906Z] 2023-09-11 01:17:23,832 [run_tag] DEBUG tag force:False [2023-09-11T01:17:23.906Z] 2023-09-11 01:17:23,832 [check_head_tag] DEBUG check head tag [2023-09-11T01:17:23.906Z] 2023-09-11 01:17:23,832 [execute] INFO git cat-file --batch-check [2023-09-11T01:17:23.906Z] 2023-09-11 01:17:23,833 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-09-11T01:17:23.906Z] 2023-09-11 01:17:23,836 [execute] INFO git cat-file --batch [2023-09-11T01:17:23.906Z] 2023-09-11 01:17:23,836 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-09-11T01:17:23.906Z] 2023-09-11 01:17:23,843 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-11T01:17:23.906Z] 2023-09-11 01:17:23,843 [execute] INFO git tag -a v3.1.0-dev.7 -m v3.1.0-dev.7 [2023-09-11T01:17:23.907Z] 2023-09-11 01:17:23,844 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.7', '-m', 'v3.1.0-dev.7'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-09-11T01:17:23.907Z] 2023-09-11 01:17:23,849 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-11T01:17:23.907Z] 3.1.0-dev.7 [Pipeline] } [2023-09-11T01:17:23.895Z] $ docker exec --env ******** --env ******** bb0da071cac5749aa2523b4a655bacbc2fc55923e57b732236e0c9f2072a10fb ssh-agent -k [2023-09-11T01:17:24.015Z] unset SSH_AUTH_SOCK; [2023-09-11T01:17:24.015Z] unset SSH_AGENT_PID; [2023-09-11T01:17:24.015Z] echo Agent pid 38 killed; [2023-09-11T01:17:24.048Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-11T01:17:24.362Z] + git semver [Pipeline] } [2023-09-11T01:17:24.614Z] $ docker stop --time=1 bb0da071cac5749aa2523b4a655bacbc2fc55923e57b732236e0c9f2072a10fb [2023-09-11T01:17:25.871Z] $ docker rm -f --volumes bb0da071cac5749aa2523b4a655bacbc2fc55923e57b732236e0c9f2072a10fb [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:17:26.267Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-11T01:17:26.268Z] [2023-09-11T01:17:26.268Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:17:26.572Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-11T01:17:26.572Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-11T01:17:26.572Z] ab5ef0e58194: Pulling fs layer [2023-09-11T01:17:26.572Z] 9712f1f96733: Pulling fs layer [2023-09-11T01:17:26.572Z] 63f879dbbcfc: Pulling fs layer [2023-09-11T01:17:26.572Z] 0d9ebad4ef96: Pulling fs layer [2023-09-11T01:17:26.572Z] e9a5061849ea: Pulling fs layer [2023-09-11T01:17:26.572Z] d747dcd14b5f: Pulling fs layer [2023-09-11T01:17:26.572Z] 2de7ff778b66: Pulling fs layer [2023-09-11T01:17:26.572Z] e9a5061849ea: Waiting [2023-09-11T01:17:26.572Z] d747dcd14b5f: Waiting [2023-09-11T01:17:26.572Z] 2de7ff778b66: Waiting [2023-09-11T01:17:26.572Z] 0d9ebad4ef96: Waiting [2023-09-11T01:17:26.572Z] 9712f1f96733: Download complete [2023-09-11T01:17:26.833Z] 63f879dbbcfc: Verifying Checksum [2023-09-11T01:17:26.833Z] 63f879dbbcfc: Download complete [2023-09-11T01:17:27.093Z] e9a5061849ea: Verifying Checksum [2023-09-11T01:17:27.093Z] e9a5061849ea: Download complete [2023-09-11T01:17:27.093Z] d747dcd14b5f: Download complete [2023-09-11T01:17:27.093Z] 0d9ebad4ef96: Verifying Checksum [2023-09-11T01:17:27.093Z] 0d9ebad4ef96: Download complete [2023-09-11T01:17:27.093Z] ab5ef0e58194: Verifying Checksum [2023-09-11T01:17:27.093Z] ab5ef0e58194: Download complete [2023-09-11T01:17:27.093Z] 2de7ff778b66: Verifying Checksum [2023-09-11T01:17:27.093Z] 2de7ff778b66: Download complete [2023-09-11T01:17:30.387Z] ab5ef0e58194: Pull complete [2023-09-11T01:17:30.387Z] 9712f1f96733: Pull complete [2023-09-11T01:17:30.647Z] 63f879dbbcfc: Pull complete [2023-09-11T01:17:34.977Z] 0d9ebad4ef96: Pull complete [2023-09-11T01:17:34.977Z] e9a5061849ea: Pull complete [2023-09-11T01:17:34.977Z] d747dcd14b5f: Pull complete [2023-09-11T01:17:35.912Z] 2de7ff778b66: Pull complete [2023-09-11T01:17:35.912Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-11T01:17:35.912Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-11T01:17:35.912Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:17:35.989Z] prd-ubuntu20.04-docker-8c-8g-5750 does not seem to be running inside a container [2023-09-11T01:17:36.002Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-11T01:17:42.308Z] $ docker top a11c1b51fafb4b91a6039af63a3c0ae278ed1bbbe5c75fff3630b1e512237ba2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-11T01:17:42.406Z] provisioning config files... [2023-09-11T01:17:42.412Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8904604456806603535tmp [2023-09-11T01:17:42.423Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config14517405894509279707tmp [2023-09-11T01:17:42.432Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config7314665336542155183tmp [Pipeline] { [Pipeline] echo [2023-09-11T01:17:42.449Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:17:42.730Z] ---> sigul-configuration.sh [2023-09-11T01:17:42.730Z] gpg: directory `/root/.gnupg' created [2023-09-11T01:17:42.730Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-11T01:17:42.730Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-11T01:17:42.730Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-11T01:17:42.730Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-11T01:17:42.730Z] gpg: CAST5 encrypted data [2023-09-11T01:17:42.730Z] gpg: encrypted with 1 passphrase [2023-09-11T01:17:42.730Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-11T01:17:43.013Z] + mkdir /home/jenkins [2023-09-11T01:17:43.013Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-11T01:17:43.303Z] + 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-09-11T01:17:43.312Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:17:43.596Z] ---> sigul-install.sh [2023-09-11T01:17:43.596Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-11T01:17:43.883Z] + git tag --list [2023-09-11T01:17:43.883Z] v1.0.0 [2023-09-11T01:17:43.883Z] v2.1.0 [2023-09-11T01:17:43.883Z] v2.1.1 [2023-09-11T01:17:43.883Z] v2.2.0 [2023-09-11T01:17:43.883Z] v2.3.0 [2023-09-11T01:17:43.883Z] v3.0 [2023-09-11T01:17:43.883Z] v3.0.0 [2023-09-11T01:17:43.883Z] v3.1.0-dev.1 [2023-09-11T01:17:43.883Z] v3.1.0-dev.2 [2023-09-11T01:17:43.883Z] v3.1.0-dev.3 [2023-09-11T01:17:43.883Z] v3.1.0-dev.4 [2023-09-11T01:17:43.883Z] v3.1.0-dev.5 [2023-09-11T01:17:43.883Z] v3.1.0-dev.6 [2023-09-11T01:17:43.883Z] v3.1.0-dev.7 [Pipeline] sh [2023-09-11T01:17:44.174Z] + lftools sign git-tag v3.1.0-dev.7 [2023-09-11T01:17:44.743Z] Signing Git tag with Sigul... [2023-09-11T01:17:44.743Z] Signing v3.1.0-dev.7 [Pipeline] echo [2023-09-11T01:17:45.321Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:17:45.607Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-11T01:17:45.614Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-11T01:17:45.613Z] $ docker stop --time=1 a11c1b51fafb4b91a6039af63a3c0ae278ed1bbbe5c75fff3630b1e512237ba2 [2023-09-11T01:17:46.876Z] $ docker rm -f --volumes a11c1b51fafb4b91a6039af63a3c0ae278ed1bbbe5c75fff3630b1e512237ba2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-11T01:17:47.325Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-11T01:17:47.325Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:17:47.625Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T01:17:47.625Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:17:47.700Z] prd-ubuntu20.04-docker-8c-8g-5750 does not seem to be running inside a container [2023-09-11T01:17:47.720Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-11T01:17:48.081Z] $ docker top b270d170291ffc85ee4c4be9ed49da8c60ac330bbe199bdececb845cff38146d -eo pid,comm [2023-09-11T01:17:48.152Z] 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-09-11T01:17:48.152Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-11T01:17:48.179Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-11T01:17:48.179Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-11T01:17:48.300Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-11T01:17:48.282Z] $ docker exec b270d170291ffc85ee4c4be9ed49da8c60ac330bbe199bdececb845cff38146d ssh-agent [2023-09-11T01:17:48.422Z] SSH_AUTH_SOCK=/tmp/ssh-fhgPXbvp3FXy/agent.33 [2023-09-11T01:17:48.422Z] SSH_AGENT_PID=39 [2023-09-11T01:17:48.427Z] Running ssh-add (command line suppressed) [2023-09-11T01:17:48.522Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6527526721439426439.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6527526721439426439.key) [2023-09-11T01:17:48.558Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-11T01:17:48.846Z] + git semver bump pre [2023-09-11T01:17:49.108Z] 2023-09-11 01:17:49,032 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-11T01:17:49.108Z] 2023-09-11 01:17:49,032 [bump_version] DEBUG bumping version:3.1.0-dev.7 on axis:pre with prefix:dev [2023-09-11T01:17:49.108Z] 2023-09-11 01:17:49,032 [bump_version] DEBUG bumped version:3.1.0-dev.8 [2023-09-11T01:17:49.108Z] 2023-09-11 01:17:49,032 [write_version] DEBUG write version:3.1.0-dev.8 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True [2023-09-11T01:17:49.108Z] 2023-09-11 01:17:49,032 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-11T01:17:49.108Z] 2023-09-11 01:17:49,032 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-11T01:17:49.108Z] 2023-09-11 01:17:49,034 [execute] INFO git cat-file --batch-check [2023-09-11T01:17:49.108Z] 2023-09-11 01:17:49,035 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-11T01:17:49.108Z] 2023-09-11 01:17:49,041 [execute] INFO git cat-file --batch [2023-09-11T01:17:49.108Z] 2023-09-11 01:17:49,041 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-11T01:17:49.108Z] 2023-09-11 01:17:49,047 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-11T01:17:49.108Z] 3.1.0-dev.8 [Pipeline] } [2023-09-11T01:17:49.096Z] $ docker exec --env ******** --env ******** b270d170291ffc85ee4c4be9ed49da8c60ac330bbe199bdececb845cff38146d ssh-agent -k [2023-09-11T01:17:49.196Z] unset SSH_AUTH_SOCK; [2023-09-11T01:17:49.197Z] unset SSH_AGENT_PID; [2023-09-11T01:17:49.197Z] echo Agent pid 39 killed; [2023-09-11T01:17:49.229Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-11T01:17:49.541Z] + git semver [Pipeline] } [2023-09-11T01:17:49.794Z] $ docker stop --time=1 b270d170291ffc85ee4c4be9ed49da8c60ac330bbe199bdececb845cff38146d [2023-09-11T01:17:51.040Z] $ docker rm -f --volumes b270d170291ffc85ee4c4be9ed49da8c60ac330bbe199bdececb845cff38146d [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-11T01:17:51.410Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-11T01:17:51.410Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:17:51.711Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T01:17:51.712Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:17:51.778Z] prd-ubuntu20.04-docker-8c-8g-5750 does not seem to be running inside a container [2023-09-11T01:17:51.788Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-11T01:17:52.144Z] $ docker top add7ef2e8a9b8a5163bfc8f3c7d941aca62058c864115e6385a35d9e2d045fba -eo pid,comm [2023-09-11T01:17:52.215Z] 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-09-11T01:17:52.215Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-11T01:17:52.244Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-11T01:17:52.244Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-11T01:17:52.358Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-11T01:17:52.339Z] $ docker exec add7ef2e8a9b8a5163bfc8f3c7d941aca62058c864115e6385a35d9e2d045fba ssh-agent [2023-09-11T01:17:52.476Z] SSH_AUTH_SOCK=/tmp/ssh-vIMsEOu35F9R/agent.32 [2023-09-11T01:17:52.476Z] SSH_AGENT_PID=38 [2023-09-11T01:17:52.481Z] Running ssh-add (command line suppressed) [2023-09-11T01:17:52.572Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8144725370750070776.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8144725370750070776.key) [2023-09-11T01:17:52.606Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-11T01:17:52.893Z] + git semver push [2023-09-11T01:17:53.152Z] 2023-09-11 01:17:53,059 [run_push] DEBUG push [2023-09-11T01:17:53.152Z] 2023-09-11 01:17:53,060 [execute] INFO git cat-file --batch-check [2023-09-11T01:17:53.152Z] 2023-09-11 01:17:53,060 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-11T01:17:53.152Z] 2023-09-11 01:17:53,064 [execute] INFO git rev-list 0fa081b6782d78d079ef5246a27364d7f552e92d -- [2023-09-11T01:17:53.152Z] 2023-09-11 01:17:53,064 [execute] DEBUG Popen(['git', 'rev-list', '0fa081b6782d78d079ef5246a27364d7f552e92d', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-11T01:17:53.152Z] 2023-09-11 01:17:53,073 [execute] INFO git fetch -v origin [2023-09-11T01:17:53.152Z] 2023-09-11 01:17:53,073 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-11T01:17:53.721Z] 2023-09-11 01:17:53,529 [run_push] DEBUG no remote changes detected [2023-09-11T01:17:53.721Z] 2023-09-11 01:17:53,530 [execute] INFO git push origin semver [2023-09-11T01:17:53.721Z] 2023-09-11 01:17:53,530 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-11T01:17:54.657Z] 2023-09-11 01:17:54,279 [run_push] DEBUG push all version tags [2023-09-11T01:17:54.657Z] 2023-09-11 01:17:54,279 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-11T01:17:54.657Z] 2023-09-11 01:17:54,280 [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-09-11T01:17:55.225Z] 2023-09-11 01:17:55,057 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-11T01:17:55.225Z] 3.1.0-dev.8 [Pipeline] } [2023-09-11T01:17:55.213Z] $ docker exec --env ******** --env ******** add7ef2e8a9b8a5163bfc8f3c7d941aca62058c864115e6385a35d9e2d045fba ssh-agent -k [2023-09-11T01:17:55.311Z] unset SSH_AUTH_SOCK; [2023-09-11T01:17:55.312Z] unset SSH_AGENT_PID; [2023-09-11T01:17:55.312Z] echo Agent pid 38 killed; [2023-09-11T01:17:55.344Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-11T01:17:55.645Z] + git semver [Pipeline] } [2023-09-11T01:17:55.896Z] $ docker stop --time=1 add7ef2e8a9b8a5163bfc8f3c7d941aca62058c864115e6385a35d9e2d045fba [2023-09-11T01:17:57.197Z] $ docker rm -f --volumes add7ef2e8a9b8a5163bfc8f3c7d941aca62058c864115e6385a35d9e2d045fba [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-09-11T01:17:57.891Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2023-09-11T01:17:57.891Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-09-11T01:17:57.891Z] total 16 [2023-09-11T01:17:57.891Z] drwxr-xr-x 3 root root 4096 Sep 11 01:07 . [2023-09-11T01:17:57.891Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 11 01:17 .. [2023-09-11T01:17:57.891Z] drwxr-xr-x 2 root root 4096 Sep 11 01:07 cost [2023-09-11T01:17:57.891Z] -rw-r--r-- 1 root root 82 Sep 11 01:07 cost.csv [2023-09-11T01:17:57.891Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2023-09-11T01:17:57.891Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-09-11T01:17:57.891Z] total 16 [2023-09-11T01:17:57.891Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 11 01:07 . [2023-09-11T01:17:57.891Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 11 01:17 .. [2023-09-11T01:17:57.891Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 11 01:07 cost [2023-09-11T01:17:57.891Z] -rw-r--r-- 1 jenkins jenkins 82 Sep 11 01:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:17:58.228Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:17:59.089Z] ---> package-listing.sh [2023-09-11T01:17:59.089Z] ++ facter osfamily [2023-09-11T01:17:59.089Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-11T01:17:59.349Z] + OS_FAMILY=debian [2023-09-11T01:17:59.349Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2023-09-11T01:17:59.349Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-11T01:17:59.349Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-11T01:17:59.349Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-11T01:17:59.349Z] + PACKAGES=/tmp/packages_start.txt [2023-09-11T01:17:59.349Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-09-11T01:17:59.349Z] + PACKAGES=/tmp/packages_end.txt [2023-09-11T01:17:59.349Z] + case "${OS_FAMILY}" in [2023-09-11T01:17:59.349Z] + dpkg -l [2023-09-11T01:17:59.349Z] + grep '^ii' [2023-09-11T01:17:59.349Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-11T01:17:59.349Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-11T01:17:59.349Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-11T01:17:59.349Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-09-11T01:17:59.349Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2023-09-11T01:17:59.349Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2023-09-11T01:17:59.359Z] 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-09-11T01:17:59.636Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:18:00.196Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-11T01:18:00.196Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:18:00.268Z] prd-ubuntu20.04-docker-8c-8g-5750 does not seem to be running inside a container [2023-09-11T01:18:00.275Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-11T01:18:00.508Z] $ docker top 15d179b9924cc5691ba4f04f43a1450c29da2f7147c82fd623d7e1c1a158c761 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-11T01:18:00.868Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-11T01:18:01.155Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-11T01:18:01.450Z] + ls /var/log/sa-host [2023-09-11T01:18:01.450Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-11T01:18:01.595Z] provisioning config files... [2023-09-11T01:18:01.603Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config12807413619336513885tmp [Pipeline] { [Pipeline] echo [2023-09-11T01:18:01.614Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:18:01.893Z] ---> create-netrc.sh [Pipeline] } [2023-09-11T01:18:01.900Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:18:02.226Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-11T01:18:02.235Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:18:02.519Z] ---> sudo-logs.sh [2023-09-11T01:18:02.519Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-11T01:18:02.548Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:18:02.833Z] ---> job-cost.sh [2023-09-11T01:18:02.833Z] lf-activate-venv: SKIPPING [2023-09-11T01:18:02.833Z] DEBUG: total: 0.2199999988079071 [2023-09-11T01:18:02.833Z] INFO: Retrieving Stack Cost... [2023-09-11T01:18:03.093Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-11T01:18:03.662Z] INFO: Archiving Costs [Pipeline] echo [2023-09-11T01:18:03.671Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:18:03.955Z] ---> logs-deploy.sh [2023-09-11T01:18:03.955Z] lf-activate-venv: SKIPPING [2023-09-11T01:18:03.955Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/94 [2023-09-11T01:18:03.955Z] INFO: archiving workspace using pattern(s): [2023-09-11T01:18:04.893Z] Archives upload complete. [2023-09-11T01:18:05.152Z] INFO: archiving logs to Nexus