Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7580ba256f83e21c693c8b45ed89252f688e6cf9 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-ssh11850866930043591842.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh2930301579426036411.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh13434427341699059534.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh1230222763525352243.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-ssh17213055361071109172.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.21 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 ‘prd-ubuntu20.04-docker-8c-8g-8545’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8548 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 7580ba256f83e21c693c8b45ed89252f688e6cf9 (main) > 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 7580ba256f83e21c693c8b45ed89252f688e6cf9 # timeout=10 Commit message: "Merge pull request #200 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.33" > git rev-list --no-walk 7edff37cb06078541196713cb128d1cf5c85b437 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-05T05:11:39.995Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-05T05:11:40.065Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-05T05:11:40.078Z] ========================================================= [2023-10-05T05:11:40.078Z] EdgeX Global Pipelines Version Info [2023-10-05T05:11:40.078Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-05T05:11:40.796Z] ------------------- [2023-10-05T05:11:40.796Z] stable info: [2023-10-05T05:11:40.796Z] ------------------- [2023-10-05T05:11:40.796Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-05T05:11:40.796Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-05T05:11:40.796Z] Message: update stable to v1.0.254 [2023-10-05T05:11:41.367Z] ------------------- [2023-10-05T05:11:41.367Z] experimental info: [2023-10-05T05:11:41.367Z] ------------------- [2023-10-05T05:11:41.367Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-05T05:11:41.367Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-05T05:11:41.367Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-05T05:11:41.527Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-10-05T05:11:41.544Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-10-05T05:11:41.563Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-05T05:11:41.581Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-05T05:11:41.599Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-05T05:11:41.616Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-05T05:11:41.636Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-05T05:11:41.654Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-05T05:11:41.715Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-05T05:11:41.735Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-05T05:11:41.754Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-05T05:11:41.772Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-10-05T05:11:41.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-05T05:11:41.802Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-05T05:11:41.816Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-05T05:11:41.830Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-05T05:11:41.848Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-05T05:11:41.860Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-05T05:11:41.879Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-05T05:11:41.893Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-05T05:11:41.904Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-05T05:11:41.917Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-05T05:11:41.929Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-05T05:11:41.950Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-05T05:11:41.963Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-05T05:11:41.975Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-05T05:11:41.990Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-05T05:11:42.006Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-05T05:11:42.023Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-05T05:11:42.041Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-05T05:11:42.052Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7580ba256f83e21c693c8b45ed89252f688e6cf9 [Pipeline] echo [2023-10-05T05:11:42.064Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7580ba2 [Pipeline] echo [2023-10-05T05:11:42.078Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-05T05:11:42.130Z] provisioning config files... [2023-10-05T05:11:42.143Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config15790984759948717425tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-05T05:11:42.445Z] ---> docker-login.sh [2023-10-05T05:11:42.445Z] nexus3.edgexfoundry.org:10001 [2023-10-05T05:11:42.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T05:11:42.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T05:11:42.706Z] Configure a credential helper to remove this warning. See [2023-10-05T05:11:42.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T05:11:42.706Z] [2023-10-05T05:11:42.706Z] Login Succeeded [2023-10-05T05:11:42.706Z] nexus3.edgexfoundry.org:10002 [2023-10-05T05:11:42.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T05:11:42.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T05:11:42.968Z] Configure a credential helper to remove this warning. See [2023-10-05T05:11:42.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T05:11:42.968Z] [2023-10-05T05:11:42.968Z] Login Succeeded [2023-10-05T05:11:42.968Z] nexus3.edgexfoundry.org:10003 [2023-10-05T05:11:42.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T05:11:42.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T05:11:42.968Z] Configure a credential helper to remove this warning. See [2023-10-05T05:11:42.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T05:11:42.968Z] [2023-10-05T05:11:42.968Z] Login Succeeded [2023-10-05T05:11:42.968Z] nexus3.edgexfoundry.org:10004 [2023-10-05T05:11:42.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T05:11:42.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T05:11:42.968Z] Configure a credential helper to remove this warning. See [2023-10-05T05:11:42.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T05:11:42.968Z] [2023-10-05T05:11:42.968Z] Login Succeeded [2023-10-05T05:11:42.968Z] docker.io [2023-10-05T05:11:43.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T05:11:43.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T05:11:43.487Z] Configure a credential helper to remove this warning. See [2023-10-05T05:11:43.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T05:11:43.487Z] [2023-10-05T05:11:43.487Z] Login Succeeded [2023-10-05T05:11:43.487Z] ---> docker-login.sh ends [Pipeline] } [2023-10-05T05:11:43.494Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-05T05:11:43.859Z] + git rev-list -1 --merges 7580ba256f83e21c693c8b45ed89252f688e6cf9~1..7580ba256f83e21c693c8b45ed89252f688e6cf9 [Pipeline] echo [2023-10-05T05:11:43.906Z] -----------> git rev-list -1 --merges 7580ba256f83e21c693c8b45ed89252f688e6cf9~1..7580ba256f83e21c693c8b45ed89252f688e6cf9 7580ba256f83e21c693c8b45ed89252f688e6cf9 [2023-10-05T05:11:43.906Z] 7580ba256f83e21c693c8b45ed89252f688e6cf9 [false] [Pipeline] sh [2023-10-05T05:11:44.190Z] + git log --format=format:%s -1 7580ba256f83e21c693c8b45ed89252f688e6cf9 [Pipeline] echo [2023-10-05T05:11:44.220Z] ========================================================= [2023-10-05T05:11:44.220Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-05T05:11:44.220Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-05T05:11:44.536Z] + git log --format=format:%s -1 7580ba256f83e21c693c8b45ed89252f688e6cf9 [Pipeline] echo [2023-10-05T05:11:44.548Z] [semverPrep] GIT_COMMIT: 7580ba256f83e21c693c8b45ed89252f688e6cf9, Commit Message: Merge pull request #200 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.33 [Pipeline] echo [2023-10-05T05:11:44.558Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-05T05:11:44.922Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-05T05:11:44.922Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-05T05:11:44.922Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-05T05:11:44.922Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-05T05:11:44.922Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-05T05:11:44.922Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-05T05:11:44.922Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:11:45.335Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-05T05:11:45.335Z] [2023-10-05T05:11:45.335Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:11:45.657Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-05T05:11:45.657Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-05T05:11:45.657Z] b85a868b505f: Pulling fs layer [2023-10-05T05:11:45.657Z] e2be974225ed: Pulling fs layer [2023-10-05T05:11:45.657Z] 339a4e72a1f5: Pulling fs layer [2023-10-05T05:11:45.657Z] 988bab9f4d93: Pulling fs layer [2023-10-05T05:11:45.657Z] 1469e6f7b9e6: Pulling fs layer [2023-10-05T05:11:45.657Z] eaf3925da568: Pulling fs layer [2023-10-05T05:11:45.657Z] 988bab9f4d93: Waiting [2023-10-05T05:11:45.657Z] bab4dde63d76: Pulling fs layer [2023-10-05T05:11:45.657Z] 1469e6f7b9e6: Waiting [2023-10-05T05:11:45.657Z] bde34c3a00c8: Pulling fs layer [2023-10-05T05:11:45.657Z] b352a97aabf1: Pulling fs layer [2023-10-05T05:11:45.657Z] bde34c3a00c8: Waiting [2023-10-05T05:11:45.657Z] bab4dde63d76: Waiting [2023-10-05T05:11:45.657Z] 4872d77fe225: Pulling fs layer [2023-10-05T05:11:45.657Z] 5851b861e8e6: Pulling fs layer [2023-10-05T05:11:45.657Z] b352a97aabf1: Waiting [2023-10-05T05:11:45.657Z] 5851b861e8e6: Waiting [2023-10-05T05:11:45.657Z] 4872d77fe225: Waiting [2023-10-05T05:11:45.657Z] e2be974225ed: Download complete [2023-10-05T05:11:45.657Z] 988bab9f4d93: Verifying Checksum [2023-10-05T05:11:45.657Z] 988bab9f4d93: Download complete [2023-10-05T05:11:45.657Z] 1469e6f7b9e6: Verifying Checksum [2023-10-05T05:11:45.657Z] 1469e6f7b9e6: Download complete [2023-10-05T05:11:45.928Z] eaf3925da568: Verifying Checksum [2023-10-05T05:11:45.928Z] eaf3925da568: Download complete [2023-10-05T05:11:45.928Z] 339a4e72a1f5: Verifying Checksum [2023-10-05T05:11:45.928Z] 339a4e72a1f5: Download complete [2023-10-05T05:11:45.928Z] bde34c3a00c8: Verifying Checksum [2023-10-05T05:11:45.928Z] bde34c3a00c8: Download complete [2023-10-05T05:11:45.928Z] b352a97aabf1: Download complete [2023-10-05T05:11:45.928Z] 4872d77fe225: Verifying Checksum [2023-10-05T05:11:45.928Z] 4872d77fe225: Download complete [2023-10-05T05:11:45.928Z] 5851b861e8e6: Download complete [2023-10-05T05:11:45.928Z] b85a868b505f: Download complete [2023-10-05T05:11:46.186Z] bab4dde63d76: Verifying Checksum [2023-10-05T05:11:46.186Z] bab4dde63d76: Download complete [2023-10-05T05:11:47.123Z] b85a868b505f: Pull complete [2023-10-05T05:11:47.381Z] e2be974225ed: Pull complete [2023-10-05T05:11:47.641Z] 339a4e72a1f5: Pull complete [2023-10-05T05:11:47.899Z] 988bab9f4d93: Pull complete [2023-10-05T05:11:48.158Z] 1469e6f7b9e6: Pull complete [2023-10-05T05:11:48.158Z] eaf3925da568: Pull complete [2023-10-05T05:11:50.063Z] bab4dde63d76: Pull complete [2023-10-05T05:11:50.063Z] bde34c3a00c8: Pull complete [2023-10-05T05:11:50.063Z] b352a97aabf1: Pull complete [2023-10-05T05:11:50.322Z] 4872d77fe225: Pull complete [2023-10-05T05:11:50.322Z] 5851b861e8e6: Pull complete [2023-10-05T05:11:50.322Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-05T05:11:50.322Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-05T05:11:50.322Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-05T05:11:50.415Z] prd-ubuntu20.04-docker-8c-8g-8548 does not seem to be running inside a container [2023-10-05T05:11:50.442Z] $ 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-10-05T05:11:53.397Z] $ docker top 2a6184173a8e6ffa481a40dac7c0711f2ce44a3e98b867d9d0dfe46197175b23 -eo pid,comm [2023-10-05T05:11:53.448Z] 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-10-05T05:11:53.448Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-05T05:11:53.482Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-05T05:11:53.482Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-05T05:11:53.590Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-05T05:11:53.590Z] $ docker exec 2a6184173a8e6ffa481a40dac7c0711f2ce44a3e98b867d9d0dfe46197175b23 ssh-agent [2023-10-05T05:11:53.697Z] SSH_AUTH_SOCK=/tmp/ssh-7v6sHwz4wY3h/agent.32 [2023-10-05T05:11:53.697Z] SSH_AGENT_PID=38 [2023-10-05T05:11:53.702Z] Running ssh-add (command line suppressed) [2023-10-05T05:11:53.801Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4328771038593069638.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4328771038593069638.key) [2023-10-05T05:11:53.815Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-05T05:11:54.104Z] + git tag --points-at HEAD [Pipeline] } [2023-10-05T05:11:54.118Z] $ docker exec --env ******** --env ******** 2a6184173a8e6ffa481a40dac7c0711f2ce44a3e98b867d9d0dfe46197175b23 ssh-agent -k [2023-10-05T05:11:54.214Z] unset SSH_AUTH_SOCK; [2023-10-05T05:11:54.215Z] unset SSH_AGENT_PID; [2023-10-05T05:11:54.215Z] echo Agent pid 38 killed; [2023-10-05T05:11:54.228Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-05T05:11:54.255Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-05T05:11:54.255Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-05T05:11:54.351Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-05T05:11:54.352Z] $ docker exec 2a6184173a8e6ffa481a40dac7c0711f2ce44a3e98b867d9d0dfe46197175b23 ssh-agent [2023-10-05T05:11:54.458Z] SSH_AUTH_SOCK=/tmp/ssh-tcNep9MYN0Op/agent.70 [2023-10-05T05:11:54.458Z] SSH_AGENT_PID=76 [2023-10-05T05:11:54.462Z] Running ssh-add (command line suppressed) [2023-10-05T05:11:54.552Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9917187511082542034.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9917187511082542034.key) [2023-10-05T05:11:54.566Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-05T05:11:54.854Z] + git semver init [2023-10-05T05:11:55.114Z] 2023-10-05 05:11:55,006 [run_init] DEBUG init version:0.0.0 force:False [2023-10-05T05:11:55.114Z] 2023-10-05 05:11:55,007 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2023-10-05T05:11:55.114Z] 2023-10-05 05:11:55,007 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2023-10-05T05:11:55.114Z] 2023-10-05 05:11:55,007 [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-10-05T05:11:56.493Z] 2023-10-05 05:11:56,103 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2023-10-05T05:11:56.493Z] 2023-10-05 05:11:56,104 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2023-10-05T05:11:56.493Z] 2023-10-05 05:11:56,104 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-05T05:11:56.493Z] 2023-10-05 05:11:56,104 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-05T05:11:56.493Z] 3.1.0-dev.15 [Pipeline] } [2023-10-05T05:11:56.501Z] $ docker exec --env ******** --env ******** 2a6184173a8e6ffa481a40dac7c0711f2ce44a3e98b867d9d0dfe46197175b23 ssh-agent -k [2023-10-05T05:11:56.597Z] unset SSH_AUTH_SOCK; [2023-10-05T05:11:56.598Z] unset SSH_AGENT_PID; [2023-10-05T05:11:56.598Z] echo Agent pid 76 killed; [2023-10-05T05:11:56.610Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-05T05:11:56.915Z] + git semver [Pipeline] } [2023-10-05T05:11:57.185Z] $ docker stop --time=1 2a6184173a8e6ffa481a40dac7c0711f2ce44a3e98b867d9d0dfe46197175b23 [2023-10-05T05:11:58.522Z] $ docker rm -f --volumes 2a6184173a8e6ffa481a40dac7c0711f2ce44a3e98b867d9d0dfe46197175b23 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-05T05:11:58.872Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-05T05:11:59.082Z] Stashed 1 file(s) [Pipeline] echo [2023-10-05T05:11:59.085Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.15 [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-10-05T05:11:59.237Z] provisioning config files... [2023-10-05T05:11:59.246Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config10932628194430469029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-05T05:11:59.541Z] ---> docker-login.sh [2023-10-05T05:11:59.541Z] nexus3.edgexfoundry.org:10001 [2023-10-05T05:11:59.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T05:11:59.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T05:11:59.541Z] Configure a credential helper to remove this warning. See [2023-10-05T05:11:59.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T05:11:59.541Z] [2023-10-05T05:11:59.541Z] Login Succeeded [2023-10-05T05:11:59.541Z] nexus3.edgexfoundry.org:10002 [2023-10-05T05:11:59.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T05:11:59.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T05:11:59.541Z] Configure a credential helper to remove this warning. See [2023-10-05T05:11:59.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T05:11:59.541Z] [2023-10-05T05:11:59.541Z] Login Succeeded [2023-10-05T05:11:59.541Z] nexus3.edgexfoundry.org:10003 [2023-10-05T05:11:59.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T05:11:59.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T05:11:59.801Z] Configure a credential helper to remove this warning. See [2023-10-05T05:11:59.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T05:11:59.801Z] [2023-10-05T05:11:59.801Z] Login Succeeded [2023-10-05T05:11:59.801Z] nexus3.edgexfoundry.org:10004 [2023-10-05T05:11:59.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T05:11:59.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T05:11:59.801Z] Configure a credential helper to remove this warning. See [2023-10-05T05:11:59.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T05:11:59.801Z] [2023-10-05T05:11:59.801Z] Login Succeeded [2023-10-05T05:11:59.801Z] docker.io [2023-10-05T05:11:59.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T05:12:00.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T05:12:00.061Z] Configure a credential helper to remove this warning. See [2023-10-05T05:12:00.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T05:12:00.061Z] [2023-10-05T05:12:00.061Z] Login Succeeded [2023-10-05T05:12:00.061Z] ---> docker-login.sh ends [Pipeline] } [2023-10-05T05:12:00.068Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-05T05:12:00.139Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-05T05:12:00.155Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-05T05:12:00.168Z] ========================================================= [2023-10-05T05:12:00.168Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-05T05:12:00.168Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:12:00.490Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-05T05:12:00.490Z] Sending build context to Docker daemon 16.12MB [2023-10-05T05:12:00.490Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-05T05:12:00.490Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-05T05:12:00.490Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-05T05:12:00.490Z] 7264a8db6415: Pulling fs layer [2023-10-05T05:12:00.490Z] c4d48a809fc2: Pulling fs layer [2023-10-05T05:12:00.490Z] 4f1c88b9dad5: Pulling fs layer [2023-10-05T05:12:00.490Z] ad3a456e5733: Pulling fs layer [2023-10-05T05:12:00.490Z] 33e27b845d1e: Pulling fs layer [2023-10-05T05:12:00.490Z] c68163c4e522: Pulling fs layer [2023-10-05T05:12:00.490Z] 50da416c3ac9: Pulling fs layer [2023-10-05T05:12:00.490Z] 23d2d4c4bb30: Pulling fs layer [2023-10-05T05:12:00.490Z] ad3a456e5733: Waiting [2023-10-05T05:12:00.490Z] 50da416c3ac9: Waiting [2023-10-05T05:12:00.490Z] 33e27b845d1e: Waiting [2023-10-05T05:12:00.490Z] 23d2d4c4bb30: Waiting [2023-10-05T05:12:00.490Z] c4d48a809fc2: Download complete [2023-10-05T05:12:00.750Z] ad3a456e5733: Verifying Checksum [2023-10-05T05:12:00.750Z] ad3a456e5733: Download complete [2023-10-05T05:12:00.750Z] 33e27b845d1e: Verifying Checksum [2023-10-05T05:12:00.750Z] 33e27b845d1e: Download complete [2023-10-05T05:12:00.750Z] 7264a8db6415: Verifying Checksum [2023-10-05T05:12:00.750Z] 7264a8db6415: Download complete [2023-10-05T05:12:00.750Z] c68163c4e522: Verifying Checksum [2023-10-05T05:12:00.750Z] c68163c4e522: Download complete [2023-10-05T05:12:00.750Z] 7264a8db6415: Pull complete [2023-10-05T05:12:01.009Z] 23d2d4c4bb30: Verifying Checksum [2023-10-05T05:12:01.009Z] 23d2d4c4bb30: Download complete [2023-10-05T05:12:01.009Z] c4d48a809fc2: Pull complete [2023-10-05T05:12:01.009Z] 4f1c88b9dad5: Verifying Checksum [2023-10-05T05:12:01.009Z] 4f1c88b9dad5: Download complete [2023-10-05T05:12:01.578Z] 50da416c3ac9: Verifying Checksum [2023-10-05T05:12:01.578Z] 50da416c3ac9: Download complete [2023-10-05T05:12:04.117Z] 4f1c88b9dad5: Pull complete [2023-10-05T05:12:04.117Z] ad3a456e5733: Pull complete [2023-10-05T05:12:04.117Z] 33e27b845d1e: Pull complete [2023-10-05T05:12:04.117Z] c68163c4e522: Pull complete [2023-10-05T05:12:06.643Z] 50da416c3ac9: Pull complete [2023-10-05T05:12:06.643Z] 23d2d4c4bb30: Pull complete [2023-10-05T05:12:06.643Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-05T05:12:06.643Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-05T05:12:06.643Z] ---> 0786185ac409 [2023-10-05T05:12:06.643Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-05T05:12:10.850Z] ---> Running in 35db1ba53beb [2023-10-05T05:12:10.850Z] Removing intermediate container 35db1ba53beb [2023-10-05T05:12:10.850Z] ---> 793c023c9881 [2023-10-05T05:12:10.850Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-05T05:12:10.850Z] ---> Running in ce350e0a2975 [2023-10-05T05:12:10.850Z] Removing intermediate container ce350e0a2975 [2023-10-05T05:12:10.850Z] ---> 5e49cce9b4be [2023-10-05T05:12:10.850Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-10-05T05:12:10.850Z] ---> Running in fc516c8c2cd6 [2023-10-05T05:12:10.850Z] Removing intermediate container fc516c8c2cd6 [2023-10-05T05:12:10.850Z] ---> abdc885841d1 [2023-10-05T05:12:10.850Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-05T05:12:10.850Z] ---> Running in 9dba6ca99e61 [2023-10-05T05:12:10.850Z] Removing intermediate container 9dba6ca99e61 [2023-10-05T05:12:10.850Z] ---> 354d26324924 [2023-10-05T05:12:10.850Z] Step 7/12 : WORKDIR /device-gpio [2023-10-05T05:12:10.850Z] ---> Running in 4e323c32abe9 [2023-10-05T05:12:10.850Z] Removing intermediate container 4e323c32abe9 [2023-10-05T05:12:10.850Z] ---> e5f2ca224fdd [2023-10-05T05:12:10.850Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-05T05:12:11.111Z] ---> Running in 75b8371cfb7e [2023-10-05T05:12:11.370Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-05T05:12:11.370Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-05T05:12:11.628Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-05T05:12:11.628Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-05T05:12:11.628Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-05T05:12:11.887Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-05T05:12:11.887Z] Executing busybox-1.36.1-r2.trigger [2023-10-05T05:12:11.887Z] OK: 268 MiB in 56 packages [2023-10-05T05:12:12.454Z] Removing intermediate container 75b8371cfb7e [2023-10-05T05:12:12.454Z] ---> f2f47740d488 [2023-10-05T05:12:12.454Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-05T05:12:12.454Z] ---> 93c10a3bd841 [2023-10-05T05:12:12.454Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-05T05:12:12.454Z] ---> Running in b5b7d81f8c6f [2023-10-05T05:12:14.192Z] Still waiting to schedule task [2023-10-05T05:12:14.192Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8546’ is offline [2023-10-05T05:12:44.528Z] Removing intermediate container b5b7d81f8c6f [2023-10-05T05:12:44.528Z] ---> d9362f29776d [2023-10-05T05:12:44.528Z] Step 11/12 : COPY . . [2023-10-05T05:12:44.788Z] ---> f90528546dad [2023-10-05T05:12:44.788Z] Step 12/12 : RUN ${MAKE} [2023-10-05T05:12:44.788Z] ---> Running in 8b2d409145c3 [2023-10-05T05:12:45.048Z] noop [2023-10-05T05:12:45.307Z] Removing intermediate container 8b2d409145c3 [2023-10-05T05:12:45.307Z] ---> 0f393cf6f1fd [2023-10-05T05:12:45.307Z] Successfully built 0f393cf6f1fd [2023-10-05T05:12:45.307Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:12:45.614Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-05T05:12:45.614Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-05T05:12:45.682Z] prd-ubuntu20.04-docker-8c-8g-8548 does not seem to be running inside a container [2023-10-05T05:12:45.679Z] $ 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-10-05T05:12:46.010Z] $ docker top e671c3523889aed1bb404beecdcc2ddc8ee1bd520ba23543f06e0146c52a8a06 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-05T05:12:46.386Z] + go version [2023-10-05T05:12:46.387Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-05T05:12:46.364Z] $ docker stop --time=1 e671c3523889aed1bb404beecdcc2ddc8ee1bd520ba23543f06e0146c52a8a06 [2023-10-05T05:12:47.631Z] $ docker rm -f --volumes e671c3523889aed1bb404beecdcc2ddc8ee1bd520ba23543f06e0146c52a8a06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:12:48.079Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-05T05:12:48.079Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-05T05:12:48.148Z] prd-ubuntu20.04-docker-8c-8g-8548 does not seem to be running inside a container [2023-10-05T05:12:48.143Z] $ 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-10-05T05:12:48.490Z] $ docker top 2fce5312a0eb3513dfa0d8a0995cbb984643e5bce75df666bd352da0a2c3bd6e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-05T05:12:48.869Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh [2023-10-05T05:12:49.165Z] + make test [2023-10-05T05:12:49.165Z] go test ./... -coverprofile=coverage.out ./... [2023-10-05T05:12:50.542Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-10-05T05:13:00.527Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-10-05T05:13:00.527Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-10-05T05:13:07.077Z] go vet ./... [2023-10-05T05:13:10.358Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-05T05:13:10.358Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-05T05:13:10.358Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-05T05:13:10.370Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-05T05:13:10.356Z] $ docker stop --time=1 2fce5312a0eb3513dfa0d8a0995cbb984643e5bce75df666bd352da0a2c3bd6e [2023-10-05T05:13:14.590Z] $ docker rm -f --volumes 2fce5312a0eb3513dfa0d8a0995cbb984643e5bce75df666bd352da0a2c3bd6e [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-05T05:13:15.076Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-05T05:13:15.129Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-05T05:13:15.668Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-05T05:13:15.953Z] + ls -al . [2023-10-05T05:13:15.953Z] total 168 [2023-10-05T05:13:15.953Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 5 05:12 . [2023-10-05T05:13:15.953Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 05:11 .. [2023-10-05T05:13:15.953Z] -rw-rw-r-- 1 jenkins jenkins 120 Oct 5 05:11 .dockerignore [2023-10-05T05:13:15.953Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 05:13 .git [2023-10-05T05:13:15.953Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 05:11 .github [2023-10-05T05:13:15.953Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 5 05:11 .gitignore [2023-10-05T05:13:15.953Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 5 05:11 .golangci.yml [2023-10-05T05:13:15.953Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 5 05:11 .semver [2023-10-05T05:13:15.953Z] -rw-rw-r-- 1 jenkins jenkins 10671 Oct 5 05:11 Attribution.txt [2023-10-05T05:13:15.953Z] -rw-rw-r-- 1 jenkins jenkins 6184 Oct 5 05:11 CHANGELOG.md [2023-10-05T05:13:15.953Z] -rw-rw-r-- 1 jenkins jenkins 1542 Oct 5 05:11 Dockerfile [2023-10-05T05:13:15.953Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 5 05:11 GOVERNANCE.md [2023-10-05T05:13:15.953Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 5 05:11 Jenkinsfile [2023-10-05T05:13:15.953Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 5 05:11 LICENSE [2023-10-05T05:13:15.953Z] -rw-rw-r-- 1 jenkins jenkins 1923 Oct 5 05:11 Makefile [2023-10-05T05:13:15.953Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 5 05:11 OWNERS.md [2023-10-05T05:13:15.953Z] -rw-rw-r-- 1 jenkins jenkins 12293 Oct 5 05:11 README.md [2023-10-05T05:13:15.953Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 5 05:11 VERSION [2023-10-05T05:13:15.953Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 05:11 bin [2023-10-05T05:13:15.953Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 05:11 cmd [2023-10-05T05:13:15.953Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 5 05:12 coverage.out [2023-10-05T05:13:15.953Z] -rw-rw-r-- 1 jenkins jenkins 3697 Oct 5 05:11 go.mod [2023-10-05T05:13:15.953Z] -rw-rw-r-- 1 jenkins jenkins 35979 Oct 5 05:11 go.sum [2023-10-05T05:13:15.953Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 05:11 internal [2023-10-05T05:13:15.953Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 05:11 snap [2023-10-05T05:13:15.953Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 5 05:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:13:16.327Z] + 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=7580ba256f83e21c693c8b45ed89252f688e6cf9 --label arch=amd64 --label version=3.1.0-dev.15 . [2023-10-05T05:13:16.327Z] Sending build context to Docker daemon 16.12MB [2023-10-05T05:13:16.327Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-05T05:13:16.327Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-05T05:13:16.327Z] ---> 0f393cf6f1fd [2023-10-05T05:13:16.327Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-05T05:13:16.605Z] ---> Running in 48dcb0bcdf86 [2023-10-05T05:13:16.605Z] Removing intermediate container 48dcb0bcdf86 [2023-10-05T05:13:16.605Z] ---> e840666a6329 [2023-10-05T05:13:16.605Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-05T05:13:16.605Z] ---> Running in 10ae39c44736 [2023-10-05T05:13:16.605Z] Removing intermediate container 10ae39c44736 [2023-10-05T05:13:16.605Z] ---> 4806f37e74e7 [2023-10-05T05:13:16.605Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-10-05T05:13:16.882Z] ---> Running in ba55515b34af [2023-10-05T05:13:16.882Z] Removing intermediate container ba55515b34af [2023-10-05T05:13:16.882Z] ---> d1b341848878 [2023-10-05T05:13:16.882Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-05T05:13:16.882Z] ---> Running in 30acfbe478d4 [2023-10-05T05:13:16.882Z] Removing intermediate container 30acfbe478d4 [2023-10-05T05:13:16.882Z] ---> bef7a0eb689d [2023-10-05T05:13:16.882Z] Step 7/25 : WORKDIR /device-gpio [2023-10-05T05:13:16.882Z] ---> Running in 0b56eb23ff39 [2023-10-05T05:13:16.883Z] Removing intermediate container 0b56eb23ff39 [2023-10-05T05:13:16.883Z] ---> ed0c94a8b3f4 [2023-10-05T05:13:16.883Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-05T05:13:17.143Z] ---> Running in b96722df5dc0 [2023-10-05T05:13:17.419Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-05T05:13:17.419Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-05T05:13:17.698Z] OK: 268 MiB in 56 packages [2023-10-05T05:13:17.957Z] Removing intermediate container b96722df5dc0 [2023-10-05T05:13:17.957Z] ---> 80c2ed9350c8 [2023-10-05T05:13:17.957Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-05T05:13:18.216Z] ---> e386c3914b86 [2023-10-05T05:13:18.216Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-05T05:13:18.216Z] ---> Running in 3961344ebbe4 [2023-10-05T05:13:18.784Z] Removing intermediate container 3961344ebbe4 [2023-10-05T05:13:18.784Z] ---> 6a257e44169b [2023-10-05T05:13:18.784Z] Step 11/25 : COPY . . [2023-10-05T05:13:19.608Z] ---> 8f7d3c2f2a02 [2023-10-05T05:13:19.608Z] Step 12/25 : RUN ${MAKE} [2023-10-05T05:13:19.608Z] ---> Running in 6e1b3f292b05 [2023-10-05T05:13:19.870Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.1.0-dev.15 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.33" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-10-05T05:13:40.059Z] Removing intermediate container 6e1b3f292b05 [2023-10-05T05:13:40.059Z] ---> 2bbb408286d9 [2023-10-05T05:13:40.059Z] Step 13/25 : FROM alpine:3.18 [2023-10-05T05:13:40.059Z] 3.18: Pulling from library/alpine [2023-10-05T05:13:40.059Z] 96526aa774ef: Pulling fs layer [2023-10-05T05:13:40.059Z] 96526aa774ef: Verifying Checksum [2023-10-05T05:13:40.059Z] 96526aa774ef: Download complete [2023-10-05T05:13:40.059Z] 96526aa774ef: Pull complete [2023-10-05T05:13:40.059Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-05T05:13:40.059Z] Status: Downloaded newer image for alpine:3.18 [2023-10-05T05:13:40.059Z] ---> 8ca4688f4f35 [2023-10-05T05:13:40.059Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-10-05T05:13:40.059Z] ---> Running in 3675799a4321 [2023-10-05T05:13:40.059Z] Removing intermediate container 3675799a4321 [2023-10-05T05:13:40.059Z] ---> 69f761a12b4c [2023-10-05T05:13:40.059Z] Step 15/25 : RUN apk add --update --no-cache [2023-10-05T05:13:40.059Z] ---> Running in ebf26cc8bb00 [2023-10-05T05:13:40.059Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-05T05:13:40.059Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-05T05:13:40.059Z] OK: 7 MiB in 15 packages [2023-10-05T05:13:40.317Z] Removing intermediate container ebf26cc8bb00 [2023-10-05T05:13:40.317Z] ---> 7977e96cb1d0 [2023-10-05T05:13:40.317Z] Step 16/25 : WORKDIR / [2023-10-05T05:13:40.317Z] ---> Running in 5056b425ccbb [2023-10-05T05:13:40.317Z] Removing intermediate container 5056b425ccbb [2023-10-05T05:13:40.317Z] ---> b149b63e7713 [2023-10-05T05:13:40.317Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-10-05T05:13:40.579Z] ---> dfde8b6fdf7c [2023-10-05T05:13:40.579Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-10-05T05:13:40.579Z] ---> 587796819b89 [2023-10-05T05:13:40.579Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-10-05T05:13:41.496Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8550 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2023-10-05T05:13:41.510Z] Running in /w/workspace/device-gpio/102 [Pipeline] { [Pipeline] checkout [2023-10-05T05:13:41.544Z] The recommended git tool is: git [2023-10-05T05:13:41.585Z] ---> 904e8e12e0d0 [2023-10-05T05:13:41.585Z] Step 20/25 : EXPOSE 59910 [2023-10-05T05:13:41.585Z] ---> Running in 365c8630bf7b [2023-10-05T05:13:41.585Z] Removing intermediate container 365c8630bf7b [2023-10-05T05:13:41.585Z] ---> f30f425bb6eb [2023-10-05T05:13:41.585Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-10-05T05:13:41.585Z] ---> Running in a99f73ad1126 [2023-10-05T05:13:41.843Z] Removing intermediate container a99f73ad1126 [2023-10-05T05:13:41.843Z] ---> d6361f2d48c9 [2023-10-05T05:13:41.843Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-05T05:13:41.843Z] ---> Running in 5f730b39078d [2023-10-05T05:13:41.843Z] Removing intermediate container 5f730b39078d [2023-10-05T05:13:41.843Z] ---> 7ea2b481f578 [2023-10-05T05:13:41.843Z] Step 23/25 : LABEL arch=amd64 [2023-10-05T05:13:41.843Z] ---> Running in 3241585e2403 [2023-10-05T05:13:41.843Z] Removing intermediate container 3241585e2403 [2023-10-05T05:13:41.843Z] ---> 8c142816f3ea [2023-10-05T05:13:41.843Z] Step 24/25 : LABEL git_sha=7580ba256f83e21c693c8b45ed89252f688e6cf9 [2023-10-05T05:13:41.843Z] ---> Running in ca4fbe4bc460 [2023-10-05T05:13:42.102Z] Removing intermediate container ca4fbe4bc460 [2023-10-05T05:13:42.102Z] ---> 0940b838f2de [2023-10-05T05:13:42.102Z] Step 25/25 : LABEL version=3.1.0-dev.15 [2023-10-05T05:13:42.102Z] ---> Running in f6913d8ae556 [2023-10-05T05:13:42.102Z] Removing intermediate container f6913d8ae556 [2023-10-05T05:13:42.102Z] ---> 9369d6fdc23a [2023-10-05T05:13:42.102Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-05T05:13:42.102Z] Successfully built 9369d6fdc23a [2023-10-05T05:13:42.102Z] 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-10-05T05:13:42.216Z] provisioning config files... [2023-10-05T05:13:42.225Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config14773014277514901814tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-05T05:13:42.523Z] ---> docker-login.sh [2023-10-05T05:13:42.523Z] nexus3.edgexfoundry.org:10001 [2023-10-05T05:13:42.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T05:13:42.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T05:13:42.523Z] Configure a credential helper to remove this warning. See [2023-10-05T05:13:42.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T05:13:42.523Z] [2023-10-05T05:13:42.523Z] Login Succeeded [2023-10-05T05:13:42.523Z] nexus3.edgexfoundry.org:10002 [2023-10-05T05:13:42.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T05:13:42.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T05:13:42.788Z] Configure a credential helper to remove this warning. See [2023-10-05T05:13:42.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T05:13:42.788Z] [2023-10-05T05:13:42.788Z] Login Succeeded [2023-10-05T05:13:42.788Z] nexus3.edgexfoundry.org:10003 [2023-10-05T05:13:42.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T05:13:42.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T05:13:42.788Z] Configure a credential helper to remove this warning. See [2023-10-05T05:13:42.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T05:13:42.788Z] [2023-10-05T05:13:42.788Z] Login Succeeded [2023-10-05T05:13:42.788Z] nexus3.edgexfoundry.org:10004 [2023-10-05T05:13:42.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T05:13:43.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T05:13:43.049Z] Configure a credential helper to remove this warning. See [2023-10-05T05:13:43.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T05:13:43.049Z] [2023-10-05T05:13:43.049Z] Login Succeeded [2023-10-05T05:13:43.049Z] docker.io [2023-10-05T05:13:43.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T05:13:43.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T05:13:43.309Z] Configure a credential helper to remove this warning. See [2023-10-05T05:13:43.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T05:13:43.309Z] [2023-10-05T05:13:43.309Z] Login Succeeded [2023-10-05T05:13:43.309Z] ---> docker-login.sh ends [Pipeline] } [2023-10-05T05:13:43.317Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-05T05:13:43.341Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-05T05:13:43.357Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2023-10-05T05:13:43.357Z] 7580ba256f83e21c693c8b45ed89252f688e6cf9 [2023-10-05T05:13:43.357Z] latest [2023-10-05T05:13:43.357Z] 3.1.0-dev.15 [2023-10-05T05:13:43.357Z] 7580ba256f83e21c693c8b45ed89252f688e6cf9-3.1.0-dev.15 [2023-10-05T05:13:43.357Z] main [2023-10-05T05:13:43.357Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:13:43.679Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:7580ba256f83e21c693c8b45ed89252f688e6cf9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:13:43.989Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:7580ba256f83e21c693c8b45ed89252f688e6cf9 [2023-10-05T05:13:43.989Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-10-05T05:13:43.989Z] 074a30deb49e: Preparing [2023-10-05T05:13:43.989Z] 883896d5e02e: Preparing [2023-10-05T05:13:43.989Z] e77956e59111: Preparing [2023-10-05T05:13:43.989Z] 928d348b96e0: Preparing [2023-10-05T05:13:43.989Z] cc2447e1835a: Preparing [2023-10-05T05:13:43.989Z] cc2447e1835a: Layer already exists [2023-10-05T05:13:43.989Z] 928d348b96e0: Pushed [2023-10-05T05:13:43.989Z] e77956e59111: Pushed [2023-10-05T05:13:43.989Z] 883896d5e02e: Pushed [2023-10-05T05:13:46.492Z] using credential edgex-jenkins-ssh [2023-10-05T05:13:46.508Z] Cloning the remote Git repository [2023-10-05T05:13:47.285Z] 074a30deb49e: Pushed [2023-10-05T05:13:47.285Z] 7580ba256f83e21c693c8b45ed89252f688e6cf9: digest: sha256:e2d8f1257bd2379d211784193ed0f58a9f7739b0b8cfdbc89f1f395a198174d3 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:13:47.603Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:13:46.549Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-10-05T05:13:46.635Z] > git init /w/workspace/device-gpio/102 # timeout=10 [2023-10-05T05:13:46.765Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-10-05T05:13:46.766Z] > git --version # timeout=10 [2023-10-05T05:13:46.786Z] > git --version # 'git version 2.25.1' [2023-10-05T05:13:46.788Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-05T05:13:46.934Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-05T05:13:47.916Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-10-05T05:13:47.916Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-10-05T05:13:47.916Z] 074a30deb49e: Preparing [2023-10-05T05:13:47.916Z] 883896d5e02e: Preparing [2023-10-05T05:13:47.916Z] e77956e59111: Preparing [2023-10-05T05:13:47.916Z] 928d348b96e0: Preparing [2023-10-05T05:13:47.916Z] cc2447e1835a: Preparing [2023-10-05T05:13:47.916Z] 928d348b96e0: Layer already exists [2023-10-05T05:13:47.916Z] cc2447e1835a: Layer already exists [2023-10-05T05:13:47.916Z] 074a30deb49e: Layer already exists [2023-10-05T05:13:47.916Z] 883896d5e02e: Layer already exists [2023-10-05T05:13:47.916Z] e77956e59111: Layer already exists [2023-10-05T05:13:47.916Z] latest: digest: sha256:e2d8f1257bd2379d211784193ed0f58a9f7739b0b8cfdbc89f1f395a198174d3 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:13:48.230Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:13:48.540Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.15 [2023-10-05T05:13:48.540Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-10-05T05:13:48.540Z] 074a30deb49e: Preparing [2023-10-05T05:13:48.540Z] 883896d5e02e: Preparing [2023-10-05T05:13:48.540Z] e77956e59111: Preparing [2023-10-05T05:13:48.540Z] 928d348b96e0: Preparing [2023-10-05T05:13:48.540Z] cc2447e1835a: Preparing [2023-10-05T05:13:48.540Z] e77956e59111: Layer already exists [2023-10-05T05:13:48.540Z] 074a30deb49e: Layer already exists [2023-10-05T05:13:48.540Z] 883896d5e02e: Layer already exists [2023-10-05T05:13:48.540Z] 928d348b96e0: Layer already exists [2023-10-05T05:13:48.540Z] cc2447e1835a: Layer already exists [2023-10-05T05:13:48.540Z] 3.1.0-dev.15: digest: sha256:e2d8f1257bd2379d211784193ed0f58a9f7739b0b8cfdbc89f1f395a198174d3 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:13:48.858Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:7580ba256f83e21c693c8b45ed89252f688e6cf9-3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:13:48.595Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-10-05T05:13:48.619Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-05T05:13:49.174Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:7580ba256f83e21c693c8b45ed89252f688e6cf9-3.1.0-dev.15 [2023-10-05T05:13:49.174Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-10-05T05:13:49.174Z] 074a30deb49e: Preparing [2023-10-05T05:13:49.174Z] 883896d5e02e: Preparing [2023-10-05T05:13:49.174Z] e77956e59111: Preparing [2023-10-05T05:13:49.174Z] 928d348b96e0: Preparing [2023-10-05T05:13:49.174Z] cc2447e1835a: Preparing [2023-10-05T05:13:49.174Z] 074a30deb49e: Layer already exists [2023-10-05T05:13:49.174Z] 883896d5e02e: Layer already exists [2023-10-05T05:13:49.174Z] e77956e59111: Layer already exists [2023-10-05T05:13:49.174Z] cc2447e1835a: Layer already exists [2023-10-05T05:13:49.174Z] 928d348b96e0: Layer already exists [2023-10-05T05:13:49.174Z] 7580ba256f83e21c693c8b45ed89252f688e6cf9-3.1.0-dev.15: digest: sha256:e2d8f1257bd2379d211784193ed0f58a9f7739b0b8cfdbc89f1f395a198174d3 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:13:49.445Z] Avoid second fetch [2023-10-05T05:13:49.446Z] Checking out Revision 7580ba256f83e21c693c8b45ed89252f688e6cf9 (main) [2023-10-05T05:13:49.484Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:13:49.796Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2023-10-05T05:13:49.796Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-10-05T05:13:49.796Z] 074a30deb49e: Preparing [2023-10-05T05:13:49.796Z] 883896d5e02e: Preparing [2023-10-05T05:13:49.796Z] e77956e59111: Preparing [2023-10-05T05:13:49.796Z] 928d348b96e0: Preparing [2023-10-05T05:13:49.796Z] cc2447e1835a: Preparing [2023-10-05T05:13:49.796Z] 928d348b96e0: Layer already exists [2023-10-05T05:13:49.796Z] 074a30deb49e: Layer already exists [2023-10-05T05:13:49.796Z] 883896d5e02e: Layer already exists [2023-10-05T05:13:49.796Z] cc2447e1835a: Layer already exists [2023-10-05T05:13:49.796Z] e77956e59111: Layer already exists [2023-10-05T05:13:49.796Z] main: digest: sha256:e2d8f1257bd2379d211784193ed0f58a9f7739b0b8cfdbc89f1f395a198174d3 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-05T05:13:49.843Z] ===================================================== [Pipeline] echo [2023-10-05T05:13:49.851Z] taggedImages: [2023-10-05T05:13:49.852Z] - nexus3.edgexfoundry.org:10004/device-gpio:7580ba256f83e21c693c8b45ed89252f688e6cf9 [2023-10-05T05:13:49.852Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-10-05T05:13:49.852Z] - nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.15 [2023-10-05T05:13:49.852Z] - nexus3.edgexfoundry.org:10004/device-gpio:7580ba256f83e21c693c8b45ed89252f688e6cf9-3.1.0-dev.15 [2023-10-05T05:13:49.852Z] - 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-10-05T05:13:49.949Z] Commit message: "Merge pull request #200 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.33" [2023-10-05T05:13:50.214Z] [2023-10-05T05:13:50.214Z] GitHub has been notified of this commit’s build result [2023-10-05T05:13:50.214Z] [2023-10-05T05:13:50.222Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-05T05:13:50.222Z] [2023-10-05T05:13:50.222Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withEnv [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:13:49.459Z] > git config core.sparsecheckout # timeout=10 [2023-10-05T05:13:49.528Z] > git checkout -f 7580ba256f83e21c693c8b45ed89252f688e6cf9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-05T05:13:50.540Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-05T05:13:50.540Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-05T05:13:50.540Z] 5eb5b503b376: Pulling fs layer [2023-10-05T05:13:50.540Z] 5c69ac0246d0: Pulling fs layer [2023-10-05T05:13:50.540Z] ec43610c2a17: Pulling fs layer [2023-10-05T05:13:50.540Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-05T05:13:50.540Z] 33b1e0a273af: Pulling fs layer [2023-10-05T05:13:50.540Z] 5d3b04190fa2: Pulling fs layer [2023-10-05T05:13:50.540Z] 2f39f015ded8: Pulling fs layer [2023-10-05T05:13:50.540Z] 5d3b04190fa2: Waiting [2023-10-05T05:13:50.540Z] 33b1e0a273af: Waiting [2023-10-05T05:13:50.540Z] 3a2ae6a8a46f: Waiting [2023-10-05T05:13:50.540Z] 5c69ac0246d0: Download complete [2023-10-05T05:13:50.540Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-05T05:13:50.540Z] 3a2ae6a8a46f: Download complete [2023-10-05T05:13:50.540Z] 33b1e0a273af: Verifying Checksum [2023-10-05T05:13:50.540Z] 33b1e0a273af: Download complete [2023-10-05T05:13:50.540Z] 5d3b04190fa2: Verifying Checksum [2023-10-05T05:13:50.540Z] 5d3b04190fa2: Download complete [2023-10-05T05:13:50.540Z] ec43610c2a17: Verifying Checksum [2023-10-05T05:13:50.540Z] ec43610c2a17: Download complete [2023-10-05T05:13:50.799Z] 5eb5b503b376: Verifying Checksum [2023-10-05T05:13:50.799Z] 5eb5b503b376: Download complete [2023-10-05T05:13:50.815Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-05T05:13:50.815Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-05T05:13:50.815Z] Dload Upload Total Spent Left Speed [2023-10-05T05:13:50.815Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh [2023-10-05T05:13:51.366Z] 2f39f015ded8: Download complete [2023-10-05T05:13:51.429Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-05T05:13:51.747Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-05T05:13:51.747Z] + sudo tee /etc/docker/daemon.new [2023-10-05T05:13:51.747Z] { [2023-10-05T05:13:51.747Z] "registry-mirrors": [ [2023-10-05T05:13:51.747Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-05T05:13:51.747Z] ], [2023-10-05T05:13:51.747Z] "bip": "10.250.0.254/24", [2023-10-05T05:13:51.747Z] "hosts": [ [2023-10-05T05:13:51.747Z] "tcp://0.0.0.0:5555", [2023-10-05T05:13:51.747Z] "unix:///var/run/docker.sock" [2023-10-05T05:13:51.747Z] ], [2023-10-05T05:13:51.747Z] "mtu": 1458, [2023-10-05T05:13:51.747Z] "selinux-enabled": true, [2023-10-05T05:13:51.747Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-05T05:13:51.747Z] } [Pipeline] sh [2023-10-05T05:13:52.071Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-05T05:13:52.391Z] 5eb5b503b376: Pull complete [2023-10-05T05:13:52.391Z] 5c69ac0246d0: Pull complete [2023-10-05T05:13:52.400Z] + sudo service docker restart [2023-10-05T05:13:52.650Z] ec43610c2a17: Pull complete [2023-10-05T05:13:52.650Z] 3a2ae6a8a46f: Pull complete [2023-10-05T05:13:52.909Z] 33b1e0a273af: Pull complete [2023-10-05T05:13:53.168Z] 5d3b04190fa2: Pull complete [2023-10-05T05:13:57.355Z] 2f39f015ded8: Pull complete [2023-10-05T05:13:57.355Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-05T05:13:57.355Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-05T05:13:57.355Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-05T05:13:57.445Z] prd-ubuntu20.04-docker-8c-8g-8548 does not seem to be running inside a container [2023-10-05T05:13:57.479Z] $ 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-10-05T05:14:01.111Z] $ docker top 5eaeb05c581a6c7abc0cae5446d2ab1f27a4d934baa7fac1f83f71ad09f80143 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-05T05:14:01.509Z] ---> job-cost.sh [2023-10-05T05:14:01.510Z] lf-activate-venv: SKIPPING [2023-10-05T05:14:01.510Z] INFO: No Stack... [2023-10-05T05:14:01.768Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-05T05:14:02.029Z] INFO: Archiving Costs [Pipeline] sh [2023-10-05T05:14:02.317Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2023-10-05T05:14:02.317Z] + cut -d, -f6 [Pipeline] lock [2023-10-05T05:14:02.330Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-102-stack-cost] [2023-10-05T05:14:02.336Z] Resource [jenkins-edgexfoundry-device-gpio-main-102-stack-cost] did not exist. Created. [2023-10-05T05:14:02.336Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-102-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-05T05:14:02.640Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-05T05:14:02.673Z] Stashed 1 file(s) [Pipeline] } [2023-10-05T05:14:02.683Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-102-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-05T05:14:02.696Z] $ docker stop --time=1 5eaeb05c581a6c7abc0cae5446d2ab1f27a4d934baa7fac1f83f71ad09f80143 [2023-10-05T05:14:03.860Z] $ docker rm -f --volumes 5eaeb05c581a6c7abc0cae5446d2ab1f27a4d934baa7fac1f83f71ad09f80143 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-05T05:14:10.643Z] provisioning config files... [2023-10-05T05:14:10.668Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/102@tmp/config14309597915698376974tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-05T05:14:11.020Z] ---> docker-login.sh [2023-10-05T05:14:11.020Z] nexus3.edgexfoundry.org:10001 [2023-10-05T05:14:11.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T05:14:11.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T05:14:11.557Z] Configure a credential helper to remove this warning. See [2023-10-05T05:14:11.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T05:14:11.557Z] [2023-10-05T05:14:11.557Z] Login Succeeded [2023-10-05T05:14:11.557Z] nexus3.edgexfoundry.org:10002 [2023-10-05T05:14:11.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T05:14:11.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T05:14:11.824Z] Configure a credential helper to remove this warning. See [2023-10-05T05:14:11.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T05:14:11.824Z] [2023-10-05T05:14:11.824Z] Login Succeeded [2023-10-05T05:14:11.825Z] nexus3.edgexfoundry.org:10003 [2023-10-05T05:14:12.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T05:14:12.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T05:14:12.366Z] Configure a credential helper to remove this warning. See [2023-10-05T05:14:12.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T05:14:12.366Z] [2023-10-05T05:14:12.366Z] Login Succeeded [2023-10-05T05:14:12.366Z] nexus3.edgexfoundry.org:10004 [2023-10-05T05:14:12.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T05:14:12.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T05:14:12.635Z] Configure a credential helper to remove this warning. See [2023-10-05T05:14:12.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T05:14:12.635Z] [2023-10-05T05:14:12.635Z] Login Succeeded [2023-10-05T05:14:12.635Z] docker.io [2023-10-05T05:14:12.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T05:14:13.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T05:14:13.172Z] Configure a credential helper to remove this warning. See [2023-10-05T05:14:13.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T05:14:13.172Z] [2023-10-05T05:14:13.172Z] Login Succeeded [2023-10-05T05:14:13.172Z] ---> docker-login.sh ends [Pipeline] } [2023-10-05T05:14:13.186Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-05T05:14:13.425Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-05T05:14:13.437Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-05T05:14:13.445Z] ========================================================= [2023-10-05T05:14:13.445Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-05T05:14:13.445Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:14:13.786Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-05T05:14:14.055Z] Sending build context to Docker daemon 8.126MB [2023-10-05T05:14:14.055Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-05T05:14:14.055Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-05T05:14:14.642Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-05T05:14:14.642Z] 9fda8d8052c6: Pulling fs layer [2023-10-05T05:14:14.642Z] 5d54e960e981: Pulling fs layer [2023-10-05T05:14:14.642Z] c4a7e357bf2a: Pulling fs layer [2023-10-05T05:14:14.642Z] f0e02332f6b5: Pulling fs layer [2023-10-05T05:14:14.642Z] cefa15bbcfad: Pulling fs layer [2023-10-05T05:14:14.642Z] 17808c966233: Pulling fs layer [2023-10-05T05:14:14.642Z] f4c1fc716caa: Pulling fs layer [2023-10-05T05:14:14.642Z] cefa15bbcfad: Waiting [2023-10-05T05:14:14.642Z] 17808c966233: Waiting [2023-10-05T05:14:14.642Z] f0e02332f6b5: Waiting [2023-10-05T05:14:14.642Z] f4c1fc716caa: Waiting [2023-10-05T05:14:14.920Z] 5d54e960e981: Verifying Checksum [2023-10-05T05:14:14.920Z] 5d54e960e981: Download complete [2023-10-05T05:14:14.920Z] f0e02332f6b5: Verifying Checksum [2023-10-05T05:14:14.920Z] f0e02332f6b5: Download complete [2023-10-05T05:14:14.920Z] cefa15bbcfad: Verifying Checksum [2023-10-05T05:14:14.920Z] cefa15bbcfad: Download complete [2023-10-05T05:14:14.920Z] 9fda8d8052c6: Download complete [2023-10-05T05:14:15.198Z] f4c1fc716caa: Verifying Checksum [2023-10-05T05:14:15.198Z] f4c1fc716caa: Download complete [2023-10-05T05:14:15.789Z] 9fda8d8052c6: Pull complete [2023-10-05T05:14:16.386Z] 5d54e960e981: Pull complete [2023-10-05T05:14:16.655Z] c4a7e357bf2a: Verifying Checksum [2023-10-05T05:14:16.655Z] c4a7e357bf2a: Download complete [2023-10-05T05:14:17.617Z] 17808c966233: Verifying Checksum [2023-10-05T05:14:17.617Z] 17808c966233: Download complete [2023-10-05T05:14:29.947Z] c4a7e357bf2a: Pull complete [2023-10-05T05:14:29.947Z] f0e02332f6b5: Pull complete [2023-10-05T05:14:29.947Z] cefa15bbcfad: Pull complete [2023-10-05T05:14:35.304Z] 17808c966233: Pull complete [2023-10-05T05:14:36.265Z] f4c1fc716caa: Pull complete [2023-10-05T05:14:36.265Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-05T05:14:36.265Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-05T05:14:36.265Z] ---> ea914061e18c [2023-10-05T05:14:36.265Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-05T05:14:38.217Z] ---> Running in 8c1ebae03a79 [2023-10-05T05:14:38.217Z] Removing intermediate container 8c1ebae03a79 [2023-10-05T05:14:38.217Z] ---> 93d7cd3fa214 [2023-10-05T05:14:38.217Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-05T05:14:38.217Z] ---> Running in f33745af370f [2023-10-05T05:14:38.484Z] Removing intermediate container f33745af370f [2023-10-05T05:14:38.484Z] ---> 2f16ca97f4be [2023-10-05T05:14:38.484Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-10-05T05:14:38.755Z] ---> Running in d80de4b5e0b1 [2023-10-05T05:14:39.022Z] Removing intermediate container d80de4b5e0b1 [2023-10-05T05:14:39.022Z] ---> 59cea1e79ea3 [2023-10-05T05:14:39.022Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-05T05:14:39.022Z] ---> Running in 20e060e9266c [2023-10-05T05:14:39.290Z] Removing intermediate container 20e060e9266c [2023-10-05T05:14:39.290Z] ---> f595d8a79cf6 [2023-10-05T05:14:39.290Z] Step 7/12 : WORKDIR /device-gpio [2023-10-05T05:14:39.290Z] ---> Running in d37dfebc31a6 [2023-10-05T05:14:39.561Z] Removing intermediate container d37dfebc31a6 [2023-10-05T05:14:39.561Z] ---> cc8a57e1ce44 [2023-10-05T05:14:39.561Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-05T05:14:39.829Z] ---> Running in 32cbde18f6c9 [2023-10-05T05:14:40.787Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-05T05:14:41.053Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-05T05:14:42.009Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-05T05:14:42.275Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-05T05:14:42.275Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-05T05:14:42.275Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-05T05:14:42.275Z] Executing busybox-1.36.1-r2.trigger [2023-10-05T05:14:42.275Z] OK: 270 MiB in 56 packages [2023-10-05T05:14:43.231Z] Removing intermediate container 32cbde18f6c9 [2023-10-05T05:14:43.231Z] ---> 0351a101f3a6 [2023-10-05T05:14:43.231Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-05T05:14:43.882Z] ---> e0cd91c42434 [2023-10-05T05:14:43.882Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-05T05:14:43.882Z] ---> Running in 182afa7a29b9 [2023-10-05T05:16:05.572Z] Removing intermediate container 182afa7a29b9 [2023-10-05T05:16:05.572Z] ---> 936126524efa [2023-10-05T05:16:05.572Z] Step 11/12 : COPY . . [2023-10-05T05:16:05.572Z] ---> 8205b35023b1 [2023-10-05T05:16:05.572Z] Step 12/12 : RUN ${MAKE} [2023-10-05T05:16:05.572Z] ---> Running in 23bc6c2d2a49 [2023-10-05T05:16:05.572Z] noop [2023-10-05T05:16:05.572Z] Removing intermediate container 23bc6c2d2a49 [2023-10-05T05:16:05.572Z] ---> 5597b1f8cc0d [2023-10-05T05:16:05.572Z] Successfully built 5597b1f8cc0d [2023-10-05T05:16:05.572Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:16:05.932Z] + docker inspect -f . ci-base-image-arm64 [2023-10-05T05:16:05.933Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-05T05:16:06.208Z] prd-ubuntu20.04-docker-arm64-4c-16g-8550 does not seem to be running inside a container [2023-10-05T05:16:06.303Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/102 -v /w/workspace/device-gpio/102:/w/workspace/device-gpio/102:rw,z -v /w/workspace/device-gpio/102@tmp:/w/workspace/device-gpio/102@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-10-05T05:16:07.597Z] $ docker top 16b1ab108906aa28a57faa302274de9e34ad081a4c30d02b213c65ef67175a4a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-05T05:16:08.424Z] + go version [2023-10-05T05:16:08.425Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-05T05:16:08.442Z] $ docker stop --time=1 16b1ab108906aa28a57faa302274de9e34ad081a4c30d02b213c65ef67175a4a [2023-10-05T05:16:10.024Z] $ docker rm -f --volumes 16b1ab108906aa28a57faa302274de9e34ad081a4c30d02b213c65ef67175a4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:16:10.597Z] + docker inspect -f . ci-base-image-arm64 [2023-10-05T05:16:10.597Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-05T05:16:10.787Z] prd-ubuntu20.04-docker-arm64-4c-16g-8550 does not seem to be running inside a container [2023-10-05T05:16:10.851Z] $ 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/102 -v /w/workspace/device-gpio/102:/w/workspace/device-gpio/102:rw,z -v /w/workspace/device-gpio/102@tmp:/w/workspace/device-gpio/102@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-10-05T05:16:11.999Z] $ docker top cee90000cf14c4bb9e448510d9717b27e7ba6c2008d344ae97e9fe6232b2fae1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-05T05:16:12.509Z] + git config --global --add safe.directory /w/workspace/device-gpio/102 [Pipeline] fileExists [Pipeline] sh [2023-10-05T05:16:13.427Z] + make test [2023-10-05T05:16:13.427Z] go test ./... -coverprofile=coverage.out ./... [2023-10-05T05:16:18.780Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-10-05T05:17:55.429Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-10-05T05:17:55.429Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-10-05T05:17:55.429Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-05T05:17:55.429Z] go vet ./... [2023-10-05T05:18:10.428Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-05T05:18:10.428Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-05T05:18:10.428Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-05T05:18:10.447Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-05T05:18:10.460Z] $ docker stop --time=1 cee90000cf14c4bb9e448510d9717b27e7ba6c2008d344ae97e9fe6232b2fae1 [2023-10-05T05:18:12.348Z] $ docker rm -f --volumes cee90000cf14c4bb9e448510d9717b27e7ba6c2008d344ae97e9fe6232b2fae1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-05T05:18:13.501Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-05T05:18:13.524Z] Warning: overwriting stash ‘coverage-report’ [2023-10-05T05:18:14.084Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-05T05:18:14.449Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-05T05:18:14.782Z] + ls -al . [2023-10-05T05:18:14.782Z] total 164 [2023-10-05T05:18:14.782Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 05:16 . [2023-10-05T05:18:14.782Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 05:13 .. [2023-10-05T05:18:14.782Z] -rw-rw-r-- 1 jenkins jenkins 120 Oct 5 05:13 .dockerignore [2023-10-05T05:18:14.782Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 05:13 .git [2023-10-05T05:18:14.782Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 05:13 .github [2023-10-05T05:18:14.782Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 5 05:13 .gitignore [2023-10-05T05:18:14.782Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 5 05:13 .golangci.yml [2023-10-05T05:18:14.782Z] -rw-rw-r-- 1 jenkins jenkins 10671 Oct 5 05:13 Attribution.txt [2023-10-05T05:18:14.782Z] -rw-rw-r-- 1 jenkins jenkins 6184 Oct 5 05:13 CHANGELOG.md [2023-10-05T05:18:14.782Z] -rw-rw-r-- 1 jenkins jenkins 1542 Oct 5 05:13 Dockerfile [2023-10-05T05:18:14.782Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 5 05:13 GOVERNANCE.md [2023-10-05T05:18:14.782Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 5 05:13 Jenkinsfile [2023-10-05T05:18:14.782Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 5 05:13 LICENSE [2023-10-05T05:18:14.782Z] -rw-rw-r-- 1 jenkins jenkins 1923 Oct 5 05:13 Makefile [2023-10-05T05:18:14.782Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 5 05:13 OWNERS.md [2023-10-05T05:18:14.782Z] -rw-rw-r-- 1 jenkins jenkins 12293 Oct 5 05:13 README.md [2023-10-05T05:18:14.782Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 5 05:11 VERSION [2023-10-05T05:18:14.782Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 05:13 bin [2023-10-05T05:18:14.782Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 05:13 cmd [2023-10-05T05:18:14.782Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 5 05:16 coverage.out [2023-10-05T05:18:14.782Z] -rw-rw-r-- 1 jenkins jenkins 3697 Oct 5 05:13 go.mod [2023-10-05T05:18:14.782Z] -rw-rw-r-- 1 jenkins jenkins 35979 Oct 5 05:13 go.sum [2023-10-05T05:18:14.782Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 05:13 internal [2023-10-05T05:18:14.782Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 05:13 snap [2023-10-05T05:18:14.782Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 5 05:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:18:15.125Z] + 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=7580ba256f83e21c693c8b45ed89252f688e6cf9 --label arch=arm64 --label version=3.1.0-dev.15 . [2023-10-05T05:18:16.088Z] Sending build context to Docker daemon 8.127MB [2023-10-05T05:18:16.088Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-05T05:18:16.088Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-05T05:18:16.088Z] ---> 5597b1f8cc0d [2023-10-05T05:18:16.088Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-05T05:18:16.088Z] ---> Running in 05f737a44a6f [2023-10-05T05:18:16.356Z] Removing intermediate container 05f737a44a6f [2023-10-05T05:18:16.356Z] ---> 27095afa4100 [2023-10-05T05:18:16.356Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-05T05:18:16.626Z] ---> Running in 25323e23642f [2023-10-05T05:18:16.900Z] Removing intermediate container 25323e23642f [2023-10-05T05:18:16.901Z] ---> 18d456909703 [2023-10-05T05:18:16.901Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-10-05T05:18:17.171Z] ---> Running in 50302b3ac904 [2023-10-05T05:18:17.440Z] Removing intermediate container 50302b3ac904 [2023-10-05T05:18:17.440Z] ---> 94e615727eea [2023-10-05T05:18:17.440Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-05T05:18:17.726Z] ---> Running in 1a4d42a7df6f [2023-10-05T05:18:17.995Z] Removing intermediate container 1a4d42a7df6f [2023-10-05T05:18:17.995Z] ---> 125312cf775f [2023-10-05T05:18:17.995Z] Step 7/25 : WORKDIR /device-gpio [2023-10-05T05:18:17.995Z] ---> Running in 70d49a2d2f6d [2023-10-05T05:18:18.275Z] Removing intermediate container 70d49a2d2f6d [2023-10-05T05:18:18.275Z] ---> f36094d873de [2023-10-05T05:18:18.275Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-05T05:18:18.543Z] ---> Running in ecf638485d55 [2023-10-05T05:18:19.506Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-05T05:18:20.092Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-05T05:18:21.053Z] OK: 270 MiB in 56 packages [2023-10-05T05:18:22.013Z] Removing intermediate container ecf638485d55 [2023-10-05T05:18:22.013Z] ---> 545231860f59 [2023-10-05T05:18:22.013Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-05T05:18:22.601Z] ---> a0a2e0220903 [2023-10-05T05:18:22.601Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-05T05:18:22.601Z] ---> Running in 7f1a8f73b2fb [2023-10-05T05:18:24.558Z] Removing intermediate container 7f1a8f73b2fb [2023-10-05T05:18:24.558Z] ---> 7def47b01788 [2023-10-05T05:18:24.558Z] Step 11/25 : COPY . . [2023-10-05T05:18:25.967Z] ---> 85c85c3c673e [2023-10-05T05:18:25.967Z] Step 12/25 : RUN ${MAKE} [2023-10-05T05:18:25.967Z] ---> Running in f4e28976fd27 [2023-10-05T05:18:27.381Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.1.0-dev.15 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.33" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-10-05T05:20:34.055Z] Removing intermediate container f4e28976fd27 [2023-10-05T05:20:34.055Z] ---> 5ab9cde78861 [2023-10-05T05:20:34.055Z] Step 13/25 : FROM alpine:3.18 [2023-10-05T05:20:34.055Z] 3.18: Pulling from library/alpine [2023-10-05T05:20:34.055Z] 579b34f0a95b: Pulling fs layer [2023-10-05T05:20:34.055Z] 579b34f0a95b: Verifying Checksum [2023-10-05T05:20:34.055Z] 579b34f0a95b: Download complete [2023-10-05T05:20:34.055Z] 579b34f0a95b: Pull complete [2023-10-05T05:20:34.055Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-05T05:20:34.055Z] Status: Downloaded newer image for alpine:3.18 [2023-10-05T05:20:34.055Z] ---> 3cc203321400 [2023-10-05T05:20:34.055Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-10-05T05:20:34.055Z] ---> Running in 1b554191983d [2023-10-05T05:20:34.055Z] Removing intermediate container 1b554191983d [2023-10-05T05:20:34.055Z] ---> 1f3339537024 [2023-10-05T05:20:34.055Z] Step 15/25 : RUN apk add --update --no-cache [2023-10-05T05:20:34.055Z] ---> Running in c71685aa743c [2023-10-05T05:20:35.475Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-05T05:20:35.743Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-05T05:20:37.152Z] OK: 8 MiB in 15 packages [2023-10-05T05:20:37.737Z] Removing intermediate container c71685aa743c [2023-10-05T05:20:37.738Z] ---> 83b907742baa [2023-10-05T05:20:37.738Z] Step 16/25 : WORKDIR / [2023-10-05T05:20:37.738Z] ---> Running in f6cd9fb05466 [2023-10-05T05:20:38.005Z] Removing intermediate container f6cd9fb05466 [2023-10-05T05:20:38.005Z] ---> dbd3330af938 [2023-10-05T05:20:38.005Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-10-05T05:20:38.591Z] ---> 023e4a7d55ca [2023-10-05T05:20:38.591Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-10-05T05:20:39.176Z] ---> 4475023cab17 [2023-10-05T05:20:39.176Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-10-05T05:20:40.598Z] ---> 65f4a565b624 [2023-10-05T05:20:40.598Z] Step 20/25 : EXPOSE 59910 [2023-10-05T05:20:40.598Z] ---> Running in 6f09bd47584b [2023-10-05T05:20:40.867Z] Removing intermediate container 6f09bd47584b [2023-10-05T05:20:40.867Z] ---> 9d15508e509a [2023-10-05T05:20:40.867Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-10-05T05:20:40.867Z] ---> Running in 02dc816df168 [2023-10-05T05:20:41.135Z] Removing intermediate container 02dc816df168 [2023-10-05T05:20:41.135Z] ---> c05fab057038 [2023-10-05T05:20:41.135Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-05T05:20:41.402Z] ---> Running in 4092aa065521 [2023-10-05T05:20:41.669Z] Removing intermediate container 4092aa065521 [2023-10-05T05:20:41.669Z] ---> 3ed72bd68aee [2023-10-05T05:20:41.669Z] Step 23/25 : LABEL arch=arm64 [2023-10-05T05:20:41.669Z] ---> Running in b66fa4851998 [2023-10-05T05:20:41.936Z] Removing intermediate container b66fa4851998 [2023-10-05T05:20:41.936Z] ---> aa343b797518 [2023-10-05T05:20:41.936Z] Step 24/25 : LABEL git_sha=7580ba256f83e21c693c8b45ed89252f688e6cf9 [2023-10-05T05:20:41.936Z] ---> Running in a583f493e3a8 [2023-10-05T05:20:42.204Z] Removing intermediate container a583f493e3a8 [2023-10-05T05:20:42.204Z] ---> 7f353f553dd9 [2023-10-05T05:20:42.204Z] Step 25/25 : LABEL version=3.1.0-dev.15 [2023-10-05T05:20:42.473Z] ---> Running in 3ce02672ff5d [2023-10-05T05:20:42.739Z] Removing intermediate container 3ce02672ff5d [2023-10-05T05:20:42.739Z] ---> 85c7aa120865 [2023-10-05T05:20:42.739Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-05T05:20:42.739Z] Successfully built 85c7aa120865 [2023-10-05T05:20:42.739Z] 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-10-05T05:20:42.882Z] provisioning config files... [2023-10-05T05:20:42.894Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/102@tmp/config15136839350875285732tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-05T05:20:43.219Z] ---> docker-login.sh [2023-10-05T05:20:43.219Z] nexus3.edgexfoundry.org:10001 [2023-10-05T05:20:43.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T05:20:43.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T05:20:43.486Z] Configure a credential helper to remove this warning. See [2023-10-05T05:20:43.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T05:20:43.486Z] [2023-10-05T05:20:43.486Z] Login Succeeded [2023-10-05T05:20:43.486Z] nexus3.edgexfoundry.org:10002 [2023-10-05T05:20:43.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T05:20:43.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T05:20:43.752Z] Configure a credential helper to remove this warning. See [2023-10-05T05:20:43.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T05:20:43.752Z] [2023-10-05T05:20:43.752Z] Login Succeeded [2023-10-05T05:20:43.752Z] nexus3.edgexfoundry.org:10003 [2023-10-05T05:20:44.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T05:20:44.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T05:20:44.019Z] Configure a credential helper to remove this warning. See [2023-10-05T05:20:44.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T05:20:44.019Z] [2023-10-05T05:20:44.019Z] Login Succeeded [2023-10-05T05:20:44.285Z] nexus3.edgexfoundry.org:10004 [2023-10-05T05:20:44.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T05:20:44.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T05:20:44.552Z] Configure a credential helper to remove this warning. See [2023-10-05T05:20:44.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T05:20:44.552Z] [2023-10-05T05:20:44.552Z] Login Succeeded [2023-10-05T05:20:44.552Z] docker.io [2023-10-05T05:20:44.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-05T05:20:45.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-05T05:20:45.082Z] Configure a credential helper to remove this warning. See [2023-10-05T05:20:45.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-05T05:20:45.082Z] [2023-10-05T05:20:45.082Z] Login Succeeded [2023-10-05T05:20:45.082Z] ---> docker-login.sh ends [Pipeline] } [2023-10-05T05:20:45.095Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-05T05:20:45.133Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-05T05:20:45.161Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2023-10-05T05:20:45.161Z] 7580ba256f83e21c693c8b45ed89252f688e6cf9 [2023-10-05T05:20:45.161Z] latest [2023-10-05T05:20:45.161Z] 3.1.0-dev.15 [2023-10-05T05:20:45.161Z] 7580ba256f83e21c693c8b45ed89252f688e6cf9-3.1.0-dev.15 [2023-10-05T05:20:45.161Z] main [2023-10-05T05:20:45.161Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:20:45.522Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:7580ba256f83e21c693c8b45ed89252f688e6cf9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:20:45.863Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:7580ba256f83e21c693c8b45ed89252f688e6cf9 [2023-10-05T05:20:45.864Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-10-05T05:20:45.864Z] 11ddbe8778ec: Preparing [2023-10-05T05:20:45.864Z] 9ba6148f2063: Preparing [2023-10-05T05:20:45.864Z] cdee38543b1b: Preparing [2023-10-05T05:20:45.864Z] cf56880dfd25: Preparing [2023-10-05T05:20:45.864Z] 5f4d9fc4d98d: Preparing [2023-10-05T05:20:45.864Z] 5f4d9fc4d98d: Layer already exists [2023-10-05T05:20:46.129Z] 9ba6148f2063: Pushed [2023-10-05T05:20:46.129Z] cf56880dfd25: Pushed [2023-10-05T05:20:46.129Z] cdee38543b1b: Pushed [2023-10-05T05:20:51.545Z] 11ddbe8778ec: Pushed [2023-10-05T05:20:51.545Z] 7580ba256f83e21c693c8b45ed89252f688e6cf9: digest: sha256:510bed53fe96533fdaaa4e39520f1beb02ca40fd4c36079d8fdff95d8fe4fb7c size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:20:51.906Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:20:52.271Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-10-05T05:20:52.271Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-10-05T05:20:52.271Z] 11ddbe8778ec: Preparing [2023-10-05T05:20:52.271Z] 9ba6148f2063: Preparing [2023-10-05T05:20:52.271Z] cdee38543b1b: Preparing [2023-10-05T05:20:52.271Z] cf56880dfd25: Preparing [2023-10-05T05:20:52.271Z] 5f4d9fc4d98d: Preparing [2023-10-05T05:20:52.271Z] cdee38543b1b: Layer already exists [2023-10-05T05:20:52.271Z] cf56880dfd25: Layer already exists [2023-10-05T05:20:52.271Z] 9ba6148f2063: Layer already exists [2023-10-05T05:20:52.271Z] 5f4d9fc4d98d: Layer already exists [2023-10-05T05:20:52.271Z] 11ddbe8778ec: Layer already exists [2023-10-05T05:20:52.271Z] latest: digest: sha256:510bed53fe96533fdaaa4e39520f1beb02ca40fd4c36079d8fdff95d8fe4fb7c size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:20:52.640Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:20:52.990Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.15 [2023-10-05T05:20:52.990Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-10-05T05:20:52.990Z] 11ddbe8778ec: Preparing [2023-10-05T05:20:52.990Z] 9ba6148f2063: Preparing [2023-10-05T05:20:52.990Z] cdee38543b1b: Preparing [2023-10-05T05:20:52.990Z] cf56880dfd25: Preparing [2023-10-05T05:20:52.990Z] 5f4d9fc4d98d: Preparing [2023-10-05T05:20:52.990Z] 5f4d9fc4d98d: Layer already exists [2023-10-05T05:20:52.990Z] 11ddbe8778ec: Layer already exists [2023-10-05T05:20:52.990Z] 9ba6148f2063: Layer already exists [2023-10-05T05:20:52.990Z] cf56880dfd25: Layer already exists [2023-10-05T05:20:52.990Z] cdee38543b1b: Layer already exists [2023-10-05T05:20:52.990Z] 3.1.0-dev.15: digest: sha256:510bed53fe96533fdaaa4e39520f1beb02ca40fd4c36079d8fdff95d8fe4fb7c size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:20:53.336Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:7580ba256f83e21c693c8b45ed89252f688e6cf9-3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:20:53.673Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:7580ba256f83e21c693c8b45ed89252f688e6cf9-3.1.0-dev.15 [2023-10-05T05:20:53.673Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-10-05T05:20:53.673Z] 11ddbe8778ec: Preparing [2023-10-05T05:20:53.673Z] 9ba6148f2063: Preparing [2023-10-05T05:20:53.673Z] cdee38543b1b: Preparing [2023-10-05T05:20:53.673Z] cf56880dfd25: Preparing [2023-10-05T05:20:53.673Z] 5f4d9fc4d98d: Preparing [2023-10-05T05:20:53.673Z] 11ddbe8778ec: Layer already exists [2023-10-05T05:20:53.673Z] cdee38543b1b: Layer already exists [2023-10-05T05:20:53.673Z] 9ba6148f2063: Layer already exists [2023-10-05T05:20:53.673Z] cf56880dfd25: Layer already exists [2023-10-05T05:20:53.673Z] 5f4d9fc4d98d: Layer already exists [2023-10-05T05:20:53.673Z] 7580ba256f83e21c693c8b45ed89252f688e6cf9-3.1.0-dev.15: digest: sha256:510bed53fe96533fdaaa4e39520f1beb02ca40fd4c36079d8fdff95d8fe4fb7c size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:20:54.021Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:20:54.364Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2023-10-05T05:20:54.364Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-10-05T05:20:54.364Z] 11ddbe8778ec: Preparing [2023-10-05T05:20:54.364Z] 9ba6148f2063: Preparing [2023-10-05T05:20:54.364Z] cdee38543b1b: Preparing [2023-10-05T05:20:54.364Z] cf56880dfd25: Preparing [2023-10-05T05:20:54.364Z] 5f4d9fc4d98d: Preparing [2023-10-05T05:20:54.364Z] 11ddbe8778ec: Layer already exists [2023-10-05T05:20:54.364Z] cf56880dfd25: Layer already exists [2023-10-05T05:20:54.364Z] cdee38543b1b: Layer already exists [2023-10-05T05:20:54.364Z] 9ba6148f2063: Layer already exists [2023-10-05T05:20:54.364Z] 5f4d9fc4d98d: Layer already exists [2023-10-05T05:20:54.364Z] main: digest: sha256:510bed53fe96533fdaaa4e39520f1beb02ca40fd4c36079d8fdff95d8fe4fb7c size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-05T05:20:54.419Z] ===================================================== [Pipeline] echo [2023-10-05T05:20:54.427Z] taggedImages: [2023-10-05T05:20:54.427Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:7580ba256f83e21c693c8b45ed89252f688e6cf9 [2023-10-05T05:20:54.427Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-10-05T05:20:54.427Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.15 [2023-10-05T05:20:54.427Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:7580ba256f83e21c693c8b45ed89252f688e6cf9-3.1.0-dev.15 [2023-10-05T05:20:54.427Z] - 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-10-05T05:20:54.789Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-05T05:20:54.789Z] [2023-10-05T05:20:54.789Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:20:55.119Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-05T05:20:55.119Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-05T05:20:55.119Z] 8998bd30e6a1: Pulling fs layer [2023-10-05T05:20:55.119Z] 04944245beec: Pulling fs layer [2023-10-05T05:20:55.119Z] 699f458cf7ca: Pulling fs layer [2023-10-05T05:20:55.119Z] 765212b225bb: Pulling fs layer [2023-10-05T05:20:55.119Z] f23df028b6ca: Pulling fs layer [2023-10-05T05:20:55.119Z] d65c8cfc05b1: Pulling fs layer [2023-10-05T05:20:55.119Z] 2437ff75d9bd: Pulling fs layer [2023-10-05T05:20:55.119Z] 765212b225bb: Waiting [2023-10-05T05:20:55.119Z] d65c8cfc05b1: Waiting [2023-10-05T05:20:55.119Z] 2437ff75d9bd: Waiting [2023-10-05T05:20:55.387Z] 04944245beec: Verifying Checksum [2023-10-05T05:20:55.387Z] 04944245beec: Download complete [2023-10-05T05:20:55.387Z] 765212b225bb: Verifying Checksum [2023-10-05T05:20:55.387Z] 765212b225bb: Download complete [2023-10-05T05:20:55.387Z] f23df028b6ca: Verifying Checksum [2023-10-05T05:20:55.387Z] f23df028b6ca: Download complete [2023-10-05T05:20:55.387Z] d65c8cfc05b1: Verifying Checksum [2023-10-05T05:20:55.387Z] d65c8cfc05b1: Download complete [2023-10-05T05:20:55.387Z] 699f458cf7ca: Verifying Checksum [2023-10-05T05:20:55.387Z] 699f458cf7ca: Download complete [2023-10-05T05:20:55.992Z] 8998bd30e6a1: Verifying Checksum [2023-10-05T05:20:55.992Z] 8998bd30e6a1: Download complete [2023-10-05T05:20:58.576Z] 2437ff75d9bd: Verifying Checksum [2023-10-05T05:20:58.576Z] 2437ff75d9bd: Download complete [2023-10-05T05:20:59.985Z] 8998bd30e6a1: Pull complete [2023-10-05T05:21:04.235Z] 04944245beec: Pull complete [2023-10-05T05:21:05.197Z] 699f458cf7ca: Pull complete [2023-10-05T05:21:05.464Z] 765212b225bb: Pull complete [2023-10-05T05:21:06.047Z] f23df028b6ca: Pull complete [2023-10-05T05:21:06.315Z] d65c8cfc05b1: Pull complete [2023-10-05T05:21:21.305Z] 2437ff75d9bd: Pull complete [2023-10-05T05:21:21.305Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-05T05:21:21.305Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-05T05:21:21.305Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-05T05:21:21.507Z] prd-ubuntu20.04-docker-arm64-4c-16g-8550 does not seem to be running inside a container [2023-10-05T05:21:21.570Z] $ 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/102 -v /w/workspace/device-gpio/102:/w/workspace/device-gpio/102:rw,z -v /w/workspace/device-gpio/102@tmp:/w/workspace/device-gpio/102@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-10-05T05:21:24.072Z] $ docker top 796a82ed3bd2380169eaecb97f8ff95119e92d50ef17c06408fce8564ee43e67 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-05T05:21:24.913Z] ---> job-cost.sh [2023-10-05T05:21:24.913Z] lf-activate-venv: SKIPPING [2023-10-05T05:21:24.913Z] INFO: No Stack... [2023-10-05T05:21:25.180Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-05T05:21:26.136Z] INFO: Archiving Costs [Pipeline] sh [2023-10-05T05:21:26.451Z] + cat /w/workspace/device-gpio/102/archives/cost.csv [2023-10-05T05:21:26.451Z] + cut -d, -f6 [Pipeline] lock [2023-10-05T05:21:26.511Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-102-stack-cost] [2023-10-05T05:21:26.516Z] Resource [jenkins-edgexfoundry-device-gpio-main-102-stack-cost] did not exist. Created. [2023-10-05T05:21:26.516Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-102-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-05T05:21:26.847Z] /w/workspace/device-gpio/102@tmp/durable-5b1803e8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-05T05:21:27.177Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-05T05:21:27.197Z] Warning: overwriting stash ‘stack-cost’ [2023-10-05T05:21:27.256Z] Stashed 1 file(s) [Pipeline] } [2023-10-05T05:21:27.265Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-102-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-05T05:21:27.281Z] $ docker stop --time=1 796a82ed3bd2380169eaecb97f8ff95119e92d50ef17c06408fce8564ee43e67 [2023-10-05T05:21:30.090Z] $ docker rm -f --volumes 796a82ed3bd2380169eaecb97f8ff95119e92d50ef17c06408fce8564ee43e67 [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-10-05T05:21:30.472Z] provisioning config files... [2023-10-05T05:21:30.481Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config6575339387767458363tmp [Pipeline] { [Pipeline] sh [2023-10-05T05:21:30.774Z] + set +x [2023-10-05T05:21:30.774Z] + curl -s https://codecov.io/bash [2023-10-05T05:21:30.774Z] + bash -s -- [2023-10-05T05:21:30.774Z] [2023-10-05T05:21:30.774Z] _____ _ [2023-10-05T05:21:30.774Z] / ____| | | [2023-10-05T05:21:30.774Z] | | ___ __| | ___ ___ _____ __ [2023-10-05T05:21:30.774Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-05T05:21:30.774Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-05T05:21:30.774Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-05T05:21:30.774Z] Bash-1.0.6 [2023-10-05T05:21:30.774Z] [2023-10-05T05:21:30.774Z] [2023-10-05T05:21:30.774Z] ==> git version 2.25.1 found [2023-10-05T05:21:30.774Z] ==> 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-10-05T05:21:30.774Z] Release-Date: 2020-01-08 [2023-10-05T05:21:30.774Z] 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-10-05T05:21:30.774Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-05T05:21:30.774Z] ==> Jenkins CI detected. [2023-10-05T05:21:30.774Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2023-10-05T05:21:30.774Z] project root: . [2023-10-05T05:21:30.774Z] --> token set from env [2023-10-05T05:21:30.774Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-05T05:21:30.774Z] ==> Running gcov in . (disable via -X gcov) [2023-10-05T05:21:30.774Z] ==> Python coveragepy not found [2023-10-05T05:21:30.774Z] ==> Searching for coverage reports in: [2023-10-05T05:21:30.774Z] + . [2023-10-05T05:21:30.774Z] -> Found 1 reports [2023-10-05T05:21:30.774Z] ==> Detecting git/mercurial file structure [2023-10-05T05:21:31.032Z] ==> Reading reports [2023-10-05T05:21:31.032Z] + ./coverage.out bytes=10 [2023-10-05T05:21:31.032Z] ==> Appending adjustments [2023-10-05T05:21:31.032Z] https://docs.codecov.io/docs/fixing-reports [2023-10-05T05:21:31.032Z] + Found adjustments [2023-10-05T05:21:31.032Z] ==> Gzipping contents [2023-10-05T05:21:31.032Z] 4.0K /tmp/codecov.EREK1H.gz [2023-10-05T05:21:31.032Z] ==> Uploading reports [2023-10-05T05:21:31.032Z] url: https://codecov.io [2023-10-05T05:21:31.032Z] query: branch=main&commit=7580ba256f83e21c693c8b45ed89252f688e6cf9&build=102&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F102%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-05T05:21:31.032Z] -> Pinging Codecov [2023-10-05T05:21:31.032Z] 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=7580ba256f83e21c693c8b45ed89252f688e6cf9&build=102&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F102%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-05T05:21:31.290Z] -> Uploading to [2023-10-05T05:21:31.290Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-05/3EC07B1A8CA8AF9BCAA0BB9F0134797F/7580ba256f83e21c693c8b45ed89252f688e6cf9/b1ec7a3e-769e-431b-a502-eafbc6c96261.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231005%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231005T052131Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9d80678a5c4eb3593b179266e9e1741ecbc15a31817a36f3309a3f861ca79276 [2023-10-05T05:21:31.290Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-05T05:21:31.290Z] Dload Upload Total Spent Left Speed [2023-10-05T05:21:31.549Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 2839 --:--:-- --:--:-- --:--:-- 2839 [2023-10-05T05:21:31.549Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/7580ba256f83e21c693c8b45ed89252f688e6cf9 [Pipeline] } [2023-10-05T05:21:31.556Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-05T05:21:31.746Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-05T05:21:31.755Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:21:32.047Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-05T05:21:32.047Z] [2023-10-05T05:21:32.047Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:21:32.349Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-05T05:21:32.349Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-05T05:21:32.349Z] df9b9388f04a: Pulling fs layer [2023-10-05T05:21:32.349Z] 52dc419b0ee2: Pulling fs layer [2023-10-05T05:21:32.349Z] 25bc292e5bac: Pulling fs layer [2023-10-05T05:21:32.349Z] 114826534d7a: Pulling fs layer [2023-10-05T05:21:32.349Z] 4657fd5d0bcf: Pulling fs layer [2023-10-05T05:21:32.349Z] 6ad1cebc031e: Pulling fs layer [2023-10-05T05:21:32.349Z] 8a3aa393b2d8: Pulling fs layer [2023-10-05T05:21:32.349Z] 4657fd5d0bcf: Waiting [2023-10-05T05:21:32.349Z] 8a3aa393b2d8: Waiting [2023-10-05T05:21:32.349Z] 6ad1cebc031e: Waiting [2023-10-05T05:21:32.349Z] 114826534d7a: Waiting [2023-10-05T05:21:32.349Z] 25bc292e5bac: Verifying Checksum [2023-10-05T05:21:32.349Z] 25bc292e5bac: Download complete [2023-10-05T05:21:32.349Z] 52dc419b0ee2: Verifying Checksum [2023-10-05T05:21:32.349Z] 52dc419b0ee2: Download complete [2023-10-05T05:21:32.349Z] 4657fd5d0bcf: Verifying Checksum [2023-10-05T05:21:32.349Z] df9b9388f04a: Download complete [2023-10-05T05:21:32.349Z] 6ad1cebc031e: Verifying Checksum [2023-10-05T05:21:32.349Z] 6ad1cebc031e: Download complete [2023-10-05T05:21:32.607Z] df9b9388f04a: Pull complete [2023-10-05T05:21:32.608Z] 52dc419b0ee2: Pull complete [2023-10-05T05:21:32.608Z] 25bc292e5bac: Pull complete [2023-10-05T05:21:33.173Z] 114826534d7a: Download complete [2023-10-05T05:21:33.173Z] 8a3aa393b2d8: Download complete [2023-10-05T05:21:36.455Z] 114826534d7a: Pull complete [2023-10-05T05:21:36.455Z] 4657fd5d0bcf: Pull complete [2023-10-05T05:21:36.713Z] 6ad1cebc031e: Pull complete [2023-10-05T05:21:39.238Z] 8a3aa393b2d8: Pull complete [2023-10-05T05:21:39.238Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-05T05:21:39.238Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-05T05:21:39.238Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-05T05:21:39.311Z] prd-ubuntu20.04-docker-8c-8g-8548 does not seem to be running inside a container [2023-10-05T05:21:39.305Z] $ 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-10-05T05:21:42.801Z] $ docker top 476577af487516db944f037c4278bf6439bf6e80b7db0a1e36750eb359490381 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-05T05:21:42.907Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2023-10-05T05:21:43.186Z] + set -o pipefail [2023-10-05T05:21:43.187Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2023-10-05T05:21:47.373Z] [2023-10-05T05:21:47.373Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2023-10-05T05:21:47.373Z] [2023-10-05T05:21:47.373Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/92de71bd-22a0-45f3-8d75-2d78ede38b41 [2023-10-05T05:21:47.373Z] [2023-10-05T05:21:47.373Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-10-05T05:21:47.373Z] [2023-10-05T05:21:47.373Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-05T05:21:47.373Z] [2023-10-05T05:21:47.633Z] [2023-10-05T05:21:47.633Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-05T05:21:47.633Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-05T05:21:47.633Z] More details here: https://snyk.co/ue1NS [2023-10-05T05:21:47.633Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-10-05T05:21:47.633Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-10-05T05:21:47.605Z] $ docker stop --time=1 476577af487516db944f037c4278bf6439bf6e80b7db0a1e36750eb359490381 [2023-10-05T05:21:50.640Z] $ docker rm -f --volumes 476577af487516db944f037c4278bf6439bf6e80b7db0a1e36750eb359490381 [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-10-05T05:21:51.377Z] + git log --format=format:%s -1 7580ba256f83e21c693c8b45ed89252f688e6cf9 [Pipeline] sh [2023-10-05T05:21:51.664Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-05T05:21:51.664Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:21:51.969Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-05T05:21:51.969Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-05T05:21:52.042Z] prd-ubuntu20.04-docker-8c-8g-8548 does not seem to be running inside a container [2023-10-05T05:21:52.031Z] $ 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-10-05T05:21:52.504Z] $ docker top a426db296d316af16dab2cd5836afaa7f25b486b921c568ab58af06f9689a161 -eo pid,comm [2023-10-05T05:21:52.593Z] 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-10-05T05:21:52.593Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-05T05:21:52.628Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-05T05:21:52.628Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-05T05:21:52.754Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-05T05:21:52.717Z] $ docker exec a426db296d316af16dab2cd5836afaa7f25b486b921c568ab58af06f9689a161 ssh-agent [2023-10-05T05:21:52.860Z] SSH_AUTH_SOCK=/tmp/ssh-eD4zS7oMOsJU/agent.32 [2023-10-05T05:21:52.860Z] SSH_AGENT_PID=38 [2023-10-05T05:21:52.865Z] Running ssh-add (command line suppressed) [2023-10-05T05:21:52.932Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7319675527459531212.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7319675527459531212.key) [2023-10-05T05:21:52.986Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-05T05:21:53.269Z] + git semver tag [2023-10-05T05:21:53.528Z] 2023-10-05 05:21:53,410 [run_tag] DEBUG tag force:False [2023-10-05T05:21:53.528Z] 2023-10-05 05:21:53,410 [check_head_tag] DEBUG check head tag [2023-10-05T05:21:53.528Z] 2023-10-05 05:21:53,411 [execute] INFO git cat-file --batch-check [2023-10-05T05:21:53.528Z] 2023-10-05 05:21:53,411 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-10-05T05:21:53.528Z] 2023-10-05 05:21:53,415 [execute] INFO git cat-file --batch [2023-10-05T05:21:53.528Z] 2023-10-05 05:21:53,416 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-10-05T05:21:53.528Z] 2023-10-05 05:21:53,426 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-05T05:21:53.528Z] 2023-10-05 05:21:53,426 [execute] INFO git tag -a v3.1.0-dev.15 -m v3.1.0-dev.15 [2023-10-05T05:21:53.528Z] 2023-10-05 05:21:53,426 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.15', '-m', 'v3.1.0-dev.15'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-10-05T05:21:53.528Z] 2023-10-05 05:21:53,431 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-05T05:21:53.528Z] 3.1.0-dev.15 [Pipeline] } [2023-10-05T05:21:53.498Z] $ docker exec --env ******** --env ******** a426db296d316af16dab2cd5836afaa7f25b486b921c568ab58af06f9689a161 ssh-agent -k [2023-10-05T05:21:53.607Z] unset SSH_AUTH_SOCK; [2023-10-05T05:21:53.607Z] unset SSH_AGENT_PID; [2023-10-05T05:21:53.607Z] echo Agent pid 38 killed; [2023-10-05T05:21:53.658Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-05T05:21:53.968Z] + git semver [Pipeline] } [2023-10-05T05:21:54.206Z] $ docker stop --time=1 a426db296d316af16dab2cd5836afaa7f25b486b921c568ab58af06f9689a161 [2023-10-05T05:21:55.479Z] $ docker rm -f --volumes a426db296d316af16dab2cd5836afaa7f25b486b921c568ab58af06f9689a161 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:21:55.880Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-05T05:21:55.881Z] [2023-10-05T05:21:55.881Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:21:56.178Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-05T05:21:56.178Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-05T05:21:56.178Z] ab5ef0e58194: Pulling fs layer [2023-10-05T05:21:56.178Z] 9712f1f96733: Pulling fs layer [2023-10-05T05:21:56.178Z] 63f879dbbcfc: Pulling fs layer [2023-10-05T05:21:56.178Z] 0d9ebad4ef96: Pulling fs layer [2023-10-05T05:21:56.178Z] e9a5061849ea: Pulling fs layer [2023-10-05T05:21:56.178Z] d747dcd14b5f: Pulling fs layer [2023-10-05T05:21:56.178Z] 2de7ff778b66: Pulling fs layer [2023-10-05T05:21:56.178Z] 0d9ebad4ef96: Waiting [2023-10-05T05:21:56.178Z] e9a5061849ea: Waiting [2023-10-05T05:21:56.178Z] d747dcd14b5f: Waiting [2023-10-05T05:21:56.178Z] 9712f1f96733: Verifying Checksum [2023-10-05T05:21:56.178Z] 9712f1f96733: Download complete [2023-10-05T05:21:56.438Z] 63f879dbbcfc: Verifying Checksum [2023-10-05T05:21:56.438Z] 63f879dbbcfc: Download complete [2023-10-05T05:21:56.697Z] e9a5061849ea: Verifying Checksum [2023-10-05T05:21:56.697Z] e9a5061849ea: Download complete [2023-10-05T05:21:56.697Z] 0d9ebad4ef96: Verifying Checksum [2023-10-05T05:21:56.697Z] 0d9ebad4ef96: Download complete [2023-10-05T05:21:56.697Z] d747dcd14b5f: Verifying Checksum [2023-10-05T05:21:56.697Z] d747dcd14b5f: Download complete [2023-10-05T05:21:56.697Z] ab5ef0e58194: Download complete [2023-10-05T05:21:56.697Z] 2de7ff778b66: Verifying Checksum [2023-10-05T05:21:56.697Z] 2de7ff778b66: Download complete [2023-10-05T05:21:59.222Z] ab5ef0e58194: Pull complete [2023-10-05T05:21:59.222Z] 9712f1f96733: Pull complete [2023-10-05T05:22:00.156Z] 63f879dbbcfc: Pull complete [2023-10-05T05:22:03.443Z] 0d9ebad4ef96: Pull complete [2023-10-05T05:22:03.443Z] e9a5061849ea: Pull complete [2023-10-05T05:22:03.443Z] d747dcd14b5f: Pull complete [2023-10-05T05:22:04.375Z] 2de7ff778b66: Pull complete [2023-10-05T05:22:04.375Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-05T05:22:04.375Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-05T05:22:04.375Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-05T05:22:04.461Z] prd-ubuntu20.04-docker-8c-8g-8548 does not seem to be running inside a container [2023-10-05T05:22:04.451Z] $ 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-10-05T05:22:08.818Z] $ docker top 0bec32e1c4b3a3d9e73584241051b4554a0dd446a9f46b5faab37e003019ef45 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-05T05:22:08.930Z] provisioning config files... [2023-10-05T05:22:08.936Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config3315212417380536632tmp [2023-10-05T05:22:08.945Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config3154704832782012147tmp [2023-10-05T05:22:08.954Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config16146279967506185188tmp [Pipeline] { [Pipeline] echo [2023-10-05T05:22:08.967Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-05T05:22:09.246Z] ---> sigul-configuration.sh [2023-10-05T05:22:09.247Z] gpg: directory `/root/.gnupg' created [2023-10-05T05:22:09.247Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-05T05:22:09.247Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-05T05:22:09.247Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-05T05:22:09.247Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-05T05:22:09.247Z] gpg: CAST5 encrypted data [2023-10-05T05:22:09.247Z] gpg: encrypted with 1 passphrase [2023-10-05T05:22:09.247Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-05T05:22:09.531Z] + mkdir /home/jenkins [2023-10-05T05:22:09.531Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-05T05:22:09.818Z] + 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-10-05T05:22:09.830Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-05T05:22:10.324Z] ---> sigul-install.sh [2023-10-05T05:22:10.324Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-05T05:22:10.615Z] + git tag --list [2023-10-05T05:22:10.615Z] v1.0.0 [2023-10-05T05:22:10.615Z] v2.1.0 [2023-10-05T05:22:10.615Z] v2.1.1 [2023-10-05T05:22:10.615Z] v2.2.0 [2023-10-05T05:22:10.615Z] v2.3.0 [2023-10-05T05:22:10.615Z] v3.0 [2023-10-05T05:22:10.615Z] v3.0.0 [2023-10-05T05:22:10.615Z] v3.1.0-dev.1 [2023-10-05T05:22:10.615Z] v3.1.0-dev.10 [2023-10-05T05:22:10.615Z] v3.1.0-dev.11 [2023-10-05T05:22:10.615Z] v3.1.0-dev.12 [2023-10-05T05:22:10.615Z] v3.1.0-dev.13 [2023-10-05T05:22:10.615Z] v3.1.0-dev.14 [2023-10-05T05:22:10.615Z] v3.1.0-dev.15 [2023-10-05T05:22:10.615Z] v3.1.0-dev.2 [2023-10-05T05:22:10.615Z] v3.1.0-dev.3 [2023-10-05T05:22:10.615Z] v3.1.0-dev.4 [2023-10-05T05:22:10.615Z] v3.1.0-dev.5 [2023-10-05T05:22:10.615Z] v3.1.0-dev.6 [2023-10-05T05:22:10.615Z] v3.1.0-dev.7 [2023-10-05T05:22:10.615Z] v3.1.0-dev.8 [2023-10-05T05:22:10.615Z] v3.1.0-dev.9 [Pipeline] sh [2023-10-05T05:22:10.902Z] + lftools sign git-tag v3.1.0-dev.15 [2023-10-05T05:22:11.470Z] Signing Git tag with Sigul... [2023-10-05T05:22:11.470Z] Signing v3.1.0-dev.15 [Pipeline] echo [2023-10-05T05:22:11.737Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-05T05:22:12.021Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-05T05:22:12.029Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-05T05:22:12.005Z] $ docker stop --time=1 0bec32e1c4b3a3d9e73584241051b4554a0dd446a9f46b5faab37e003019ef45 [2023-10-05T05:22:13.285Z] $ docker rm -f --volumes 0bec32e1c4b3a3d9e73584241051b4554a0dd446a9f46b5faab37e003019ef45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-05T05:22:13.733Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-05T05:22:13.734Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:22:14.031Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-05T05:22:14.031Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-05T05:22:14.101Z] prd-ubuntu20.04-docker-8c-8g-8548 does not seem to be running inside a container [2023-10-05T05:22:14.088Z] $ 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-10-05T05:22:14.399Z] $ docker top 4e3ef24745c37301a1d0995ef3b7c32e76b9cc7f52cb7af2f4b761dddf74d200 -eo pid,comm [2023-10-05T05:22:14.486Z] 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-10-05T05:22:14.486Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-05T05:22:14.524Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-05T05:22:14.524Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-05T05:22:14.637Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-05T05:22:14.600Z] $ docker exec 4e3ef24745c37301a1d0995ef3b7c32e76b9cc7f52cb7af2f4b761dddf74d200 ssh-agent [2023-10-05T05:22:14.735Z] SSH_AUTH_SOCK=/tmp/ssh-laqMaaBm7Ls8/agent.32 [2023-10-05T05:22:14.735Z] SSH_AGENT_PID=38 [2023-10-05T05:22:14.740Z] Running ssh-add (command line suppressed) [2023-10-05T05:22:14.799Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1157573002652679640.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1157573002652679640.key) [2023-10-05T05:22:14.852Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-05T05:22:15.136Z] + git semver bump pre [2023-10-05T05:22:15.394Z] 2023-10-05 05:22:15,267 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-05T05:22:15.394Z] 2023-10-05 05:22:15,267 [bump_version] DEBUG bumping version:3.1.0-dev.15 on axis:pre with prefix:dev [2023-10-05T05:22:15.394Z] 2023-10-05 05:22:15,267 [bump_version] DEBUG bumped version:3.1.0-dev.16 [2023-10-05T05:22:15.394Z] 2023-10-05 05:22:15,267 [write_version] DEBUG write version:3.1.0-dev.16 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True [2023-10-05T05:22:15.394Z] 2023-10-05 05:22:15,268 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-05T05:22:15.394Z] 2023-10-05 05:22:15,268 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-05T05:22:15.394Z] 2023-10-05 05:22:15,270 [execute] INFO git cat-file --batch-check [2023-10-05T05:22:15.394Z] 2023-10-05 05:22:15,270 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-05T05:22:15.394Z] 2023-10-05 05:22:15,275 [execute] INFO git cat-file --batch [2023-10-05T05:22:15.394Z] 2023-10-05 05:22:15,275 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-05T05:22:15.394Z] 2023-10-05 05:22:15,280 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-05T05:22:15.394Z] 3.1.0-dev.16 [Pipeline] } [2023-10-05T05:22:15.364Z] $ docker exec --env ******** --env ******** 4e3ef24745c37301a1d0995ef3b7c32e76b9cc7f52cb7af2f4b761dddf74d200 ssh-agent -k [2023-10-05T05:22:15.462Z] unset SSH_AUTH_SOCK; [2023-10-05T05:22:15.462Z] unset SSH_AGENT_PID; [2023-10-05T05:22:15.462Z] echo Agent pid 38 killed; [2023-10-05T05:22:15.510Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-05T05:22:15.808Z] + git semver [Pipeline] } [2023-10-05T05:22:16.041Z] $ docker stop --time=1 4e3ef24745c37301a1d0995ef3b7c32e76b9cc7f52cb7af2f4b761dddf74d200 [2023-10-05T05:22:17.292Z] $ docker rm -f --volumes 4e3ef24745c37301a1d0995ef3b7c32e76b9cc7f52cb7af2f4b761dddf74d200 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-05T05:22:17.671Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-05T05:22:17.671Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:22:17.971Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-05T05:22:17.971Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-05T05:22:18.043Z] prd-ubuntu20.04-docker-8c-8g-8548 does not seem to be running inside a container [2023-10-05T05:22:18.033Z] $ 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-10-05T05:22:18.369Z] $ docker top 32755c081d762b6464766d1b8d64e28334b4606df2f3edee03aad73fead43f89 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-05T05:22:18.490Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-05T05:22:18.491Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-05T05:22:18.592Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-05T05:22:18.555Z] $ docker exec 32755c081d762b6464766d1b8d64e28334b4606df2f3edee03aad73fead43f89 ssh-agent [2023-10-05T05:22:18.693Z] SSH_AUTH_SOCK=/tmp/ssh-QoVa6pJG9UnL/agent.32 [2023-10-05T05:22:18.693Z] SSH_AGENT_PID=38 [2023-10-05T05:22:18.697Z] Running ssh-add (command line suppressed) [2023-10-05T05:22:18.752Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_14037480076485952291.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_14037480076485952291.key) [2023-10-05T05:22:18.804Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-05T05:22:19.091Z] + git semver push [2023-10-05T05:22:19.350Z] 2023-10-05 05:22:19,211 [run_push] DEBUG push [2023-10-05T05:22:19.350Z] 2023-10-05 05:22:19,212 [execute] INFO git cat-file --batch-check [2023-10-05T05:22:19.350Z] 2023-10-05 05:22:19,212 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-05T05:22:19.350Z] 2023-10-05 05:22:19,215 [execute] INFO git rev-list a76f1926554c5691c807089d9e3fdfaae8d5a778 -- [2023-10-05T05:22:19.350Z] 2023-10-05 05:22:19,215 [execute] DEBUG Popen(['git', 'rev-list', 'a76f1926554c5691c807089d9e3fdfaae8d5a778', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-05T05:22:19.350Z] 2023-10-05 05:22:19,220 [execute] INFO git fetch -v origin [2023-10-05T05:22:19.350Z] 2023-10-05 05:22:19,220 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-10-05T05:22:19.916Z] 2023-10-05 05:22:19,754 [run_push] DEBUG no remote changes detected [2023-10-05T05:22:19.916Z] 2023-10-05 05:22:19,754 [execute] INFO git push origin semver [2023-10-05T05:22:19.916Z] 2023-10-05 05:22:19,755 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-05T05:22:20.853Z] 2023-10-05 05:22:20,497 [run_push] DEBUG push all version tags [2023-10-05T05:22:20.853Z] 2023-10-05 05:22:20,498 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-05T05:22:20.853Z] 2023-10-05 05:22:20,498 [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-10-05T05:22:21.422Z] 2023-10-05 05:22:21,223 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-05T05:22:21.422Z] 3.1.0-dev.16 [Pipeline] } [2023-10-05T05:22:21.392Z] $ docker exec --env ******** --env ******** 32755c081d762b6464766d1b8d64e28334b4606df2f3edee03aad73fead43f89 ssh-agent -k [2023-10-05T05:22:21.491Z] unset SSH_AUTH_SOCK; [2023-10-05T05:22:21.492Z] unset SSH_AGENT_PID; [2023-10-05T05:22:21.492Z] echo Agent pid 38 killed; [2023-10-05T05:22:21.539Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-05T05:22:21.842Z] + git semver [Pipeline] } [2023-10-05T05:22:22.075Z] $ docker stop --time=1 32755c081d762b6464766d1b8d64e28334b4606df2f3edee03aad73fead43f89 [2023-10-05T05:22:23.338Z] $ docker rm -f --volumes 32755c081d762b6464766d1b8d64e28334b4606df2f3edee03aad73fead43f89 [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-10-05T05:22:23.990Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2023-10-05T05:22:23.990Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-10-05T05:22:23.990Z] total 16 [2023-10-05T05:22:23.990Z] drwxr-xr-x 3 root root 4096 Oct 5 05:14 . [2023-10-05T05:22:23.990Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 5 05:22 .. [2023-10-05T05:22:23.990Z] drwxr-xr-x 2 root root 4096 Oct 5 05:14 cost [2023-10-05T05:22:23.990Z] -rw-r--r-- 1 root root 83 Oct 5 05:14 cost.csv [2023-10-05T05:22:23.990Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2023-10-05T05:22:23.990Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-10-05T05:22:23.990Z] total 16 [2023-10-05T05:22:23.990Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 5 05:14 . [2023-10-05T05:22:23.990Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 5 05:22 .. [2023-10-05T05:22:23.990Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 5 05:14 cost [2023-10-05T05:22:23.990Z] -rw-r--r-- 1 jenkins jenkins 83 Oct 5 05:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-05T05:22:24.278Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-05T05:22:25.134Z] ---> package-listing.sh [2023-10-05T05:22:25.134Z] ++ facter osfamily [2023-10-05T05:22:25.134Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-05T05:22:25.393Z] + OS_FAMILY=debian [2023-10-05T05:22:25.393Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2023-10-05T05:22:25.393Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-05T05:22:25.393Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-05T05:22:25.393Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-05T05:22:25.393Z] + PACKAGES=/tmp/packages_start.txt [2023-10-05T05:22:25.393Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-10-05T05:22:25.393Z] + PACKAGES=/tmp/packages_end.txt [2023-10-05T05:22:25.393Z] + case "${OS_FAMILY}" in [2023-10-05T05:22:25.393Z] + dpkg -l [2023-10-05T05:22:25.393Z] + grep '^ii' [2023-10-05T05:22:25.393Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-05T05:22:25.393Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-05T05:22:25.393Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-05T05:22:25.393Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-10-05T05:22:25.393Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2023-10-05T05:22:25.393Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2023-10-05T05:22:25.404Z] 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-10-05T05:22:25.680Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-05T05:22:26.236Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-05T05:22:26.236Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-05T05:22:26.307Z] prd-ubuntu20.04-docker-8c-8g-8548 does not seem to be running inside a container [2023-10-05T05:22:26.295Z] $ 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-10-05T05:22:26.528Z] $ docker top f04875b90554b025f0f2bb0c56e94a08ac306f793560e8525ba49baedc8db341 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-05T05:22:26.915Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-05T05:22:27.279Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-05T05:22:27.608Z] + ls /var/log/sa-host [2023-10-05T05:22:27.608Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-05T05:22:27.783Z] provisioning config files... [2023-10-05T05:22:27.801Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config7151303081670920951tmp [Pipeline] { [Pipeline] echo [2023-10-05T05:22:27.821Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-05T05:22:28.104Z] ---> create-netrc.sh [Pipeline] } [2023-10-05T05:22:28.110Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-05T05:22:28.454Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-05T05:22:28.463Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-05T05:22:28.748Z] ---> sudo-logs.sh [2023-10-05T05:22:28.748Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-05T05:22:28.780Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-05T05:22:29.064Z] ---> job-cost.sh [2023-10-05T05:22:29.065Z] lf-activate-venv: SKIPPING [2023-10-05T05:22:29.065Z] DEBUG: total: 0.2199999988079071 [2023-10-05T05:22:29.065Z] INFO: Retrieving Stack Cost... [2023-10-05T05:22:29.325Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-05T05:22:29.893Z] INFO: Archiving Costs [Pipeline] echo [2023-10-05T05:22:29.904Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-05T05:22:30.188Z] ---> logs-deploy.sh [2023-10-05T05:22:30.188Z] lf-activate-venv: SKIPPING [2023-10-05T05:22:30.188Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/102 [2023-10-05T05:22:30.188Z] INFO: archiving workspace using pattern(s): [2023-10-05T05:22:31.124Z] Archives upload complete. [2023-10-05T05:22:31.124Z] INFO: archiving logs to Nexus