Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7e40bb2e43e068414aa907f761b2c3a1e6facb42 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-ssh3126360954700700628.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh10766097242212985989.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh9096777212536237366.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh11863742538317035945.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-ssh12682856579587770249.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 ‘prd-ubuntu20.04-docker-8c-8g-2547’ Running on prd-ubuntu20.04-docker-8c-8g-2555 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 7e40bb2e43e068414aa907f761b2c3a1e6facb42 (main) Commit message: "Merge pull request #186 from edgexfoundry/dependabot/go_modules/github.com/warthog618/gpiod-0.8.2" > 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 7e40bb2e43e068414aa907f761b2c3a1e6facb42 # timeout=10 > git rev-list --no-walk 04d71f93380c03689ae3663938a9aa0245bc0fe4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-31T01:13:44.318Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-31T01:13:44.381Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-31T01:13:44.395Z] ========================================================= [2023-07-31T01:13:44.395Z] EdgeX Global Pipelines Version Info [2023-07-31T01:13:44.395Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-31T01:13:45.123Z] ------------------- [2023-07-31T01:13:45.123Z] stable info: [2023-07-31T01:13:45.123Z] ------------------- [2023-07-31T01:13:45.123Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-31T01:13:45.123Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-31T01:13:45.123Z] Message: update stable to v1.0.250 [2023-07-31T01:13:45.693Z] ------------------- [2023-07-31T01:13:45.693Z] experimental info: [2023-07-31T01:13:45.693Z] ------------------- [2023-07-31T01:13:45.693Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-31T01:13:45.693Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-31T01:13:45.693Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-31T01:13:45.866Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-07-31T01:13:45.878Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-07-31T01:13:45.894Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-31T01:13:45.912Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-31T01:13:45.930Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-31T01:13:45.949Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-31T01:13:45.966Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-31T01:13:45.977Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-07-31T01:13:45.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-31T01:13:46.010Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-31T01:13:46.024Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-31T01:13:46.034Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-07-31T01:13:46.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-31T01:13:46.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-31T01:13:46.073Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-31T01:13:46.088Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-07-31T01:13:46.104Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-31T01:13:46.115Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-31T01:13:46.127Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-31T01:13:46.139Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-31T01:13:46.151Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-07-31T01:13:46.163Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-07-31T01:13:46.175Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-31T01:13:46.189Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-31T01:13:46.207Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-31T01:13:46.224Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-31T01:13:46.234Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-31T01:13:46.251Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-07-31T01:13:46.266Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-07-31T01:13:46.276Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-07-31T01:13:46.288Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7e40bb2e43e068414aa907f761b2c3a1e6facb42 [Pipeline] echo [2023-07-31T01:13:46.301Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7e40bb2 [Pipeline] echo [2023-07-31T01:13:46.313Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-31T01:13:46.358Z] provisioning config files... [2023-07-31T01:13:46.370Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8101360953034874080tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-31T01:13:46.669Z] ---> docker-login.sh [2023-07-31T01:13:46.669Z] nexus3.edgexfoundry.org:10001 [2023-07-31T01:13:46.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T01:13:46.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T01:13:46.931Z] Configure a credential helper to remove this warning. See [2023-07-31T01:13:46.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T01:13:46.931Z] [2023-07-31T01:13:46.931Z] Login Succeeded [2023-07-31T01:13:46.931Z] nexus3.edgexfoundry.org:10002 [2023-07-31T01:13:46.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T01:13:46.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T01:13:46.931Z] Configure a credential helper to remove this warning. See [2023-07-31T01:13:46.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T01:13:46.931Z] [2023-07-31T01:13:46.931Z] Login Succeeded [2023-07-31T01:13:46.931Z] nexus3.edgexfoundry.org:10003 [2023-07-31T01:13:47.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T01:13:47.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T01:13:47.193Z] Configure a credential helper to remove this warning. See [2023-07-31T01:13:47.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T01:13:47.193Z] [2023-07-31T01:13:47.193Z] Login Succeeded [2023-07-31T01:13:47.193Z] nexus3.edgexfoundry.org:10004 [2023-07-31T01:13:47.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T01:13:47.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T01:13:47.193Z] Configure a credential helper to remove this warning. See [2023-07-31T01:13:47.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T01:13:47.193Z] [2023-07-31T01:13:47.193Z] Login Succeeded [2023-07-31T01:13:47.193Z] docker.io [2023-07-31T01:13:47.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T01:13:47.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T01:13:47.765Z] Configure a credential helper to remove this warning. See [2023-07-31T01:13:47.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T01:13:47.765Z] [2023-07-31T01:13:47.765Z] Login Succeeded [2023-07-31T01:13:47.765Z] ---> docker-login.sh ends [Pipeline] } [2023-07-31T01:13:47.774Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-31T01:13:48.147Z] + git rev-list -1 --merges 7e40bb2e43e068414aa907f761b2c3a1e6facb42~1..7e40bb2e43e068414aa907f761b2c3a1e6facb42 [Pipeline] echo [2023-07-31T01:13:48.194Z] -----------> git rev-list -1 --merges 7e40bb2e43e068414aa907f761b2c3a1e6facb42~1..7e40bb2e43e068414aa907f761b2c3a1e6facb42 7e40bb2e43e068414aa907f761b2c3a1e6facb42 [2023-07-31T01:13:48.194Z] 7e40bb2e43e068414aa907f761b2c3a1e6facb42 [false] [Pipeline] sh [2023-07-31T01:13:48.501Z] + git log --format=format:%s -1 7e40bb2e43e068414aa907f761b2c3a1e6facb42 [Pipeline] echo [2023-07-31T01:13:48.517Z] ========================================================= [2023-07-31T01:13:48.517Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-31T01:13:48.517Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-31T01:13:48.837Z] + git log --format=format:%s -1 7e40bb2e43e068414aa907f761b2c3a1e6facb42 [Pipeline] echo [2023-07-31T01:13:48.846Z] [semverPrep] GIT_COMMIT: 7e40bb2e43e068414aa907f761b2c3a1e6facb42, Commit Message: Merge pull request #186 from edgexfoundry/dependabot/go_modules/github.com/warthog618/gpiod-0.8.2 [Pipeline] echo [2023-07-31T01:13:48.857Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-31T01:13:49.222Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-31T01:13:49.223Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-31T01:13:49.223Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-31T01:13:49.223Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-31T01:13:49.223Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-31T01:13:49.223Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-31T01:13:49.223Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:13:49.639Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-31T01:13:49.639Z] [2023-07-31T01:13:49.639Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:13:49.938Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-31T01:13:49.938Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-31T01:13:49.938Z] b85a868b505f: Pulling fs layer [2023-07-31T01:13:49.938Z] e2be974225ed: Pulling fs layer [2023-07-31T01:13:49.938Z] 339a4e72a1f5: Pulling fs layer [2023-07-31T01:13:49.938Z] 988bab9f4d93: Pulling fs layer [2023-07-31T01:13:49.938Z] 1469e6f7b9e6: Pulling fs layer [2023-07-31T01:13:49.938Z] eaf3925da568: Pulling fs layer [2023-07-31T01:13:49.938Z] bab4dde63d76: Pulling fs layer [2023-07-31T01:13:49.938Z] bde34c3a00c8: Pulling fs layer [2023-07-31T01:13:49.938Z] b352a97aabf1: Pulling fs layer [2023-07-31T01:13:49.938Z] 4872d77fe225: Pulling fs layer [2023-07-31T01:13:49.938Z] 5851b861e8e6: Pulling fs layer [2023-07-31T01:13:49.938Z] 988bab9f4d93: Waiting [2023-07-31T01:13:49.938Z] 1469e6f7b9e6: Waiting [2023-07-31T01:13:49.938Z] eaf3925da568: Waiting [2023-07-31T01:13:49.938Z] bab4dde63d76: Waiting [2023-07-31T01:13:49.938Z] bde34c3a00c8: Waiting [2023-07-31T01:13:49.938Z] b352a97aabf1: Waiting [2023-07-31T01:13:49.938Z] 5851b861e8e6: Waiting [2023-07-31T01:13:49.938Z] 4872d77fe225: Waiting [2023-07-31T01:13:49.938Z] e2be974225ed: Verifying Checksum [2023-07-31T01:13:49.938Z] e2be974225ed: Download complete [2023-07-31T01:13:49.938Z] 988bab9f4d93: Verifying Checksum [2023-07-31T01:13:49.938Z] 988bab9f4d93: Download complete [2023-07-31T01:13:49.938Z] 1469e6f7b9e6: Verifying Checksum [2023-07-31T01:13:49.938Z] 1469e6f7b9e6: Download complete [2023-07-31T01:13:50.198Z] eaf3925da568: Verifying Checksum [2023-07-31T01:13:50.198Z] eaf3925da568: Download complete [2023-07-31T01:13:50.198Z] 339a4e72a1f5: Verifying Checksum [2023-07-31T01:13:50.198Z] 339a4e72a1f5: Download complete [2023-07-31T01:13:50.198Z] bde34c3a00c8: Verifying Checksum [2023-07-31T01:13:50.198Z] bde34c3a00c8: Download complete [2023-07-31T01:13:50.198Z] b352a97aabf1: Download complete [2023-07-31T01:13:50.198Z] 4872d77fe225: Verifying Checksum [2023-07-31T01:13:50.198Z] 4872d77fe225: Download complete [2023-07-31T01:13:50.198Z] 5851b861e8e6: Download complete [2023-07-31T01:13:50.198Z] b85a868b505f: Verifying Checksum [2023-07-31T01:13:50.198Z] b85a868b505f: Download complete [2023-07-31T01:13:50.456Z] bab4dde63d76: Verifying Checksum [2023-07-31T01:13:50.456Z] bab4dde63d76: Download complete [2023-07-31T01:13:51.390Z] b85a868b505f: Pull complete [2023-07-31T01:13:51.650Z] e2be974225ed: Pull complete [2023-07-31T01:13:52.219Z] 339a4e72a1f5: Pull complete [2023-07-31T01:13:52.219Z] 988bab9f4d93: Pull complete [2023-07-31T01:13:52.478Z] 1469e6f7b9e6: Pull complete [2023-07-31T01:13:52.478Z] eaf3925da568: Pull complete [2023-07-31T01:13:54.379Z] bab4dde63d76: Pull complete [2023-07-31T01:13:54.379Z] bde34c3a00c8: Pull complete [2023-07-31T01:13:54.379Z] b352a97aabf1: Pull complete [2023-07-31T01:13:54.379Z] 4872d77fe225: Pull complete [2023-07-31T01:13:54.379Z] 5851b861e8e6: Pull complete [2023-07-31T01:13:54.379Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-31T01:13:54.379Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-31T01:13:54.379Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-31T01:13:54.478Z] prd-ubuntu20.04-docker-8c-8g-2555 does not seem to be running inside a container [2023-07-31T01:13:54.494Z] $ 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-07-31T01:13:58.387Z] $ docker top bcdfb2940b0a9b89d5fb2e6303a55f4c2d768313aceaa28b0a2df89c899c6b2a -eo pid,comm [2023-07-31T01:13:58.414Z] 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-07-31T01:13:58.414Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-31T01:13:58.451Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-31T01:13:58.451Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-31T01:13:58.563Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-31T01:13:58.602Z] $ docker exec bcdfb2940b0a9b89d5fb2e6303a55f4c2d768313aceaa28b0a2df89c899c6b2a ssh-agent [2023-07-31T01:13:58.676Z] SSH_AUTH_SOCK=/tmp/ssh-7OUHxcPTdPhW/agent.33 [2023-07-31T01:13:58.676Z] SSH_AGENT_PID=39 [2023-07-31T01:13:58.682Z] Running ssh-add (command line suppressed) [2023-07-31T01:13:58.812Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_12946196930630750.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_12946196930630750.key) [2023-07-31T01:13:58.784Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-31T01:13:59.071Z] + git tag --points-at HEAD [Pipeline] } [2023-07-31T01:13:59.137Z] $ docker exec --env ******** --env ******** bcdfb2940b0a9b89d5fb2e6303a55f4c2d768313aceaa28b0a2df89c899c6b2a ssh-agent -k [2023-07-31T01:13:59.226Z] unset SSH_AUTH_SOCK; [2023-07-31T01:13:59.227Z] unset SSH_AGENT_PID; [2023-07-31T01:13:59.227Z] echo Agent pid 39 killed; [2023-07-31T01:13:59.187Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-31T01:13:59.210Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-31T01:13:59.210Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-31T01:13:59.312Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-31T01:13:59.370Z] $ docker exec bcdfb2940b0a9b89d5fb2e6303a55f4c2d768313aceaa28b0a2df89c899c6b2a ssh-agent [2023-07-31T01:13:59.426Z] SSH_AUTH_SOCK=/tmp/ssh-GGpnIHOdQjJq/agent.71 [2023-07-31T01:13:59.426Z] SSH_AGENT_PID=77 [2023-07-31T01:13:59.430Z] Running ssh-add (command line suppressed) [2023-07-31T01:13:59.582Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_836783198449338004.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_836783198449338004.key) [2023-07-31T01:13:59.538Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-31T01:13:59.821Z] + git semver init [2023-07-31T01:14:00.080Z] 2023-07-31 01:14:00,071 [run_init] DEBUG init version:0.0.0 force:False [2023-07-31T01:14:00.080Z] 2023-07-31 01:14:00,072 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2023-07-31T01:14:00.080Z] 2023-07-31 01:14:00,073 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2023-07-31T01:14:00.080Z] 2023-07-31 01:14:00,073 [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-07-31T01:14:01.457Z] 2023-07-31 01:14:01,189 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2023-07-31T01:14:01.457Z] 2023-07-31 01:14:01,190 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2023-07-31T01:14:01.457Z] 2023-07-31 01:14:01,190 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-07-31T01:14:01.457Z] 2023-07-31 01:14:01,190 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-07-31T01:14:01.457Z] 3.1.0-dev.2 [Pipeline] } [2023-07-31T01:14:01.565Z] $ docker exec --env ******** --env ******** bcdfb2940b0a9b89d5fb2e6303a55f4c2d768313aceaa28b0a2df89c899c6b2a ssh-agent -k [2023-07-31T01:14:01.672Z] unset SSH_AUTH_SOCK; [2023-07-31T01:14:01.673Z] unset SSH_AGENT_PID; [2023-07-31T01:14:01.673Z] echo Agent pid 77 killed; [2023-07-31T01:14:01.581Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-31T01:14:01.884Z] + git semver [Pipeline] } [2023-07-31T01:14:02.267Z] $ docker stop --time=1 bcdfb2940b0a9b89d5fb2e6303a55f4c2d768313aceaa28b0a2df89c899c6b2a [2023-07-31T01:14:03.543Z] $ docker rm -f --volumes bcdfb2940b0a9b89d5fb2e6303a55f4c2d768313aceaa28b0a2df89c899c6b2a [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-31T01:14:03.749Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-31T01:14:03.959Z] Stashed 1 file(s) [Pipeline] echo [2023-07-31T01:14:03.962Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.2 [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-07-31T01:14:04.138Z] provisioning config files... [2023-07-31T01:14:04.147Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config10216854939030295747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-31T01:14:04.443Z] ---> docker-login.sh [2023-07-31T01:14:04.443Z] nexus3.edgexfoundry.org:10001 [2023-07-31T01:14:04.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T01:14:04.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T01:14:04.443Z] Configure a credential helper to remove this warning. See [2023-07-31T01:14:04.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T01:14:04.443Z] [2023-07-31T01:14:04.443Z] Login Succeeded [2023-07-31T01:14:04.443Z] nexus3.edgexfoundry.org:10002 [2023-07-31T01:14:04.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T01:14:04.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T01:14:04.443Z] Configure a credential helper to remove this warning. See [2023-07-31T01:14:04.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T01:14:04.443Z] [2023-07-31T01:14:04.443Z] Login Succeeded [2023-07-31T01:14:04.443Z] nexus3.edgexfoundry.org:10003 [2023-07-31T01:14:04.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T01:14:04.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T01:14:04.703Z] Configure a credential helper to remove this warning. See [2023-07-31T01:14:04.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T01:14:04.703Z] [2023-07-31T01:14:04.703Z] Login Succeeded [2023-07-31T01:14:04.703Z] nexus3.edgexfoundry.org:10004 [2023-07-31T01:14:04.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T01:14:04.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T01:14:04.703Z] Configure a credential helper to remove this warning. See [2023-07-31T01:14:04.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T01:14:04.703Z] [2023-07-31T01:14:04.703Z] Login Succeeded [2023-07-31T01:14:04.703Z] docker.io [2023-07-31T01:14:04.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T01:14:04.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T01:14:04.962Z] Configure a credential helper to remove this warning. See [2023-07-31T01:14:04.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T01:14:04.962Z] [2023-07-31T01:14:04.962Z] Login Succeeded [2023-07-31T01:14:04.962Z] ---> docker-login.sh ends [Pipeline] } [2023-07-31T01:14:04.970Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-31T01:14:05.040Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-31T01:14:05.051Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-31T01:14:05.057Z] ========================================================= [2023-07-31T01:14:05.057Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-31T01:14:05.057Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:14:05.360Z] + 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-07-31T01:14:05.360Z] Sending build context to Docker daemon 16.01MB [2023-07-31T01:14:05.360Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-31T01:14:05.360Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-31T01:14:05.360Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-31T01:14:05.360Z] 4db1b89c0bd1: Pulling fs layer [2023-07-31T01:14:05.360Z] 6911f1a30b25: Pulling fs layer [2023-07-31T01:14:05.360Z] e194b8c5c2a9: Pulling fs layer [2023-07-31T01:14:05.360Z] 6863d3e3a2b1: Pulling fs layer [2023-07-31T01:14:05.360Z] ec0bb842ea78: Pulling fs layer [2023-07-31T01:14:05.360Z] 40a00589a448: Pulling fs layer [2023-07-31T01:14:05.360Z] 6c08303d61cc: Pulling fs layer [2023-07-31T01:14:05.360Z] 798269fcf238: Pulling fs layer [2023-07-31T01:14:05.360Z] 40a00589a448: Waiting [2023-07-31T01:14:05.360Z] 6863d3e3a2b1: Waiting [2023-07-31T01:14:05.360Z] 6c08303d61cc: Waiting [2023-07-31T01:14:05.360Z] 798269fcf238: Waiting [2023-07-31T01:14:05.360Z] 6911f1a30b25: Verifying Checksum [2023-07-31T01:14:05.360Z] 6911f1a30b25: Download complete [2023-07-31T01:14:05.620Z] 6863d3e3a2b1: Verifying Checksum [2023-07-31T01:14:05.620Z] 6863d3e3a2b1: Download complete [2023-07-31T01:14:05.620Z] ec0bb842ea78: Download complete [2023-07-31T01:14:05.620Z] 4db1b89c0bd1: Verifying Checksum [2023-07-31T01:14:05.620Z] 4db1b89c0bd1: Download complete [2023-07-31T01:14:05.620Z] 40a00589a448: Verifying Checksum [2023-07-31T01:14:05.620Z] 40a00589a448: Download complete [2023-07-31T01:14:05.620Z] 4db1b89c0bd1: Pull complete [2023-07-31T01:14:05.880Z] 6911f1a30b25: Pull complete [2023-07-31T01:14:06.139Z] 798269fcf238: Verifying Checksum [2023-07-31T01:14:06.139Z] 798269fcf238: Download complete [2023-07-31T01:14:06.139Z] e194b8c5c2a9: Verifying Checksum [2023-07-31T01:14:06.139Z] e194b8c5c2a9: Download complete [2023-07-31T01:14:06.397Z] 6c08303d61cc: Verifying Checksum [2023-07-31T01:14:06.397Z] 6c08303d61cc: Download complete [2023-07-31T01:14:09.676Z] e194b8c5c2a9: Pull complete [2023-07-31T01:14:09.676Z] 6863d3e3a2b1: Pull complete [2023-07-31T01:14:09.676Z] ec0bb842ea78: Pull complete [2023-07-31T01:14:09.676Z] 40a00589a448: Pull complete [2023-07-31T01:14:12.207Z] 6c08303d61cc: Pull complete [2023-07-31T01:14:13.142Z] 798269fcf238: Pull complete [2023-07-31T01:14:13.142Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-31T01:14:13.142Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-31T01:14:13.142Z] ---> ec979cd7f677 [2023-07-31T01:14:13.142Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-07-31T01:14:19.086Z] Still waiting to schedule task [2023-07-31T01:14:19.086Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2553’ [2023-07-31T01:14:21.303Z] ---> Running in 29d1e12d4932 [2023-07-31T01:14:21.303Z] Removing intermediate container 29d1e12d4932 [2023-07-31T01:14:21.303Z] ---> d24d1e602b47 [2023-07-31T01:14:21.303Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-31T01:14:21.303Z] ---> Running in 06026102d595 [2023-07-31T01:14:21.303Z] Removing intermediate container 06026102d595 [2023-07-31T01:14:21.303Z] ---> 898e80aa1ed7 [2023-07-31T01:14:21.303Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-07-31T01:14:21.303Z] ---> Running in 940045dfa7d2 [2023-07-31T01:14:21.303Z] Removing intermediate container 940045dfa7d2 [2023-07-31T01:14:21.304Z] ---> a20a3efeca85 [2023-07-31T01:14:21.304Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-31T01:14:21.304Z] ---> Running in 05022e27df97 [2023-07-31T01:14:21.304Z] Removing intermediate container 05022e27df97 [2023-07-31T01:14:21.304Z] ---> cec7494dba3c [2023-07-31T01:14:21.304Z] Step 7/12 : WORKDIR /device-gpio [2023-07-31T01:14:21.304Z] ---> Running in cfa959aeac25 [2023-07-31T01:14:21.304Z] Removing intermediate container cfa959aeac25 [2023-07-31T01:14:21.304Z] ---> 1afa7b07b3f8 [2023-07-31T01:14:21.304Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-31T01:14:21.304Z] ---> Running in 363c8318e84f [2023-07-31T01:14:21.304Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-31T01:14:21.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-31T01:14:21.821Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-07-31T01:14:21.821Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-07-31T01:14:21.821Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-07-31T01:14:21.821Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-07-31T01:14:21.821Z] Executing busybox-1.35.0-r29.trigger [2023-07-31T01:14:21.821Z] OK: 269 MiB in 57 packages [2023-07-31T01:14:22.390Z] Removing intermediate container 363c8318e84f [2023-07-31T01:14:22.390Z] ---> 7484bf91c634 [2023-07-31T01:14:22.390Z] Step 9/12 : COPY go.mod vendor* ./ [2023-07-31T01:14:22.390Z] ---> b3a6161100c1 [2023-07-31T01:14:22.390Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-31T01:14:22.390Z] ---> Running in d87461b8e357 [2023-07-31T01:15:01.139Z] Removing intermediate container d87461b8e357 [2023-07-31T01:15:01.139Z] ---> cf93c21401c8 [2023-07-31T01:15:01.139Z] Step 11/12 : COPY . . [2023-07-31T01:15:01.139Z] ---> 18ce06279f65 [2023-07-31T01:15:01.139Z] Step 12/12 : RUN ${MAKE} [2023-07-31T01:15:01.139Z] ---> Running in 8ccf976f9abe [2023-07-31T01:15:01.139Z] noop [2023-07-31T01:15:01.139Z] Removing intermediate container 8ccf976f9abe [2023-07-31T01:15:01.139Z] ---> 29cca6606707 [2023-07-31T01:15:01.139Z] Successfully built 29cca6606707 [2023-07-31T01:15:01.139Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:15:01.455Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-31T01:15:01.455Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-31T01:15:01.521Z] prd-ubuntu20.04-docker-8c-8g-2555 does not seem to be running inside a container [2023-07-31T01:15:01.537Z] $ 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-07-31T01:15:01.854Z] $ docker top f4ee631469cb412e7e5912a4460e00f1fd3da61785ea92aa632b4aa04da53c2f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-31T01:15:02.202Z] + go version [2023-07-31T01:15:02.202Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-31T01:15:02.199Z] $ docker stop --time=1 f4ee631469cb412e7e5912a4460e00f1fd3da61785ea92aa632b4aa04da53c2f [2023-07-31T01:15:03.474Z] $ docker rm -f --volumes f4ee631469cb412e7e5912a4460e00f1fd3da61785ea92aa632b4aa04da53c2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:15:03.883Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-31T01:15:03.883Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-31T01:15:03.954Z] prd-ubuntu20.04-docker-8c-8g-2555 does not seem to be running inside a container [2023-07-31T01:15:03.975Z] $ 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-07-31T01:15:04.299Z] $ docker top 5f9e3e2467af1302e4b2bc5948be1a7f38afca9400f31f2a4804e65ec77784ac -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-31T01:15:04.660Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh [2023-07-31T01:15:04.961Z] + make test [2023-07-31T01:15:04.961Z] go test ./... -coverprofile=coverage.out ./... [2023-07-31T01:15:10.229Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-07-31T01:15:20.184Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-07-31T01:15:20.184Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-07-31T01:15:24.366Z] go vet ./... [2023-07-31T01:15:27.646Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-31T01:15:27.646Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-31T01:15:27.646Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-31T01:15:27.662Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-31T01:15:27.661Z] $ docker stop --time=1 5f9e3e2467af1302e4b2bc5948be1a7f38afca9400f31f2a4804e65ec77784ac [2023-07-31T01:15:32.687Z] $ docker rm -f --volumes 5f9e3e2467af1302e4b2bc5948be1a7f38afca9400f31f2a4804e65ec77784ac [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-31T01:15:33.161Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-31T01:15:33.201Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-07-31T01:15:33.691Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-31T01:15:33.973Z] + ls -al . [2023-07-31T01:15:33.973Z] total 164 [2023-07-31T01:15:33.973Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 31 01:15 . [2023-07-31T01:15:33.973Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 01:13 .. [2023-07-31T01:15:33.973Z] -rw-rw-r-- 1 jenkins jenkins 120 Jul 31 01:13 .dockerignore [2023-07-31T01:15:33.973Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 01:14 .git [2023-07-31T01:15:33.973Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 01:13 .github [2023-07-31T01:15:33.973Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 31 01:13 .gitignore [2023-07-31T01:15:33.973Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 31 01:13 .golangci.yml [2023-07-31T01:15:33.973Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 01:14 .semver [2023-07-31T01:15:33.973Z] -rw-rw-r-- 1 jenkins jenkins 9702 Jul 31 01:13 Attribution.txt [2023-07-31T01:15:33.973Z] -rw-rw-r-- 1 jenkins jenkins 6184 Jul 31 01:13 CHANGELOG.md [2023-07-31T01:15:33.973Z] -rw-rw-r-- 1 jenkins jenkins 1542 Jul 31 01:13 Dockerfile [2023-07-31T01:15:33.973Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 01:13 GOVERNANCE.md [2023-07-31T01:15:33.973Z] -rw-rw-r-- 1 jenkins jenkins 657 Jul 31 01:13 Jenkinsfile [2023-07-31T01:15:33.973Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 31 01:13 LICENSE [2023-07-31T01:15:33.973Z] -rw-rw-r-- 1 jenkins jenkins 1692 Jul 31 01:13 Makefile [2023-07-31T01:15:33.973Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 31 01:13 OWNERS.md [2023-07-31T01:15:33.973Z] -rw-rw-r-- 1 jenkins jenkins 12293 Jul 31 01:13 README.md [2023-07-31T01:15:33.973Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 31 01:14 VERSION [2023-07-31T01:15:33.973Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 01:13 bin [2023-07-31T01:15:33.973Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 01:13 cmd [2023-07-31T01:15:33.973Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 31 01:15 coverage.out [2023-07-31T01:15:33.973Z] -rw-rw-r-- 1 jenkins jenkins 3222 Jul 31 01:13 go.mod [2023-07-31T01:15:33.973Z] -rw-rw-r-- 1 jenkins jenkins 31495 Jul 31 01:13 go.sum [2023-07-31T01:15:33.973Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 01:13 internal [2023-07-31T01:15:33.973Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 01:13 snap [2023-07-31T01:15:33.973Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 31 01:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:15:34.301Z] + 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=7e40bb2e43e068414aa907f761b2c3a1e6facb42 --label arch=amd64 --label version=3.1.0-dev.2 . [2023-07-31T01:15:34.301Z] Sending build context to Docker daemon 16.01MB [2023-07-31T01:15:34.301Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-07-31T01:15:34.301Z] Step 2/25 : FROM ${BASE} AS builder [2023-07-31T01:15:34.301Z] ---> 29cca6606707 [2023-07-31T01:15:34.301Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-07-31T01:15:34.870Z] ---> Running in 60e0a9c50afb [2023-07-31T01:15:34.870Z] Removing intermediate container 60e0a9c50afb [2023-07-31T01:15:34.870Z] ---> 2753bd2cf1f7 [2023-07-31T01:15:34.870Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-31T01:15:34.870Z] ---> Running in 25f1116d5d16 [2023-07-31T01:15:34.870Z] Removing intermediate container 25f1116d5d16 [2023-07-31T01:15:34.870Z] ---> ac085c1c65d2 [2023-07-31T01:15:34.870Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-07-31T01:15:35.130Z] ---> Running in 8b8faf02c648 [2023-07-31T01:15:35.130Z] Removing intermediate container 8b8faf02c648 [2023-07-31T01:15:35.130Z] ---> e0379398a2a5 [2023-07-31T01:15:35.130Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-07-31T01:15:35.130Z] ---> Running in be3700fbd4d2 [2023-07-31T01:15:35.130Z] Removing intermediate container be3700fbd4d2 [2023-07-31T01:15:35.130Z] ---> 91b47328eb1a [2023-07-31T01:15:35.130Z] Step 7/25 : WORKDIR /device-gpio [2023-07-31T01:15:35.130Z] ---> Running in af4ccb3b3046 [2023-07-31T01:15:35.130Z] Removing intermediate container af4ccb3b3046 [2023-07-31T01:15:35.130Z] ---> 94e2c9a54ad1 [2023-07-31T01:15:35.130Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-31T01:15:35.389Z] ---> Running in 0af6a7427cd3 [2023-07-31T01:15:35.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-31T01:15:35.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-31T01:15:35.907Z] OK: 269 MiB in 57 packages [2023-07-31T01:15:36.476Z] Removing intermediate container 0af6a7427cd3 [2023-07-31T01:15:36.476Z] ---> add07584ba79 [2023-07-31T01:15:36.476Z] Step 9/25 : COPY go.mod vendor* ./ [2023-07-31T01:15:36.476Z] ---> abaf51ed3a63 [2023-07-31T01:15:36.476Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-31T01:15:36.476Z] ---> Running in 9ccfe11919b5 [2023-07-31T01:15:37.043Z] Removing intermediate container 9ccfe11919b5 [2023-07-31T01:15:37.043Z] ---> a1987c276ba2 [2023-07-31T01:15:37.043Z] Step 11/25 : COPY . . [2023-07-31T01:15:37.979Z] ---> efd59042fe63 [2023-07-31T01:15:37.979Z] Step 12/25 : RUN ${MAKE} [2023-07-31T01:15:37.979Z] ---> Running in 59cfe885363c [2023-07-31T01:15:38.237Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.1.0-dev.2" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-07-31T01:16:00.568Z] Removing intermediate container 59cfe885363c [2023-07-31T01:16:00.568Z] ---> cce72141373a [2023-07-31T01:16:00.568Z] Step 13/25 : FROM alpine:3.17 [2023-07-31T01:16:01.136Z] 3.17: Pulling from library/alpine [2023-07-31T01:16:01.136Z] 4db1b89c0bd1: Already exists [2023-07-31T01:16:01.396Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-31T01:16:01.396Z] Status: Downloaded newer image for alpine:3.17 [2023-07-31T01:16:01.396Z] ---> 1f73a9d63274 [2023-07-31T01:16:01.396Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-07-31T01:16:01.396Z] ---> Running in 8e6f78b413cb [2023-07-31T01:16:01.396Z] Removing intermediate container 8e6f78b413cb [2023-07-31T01:16:01.396Z] ---> 064f7d3fab6b [2023-07-31T01:16:01.396Z] Step 15/25 : RUN apk add --update --no-cache [2023-07-31T01:16:01.396Z] ---> Running in 1069536bbd44 [2023-07-31T01:16:01.655Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-31T01:16:01.914Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-31T01:16:02.175Z] OK: 7 MiB in 15 packages [2023-07-31T01:16:02.435Z] Removing intermediate container 1069536bbd44 [2023-07-31T01:16:02.435Z] ---> 973d11275d80 [2023-07-31T01:16:02.435Z] Step 16/25 : WORKDIR / [2023-07-31T01:16:02.435Z] ---> Running in 9b36f2f956c6 [2023-07-31T01:16:02.435Z] Removing intermediate container 9b36f2f956c6 [2023-07-31T01:16:02.435Z] ---> ff473bda53eb [2023-07-31T01:16:02.435Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-07-31T01:16:02.695Z] ---> 8f5d9714c209 [2023-07-31T01:16:02.695Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-07-31T01:16:02.695Z] ---> 18739c26d5a7 [2023-07-31T01:16:02.695Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-07-31T01:16:04.072Z] ---> ffb67c7c809d [2023-07-31T01:16:04.072Z] Step 20/25 : EXPOSE 59910 [2023-07-31T01:16:04.072Z] ---> Running in 145b864db876 [2023-07-31T01:16:04.072Z] Removing intermediate container 145b864db876 [2023-07-31T01:16:04.072Z] ---> e698c8de776f [2023-07-31T01:16:04.072Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-07-31T01:16:04.072Z] ---> Running in 30f96b87c4a4 [2023-07-31T01:16:04.072Z] Removing intermediate container 30f96b87c4a4 [2023-07-31T01:16:04.072Z] ---> bf4cb9fbec38 [2023-07-31T01:16:04.072Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-31T01:16:04.072Z] ---> Running in 4765e8b16869 [2023-07-31T01:16:04.332Z] Removing intermediate container 4765e8b16869 [2023-07-31T01:16:04.332Z] ---> 85aa0d16c677 [2023-07-31T01:16:04.332Z] Step 23/25 : LABEL arch=amd64 [2023-07-31T01:16:04.332Z] ---> Running in 969a1cc21f1c [2023-07-31T01:16:04.332Z] Removing intermediate container 969a1cc21f1c [2023-07-31T01:16:04.332Z] ---> 1be1fd251390 [2023-07-31T01:16:04.332Z] Step 24/25 : LABEL git_sha=7e40bb2e43e068414aa907f761b2c3a1e6facb42 [2023-07-31T01:16:04.332Z] ---> Running in f60d89a00474 [2023-07-31T01:16:04.332Z] Removing intermediate container f60d89a00474 [2023-07-31T01:16:04.332Z] ---> cfb6a39c63d7 [2023-07-31T01:16:04.332Z] Step 25/25 : LABEL version=3.1.0-dev.2 [2023-07-31T01:16:04.332Z] ---> Running in 5f199b958a6a [2023-07-31T01:16:04.591Z] Removing intermediate container 5f199b958a6a [2023-07-31T01:16:04.591Z] ---> fa67695dc5fb [2023-07-31T01:16:04.591Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-31T01:16:04.591Z] Successfully built fa67695dc5fb [2023-07-31T01:16:04.591Z] 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-07-31T01:16:04.719Z] provisioning config files... [2023-07-31T01:16:04.738Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config9676505103997852841tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-31T01:16:05.114Z] ---> docker-login.sh [2023-07-31T01:16:05.114Z] nexus3.edgexfoundry.org:10001 [2023-07-31T01:16:05.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T01:16:05.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T01:16:05.114Z] Configure a credential helper to remove this warning. See [2023-07-31T01:16:05.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T01:16:05.114Z] [2023-07-31T01:16:05.114Z] Login Succeeded [2023-07-31T01:16:05.114Z] nexus3.edgexfoundry.org:10002 [2023-07-31T01:16:05.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T01:16:05.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T01:16:05.114Z] Configure a credential helper to remove this warning. See [2023-07-31T01:16:05.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T01:16:05.114Z] [2023-07-31T01:16:05.114Z] Login Succeeded [2023-07-31T01:16:05.114Z] nexus3.edgexfoundry.org:10003 [2023-07-31T01:16:05.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T01:16:05.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T01:16:05.390Z] Configure a credential helper to remove this warning. See [2023-07-31T01:16:05.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T01:16:05.390Z] [2023-07-31T01:16:05.390Z] Login Succeeded [2023-07-31T01:16:05.390Z] nexus3.edgexfoundry.org:10004 [2023-07-31T01:16:05.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T01:16:05.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T01:16:05.390Z] Configure a credential helper to remove this warning. See [2023-07-31T01:16:05.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T01:16:05.390Z] [2023-07-31T01:16:05.390Z] Login Succeeded [2023-07-31T01:16:05.390Z] docker.io [2023-07-31T01:16:05.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T01:16:05.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T01:16:05.671Z] Configure a credential helper to remove this warning. See [2023-07-31T01:16:05.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T01:16:05.671Z] [2023-07-31T01:16:05.671Z] Login Succeeded [2023-07-31T01:16:05.671Z] ---> docker-login.sh ends [Pipeline] } [2023-07-31T01:16:05.677Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-07-31T01:16:05.714Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-31T01:16:05.741Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2023-07-31T01:16:05.741Z] 7e40bb2e43e068414aa907f761b2c3a1e6facb42 [2023-07-31T01:16:05.741Z] latest [2023-07-31T01:16:05.741Z] 3.1.0-dev.2 [2023-07-31T01:16:05.741Z] 7e40bb2e43e068414aa907f761b2c3a1e6facb42-3.1.0-dev.2 [2023-07-31T01:16:05.741Z] main [2023-07-31T01:16:05.741Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:16:06.073Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:7e40bb2e43e068414aa907f761b2c3a1e6facb42 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:16:06.385Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:7e40bb2e43e068414aa907f761b2c3a1e6facb42 [2023-07-31T01:16:06.385Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-07-31T01:16:06.385Z] 625f922c60e0: Preparing [2023-07-31T01:16:06.385Z] 19f844e5e027: Preparing [2023-07-31T01:16:06.385Z] de31a46582c4: Preparing [2023-07-31T01:16:06.385Z] 4bccdc640908: Preparing [2023-07-31T01:16:06.385Z] 3dab9f8bf2d2: Preparing [2023-07-31T01:16:06.385Z] 3dab9f8bf2d2: Layer already exists [2023-07-31T01:16:06.385Z] 19f844e5e027: Pushed [2023-07-31T01:16:06.385Z] de31a46582c4: Pushed [2023-07-31T01:16:06.385Z] 4bccdc640908: Pushed [2023-07-31T01:16:08.918Z] 625f922c60e0: Pushed [2023-07-31T01:16:08.918Z] 7e40bb2e43e068414aa907f761b2c3a1e6facb42: digest: sha256:641b5cf7f415330f9407a13f8482ed3189b40ab142f3cc592e0bd51ac6e55d39 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:16:09.242Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:16:09.537Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-07-31T01:16:09.538Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-07-31T01:16:09.538Z] 625f922c60e0: Preparing [2023-07-31T01:16:09.538Z] 19f844e5e027: Preparing [2023-07-31T01:16:09.538Z] de31a46582c4: Preparing [2023-07-31T01:16:09.538Z] 4bccdc640908: Preparing [2023-07-31T01:16:09.538Z] 3dab9f8bf2d2: Preparing [2023-07-31T01:16:09.538Z] de31a46582c4: Layer already exists [2023-07-31T01:16:09.538Z] 3dab9f8bf2d2: Layer already exists [2023-07-31T01:16:09.538Z] 4bccdc640908: Layer already exists [2023-07-31T01:16:09.538Z] 625f922c60e0: Layer already exists [2023-07-31T01:16:09.538Z] 19f844e5e027: Layer already exists [2023-07-31T01:16:09.538Z] latest: digest: sha256:641b5cf7f415330f9407a13f8482ed3189b40ab142f3cc592e0bd51ac6e55d39 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:16:09.840Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:16:10.144Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.2 [2023-07-31T01:16:10.144Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-07-31T01:16:10.144Z] 625f922c60e0: Preparing [2023-07-31T01:16:10.144Z] 19f844e5e027: Preparing [2023-07-31T01:16:10.144Z] de31a46582c4: Preparing [2023-07-31T01:16:10.144Z] 4bccdc640908: Preparing [2023-07-31T01:16:10.144Z] 3dab9f8bf2d2: Preparing [2023-07-31T01:16:10.144Z] de31a46582c4: Layer already exists [2023-07-31T01:16:10.144Z] 19f844e5e027: Layer already exists [2023-07-31T01:16:10.144Z] 3dab9f8bf2d2: Layer already exists [2023-07-31T01:16:10.144Z] 4bccdc640908: Layer already exists [2023-07-31T01:16:10.144Z] 625f922c60e0: Layer already exists [2023-07-31T01:16:10.144Z] 3.1.0-dev.2: digest: sha256:641b5cf7f415330f9407a13f8482ed3189b40ab142f3cc592e0bd51ac6e55d39 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:16:10.451Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:7e40bb2e43e068414aa907f761b2c3a1e6facb42-3.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:16:10.752Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:7e40bb2e43e068414aa907f761b2c3a1e6facb42-3.1.0-dev.2 [2023-07-31T01:16:10.752Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-07-31T01:16:10.752Z] 625f922c60e0: Preparing [2023-07-31T01:16:10.752Z] 19f844e5e027: Preparing [2023-07-31T01:16:10.752Z] de31a46582c4: Preparing [2023-07-31T01:16:10.752Z] 4bccdc640908: Preparing [2023-07-31T01:16:10.752Z] 3dab9f8bf2d2: Preparing [2023-07-31T01:16:10.752Z] 19f844e5e027: Layer already exists [2023-07-31T01:16:10.752Z] 625f922c60e0: Layer already exists [2023-07-31T01:16:10.752Z] de31a46582c4: Layer already exists [2023-07-31T01:16:10.752Z] 3dab9f8bf2d2: Layer already exists [2023-07-31T01:16:10.752Z] 4bccdc640908: Layer already exists [2023-07-31T01:16:10.752Z] 7e40bb2e43e068414aa907f761b2c3a1e6facb42-3.1.0-dev.2: digest: sha256:641b5cf7f415330f9407a13f8482ed3189b40ab142f3cc592e0bd51ac6e55d39 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:16:11.054Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:16:11.362Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2023-07-31T01:16:11.363Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-07-31T01:16:11.363Z] 625f922c60e0: Preparing [2023-07-31T01:16:11.363Z] 19f844e5e027: Preparing [2023-07-31T01:16:11.363Z] de31a46582c4: Preparing [2023-07-31T01:16:11.363Z] 4bccdc640908: Preparing [2023-07-31T01:16:11.363Z] 3dab9f8bf2d2: Preparing [2023-07-31T01:16:11.363Z] de31a46582c4: Layer already exists [2023-07-31T01:16:11.363Z] 19f844e5e027: Layer already exists [2023-07-31T01:16:11.363Z] 3dab9f8bf2d2: Layer already exists [2023-07-31T01:16:11.363Z] 4bccdc640908: Layer already exists [2023-07-31T01:16:11.363Z] 625f922c60e0: Layer already exists [2023-07-31T01:16:11.363Z] main: digest: sha256:641b5cf7f415330f9407a13f8482ed3189b40ab142f3cc592e0bd51ac6e55d39 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-07-31T01:16:11.402Z] ===================================================== [Pipeline] echo [2023-07-31T01:16:11.408Z] taggedImages: [2023-07-31T01:16:11.408Z] - nexus3.edgexfoundry.org:10004/device-gpio:7e40bb2e43e068414aa907f761b2c3a1e6facb42 [2023-07-31T01:16:11.408Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-07-31T01:16:11.408Z] - nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.2 [2023-07-31T01:16:11.408Z] - nexus3.edgexfoundry.org:10004/device-gpio:7e40bb2e43e068414aa907f761b2c3a1e6facb42-3.1.0-dev.2 [2023-07-31T01:16:11.408Z] - 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-07-31T01:16:11.777Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-31T01:16:11.777Z] [2023-07-31T01:16:11.777Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:16:12.073Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-31T01:16:12.073Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-31T01:16:12.073Z] 5eb5b503b376: Pulling fs layer [2023-07-31T01:16:12.073Z] 5c69ac0246d0: Pulling fs layer [2023-07-31T01:16:12.073Z] ec43610c2a17: Pulling fs layer [2023-07-31T01:16:12.073Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-31T01:16:12.073Z] 33b1e0a273af: Pulling fs layer [2023-07-31T01:16:12.073Z] 5d3b04190fa2: Pulling fs layer [2023-07-31T01:16:12.073Z] 2f39f015ded8: Pulling fs layer [2023-07-31T01:16:12.073Z] 3a2ae6a8a46f: Waiting [2023-07-31T01:16:12.073Z] 5d3b04190fa2: Waiting [2023-07-31T01:16:12.073Z] 2f39f015ded8: Waiting [2023-07-31T01:16:12.073Z] 33b1e0a273af: Waiting [2023-07-31T01:16:12.073Z] 5c69ac0246d0: Verifying Checksum [2023-07-31T01:16:12.073Z] 5c69ac0246d0: Download complete [2023-07-31T01:16:12.073Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-31T01:16:12.073Z] 3a2ae6a8a46f: Download complete [2023-07-31T01:16:12.073Z] 33b1e0a273af: Verifying Checksum [2023-07-31T01:16:12.073Z] 33b1e0a273af: Download complete [2023-07-31T01:16:12.073Z] ec43610c2a17: Verifying Checksum [2023-07-31T01:16:12.073Z] ec43610c2a17: Download complete [2023-07-31T01:16:12.073Z] 5d3b04190fa2: Verifying Checksum [2023-07-31T01:16:12.073Z] 5d3b04190fa2: Download complete [2023-07-31T01:16:12.332Z] 5eb5b503b376: Verifying Checksum [2023-07-31T01:16:12.332Z] 5eb5b503b376: Download complete [2023-07-31T01:16:12.898Z] 2f39f015ded8: Download complete [2023-07-31T01:16:13.463Z] 5eb5b503b376: Pull complete [2023-07-31T01:16:13.722Z] 5c69ac0246d0: Pull complete [2023-07-31T01:16:13.980Z] ec43610c2a17: Pull complete [2023-07-31T01:16:14.239Z] 3a2ae6a8a46f: Pull complete [2023-07-31T01:16:14.239Z] 33b1e0a273af: Pull complete [2023-07-31T01:16:14.498Z] 5d3b04190fa2: Pull complete [2023-07-31T01:16:18.689Z] 2f39f015ded8: Pull complete [2023-07-31T01:16:18.689Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-31T01:16:18.689Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-31T01:16:18.689Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-31T01:16:18.758Z] prd-ubuntu20.04-docker-8c-8g-2555 does not seem to be running inside a container [2023-07-31T01:16:18.772Z] $ 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-07-31T01:16:26.343Z] $ docker top 61a8c4ff6bfcce65b415f7a991c7a05ef9b1b1e37f21d6e70d773ab95b54b7ec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-31T01:16:26.751Z] ---> job-cost.sh [2023-07-31T01:16:26.752Z] lf-activate-venv: SKIPPING [2023-07-31T01:16:26.752Z] INFO: No Stack... [2023-07-31T01:16:27.011Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-31T01:16:27.270Z] INFO: Archiving Costs [Pipeline] sh [2023-07-31T01:16:27.559Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2023-07-31T01:16:27.559Z] + cut -d, -f6 [Pipeline] lock [2023-07-31T01:16:27.573Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-89-stack-cost] [2023-07-31T01:16:27.579Z] Resource [jenkins-edgexfoundry-device-gpio-main-89-stack-cost] did not exist. Created. [2023-07-31T01:16:27.579Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-89-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-31T01:16:27.877Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-31T01:16:27.908Z] Stashed 1 file(s) [Pipeline] } [2023-07-31T01:16:27.917Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-89-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-31T01:16:27.918Z] $ docker stop --time=1 61a8c4ff6bfcce65b415f7a991c7a05ef9b1b1e37f21d6e70d773ab95b54b7ec [2023-07-31T01:16:29.061Z] $ docker rm -f --volumes 61a8c4ff6bfcce65b415f7a991c7a05ef9b1b1e37f21d6e70d773ab95b54b7ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-31T01:17:50.599Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2556 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2023-07-31T01:17:50.611Z] Running in /w/workspace/device-gpio/89 [Pipeline] { [Pipeline] checkout [2023-07-31T01:17:50.640Z] The recommended git tool is: git [2023-07-31T01:17:56.186Z] using credential edgex-jenkins-ssh [2023-07-31T01:17:56.204Z] Cloning the remote Git repository [2023-07-31T01:17:56.264Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-07-31T01:17:56.367Z] > git init /w/workspace/device-gpio/89 # timeout=10 [2023-07-31T01:17:56.547Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-07-31T01:17:56.549Z] > git --version # timeout=10 [2023-07-31T01:17:56.574Z] > git --version # 'git version 2.25.1' [2023-07-31T01:17:56.577Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-31T01:17:56.737Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-31T01:17:59.334Z] Avoid second fetch [2023-07-31T01:17:59.334Z] Checking out Revision 7e40bb2e43e068414aa907f761b2c3a1e6facb42 (main) [2023-07-31T01:17:58.371Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-07-31T01:17:58.411Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-31T01:17:59.903Z] Commit message: "Merge pull request #186 from edgexfoundry/dependabot/go_modules/github.com/warthog618/gpiod-0.8.2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-31T01:17:59.358Z] > git config core.sparsecheckout # timeout=10 [2023-07-31T01:17:59.441Z] > git checkout -f 7e40bb2e43e068414aa907f761b2c3a1e6facb42 # timeout=10 [2023-07-31T01:18:00.955Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-31T01:18:00.955Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-31T01:18:00.955Z] Dload Upload Total Spent Left Speed [2023-07-31T01:18:00.955Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 91733 [Pipeline] sh [2023-07-31T01:18:01.641Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-31T01:18:01.981Z] + sudo tee /etc/docker/daemon.new [2023-07-31T01:18:01.981Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-31T01:18:01.981Z] { [2023-07-31T01:18:01.981Z] "registry-mirrors": [ [2023-07-31T01:18:01.981Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-31T01:18:01.981Z] ], [2023-07-31T01:18:01.981Z] "bip": "10.250.0.254/24", [2023-07-31T01:18:01.981Z] "hosts": [ [2023-07-31T01:18:01.981Z] "tcp://0.0.0.0:5555", [2023-07-31T01:18:01.981Z] "unix:///var/run/docker.sock" [2023-07-31T01:18:01.981Z] ], [2023-07-31T01:18:01.981Z] "mtu": 1458, [2023-07-31T01:18:01.981Z] "selinux-enabled": true, [2023-07-31T01:18:01.981Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-31T01:18:01.981Z] } [Pipeline] sh [2023-07-31T01:18:02.328Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-31T01:18:02.666Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-31T01:18:20.940Z] provisioning config files... [2023-07-31T01:18:20.967Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/89@tmp/config18216357840323962267tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-31T01:18:21.325Z] ---> docker-login.sh [2023-07-31T01:18:21.325Z] nexus3.edgexfoundry.org:10001 [2023-07-31T01:18:21.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T01:18:22.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T01:18:22.178Z] Configure a credential helper to remove this warning. See [2023-07-31T01:18:22.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T01:18:22.178Z] [2023-07-31T01:18:22.178Z] Login Succeeded [2023-07-31T01:18:22.178Z] nexus3.edgexfoundry.org:10002 [2023-07-31T01:18:22.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T01:18:22.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T01:18:22.446Z] Configure a credential helper to remove this warning. See [2023-07-31T01:18:22.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T01:18:22.446Z] [2023-07-31T01:18:22.446Z] Login Succeeded [2023-07-31T01:18:22.446Z] nexus3.edgexfoundry.org:10003 [2023-07-31T01:18:22.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T01:18:22.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T01:18:22.986Z] Configure a credential helper to remove this warning. See [2023-07-31T01:18:22.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T01:18:22.986Z] [2023-07-31T01:18:22.986Z] Login Succeeded [2023-07-31T01:18:22.986Z] nexus3.edgexfoundry.org:10004 [2023-07-31T01:18:22.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T01:18:23.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T01:18:23.255Z] Configure a credential helper to remove this warning. See [2023-07-31T01:18:23.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T01:18:23.255Z] [2023-07-31T01:18:23.255Z] Login Succeeded [2023-07-31T01:18:23.255Z] docker.io [2023-07-31T01:18:23.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T01:18:23.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T01:18:23.790Z] Configure a credential helper to remove this warning. See [2023-07-31T01:18:23.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T01:18:23.790Z] [2023-07-31T01:18:23.790Z] Login Succeeded [2023-07-31T01:18:23.790Z] ---> docker-login.sh ends [Pipeline] } [2023-07-31T01:18:23.805Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-31T01:18:24.065Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-31T01:18:24.081Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-31T01:18:24.097Z] ========================================================= [2023-07-31T01:18:24.097Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-31T01:18:24.097Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:18:24.459Z] + 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-07-31T01:18:24.731Z] Sending build context to Docker daemon 8.063MB [2023-07-31T01:18:24.731Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-31T01:18:24.731Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-31T01:18:25.000Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-31T01:18:25.000Z] edb6bdbacee9: Pulling fs layer [2023-07-31T01:18:25.000Z] 5f9638ab2659: Pulling fs layer [2023-07-31T01:18:25.000Z] 8d51d6327a98: Pulling fs layer [2023-07-31T01:18:25.000Z] 8b374f2dd631: Pulling fs layer [2023-07-31T01:18:25.000Z] ec14aa9079de: Pulling fs layer [2023-07-31T01:18:25.000Z] 2f466654f4bb: Pulling fs layer [2023-07-31T01:18:25.000Z] 554e91adad29: Pulling fs layer [2023-07-31T01:18:25.000Z] 8b374f2dd631: Waiting [2023-07-31T01:18:25.000Z] ec14aa9079de: Waiting [2023-07-31T01:18:25.000Z] 2f466654f4bb: Waiting [2023-07-31T01:18:25.000Z] 554e91adad29: Waiting [2023-07-31T01:18:25.000Z] 5f9638ab2659: Download complete [2023-07-31T01:18:25.000Z] 8b374f2dd631: Verifying Checksum [2023-07-31T01:18:25.000Z] 8b374f2dd631: Download complete [2023-07-31T01:18:25.000Z] ec14aa9079de: Verifying Checksum [2023-07-31T01:18:25.000Z] ec14aa9079de: Download complete [2023-07-31T01:18:25.000Z] edb6bdbacee9: Verifying Checksum [2023-07-31T01:18:25.000Z] edb6bdbacee9: Download complete [2023-07-31T01:18:26.424Z] edb6bdbacee9: Pull complete [2023-07-31T01:18:26.696Z] 554e91adad29: Verifying Checksum [2023-07-31T01:18:26.696Z] 554e91adad29: Download complete [2023-07-31T01:18:26.970Z] 5f9638ab2659: Pull complete [2023-07-31T01:18:27.937Z] 8d51d6327a98: Verifying Checksum [2023-07-31T01:18:27.937Z] 8d51d6327a98: Download complete [2023-07-31T01:18:27.937Z] 2f466654f4bb: Verifying Checksum [2023-07-31T01:18:27.937Z] 2f466654f4bb: Download complete [2023-07-31T01:18:40.270Z] 8d51d6327a98: Pull complete [2023-07-31T01:18:40.270Z] 8b374f2dd631: Pull complete [2023-07-31T01:18:40.270Z] ec14aa9079de: Pull complete [2023-07-31T01:18:48.496Z] 2f466654f4bb: Pull complete [2023-07-31T01:18:49.903Z] 554e91adad29: Pull complete [2023-07-31T01:18:49.903Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-31T01:18:49.903Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-31T01:18:49.903Z] ---> 1e15ea492957 [2023-07-31T01:18:49.903Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-07-31T01:18:51.858Z] ---> Running in de5e1f290b9b [2023-07-31T01:18:52.127Z] Removing intermediate container de5e1f290b9b [2023-07-31T01:18:52.127Z] ---> f9e7e2a02908 [2023-07-31T01:18:52.127Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-31T01:18:52.127Z] ---> Running in b214126d128c [2023-07-31T01:18:52.402Z] Removing intermediate container b214126d128c [2023-07-31T01:18:52.402Z] ---> 8f2ef885fa8b [2023-07-31T01:18:52.402Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-07-31T01:18:52.669Z] ---> Running in 0d329c4c70a3 [2023-07-31T01:18:52.937Z] Removing intermediate container 0d329c4c70a3 [2023-07-31T01:18:52.937Z] ---> 0ebefc184b9a [2023-07-31T01:18:52.937Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-31T01:18:52.937Z] ---> Running in 83d5e447c58b [2023-07-31T01:18:53.204Z] Removing intermediate container 83d5e447c58b [2023-07-31T01:18:53.204Z] ---> 34f990b8e30b [2023-07-31T01:18:53.204Z] Step 7/12 : WORKDIR /device-gpio [2023-07-31T01:18:53.474Z] ---> Running in eb6142e0e6b2 [2023-07-31T01:18:53.742Z] Removing intermediate container eb6142e0e6b2 [2023-07-31T01:18:53.742Z] ---> be0f1da97920 [2023-07-31T01:18:53.742Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-31T01:18:53.742Z] ---> Running in 369bc3d6235f [2023-07-31T01:18:54.788Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-31T01:18:55.756Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-31T01:18:56.721Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-07-31T01:18:56.721Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-07-31T01:18:56.721Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-07-31T01:18:56.721Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-07-31T01:18:56.721Z] Executing busybox-1.35.0-r29.trigger [2023-07-31T01:18:56.721Z] OK: 268 MiB in 57 packages [2023-07-31T01:18:57.682Z] Removing intermediate container 369bc3d6235f [2023-07-31T01:18:57.682Z] ---> 5a438bd900fe [2023-07-31T01:18:57.682Z] Step 9/12 : COPY go.mod vendor* ./ [2023-07-31T01:18:58.284Z] ---> 03483e1cdb9a [2023-07-31T01:18:58.284Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-31T01:18:58.284Z] ---> Running in 30f5e88c6f46 [2023-07-31T01:20:06.189Z] Removing intermediate container 30f5e88c6f46 [2023-07-31T01:20:06.189Z] ---> 2c5835f6a2df [2023-07-31T01:20:06.189Z] Step 11/12 : COPY . . [2023-07-31T01:20:06.189Z] ---> e975c6b4892e [2023-07-31T01:20:06.189Z] Step 12/12 : RUN ${MAKE} [2023-07-31T01:20:06.189Z] ---> Running in 41b923b4ade8 [2023-07-31T01:20:06.189Z] noop [2023-07-31T01:20:06.189Z] Removing intermediate container 41b923b4ade8 [2023-07-31T01:20:06.189Z] ---> f9848c490c6f [2023-07-31T01:20:06.189Z] Successfully built f9848c490c6f [2023-07-31T01:20:06.189Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:20:06.556Z] + docker inspect -f . ci-base-image-arm64 [2023-07-31T01:20:06.556Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-31T01:20:06.795Z] prd-ubuntu20.04-docker-arm64-4c-16g-2556 does not seem to be running inside a container [2023-07-31T01:20:06.871Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/89 -v /w/workspace/device-gpio/89:/w/workspace/device-gpio/89:rw,z -v /w/workspace/device-gpio/89@tmp:/w/workspace/device-gpio/89@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-31T01:20:08.131Z] $ docker top eaf2d1432196096a7e60232a191a708e4bec5a632714d198345ad7a7a26016ca -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-31T01:20:08.980Z] + go version [2023-07-31T01:20:08.980Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-31T01:20:09.003Z] $ docker stop --time=1 eaf2d1432196096a7e60232a191a708e4bec5a632714d198345ad7a7a26016ca [2023-07-31T01:20:10.636Z] $ docker rm -f --volumes eaf2d1432196096a7e60232a191a708e4bec5a632714d198345ad7a7a26016ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:20:11.190Z] + docker inspect -f . ci-base-image-arm64 [2023-07-31T01:20:11.190Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-31T01:20:11.384Z] prd-ubuntu20.04-docker-arm64-4c-16g-2556 does not seem to be running inside a container [2023-07-31T01:20:11.462Z] $ 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/89 -v /w/workspace/device-gpio/89:/w/workspace/device-gpio/89:rw,z -v /w/workspace/device-gpio/89@tmp:/w/workspace/device-gpio/89@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-31T01:20:12.650Z] $ docker top ee9bf1d33f45f27d8eba253d4412dedf3d70d50af3d1a0039d55093673cad245 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-31T01:20:13.482Z] + git config --global --add safe.directory /w/workspace/device-gpio/89 [Pipeline] fileExists [Pipeline] sh [2023-07-31T01:20:14.132Z] + make test [2023-07-31T01:20:14.132Z] go test ./... -coverprofile=coverage.out ./... [2023-07-31T01:20:46.366Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-07-31T01:22:38.046Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-07-31T01:22:38.046Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-07-31T01:22:38.046Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-31T01:22:38.046Z] go vet ./... [2023-07-31T01:23:10.282Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-31T01:23:10.282Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-31T01:23:10.282Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-31T01:23:10.301Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-31T01:23:10.307Z] $ docker stop --time=1 ee9bf1d33f45f27d8eba253d4412dedf3d70d50af3d1a0039d55093673cad245 [2023-07-31T01:23:12.356Z] $ docker rm -f --volumes ee9bf1d33f45f27d8eba253d4412dedf3d70d50af3d1a0039d55093673cad245 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-31T01:23:15.761Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-31T01:23:15.778Z] Warning: overwriting stash ‘coverage-report’ [2023-07-31T01:23:16.321Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-31T01:23:16.717Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-31T01:23:17.060Z] + ls -al . [2023-07-31T01:23:17.060Z] total 160 [2023-07-31T01:23:17.060Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 01:20 . [2023-07-31T01:23:17.060Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 01:17 .. [2023-07-31T01:23:17.060Z] -rw-rw-r-- 1 jenkins jenkins 120 Jul 31 01:17 .dockerignore [2023-07-31T01:23:17.060Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 01:17 .git [2023-07-31T01:23:17.060Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 01:17 .github [2023-07-31T01:23:17.060Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 31 01:17 .gitignore [2023-07-31T01:23:17.060Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 31 01:17 .golangci.yml [2023-07-31T01:23:17.060Z] -rw-rw-r-- 1 jenkins jenkins 9702 Jul 31 01:17 Attribution.txt [2023-07-31T01:23:17.061Z] -rw-rw-r-- 1 jenkins jenkins 6184 Jul 31 01:17 CHANGELOG.md [2023-07-31T01:23:17.061Z] -rw-rw-r-- 1 jenkins jenkins 1542 Jul 31 01:17 Dockerfile [2023-07-31T01:23:17.061Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 01:17 GOVERNANCE.md [2023-07-31T01:23:17.061Z] -rw-rw-r-- 1 jenkins jenkins 657 Jul 31 01:17 Jenkinsfile [2023-07-31T01:23:17.061Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 31 01:17 LICENSE [2023-07-31T01:23:17.061Z] -rw-rw-r-- 1 jenkins jenkins 1692 Jul 31 01:17 Makefile [2023-07-31T01:23:17.061Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 31 01:17 OWNERS.md [2023-07-31T01:23:17.061Z] -rw-rw-r-- 1 jenkins jenkins 12293 Jul 31 01:17 README.md [2023-07-31T01:23:17.061Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 31 01:14 VERSION [2023-07-31T01:23:17.061Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 01:17 bin [2023-07-31T01:23:17.061Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 01:17 cmd [2023-07-31T01:23:17.061Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 31 01:20 coverage.out [2023-07-31T01:23:17.061Z] -rw-rw-r-- 1 jenkins jenkins 3222 Jul 31 01:17 go.mod [2023-07-31T01:23:17.061Z] -rw-rw-r-- 1 jenkins jenkins 31495 Jul 31 01:17 go.sum [2023-07-31T01:23:17.061Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 01:17 internal [2023-07-31T01:23:17.061Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 01:17 snap [2023-07-31T01:23:17.061Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 31 01:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:23:17.399Z] + 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=7e40bb2e43e068414aa907f761b2c3a1e6facb42 --label arch=arm64 --label version=3.1.0-dev.2 . [2023-07-31T01:23:17.670Z] Sending build context to Docker daemon 8.064MB [2023-07-31T01:23:17.670Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-07-31T01:23:17.670Z] Step 2/25 : FROM ${BASE} AS builder [2023-07-31T01:23:17.670Z] ---> f9848c490c6f [2023-07-31T01:23:17.670Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-07-31T01:23:17.939Z] ---> Running in 592daac9acba [2023-07-31T01:23:19.354Z] Removing intermediate container 592daac9acba [2023-07-31T01:23:19.354Z] ---> 94e509a55bd1 [2023-07-31T01:23:19.354Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-31T01:23:19.354Z] ---> Running in 08bfa98ba1fd [2023-07-31T01:23:19.941Z] Removing intermediate container 08bfa98ba1fd [2023-07-31T01:23:19.941Z] ---> 24b33f96f858 [2023-07-31T01:23:19.941Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-07-31T01:23:19.941Z] ---> Running in 67aaeec5cc37 [2023-07-31T01:23:20.206Z] Removing intermediate container 67aaeec5cc37 [2023-07-31T01:23:20.207Z] ---> ef9bab9c835f [2023-07-31T01:23:20.207Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-07-31T01:23:20.207Z] ---> Running in 4be5b4304ffd [2023-07-31T01:23:20.793Z] Removing intermediate container 4be5b4304ffd [2023-07-31T01:23:20.793Z] ---> 2dc4dd6d2f07 [2023-07-31T01:23:20.793Z] Step 7/25 : WORKDIR /device-gpio [2023-07-31T01:23:20.793Z] ---> Running in b3c5de63ffc6 [2023-07-31T01:23:21.058Z] Removing intermediate container b3c5de63ffc6 [2023-07-31T01:23:21.058Z] ---> 5e88b7d580b8 [2023-07-31T01:23:21.058Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-31T01:23:21.330Z] ---> Running in 07f38f605ace [2023-07-31T01:23:22.294Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-31T01:23:22.879Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-31T01:23:24.292Z] OK: 268 MiB in 57 packages [2023-07-31T01:23:24.886Z] Removing intermediate container 07f38f605ace [2023-07-31T01:23:24.886Z] ---> 7f3b2ea95d0d [2023-07-31T01:23:24.886Z] Step 9/25 : COPY go.mod vendor* ./ [2023-07-31T01:23:25.471Z] ---> a964dc41b99f [2023-07-31T01:23:25.471Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-31T01:23:25.471Z] ---> Running in e89b3f7adece [2023-07-31T01:23:30.811Z] Removing intermediate container e89b3f7adece [2023-07-31T01:23:30.811Z] ---> 8b2d98c5f6ca [2023-07-31T01:23:30.811Z] Step 11/25 : COPY . . [2023-07-31T01:23:31.078Z] ---> 2e19a84ba69a [2023-07-31T01:23:31.078Z] Step 12/25 : RUN ${MAKE} [2023-07-31T01:23:31.078Z] ---> Running in 17f0de5e50bf [2023-07-31T01:23:32.045Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.1.0-dev.2" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-07-31T01:25:38.696Z] Removing intermediate container 17f0de5e50bf [2023-07-31T01:25:38.697Z] ---> c2ebd5ad17b5 [2023-07-31T01:25:38.697Z] Step 13/25 : FROM alpine:3.17 [2023-07-31T01:25:38.697Z] 3.17: Pulling from library/alpine [2023-07-31T01:25:38.697Z] edb6bdbacee9: Already exists [2023-07-31T01:25:38.697Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-31T01:25:38.697Z] Status: Downloaded newer image for alpine:3.17 [2023-07-31T01:25:38.697Z] ---> 779605e5fbc0 [2023-07-31T01:25:38.697Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-07-31T01:25:38.697Z] ---> Running in 34f3d480a8b5 [2023-07-31T01:25:38.697Z] Removing intermediate container 34f3d480a8b5 [2023-07-31T01:25:38.697Z] ---> a8b69056a348 [2023-07-31T01:25:38.697Z] Step 15/25 : RUN apk add --update --no-cache [2023-07-31T01:25:38.697Z] ---> Running in 8101f101179d [2023-07-31T01:25:39.659Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-31T01:25:40.241Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-31T01:25:41.204Z] OK: 7 MiB in 15 packages [2023-07-31T01:25:42.168Z] Removing intermediate container 8101f101179d [2023-07-31T01:25:42.168Z] ---> 3a18ee68b34a [2023-07-31T01:25:42.168Z] Step 16/25 : WORKDIR / [2023-07-31T01:25:42.168Z] ---> Running in 9788c7650947 [2023-07-31T01:25:42.435Z] Removing intermediate container 9788c7650947 [2023-07-31T01:25:42.435Z] ---> 76dd6c8c88ca [2023-07-31T01:25:42.435Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-07-31T01:25:43.024Z] ---> 5aee3be6cd02 [2023-07-31T01:25:43.024Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-07-31T01:25:44.434Z] ---> 7fd6d09be4b0 [2023-07-31T01:25:44.434Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-07-31T01:25:45.839Z] ---> 9cc3c5d31bb4 [2023-07-31T01:25:45.839Z] Step 20/25 : EXPOSE 59910 [2023-07-31T01:25:46.108Z] ---> Running in 57b0b734eadc [2023-07-31T01:25:46.374Z] Removing intermediate container 57b0b734eadc [2023-07-31T01:25:46.374Z] ---> 3005726a0c03 [2023-07-31T01:25:46.374Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-07-31T01:25:46.374Z] ---> Running in 74f467ed35bf [2023-07-31T01:25:46.644Z] Removing intermediate container 74f467ed35bf [2023-07-31T01:25:46.644Z] ---> d192dea4a51f [2023-07-31T01:25:46.644Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-31T01:25:46.644Z] ---> Running in 085706132e7d [2023-07-31T01:25:46.910Z] Removing intermediate container 085706132e7d [2023-07-31T01:25:46.910Z] ---> d9d0274e3065 [2023-07-31T01:25:46.910Z] Step 23/25 : LABEL arch=arm64 [2023-07-31T01:25:46.910Z] ---> Running in ad410df4adf6 [2023-07-31T01:25:47.185Z] Removing intermediate container ad410df4adf6 [2023-07-31T01:25:47.185Z] ---> 905deb8a44ed [2023-07-31T01:25:47.185Z] Step 24/25 : LABEL git_sha=7e40bb2e43e068414aa907f761b2c3a1e6facb42 [2023-07-31T01:25:47.452Z] ---> Running in d6b4a0971b3a [2023-07-31T01:25:47.717Z] Removing intermediate container d6b4a0971b3a [2023-07-31T01:25:47.717Z] ---> d35a7cbb3c51 [2023-07-31T01:25:47.717Z] Step 25/25 : LABEL version=3.1.0-dev.2 [2023-07-31T01:25:47.717Z] ---> Running in 00f8b0e44fde [2023-07-31T01:25:47.984Z] Removing intermediate container 00f8b0e44fde [2023-07-31T01:25:47.984Z] ---> c34089809884 [2023-07-31T01:25:47.984Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-31T01:25:47.984Z] Successfully built c34089809884 [2023-07-31T01:25:47.984Z] 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-07-31T01:25:48.072Z] provisioning config files... [2023-07-31T01:25:48.086Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/89@tmp/config2803936310787144955tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-31T01:25:48.412Z] ---> docker-login.sh [2023-07-31T01:25:48.412Z] nexus3.edgexfoundry.org:10001 [2023-07-31T01:25:48.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T01:25:48.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T01:25:48.678Z] Configure a credential helper to remove this warning. See [2023-07-31T01:25:48.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T01:25:48.678Z] [2023-07-31T01:25:48.678Z] Login Succeeded [2023-07-31T01:25:48.678Z] nexus3.edgexfoundry.org:10002 [2023-07-31T01:25:48.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T01:25:48.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T01:25:48.943Z] Configure a credential helper to remove this warning. See [2023-07-31T01:25:48.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T01:25:48.943Z] [2023-07-31T01:25:48.943Z] Login Succeeded [2023-07-31T01:25:48.943Z] nexus3.edgexfoundry.org:10003 [2023-07-31T01:25:49.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T01:25:49.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T01:25:49.207Z] Configure a credential helper to remove this warning. See [2023-07-31T01:25:49.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T01:25:49.207Z] [2023-07-31T01:25:49.207Z] Login Succeeded [2023-07-31T01:25:49.207Z] nexus3.edgexfoundry.org:10004 [2023-07-31T01:25:49.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T01:25:49.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T01:25:49.741Z] Configure a credential helper to remove this warning. See [2023-07-31T01:25:49.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T01:25:49.741Z] [2023-07-31T01:25:49.741Z] Login Succeeded [2023-07-31T01:25:49.741Z] docker.io [2023-07-31T01:25:50.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T01:25:50.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T01:25:50.273Z] Configure a credential helper to remove this warning. See [2023-07-31T01:25:50.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T01:25:50.273Z] [2023-07-31T01:25:50.273Z] Login Succeeded [2023-07-31T01:25:50.273Z] ---> docker-login.sh ends [Pipeline] } [2023-07-31T01:25:50.285Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-07-31T01:25:50.311Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-31T01:25:50.327Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2023-07-31T01:25:50.327Z] 7e40bb2e43e068414aa907f761b2c3a1e6facb42 [2023-07-31T01:25:50.327Z] latest [2023-07-31T01:25:50.327Z] 3.1.0-dev.2 [2023-07-31T01:25:50.327Z] 7e40bb2e43e068414aa907f761b2c3a1e6facb42-3.1.0-dev.2 [2023-07-31T01:25:50.327Z] main [2023-07-31T01:25:50.327Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:25:50.658Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:7e40bb2e43e068414aa907f761b2c3a1e6facb42 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:25:51.004Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:7e40bb2e43e068414aa907f761b2c3a1e6facb42 [2023-07-31T01:25:51.004Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-07-31T01:25:51.004Z] 398ced7ef9d7: Preparing [2023-07-31T01:25:51.004Z] 646559c2207f: Preparing [2023-07-31T01:25:51.004Z] 332b12a41803: Preparing [2023-07-31T01:25:51.004Z] 5374a5623c42: Preparing [2023-07-31T01:25:51.004Z] 9386262d7a74: Preparing [2023-07-31T01:25:51.004Z] 9386262d7a74: Layer already exists [2023-07-31T01:25:51.269Z] 646559c2207f: Pushed [2023-07-31T01:25:51.269Z] 5374a5623c42: Pushed [2023-07-31T01:25:51.269Z] 332b12a41803: Pushed [2023-07-31T01:25:56.589Z] 398ced7ef9d7: Pushed [2023-07-31T01:25:56.590Z] 7e40bb2e43e068414aa907f761b2c3a1e6facb42: digest: sha256:e7c9b698fd0617bb697d10c420a8f93ffbae2baae8576e15e34df5a912c75d8b size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:25:56.937Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:25:58.364Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-07-31T01:25:58.364Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-07-31T01:25:58.364Z] 398ced7ef9d7: Preparing [2023-07-31T01:25:58.364Z] 646559c2207f: Preparing [2023-07-31T01:25:58.364Z] 332b12a41803: Preparing [2023-07-31T01:25:58.364Z] 5374a5623c42: Preparing [2023-07-31T01:25:58.364Z] 9386262d7a74: Preparing [2023-07-31T01:25:58.364Z] 398ced7ef9d7: Layer already exists [2023-07-31T01:25:58.364Z] 646559c2207f: Layer already exists [2023-07-31T01:25:58.364Z] 5374a5623c42: Layer already exists [2023-07-31T01:25:58.364Z] 9386262d7a74: Layer already exists [2023-07-31T01:25:58.364Z] 332b12a41803: Layer already exists [2023-07-31T01:25:58.364Z] latest: digest: sha256:e7c9b698fd0617bb697d10c420a8f93ffbae2baae8576e15e34df5a912c75d8b size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:25:58.755Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:25:59.090Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.2 [2023-07-31T01:25:59.090Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-07-31T01:25:59.090Z] 398ced7ef9d7: Preparing [2023-07-31T01:25:59.090Z] 646559c2207f: Preparing [2023-07-31T01:25:59.090Z] 332b12a41803: Preparing [2023-07-31T01:25:59.090Z] 5374a5623c42: Preparing [2023-07-31T01:25:59.090Z] 9386262d7a74: Preparing [2023-07-31T01:25:59.090Z] 5374a5623c42: Layer already exists [2023-07-31T01:25:59.090Z] 398ced7ef9d7: Layer already exists [2023-07-31T01:25:59.090Z] 332b12a41803: Layer already exists [2023-07-31T01:25:59.090Z] 646559c2207f: Layer already exists [2023-07-31T01:25:59.090Z] 9386262d7a74: Layer already exists [2023-07-31T01:25:59.090Z] 3.1.0-dev.2: digest: sha256:e7c9b698fd0617bb697d10c420a8f93ffbae2baae8576e15e34df5a912c75d8b size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:25:59.438Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:7e40bb2e43e068414aa907f761b2c3a1e6facb42-3.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:25:59.780Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:7e40bb2e43e068414aa907f761b2c3a1e6facb42-3.1.0-dev.2 [2023-07-31T01:25:59.780Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-07-31T01:25:59.780Z] 398ced7ef9d7: Preparing [2023-07-31T01:25:59.780Z] 646559c2207f: Preparing [2023-07-31T01:25:59.780Z] 332b12a41803: Preparing [2023-07-31T01:25:59.780Z] 5374a5623c42: Preparing [2023-07-31T01:25:59.780Z] 9386262d7a74: Preparing [2023-07-31T01:25:59.780Z] 9386262d7a74: Layer already exists [2023-07-31T01:25:59.780Z] 5374a5623c42: Layer already exists [2023-07-31T01:25:59.780Z] 398ced7ef9d7: Layer already exists [2023-07-31T01:25:59.780Z] 646559c2207f: Layer already exists [2023-07-31T01:25:59.780Z] 332b12a41803: Layer already exists [2023-07-31T01:25:59.780Z] 7e40bb2e43e068414aa907f761b2c3a1e6facb42-3.1.0-dev.2: digest: sha256:e7c9b698fd0617bb697d10c420a8f93ffbae2baae8576e15e34df5a912c75d8b size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:26:00.131Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:26:00.467Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2023-07-31T01:26:00.467Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-07-31T01:26:00.467Z] 398ced7ef9d7: Preparing [2023-07-31T01:26:00.467Z] 646559c2207f: Preparing [2023-07-31T01:26:00.467Z] 332b12a41803: Preparing [2023-07-31T01:26:00.467Z] 5374a5623c42: Preparing [2023-07-31T01:26:00.467Z] 9386262d7a74: Preparing [2023-07-31T01:26:00.467Z] 332b12a41803: Layer already exists [2023-07-31T01:26:00.467Z] 646559c2207f: Layer already exists [2023-07-31T01:26:00.467Z] 398ced7ef9d7: Layer already exists [2023-07-31T01:26:00.467Z] 5374a5623c42: Layer already exists [2023-07-31T01:26:00.467Z] 9386262d7a74: Layer already exists [2023-07-31T01:26:00.467Z] main: digest: sha256:e7c9b698fd0617bb697d10c420a8f93ffbae2baae8576e15e34df5a912c75d8b size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-07-31T01:26:00.779Z] ===================================================== [Pipeline] echo [2023-07-31T01:26:00.785Z] taggedImages: [2023-07-31T01:26:00.785Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:7e40bb2e43e068414aa907f761b2c3a1e6facb42 [2023-07-31T01:26:00.785Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-07-31T01:26:00.785Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.2 [2023-07-31T01:26:00.785Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:7e40bb2e43e068414aa907f761b2c3a1e6facb42-3.1.0-dev.2 [2023-07-31T01:26:00.785Z] - 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-07-31T01:26:01.140Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-31T01:26:01.140Z] [2023-07-31T01:26:01.140Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:26:01.476Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-31T01:26:01.476Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-31T01:26:01.476Z] 8998bd30e6a1: Pulling fs layer [2023-07-31T01:26:01.476Z] 04944245beec: Pulling fs layer [2023-07-31T01:26:01.476Z] 699f458cf7ca: Pulling fs layer [2023-07-31T01:26:01.476Z] 765212b225bb: Pulling fs layer [2023-07-31T01:26:01.476Z] f23df028b6ca: Pulling fs layer [2023-07-31T01:26:01.476Z] d65c8cfc05b1: Pulling fs layer [2023-07-31T01:26:01.476Z] 2437ff75d9bd: Pulling fs layer [2023-07-31T01:26:01.476Z] 765212b225bb: Waiting [2023-07-31T01:26:01.476Z] f23df028b6ca: Waiting [2023-07-31T01:26:01.476Z] d65c8cfc05b1: Waiting [2023-07-31T01:26:01.476Z] 2437ff75d9bd: Waiting [2023-07-31T01:26:01.746Z] 04944245beec: Verifying Checksum [2023-07-31T01:26:01.746Z] 04944245beec: Download complete [2023-07-31T01:26:01.746Z] 765212b225bb: Verifying Checksum [2023-07-31T01:26:01.746Z] 765212b225bb: Download complete [2023-07-31T01:26:01.746Z] f23df028b6ca: Verifying Checksum [2023-07-31T01:26:01.746Z] f23df028b6ca: Download complete [2023-07-31T01:26:01.746Z] d65c8cfc05b1: Download complete [2023-07-31T01:26:02.014Z] 699f458cf7ca: Verifying Checksum [2023-07-31T01:26:02.014Z] 699f458cf7ca: Download complete [2023-07-31T01:26:02.282Z] 8998bd30e6a1: Download complete [2023-07-31T01:26:04.871Z] 2437ff75d9bd: Verifying Checksum [2023-07-31T01:26:04.871Z] 2437ff75d9bd: Download complete [2023-07-31T01:26:06.829Z] 8998bd30e6a1: Pull complete [2023-07-31T01:26:06.829Z] 04944245beec: Pull complete [2023-07-31T01:26:08.240Z] 699f458cf7ca: Pull complete [2023-07-31T01:26:08.505Z] 765212b225bb: Pull complete [2023-07-31T01:26:11.844Z] f23df028b6ca: Pull complete [2023-07-31T01:26:11.844Z] d65c8cfc05b1: Pull complete [2023-07-31T01:26:26.845Z] 2437ff75d9bd: Pull complete [2023-07-31T01:26:26.845Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-31T01:26:26.845Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-31T01:26:26.845Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-31T01:26:27.045Z] prd-ubuntu20.04-docker-arm64-4c-16g-2556 does not seem to be running inside a container [2023-07-31T01:26:27.094Z] $ 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/89 -v /w/workspace/device-gpio/89:/w/workspace/device-gpio/89:rw,z -v /w/workspace/device-gpio/89@tmp:/w/workspace/device-gpio/89@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-31T01:26:29.576Z] $ docker top f0e3c3222382d9f00950154feffb5d592a13c3c5ce7288e68c65bded3476da32 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-31T01:26:30.448Z] ---> job-cost.sh [2023-07-31T01:26:30.448Z] lf-activate-venv: SKIPPING [2023-07-31T01:26:30.448Z] INFO: No Stack... [2023-07-31T01:26:30.713Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-31T01:26:31.669Z] INFO: Archiving Costs [Pipeline] sh [2023-07-31T01:26:31.985Z] + cat /w/workspace/device-gpio/89/archives/cost.csv [2023-07-31T01:26:31.986Z] + cut -d, -f6 [Pipeline] lock [2023-07-31T01:26:32.044Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-89-stack-cost] [2023-07-31T01:26:32.050Z] Resource [jenkins-edgexfoundry-device-gpio-main-89-stack-cost] did not exist. Created. [2023-07-31T01:26:32.050Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-89-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-31T01:26:32.381Z] /w/workspace/device-gpio/89@tmp/durable-5be37a80/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-31T01:26:33.025Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-31T01:26:33.047Z] Warning: overwriting stash ‘stack-cost’ [2023-07-31T01:26:33.101Z] Stashed 1 file(s) [Pipeline] } [2023-07-31T01:26:33.109Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-89-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-31T01:26:33.111Z] $ docker stop --time=1 f0e3c3222382d9f00950154feffb5d592a13c3c5ce7288e68c65bded3476da32 [2023-07-31T01:26:34.583Z] $ docker rm -f --volumes f0e3c3222382d9f00950154feffb5d592a13c3c5ce7288e68c65bded3476da32 [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-07-31T01:26:35.057Z] provisioning config files... [2023-07-31T01:26:35.064Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config6624537816639948847tmp [Pipeline] { [Pipeline] sh [2023-07-31T01:26:35.350Z] + set +x [2023-07-31T01:26:35.350Z] + curl -s https://codecov.io/bash [2023-07-31T01:26:35.350Z] + bash -s -- [2023-07-31T01:26:35.350Z] [2023-07-31T01:26:35.350Z] _____ _ [2023-07-31T01:26:35.350Z] / ____| | | [2023-07-31T01:26:35.350Z] | | ___ __| | ___ ___ _____ __ [2023-07-31T01:26:35.350Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-07-31T01:26:35.350Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-07-31T01:26:35.350Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-07-31T01:26:35.350Z] Bash-1.0.6 [2023-07-31T01:26:35.350Z] [2023-07-31T01:26:35.350Z] [2023-07-31T01:26:35.350Z] ==> git version 2.25.1 found [2023-07-31T01:26:35.609Z] ==> 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-07-31T01:26:35.609Z] Release-Date: 2020-01-08 [2023-07-31T01:26:35.609Z] 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-07-31T01:26:35.609Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-07-31T01:26:35.609Z] ==> Jenkins CI detected. [2023-07-31T01:26:35.609Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2023-07-31T01:26:35.609Z] project root: . [2023-07-31T01:26:35.609Z] --> token set from env [2023-07-31T01:26:35.609Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-07-31T01:26:35.609Z] ==> Running gcov in . (disable via -X gcov) [2023-07-31T01:26:35.609Z] ==> Python coveragepy not found [2023-07-31T01:26:35.609Z] ==> Searching for coverage reports in: [2023-07-31T01:26:35.609Z] + . [2023-07-31T01:26:35.609Z] -> Found 1 reports [2023-07-31T01:26:35.609Z] ==> Detecting git/mercurial file structure [2023-07-31T01:26:35.609Z] ==> Reading reports [2023-07-31T01:26:35.609Z] + ./coverage.out bytes=10 [2023-07-31T01:26:35.609Z] ==> Appending adjustments [2023-07-31T01:26:35.609Z] https://docs.codecov.io/docs/fixing-reports [2023-07-31T01:26:35.609Z] + Found adjustments [2023-07-31T01:26:35.609Z] ==> Gzipping contents [2023-07-31T01:26:35.609Z] 4.0K /tmp/codecov.n3M46W.gz [2023-07-31T01:26:35.609Z] ==> Uploading reports [2023-07-31T01:26:35.609Z] url: https://codecov.io [2023-07-31T01:26:35.609Z] query: branch=main&commit=7e40bb2e43e068414aa907f761b2c3a1e6facb42&build=89&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F89%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-07-31T01:26:35.609Z] -> Pinging Codecov [2023-07-31T01:26:35.609Z] 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=7e40bb2e43e068414aa907f761b2c3a1e6facb42&build=89&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F89%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-07-31T01:26:35.868Z] -> Uploading to [2023-07-31T01:26:35.868Z] https://storage.googleapis.com/codecov/v4/raw/2023-07-31/3EC07B1A8CA8AF9BCAA0BB9F0134797F/7e40bb2e43e068414aa907f761b2c3a1e6facb42/fc89ea21-205c-4272-9b3f-ffa7aed100fa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230731%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230731T012635Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=031e35d238d93033528d269faab0d8a5f2471ba0003ec59fcf5c905c38ff19db [2023-07-31T01:26:35.868Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-31T01:26:35.868Z] Dload Upload Total Spent Left Speed [2023-07-31T01:26:36.126Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3830 --:--:-- --:--:-- --:--:-- 3830 [2023-07-31T01:26:36.126Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/7e40bb2e43e068414aa907f761b2c3a1e6facb42 [Pipeline] } [2023-07-31T01:26:36.132Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-07-31T01:26:36.305Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-07-31T01:26:36.315Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:26:36.606Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-31T01:26:36.606Z] [2023-07-31T01:26:36.606Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:26:36.899Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-31T01:26:36.900Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-07-31T01:26:36.900Z] df9b9388f04a: Pulling fs layer [2023-07-31T01:26:36.900Z] 52dc419b0ee2: Pulling fs layer [2023-07-31T01:26:36.900Z] 25bc292e5bac: Pulling fs layer [2023-07-31T01:26:36.900Z] 114826534d7a: Pulling fs layer [2023-07-31T01:26:36.900Z] 4657fd5d0bcf: Pulling fs layer [2023-07-31T01:26:36.900Z] 6ad1cebc031e: Pulling fs layer [2023-07-31T01:26:36.900Z] 8a3aa393b2d8: Pulling fs layer [2023-07-31T01:26:36.900Z] 4657fd5d0bcf: Waiting [2023-07-31T01:26:36.900Z] 6ad1cebc031e: Waiting [2023-07-31T01:26:36.900Z] 8a3aa393b2d8: Waiting [2023-07-31T01:26:36.900Z] 114826534d7a: Waiting [2023-07-31T01:26:36.900Z] 25bc292e5bac: Verifying Checksum [2023-07-31T01:26:36.900Z] 25bc292e5bac: Download complete [2023-07-31T01:26:36.900Z] 52dc419b0ee2: Download complete [2023-07-31T01:26:36.900Z] 4657fd5d0bcf: Verifying Checksum [2023-07-31T01:26:36.900Z] 4657fd5d0bcf: Download complete [2023-07-31T01:26:36.900Z] df9b9388f04a: Download complete [2023-07-31T01:26:37.160Z] df9b9388f04a: Pull complete [2023-07-31T01:26:37.160Z] 6ad1cebc031e: Verifying Checksum [2023-07-31T01:26:37.160Z] 6ad1cebc031e: Download complete [2023-07-31T01:26:37.160Z] 52dc419b0ee2: Pull complete [2023-07-31T01:26:37.160Z] 25bc292e5bac: Pull complete [2023-07-31T01:26:37.726Z] 114826534d7a: Verifying Checksum [2023-07-31T01:26:37.726Z] 114826534d7a: Download complete [2023-07-31T01:26:37.726Z] 8a3aa393b2d8: Verifying Checksum [2023-07-31T01:26:37.726Z] 8a3aa393b2d8: Download complete [2023-07-31T01:26:41.007Z] 114826534d7a: Pull complete [2023-07-31T01:26:41.007Z] 4657fd5d0bcf: Pull complete [2023-07-31T01:26:41.266Z] 6ad1cebc031e: Pull complete [2023-07-31T01:26:43.794Z] 8a3aa393b2d8: Pull complete [2023-07-31T01:26:43.794Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-07-31T01:26:43.794Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-31T01:26:43.794Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-31T01:26:43.878Z] prd-ubuntu20.04-docker-8c-8g-2555 does not seem to be running inside a container [2023-07-31T01:26:43.882Z] $ 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-07-31T01:26:45.218Z] $ docker top 368230831a0f71855763af4afbcc65bec1ec7bd655f19536bd147e07f7d1a4d0 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-07-31T01:26:45.308Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2023-07-31T01:26:45.590Z] + set -o pipefail [2023-07-31T01:26:45.590Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2023-07-31T01:26:50.859Z] [2023-07-31T01:26:50.859Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2023-07-31T01:26:50.859Z] [2023-07-31T01:26:50.859Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/dc59fb1a-3bf8-44a6-b663-9506bc455692 [2023-07-31T01:26:50.859Z] [2023-07-31T01:26:50.859Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-07-31T01:26:50.859Z] [2023-07-31T01:26:50.859Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-07-31T01:26:50.859Z] [2023-07-31T01:26:52.242Z] [2023-07-31T01:26:52.243Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-07-31T01:26:52.243Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-07-31T01:26:52.243Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-07-31T01:26:52.228Z] $ docker stop --time=1 368230831a0f71855763af4afbcc65bec1ec7bd655f19536bd147e07f7d1a4d0 [2023-07-31T01:26:53.890Z] $ docker rm -f --volumes 368230831a0f71855763af4afbcc65bec1ec7bd655f19536bd147e07f7d1a4d0 [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-07-31T01:26:54.646Z] + git log --format=format:%s -1 7e40bb2e43e068414aa907f761b2c3a1e6facb42 [Pipeline] sh [2023-07-31T01:26:54.939Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-31T01:26:54.939Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:26:55.242Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-31T01:26:55.242Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-31T01:26:55.317Z] prd-ubuntu20.04-docker-8c-8g-2555 does not seem to be running inside a container [2023-07-31T01:26:55.321Z] $ 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-07-31T01:26:55.656Z] $ docker top a80a845c31f96b44acea5c9e27616512262d2ba40e0eadda213dbed47e6ded85 -eo pid,comm [2023-07-31T01:26:55.731Z] 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-07-31T01:26:55.731Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-31T01:26:55.768Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-31T01:26:55.769Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-31T01:26:55.878Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-31T01:26:55.854Z] $ docker exec a80a845c31f96b44acea5c9e27616512262d2ba40e0eadda213dbed47e6ded85 ssh-agent [2023-07-31T01:26:55.991Z] SSH_AUTH_SOCK=/tmp/ssh-5tqjzLFEoLxV/agent.32 [2023-07-31T01:26:55.991Z] SSH_AGENT_PID=38 [2023-07-31T01:26:55.996Z] Running ssh-add (command line suppressed) [2023-07-31T01:26:56.073Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5875606656299067769.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5875606656299067769.key) [2023-07-31T01:26:56.114Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-31T01:26:56.403Z] + git semver tag [2023-07-31T01:26:56.664Z] 2023-07-31 01:26:56,572 [run_tag] DEBUG tag force:False [2023-07-31T01:26:56.664Z] 2023-07-31 01:26:56,572 [check_head_tag] DEBUG check head tag [2023-07-31T01:26:56.664Z] 2023-07-31 01:26:56,573 [execute] INFO git cat-file --batch-check [2023-07-31T01:26:56.664Z] 2023-07-31 01:26:56,573 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-07-31T01:26:56.664Z] 2023-07-31 01:26:56,576 [execute] INFO git cat-file --batch [2023-07-31T01:26:56.664Z] 2023-07-31 01:26:56,577 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-07-31T01:26:56.664Z] 2023-07-31 01:26:56,582 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-07-31T01:26:56.664Z] 2023-07-31 01:26:56,582 [execute] INFO git tag -a v3.1.0-dev.2 -m v3.1.0-dev.2 [2023-07-31T01:26:56.664Z] 2023-07-31 01:26:56,582 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.2', '-m', 'v3.1.0-dev.2'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-07-31T01:26:56.664Z] 2023-07-31 01:26:56,587 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-07-31T01:26:56.664Z] 3.1.0-dev.2 [Pipeline] } [2023-07-31T01:26:56.648Z] $ docker exec --env ******** --env ******** a80a845c31f96b44acea5c9e27616512262d2ba40e0eadda213dbed47e6ded85 ssh-agent -k [2023-07-31T01:26:56.736Z] unset SSH_AUTH_SOCK; [2023-07-31T01:26:56.736Z] unset SSH_AGENT_PID; [2023-07-31T01:26:56.737Z] echo Agent pid 38 killed; [2023-07-31T01:26:56.770Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-31T01:26:57.076Z] + git semver [Pipeline] } [2023-07-31T01:26:57.322Z] $ docker stop --time=1 a80a845c31f96b44acea5c9e27616512262d2ba40e0eadda213dbed47e6ded85 [2023-07-31T01:26:58.566Z] $ docker rm -f --volumes a80a845c31f96b44acea5c9e27616512262d2ba40e0eadda213dbed47e6ded85 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:26:58.987Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-31T01:26:58.987Z] [2023-07-31T01:26:58.987Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:26:59.281Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-31T01:26:59.281Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-07-31T01:26:59.281Z] ab5ef0e58194: Pulling fs layer [2023-07-31T01:26:59.281Z] 9712f1f96733: Pulling fs layer [2023-07-31T01:26:59.281Z] 63f879dbbcfc: Pulling fs layer [2023-07-31T01:26:59.281Z] 0d9ebad4ef96: Pulling fs layer [2023-07-31T01:26:59.281Z] e9a5061849ea: Pulling fs layer [2023-07-31T01:26:59.281Z] d747dcd14b5f: Pulling fs layer [2023-07-31T01:26:59.281Z] 2de7ff778b66: Pulling fs layer [2023-07-31T01:26:59.281Z] e9a5061849ea: Waiting [2023-07-31T01:26:59.281Z] d747dcd14b5f: Waiting [2023-07-31T01:26:59.281Z] 0d9ebad4ef96: Waiting [2023-07-31T01:26:59.281Z] 2de7ff778b66: Waiting [2023-07-31T01:26:59.542Z] 63f879dbbcfc: Verifying Checksum [2023-07-31T01:26:59.542Z] 63f879dbbcfc: Download complete [2023-07-31T01:26:59.802Z] e9a5061849ea: Verifying Checksum [2023-07-31T01:26:59.802Z] e9a5061849ea: Download complete [2023-07-31T01:26:59.802Z] d747dcd14b5f: Verifying Checksum [2023-07-31T01:26:59.802Z] d747dcd14b5f: Download complete [2023-07-31T01:26:59.802Z] 0d9ebad4ef96: Verifying Checksum [2023-07-31T01:26:59.802Z] 0d9ebad4ef96: Download complete [2023-07-31T01:26:59.802Z] ab5ef0e58194: Verifying Checksum [2023-07-31T01:26:59.802Z] ab5ef0e58194: Download complete [2023-07-31T01:26:59.802Z] 2de7ff778b66: Verifying Checksum [2023-07-31T01:26:59.802Z] 2de7ff778b66: Download complete [2023-07-31T01:27:02.327Z] ab5ef0e58194: Pull complete [2023-07-31T01:27:02.327Z] 9712f1f96733: Pull complete [2023-07-31T01:27:02.892Z] 63f879dbbcfc: Pull complete [2023-07-31T01:27:06.169Z] 0d9ebad4ef96: Pull complete [2023-07-31T01:27:06.428Z] e9a5061849ea: Pull complete [2023-07-31T01:27:06.428Z] d747dcd14b5f: Pull complete [2023-07-31T01:27:07.365Z] 2de7ff778b66: Pull complete [2023-07-31T01:27:07.365Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-07-31T01:27:07.365Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-31T01:27:07.365Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-31T01:27:07.455Z] prd-ubuntu20.04-docker-8c-8g-2555 does not seem to be running inside a container [2023-07-31T01:27:07.456Z] $ 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-07-31T01:27:08.856Z] $ docker top 7b1d6234a11f72570d9906861ad7350b77ee74de4aa1a5ec40748c1c5b1f70d7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-07-31T01:27:08.949Z] provisioning config files... [2023-07-31T01:27:08.956Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config18113532337637143530tmp [2023-07-31T01:27:08.966Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config9383339966227366979tmp [2023-07-31T01:27:08.976Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config17932239035127417167tmp [Pipeline] { [Pipeline] echo [2023-07-31T01:27:08.993Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-31T01:27:09.278Z] ---> sigul-configuration.sh [2023-07-31T01:27:09.278Z] gpg: directory `/root/.gnupg' created [2023-07-31T01:27:09.278Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-07-31T01:27:09.278Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-07-31T01:27:09.278Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-07-31T01:27:09.278Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-07-31T01:27:09.278Z] gpg: CAST5 encrypted data [2023-07-31T01:27:09.278Z] gpg: encrypted with 1 passphrase [2023-07-31T01:27:09.278Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-07-31T01:27:09.563Z] + mkdir /home/jenkins [2023-07-31T01:27:09.563Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-07-31T01:27:09.847Z] + 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-07-31T01:27:09.856Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-31T01:27:10.136Z] ---> sigul-install.sh [2023-07-31T01:27:10.136Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-07-31T01:27:10.422Z] + git tag --list [2023-07-31T01:27:10.422Z] v1.0.0 [2023-07-31T01:27:10.422Z] v2.1.0 [2023-07-31T01:27:10.422Z] v2.1.1 [2023-07-31T01:27:10.422Z] v2.2.0 [2023-07-31T01:27:10.422Z] v2.3.0 [2023-07-31T01:27:10.422Z] v3.0 [2023-07-31T01:27:10.422Z] v3.0.0 [2023-07-31T01:27:10.423Z] v3.1.0-dev.1 [2023-07-31T01:27:10.423Z] v3.1.0-dev.2 [Pipeline] sh [2023-07-31T01:27:10.708Z] + lftools sign git-tag v3.1.0-dev.2 [2023-07-31T01:27:11.276Z] Signing Git tag with Sigul... [2023-07-31T01:27:11.276Z] Signing v3.1.0-dev.2 [Pipeline] echo [2023-07-31T01:27:11.542Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-31T01:27:11.825Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-07-31T01:27:11.832Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-07-31T01:27:11.827Z] $ docker stop --time=1 7b1d6234a11f72570d9906861ad7350b77ee74de4aa1a5ec40748c1c5b1f70d7 [2023-07-31T01:27:13.107Z] $ docker rm -f --volumes 7b1d6234a11f72570d9906861ad7350b77ee74de4aa1a5ec40748c1c5b1f70d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-07-31T01:27:13.540Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-31T01:27:13.540Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:27:13.845Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-31T01:27:13.846Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-31T01:27:13.915Z] prd-ubuntu20.04-docker-8c-8g-2555 does not seem to be running inside a container [2023-07-31T01:27:13.921Z] $ 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-07-31T01:27:14.257Z] $ docker top 25e7058a6bb169fbfb374050fa8fd50d1ee436462324d60e7395a98aee4443a1 -eo pid,comm [2023-07-31T01:27:14.322Z] 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-07-31T01:27:14.322Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-31T01:27:14.359Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-31T01:27:14.359Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-31T01:27:14.457Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-31T01:27:14.436Z] $ docker exec 25e7058a6bb169fbfb374050fa8fd50d1ee436462324d60e7395a98aee4443a1 ssh-agent [2023-07-31T01:27:14.574Z] SSH_AUTH_SOCK=/tmp/ssh-dSqcIDeLSdHb/agent.32 [2023-07-31T01:27:14.574Z] SSH_AGENT_PID=38 [2023-07-31T01:27:14.578Z] Running ssh-add (command line suppressed) [2023-07-31T01:27:14.638Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_12209682847568233084.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_12209682847568233084.key) [2023-07-31T01:27:14.675Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-31T01:27:14.967Z] + git semver bump pre [2023-07-31T01:27:15.227Z] 2023-07-31 01:27:15,125 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-07-31T01:27:15.227Z] 2023-07-31 01:27:15,125 [bump_version] DEBUG bumping version:3.1.0-dev.2 on axis:pre with prefix:dev [2023-07-31T01:27:15.227Z] 2023-07-31 01:27:15,125 [bump_version] DEBUG bumped version:3.1.0-dev.3 [2023-07-31T01:27:15.227Z] 2023-07-31 01:27:15,125 [write_version] DEBUG write version:3.1.0-dev.3 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True [2023-07-31T01:27:15.227Z] 2023-07-31 01:27:15,125 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-07-31T01:27:15.227Z] 2023-07-31 01:27:15,125 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-07-31T01:27:15.227Z] 2023-07-31 01:27:15,127 [execute] INFO git cat-file --batch-check [2023-07-31T01:27:15.227Z] 2023-07-31 01:27:15,127 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-31T01:27:15.227Z] 2023-07-31 01:27:15,133 [execute] INFO git cat-file --batch [2023-07-31T01:27:15.227Z] 2023-07-31 01:27:15,133 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-31T01:27:15.227Z] 2023-07-31 01:27:15,138 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-07-31T01:27:15.227Z] 3.1.0-dev.3 [Pipeline] } [2023-07-31T01:27:15.214Z] $ docker exec --env ******** --env ******** 25e7058a6bb169fbfb374050fa8fd50d1ee436462324d60e7395a98aee4443a1 ssh-agent -k [2023-07-31T01:27:15.306Z] unset SSH_AUTH_SOCK; [2023-07-31T01:27:15.306Z] unset SSH_AGENT_PID; [2023-07-31T01:27:15.306Z] echo Agent pid 38 killed; [2023-07-31T01:27:15.339Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-31T01:27:15.653Z] + git semver [Pipeline] } [2023-07-31T01:27:15.902Z] $ docker stop --time=1 25e7058a6bb169fbfb374050fa8fd50d1ee436462324d60e7395a98aee4443a1 [2023-07-31T01:27:17.196Z] $ docker rm -f --volumes 25e7058a6bb169fbfb374050fa8fd50d1ee436462324d60e7395a98aee4443a1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-31T01:27:17.563Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-31T01:27:17.563Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:27:17.862Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-31T01:27:17.862Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-31T01:27:17.930Z] prd-ubuntu20.04-docker-8c-8g-2555 does not seem to be running inside a container [2023-07-31T01:27:17.939Z] $ 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-07-31T01:27:18.247Z] $ docker top 5534d17fa79cec42dfbb459e7e79bd5a0ffe317e1a57abf496180aeb36380c4c -eo pid,comm [2023-07-31T01:27:18.322Z] 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-07-31T01:27:18.322Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-31T01:27:18.354Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-31T01:27:18.355Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-31T01:27:18.467Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-31T01:27:18.446Z] $ docker exec 5534d17fa79cec42dfbb459e7e79bd5a0ffe317e1a57abf496180aeb36380c4c ssh-agent [2023-07-31T01:27:18.567Z] SSH_AUTH_SOCK=/tmp/ssh-9UBHdZMi5WYN/agent.32 [2023-07-31T01:27:18.567Z] SSH_AGENT_PID=38 [2023-07-31T01:27:18.571Z] Running ssh-add (command line suppressed) [2023-07-31T01:27:18.650Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_16321680721242340588.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_16321680721242340588.key) [2023-07-31T01:27:18.686Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-31T01:27:18.969Z] + git semver push [2023-07-31T01:27:19.229Z] 2023-07-31 01:27:19,116 [run_push] DEBUG push [2023-07-31T01:27:19.229Z] 2023-07-31 01:27:19,116 [execute] INFO git cat-file --batch-check [2023-07-31T01:27:19.229Z] 2023-07-31 01:27:19,116 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-31T01:27:19.229Z] 2023-07-31 01:27:19,119 [execute] INFO git rev-list 16a0b2eb269a8913fe0a79cdcb7f144257dfa426 -- [2023-07-31T01:27:19.229Z] 2023-07-31 01:27:19,120 [execute] DEBUG Popen(['git', 'rev-list', '16a0b2eb269a8913fe0a79cdcb7f144257dfa426', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-07-31T01:27:19.229Z] 2023-07-31 01:27:19,126 [execute] INFO git fetch -v origin [2023-07-31T01:27:19.229Z] 2023-07-31 01:27:19,126 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-07-31T01:27:19.798Z] 2023-07-31 01:27:19,683 [run_push] DEBUG no remote changes detected [2023-07-31T01:27:19.798Z] 2023-07-31 01:27:19,683 [execute] INFO git push origin semver [2023-07-31T01:27:19.798Z] 2023-07-31 01:27:19,684 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-07-31T01:27:20.736Z] 2023-07-31 01:27:20,507 [run_push] DEBUG push all version tags [2023-07-31T01:27:20.736Z] 2023-07-31 01:27:20,508 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-07-31T01:27:20.736Z] 2023-07-31 01:27:20,508 [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-07-31T01:27:21.673Z] 2023-07-31 01:27:21,304 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-07-31T01:27:21.673Z] 3.1.0-dev.3 [Pipeline] } [2023-07-31T01:27:21.658Z] $ docker exec --env ******** --env ******** 5534d17fa79cec42dfbb459e7e79bd5a0ffe317e1a57abf496180aeb36380c4c ssh-agent -k [2023-07-31T01:27:21.752Z] unset SSH_AUTH_SOCK; [2023-07-31T01:27:21.752Z] unset SSH_AGENT_PID; [2023-07-31T01:27:21.752Z] echo Agent pid 38 killed; [2023-07-31T01:27:21.786Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-31T01:27:22.084Z] + git semver [Pipeline] } [2023-07-31T01:27:22.331Z] $ docker stop --time=1 5534d17fa79cec42dfbb459e7e79bd5a0ffe317e1a57abf496180aeb36380c4c [2023-07-31T01:27:23.575Z] $ docker rm -f --volumes 5534d17fa79cec42dfbb459e7e79bd5a0ffe317e1a57abf496180aeb36380c4c [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-07-31T01:27:24.173Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2023-07-31T01:27:24.173Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-07-31T01:27:24.173Z] total 16 [2023-07-31T01:27:24.173Z] drwxr-xr-x 3 root root 4096 Jul 31 01:16 . [2023-07-31T01:27:24.173Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 31 01:27 .. [2023-07-31T01:27:24.174Z] drwxr-xr-x 2 root root 4096 Jul 31 01:16 cost [2023-07-31T01:27:24.174Z] -rw-r--r-- 1 root root 82 Jul 31 01:16 cost.csv [2023-07-31T01:27:24.174Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2023-07-31T01:27:24.174Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-07-31T01:27:24.174Z] total 16 [2023-07-31T01:27:24.174Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 01:16 . [2023-07-31T01:27:24.174Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 31 01:27 .. [2023-07-31T01:27:24.174Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 31 01:16 cost [2023-07-31T01:27:24.174Z] -rw-r--r-- 1 jenkins jenkins 82 Jul 31 01:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-31T01:27:24.464Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-31T01:27:25.316Z] ---> package-listing.sh [2023-07-31T01:27:25.316Z] ++ facter osfamily [2023-07-31T01:27:25.316Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-31T01:27:25.576Z] + OS_FAMILY=debian [2023-07-31T01:27:25.576Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2023-07-31T01:27:25.576Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-31T01:27:25.576Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-31T01:27:25.576Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-31T01:27:25.576Z] + PACKAGES=/tmp/packages_start.txt [2023-07-31T01:27:25.576Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-07-31T01:27:25.576Z] + PACKAGES=/tmp/packages_end.txt [2023-07-31T01:27:25.576Z] + case "${OS_FAMILY}" in [2023-07-31T01:27:25.576Z] + dpkg -l [2023-07-31T01:27:25.576Z] + grep '^ii' [2023-07-31T01:27:25.576Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-31T01:27:25.576Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-31T01:27:25.576Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-31T01:27:25.576Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-07-31T01:27:25.576Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2023-07-31T01:27:25.576Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2023-07-31T01:27:25.585Z] 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-07-31T01:27:25.861Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T01:27:26.443Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-31T01:27:26.443Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-31T01:27:26.600Z] prd-ubuntu20.04-docker-8c-8g-2555 does not seem to be running inside a container [2023-07-31T01:27:26.631Z] $ 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-07-31T01:27:26.807Z] $ docker top ae0d0507c3692da19c2d998daefd6ce36f64dbfa4c2f50accbe99ae8e113ff29 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-31T01:27:27.173Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-31T01:27:27.458Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-31T01:27:27.744Z] + ls /var/log/sa-host [2023-07-31T01:27:27.744Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-31T01:27:27.903Z] provisioning config files... [2023-07-31T01:27:27.912Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config3186326370938157717tmp [Pipeline] { [Pipeline] echo [2023-07-31T01:27:27.926Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-31T01:27:28.209Z] ---> create-netrc.sh [Pipeline] } [2023-07-31T01:27:28.215Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-31T01:27:28.542Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-31T01:27:28.549Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-31T01:27:28.830Z] ---> sudo-logs.sh [2023-07-31T01:27:28.830Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-31T01:27:28.860Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-31T01:27:29.139Z] ---> job-cost.sh [2023-07-31T01:27:29.139Z] lf-activate-venv: SKIPPING [2023-07-31T01:27:29.139Z] DEBUG: total: 0.2199999988079071 [2023-07-31T01:27:29.139Z] INFO: Retrieving Stack Cost... [2023-07-31T01:27:29.398Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-31T01:27:29.966Z] INFO: Archiving Costs [Pipeline] echo [2023-07-31T01:27:29.975Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-31T01:27:30.265Z] ---> logs-deploy.sh [2023-07-31T01:27:30.265Z] lf-activate-venv: SKIPPING [2023-07-31T01:27:30.265Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/89 [2023-07-31T01:27:30.265Z] INFO: archiving workspace using pattern(s): [2023-07-31T01:27:31.200Z] Archives upload complete. [2023-07-31T01:27:31.200Z] INFO: archiving logs to Nexus