Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a 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-ssh1235366322760848607.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-ssh5482162321759688260.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-ssh2059615406838698641.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-ssh11288959892036583858.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-ssh8750086189163488007.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-7777’ is offline Running on prd-ubuntu20.04-docker-8c-8g-7778 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 > 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 Avoid second fetch Checking out Revision c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a (main) Commit message: "Merge pull request #198 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.30" > git config core.sparsecheckout # timeout=10 > git checkout -f c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a # timeout=10 > git rev-list --no-walk 1e0384811d3250d0bfb067782122c51f223b6a04 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-25T03:11:59.482Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-25T03:11:59.529Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-25T03:11:59.542Z] ========================================================= [2023-09-25T03:11:59.543Z] EdgeX Global Pipelines Version Info [2023-09-25T03:11:59.543Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-25T03:12:00.256Z] ------------------- [2023-09-25T03:12:00.256Z] stable info: [2023-09-25T03:12:00.256Z] ------------------- [2023-09-25T03:12:00.256Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-25T03:12:00.256Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-25T03:12:00.256Z] Message: update stable to v1.0.254 [2023-09-25T03:12:00.823Z] ------------------- [2023-09-25T03:12:00.823Z] experimental info: [2023-09-25T03:12:00.823Z] ------------------- [2023-09-25T03:12:00.823Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-25T03:12:00.823Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-25T03:12:00.823Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-25T03:12:00.982Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-09-25T03:12:00.996Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-09-25T03:12:01.017Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-25T03:12:01.036Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-25T03:12:01.053Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-25T03:12:01.074Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-25T03:12:01.092Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-25T03:12:01.112Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-25T03:12:01.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-25T03:12:01.151Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-25T03:12:01.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-25T03:12:01.184Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-09-25T03:12:01.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-25T03:12:01.212Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-25T03:12:01.228Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-25T03:12:01.245Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-25T03:12:01.268Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-25T03:12:01.288Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-25T03:12:01.305Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-25T03:12:01.325Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-25T03:12:01.342Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-25T03:12:01.355Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-25T03:12:01.367Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-25T03:12:01.385Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-25T03:12:01.398Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-25T03:12:01.415Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-25T03:12:01.434Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-25T03:12:01.453Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-25T03:12:01.473Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-25T03:12:01.495Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-25T03:12:01.515Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a [Pipeline] echo [2023-09-25T03:12:01.534Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c58674b [Pipeline] echo [2023-09-25T03:12:01.555Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-25T03:12:01.608Z] provisioning config files... [2023-09-25T03:12:01.621Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config17343537988204266411tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T03:12:01.930Z] ---> docker-login.sh [2023-09-25T03:12:01.930Z] nexus3.edgexfoundry.org:10001 [2023-09-25T03:12:02.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T03:12:02.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T03:12:02.194Z] Configure a credential helper to remove this warning. See [2023-09-25T03:12:02.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T03:12:02.194Z] [2023-09-25T03:12:02.194Z] Login Succeeded [2023-09-25T03:12:02.194Z] nexus3.edgexfoundry.org:10002 [2023-09-25T03:12:02.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T03:12:02.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T03:12:02.455Z] Configure a credential helper to remove this warning. See [2023-09-25T03:12:02.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T03:12:02.455Z] [2023-09-25T03:12:02.455Z] Login Succeeded [2023-09-25T03:12:02.455Z] nexus3.edgexfoundry.org:10003 [2023-09-25T03:12:02.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T03:12:02.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T03:12:02.455Z] Configure a credential helper to remove this warning. See [2023-09-25T03:12:02.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T03:12:02.455Z] [2023-09-25T03:12:02.455Z] Login Succeeded [2023-09-25T03:12:02.455Z] nexus3.edgexfoundry.org:10004 [2023-09-25T03:12:02.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T03:12:02.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T03:12:02.455Z] Configure a credential helper to remove this warning. See [2023-09-25T03:12:02.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T03:12:02.455Z] [2023-09-25T03:12:02.455Z] Login Succeeded [2023-09-25T03:12:02.455Z] docker.io [2023-09-25T03:12:02.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T03:12:03.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T03:12:03.063Z] Configure a credential helper to remove this warning. See [2023-09-25T03:12:03.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T03:12:03.063Z] [2023-09-25T03:12:03.063Z] Login Succeeded [2023-09-25T03:12:03.063Z] ---> docker-login.sh ends [Pipeline] } [2023-09-25T03:12:03.070Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-25T03:12:03.442Z] + git rev-list -1 --merges c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a~1..c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a [Pipeline] echo [2023-09-25T03:12:03.490Z] -----------> git rev-list -1 --merges c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a~1..c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a [2023-09-25T03:12:03.490Z] c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a [false] [Pipeline] sh [2023-09-25T03:12:03.781Z] + git log --format=format:%s -1 c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a [Pipeline] echo [2023-09-25T03:12:03.810Z] ========================================================= [2023-09-25T03:12:03.810Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-25T03:12:03.810Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-25T03:12:04.136Z] + git log --format=format:%s -1 c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a [Pipeline] echo [2023-09-25T03:12:04.144Z] [semverPrep] GIT_COMMIT: c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a, Commit Message: Merge pull request #198 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.30 [Pipeline] echo [2023-09-25T03:12:04.152Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-25T03:12:04.498Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-25T03:12:04.499Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-25T03:12:04.499Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-25T03:12:04.499Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-25T03:12:04.499Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-25T03:12:04.499Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-25T03:12:04.499Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:12:04.843Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T03:12:04.843Z] [2023-09-25T03:12:04.843Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:12:05.139Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T03:12:05.139Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-25T03:12:05.139Z] b85a868b505f: Pulling fs layer [2023-09-25T03:12:05.139Z] e2be974225ed: Pulling fs layer [2023-09-25T03:12:05.139Z] 339a4e72a1f5: Pulling fs layer [2023-09-25T03:12:05.139Z] 988bab9f4d93: Pulling fs layer [2023-09-25T03:12:05.139Z] 1469e6f7b9e6: Pulling fs layer [2023-09-25T03:12:05.139Z] eaf3925da568: Pulling fs layer [2023-09-25T03:12:05.139Z] bab4dde63d76: Pulling fs layer [2023-09-25T03:12:05.139Z] bde34c3a00c8: Pulling fs layer [2023-09-25T03:12:05.139Z] b352a97aabf1: Pulling fs layer [2023-09-25T03:12:05.139Z] 4872d77fe225: Pulling fs layer [2023-09-25T03:12:05.139Z] 5851b861e8e6: Pulling fs layer [2023-09-25T03:12:05.139Z] 988bab9f4d93: Waiting [2023-09-25T03:12:05.139Z] bab4dde63d76: Waiting [2023-09-25T03:12:05.139Z] bde34c3a00c8: Waiting [2023-09-25T03:12:05.139Z] 1469e6f7b9e6: Waiting [2023-09-25T03:12:05.139Z] b352a97aabf1: Waiting [2023-09-25T03:12:05.139Z] 4872d77fe225: Waiting [2023-09-25T03:12:05.139Z] eaf3925da568: Waiting [2023-09-25T03:12:05.139Z] 5851b861e8e6: Waiting [2023-09-25T03:12:05.139Z] e2be974225ed: Verifying Checksum [2023-09-25T03:12:05.140Z] e2be974225ed: Download complete [2023-09-25T03:12:05.140Z] 988bab9f4d93: Verifying Checksum [2023-09-25T03:12:05.140Z] 988bab9f4d93: Download complete [2023-09-25T03:12:05.410Z] 1469e6f7b9e6: Verifying Checksum [2023-09-25T03:12:05.410Z] 1469e6f7b9e6: Download complete [2023-09-25T03:12:05.410Z] eaf3925da568: Download complete [2023-09-25T03:12:05.410Z] 339a4e72a1f5: Verifying Checksum [2023-09-25T03:12:05.410Z] 339a4e72a1f5: Download complete [2023-09-25T03:12:05.410Z] bde34c3a00c8: Verifying Checksum [2023-09-25T03:12:05.410Z] bde34c3a00c8: Download complete [2023-09-25T03:12:05.410Z] b352a97aabf1: Verifying Checksum [2023-09-25T03:12:05.410Z] b352a97aabf1: Download complete [2023-09-25T03:12:05.410Z] 4872d77fe225: Verifying Checksum [2023-09-25T03:12:05.410Z] 4872d77fe225: Download complete [2023-09-25T03:12:05.671Z] b85a868b505f: Verifying Checksum [2023-09-25T03:12:05.671Z] b85a868b505f: Download complete [2023-09-25T03:12:05.671Z] 5851b861e8e6: Verifying Checksum [2023-09-25T03:12:05.671Z] 5851b861e8e6: Download complete [2023-09-25T03:12:05.930Z] bab4dde63d76: Verifying Checksum [2023-09-25T03:12:05.930Z] bab4dde63d76: Download complete [2023-09-25T03:12:07.332Z] b85a868b505f: Pull complete [2023-09-25T03:12:07.332Z] e2be974225ed: Pull complete [2023-09-25T03:12:07.918Z] 339a4e72a1f5: Pull complete [2023-09-25T03:12:07.918Z] 988bab9f4d93: Pull complete [2023-09-25T03:12:08.177Z] 1469e6f7b9e6: Pull complete [2023-09-25T03:12:08.177Z] eaf3925da568: Pull complete [2023-09-25T03:12:10.108Z] bab4dde63d76: Pull complete [2023-09-25T03:12:10.108Z] bde34c3a00c8: Pull complete [2023-09-25T03:12:10.108Z] b352a97aabf1: Pull complete [2023-09-25T03:12:10.368Z] 4872d77fe225: Pull complete [2023-09-25T03:12:10.368Z] 5851b861e8e6: Pull complete [2023-09-25T03:12:10.368Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-25T03:12:10.368Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T03:12:10.368Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T03:12:10.462Z] prd-ubuntu20.04-docker-8c-8g-7778 does not seem to be running inside a container [2023-09-25T03:12:10.498Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-25T03:12:14.050Z] $ docker top 4cb45a276036af810484055cb7e96eefb8fbeba102646ca22740817e110b389b -eo pid,comm [2023-09-25T03:12:14.097Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-25T03:12:14.097Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-25T03:12:14.137Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-25T03:12:14.137Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-25T03:12:14.235Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-25T03:12:14.242Z] $ docker exec 4cb45a276036af810484055cb7e96eefb8fbeba102646ca22740817e110b389b ssh-agent [2023-09-25T03:12:14.346Z] SSH_AUTH_SOCK=/tmp/ssh-WPIqmnnKz1ZZ/agent.31 [2023-09-25T03:12:14.346Z] SSH_AGENT_PID=37 [2023-09-25T03:12:14.352Z] Running ssh-add (command line suppressed) [2023-09-25T03:12:14.454Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3889541646933509447.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3889541646933509447.key) [2023-09-25T03:12:14.465Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-25T03:12:14.751Z] + git tag --points-at HEAD [Pipeline] } [2023-09-25T03:12:14.772Z] $ docker exec --env ******** --env ******** 4cb45a276036af810484055cb7e96eefb8fbeba102646ca22740817e110b389b ssh-agent -k [2023-09-25T03:12:14.885Z] unset SSH_AUTH_SOCK; [2023-09-25T03:12:14.885Z] unset SSH_AGENT_PID; [2023-09-25T03:12:14.885Z] echo Agent pid 37 killed; [2023-09-25T03:12:14.914Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-25T03:12:14.935Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-25T03:12:14.935Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-25T03:12:15.051Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-25T03:12:15.057Z] $ docker exec 4cb45a276036af810484055cb7e96eefb8fbeba102646ca22740817e110b389b ssh-agent [2023-09-25T03:12:15.176Z] SSH_AUTH_SOCK=/tmp/ssh-2CMVOUbAowps/agent.68 [2023-09-25T03:12:15.176Z] SSH_AGENT_PID=74 [2023-09-25T03:12:15.181Z] Running ssh-add (command line suppressed) [2023-09-25T03:12:15.282Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7052189636347576842.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7052189636347576842.key) [2023-09-25T03:12:15.293Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-25T03:12:15.580Z] + git semver init [2023-09-25T03:12:15.838Z] 2023-09-25 03:12:15,784 [run_init] DEBUG init version:0.0.0 force:False [2023-09-25T03:12:15.838Z] 2023-09-25 03:12:15,785 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2023-09-25T03:12:15.838Z] 2023-09-25 03:12:15,785 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2023-09-25T03:12:15.838Z] 2023-09-25 03:12:15,786 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_main/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-09-25T03:12:16.772Z] 2023-09-25 03:12:16,751 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2023-09-25T03:12:16.772Z] 2023-09-25 03:12:16,752 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2023-09-25T03:12:16.772Z] 2023-09-25 03:12:16,752 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-25T03:12:16.772Z] 2023-09-25 03:12:16,753 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-25T03:12:16.772Z] 3.1.0-dev.13 [Pipeline] } [2023-09-25T03:12:16.784Z] $ docker exec --env ******** --env ******** 4cb45a276036af810484055cb7e96eefb8fbeba102646ca22740817e110b389b ssh-agent -k [2023-09-25T03:12:16.895Z] unset SSH_AUTH_SOCK; [2023-09-25T03:12:16.896Z] unset SSH_AGENT_PID; [2023-09-25T03:12:16.896Z] echo Agent pid 74 killed; [2023-09-25T03:12:16.901Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-25T03:12:17.214Z] + git semver [Pipeline] } [2023-09-25T03:12:17.487Z] $ docker stop --time=1 4cb45a276036af810484055cb7e96eefb8fbeba102646ca22740817e110b389b [2023-09-25T03:12:19.321Z] $ docker rm -f --volumes 4cb45a276036af810484055cb7e96eefb8fbeba102646ca22740817e110b389b [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-25T03:12:19.732Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-25T03:12:19.944Z] Stashed 1 file(s) [Pipeline] echo [2023-09-25T03:12:19.947Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.13 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-25T03:12:20.103Z] provisioning config files... [2023-09-25T03:12:20.111Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config14113095224526913199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T03:12:20.406Z] ---> docker-login.sh [2023-09-25T03:12:20.406Z] nexus3.edgexfoundry.org:10001 [2023-09-25T03:12:20.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T03:12:20.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T03:12:20.406Z] Configure a credential helper to remove this warning. See [2023-09-25T03:12:20.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T03:12:20.406Z] [2023-09-25T03:12:20.406Z] Login Succeeded [2023-09-25T03:12:20.407Z] nexus3.edgexfoundry.org:10002 [2023-09-25T03:12:20.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T03:12:20.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T03:12:20.407Z] Configure a credential helper to remove this warning. See [2023-09-25T03:12:20.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T03:12:20.407Z] [2023-09-25T03:12:20.407Z] Login Succeeded [2023-09-25T03:12:20.407Z] nexus3.edgexfoundry.org:10003 [2023-09-25T03:12:20.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T03:12:20.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T03:12:20.667Z] Configure a credential helper to remove this warning. See [2023-09-25T03:12:20.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T03:12:20.667Z] [2023-09-25T03:12:20.667Z] Login Succeeded [2023-09-25T03:12:20.667Z] nexus3.edgexfoundry.org:10004 [2023-09-25T03:12:20.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T03:12:20.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T03:12:20.667Z] Configure a credential helper to remove this warning. See [2023-09-25T03:12:20.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T03:12:20.667Z] [2023-09-25T03:12:20.667Z] Login Succeeded [2023-09-25T03:12:20.667Z] docker.io [2023-09-25T03:12:20.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T03:12:20.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T03:12:20.927Z] Configure a credential helper to remove this warning. See [2023-09-25T03:12:20.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T03:12:20.927Z] [2023-09-25T03:12:20.927Z] Login Succeeded [2023-09-25T03:12:20.927Z] ---> docker-login.sh ends [Pipeline] } [2023-09-25T03:12:20.935Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-25T03:12:21.018Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T03:12:21.030Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T03:12:21.045Z] ========================================================= [2023-09-25T03:12:21.045Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-25T03:12:21.045Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:12:21.373Z] + 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-09-25T03:12:21.373Z] Sending build context to Docker daemon 16.11MB [2023-09-25T03:12:21.373Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-25T03:12:21.373Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-25T03:12:21.632Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-25T03:12:21.632Z] 7264a8db6415: Pulling fs layer [2023-09-25T03:12:21.632Z] c4d48a809fc2: Pulling fs layer [2023-09-25T03:12:21.632Z] 4f1c88b9dad5: Pulling fs layer [2023-09-25T03:12:21.632Z] ad3a456e5733: Pulling fs layer [2023-09-25T03:12:21.632Z] 33e27b845d1e: Pulling fs layer [2023-09-25T03:12:21.632Z] c68163c4e522: Pulling fs layer [2023-09-25T03:12:21.632Z] 50da416c3ac9: Pulling fs layer [2023-09-25T03:12:21.632Z] 23d2d4c4bb30: Pulling fs layer [2023-09-25T03:12:21.632Z] 33e27b845d1e: Waiting [2023-09-25T03:12:21.632Z] c68163c4e522: Waiting [2023-09-25T03:12:21.632Z] 50da416c3ac9: Waiting [2023-09-25T03:12:21.632Z] 23d2d4c4bb30: Waiting [2023-09-25T03:12:21.632Z] ad3a456e5733: Waiting [2023-09-25T03:12:21.632Z] c4d48a809fc2: Verifying Checksum [2023-09-25T03:12:21.632Z] c4d48a809fc2: Download complete [2023-09-25T03:12:21.632Z] ad3a456e5733: Verifying Checksum [2023-09-25T03:12:21.632Z] ad3a456e5733: Download complete [2023-09-25T03:12:21.632Z] 33e27b845d1e: Verifying Checksum [2023-09-25T03:12:21.632Z] 33e27b845d1e: Download complete [2023-09-25T03:12:21.632Z] 7264a8db6415: Verifying Checksum [2023-09-25T03:12:21.894Z] c68163c4e522: Verifying Checksum [2023-09-25T03:12:21.894Z] c68163c4e522: Download complete [2023-09-25T03:12:22.152Z] 23d2d4c4bb30: Verifying Checksum [2023-09-25T03:12:22.152Z] 23d2d4c4bb30: Download complete [2023-09-25T03:12:22.152Z] 7264a8db6415: Pull complete [2023-09-25T03:12:22.410Z] c4d48a809fc2: Pull complete [2023-09-25T03:12:22.410Z] 4f1c88b9dad5: Verifying Checksum [2023-09-25T03:12:22.410Z] 4f1c88b9dad5: Download complete [2023-09-25T03:12:22.669Z] 50da416c3ac9: Verifying Checksum [2023-09-25T03:12:22.669Z] 50da416c3ac9: Download complete [2023-09-25T03:12:25.986Z] 4f1c88b9dad5: Pull complete [2023-09-25T03:12:25.986Z] ad3a456e5733: Pull complete [2023-09-25T03:12:25.986Z] 33e27b845d1e: Pull complete [2023-09-25T03:12:25.986Z] c68163c4e522: Pull complete [2023-09-25T03:12:28.515Z] 50da416c3ac9: Pull complete [2023-09-25T03:12:28.771Z] 23d2d4c4bb30: Pull complete [2023-09-25T03:12:28.771Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-25T03:12:28.771Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-25T03:12:28.771Z] ---> 0786185ac409 [2023-09-25T03:12:28.771Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-25T03:12:34.171Z] ---> Running in 98a3215c6f3c [2023-09-25T03:12:34.171Z] Removing intermediate container 98a3215c6f3c [2023-09-25T03:12:34.171Z] ---> 35bd4080d105 [2023-09-25T03:12:34.171Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-25T03:12:34.171Z] ---> Running in c2dfb92743da [2023-09-25T03:12:34.171Z] Removing intermediate container c2dfb92743da [2023-09-25T03:12:34.171Z] ---> 39c1a31c2391 [2023-09-25T03:12:34.171Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-09-25T03:12:34.171Z] ---> Running in 48cdee9bde5f [2023-09-25T03:12:34.171Z] Removing intermediate container 48cdee9bde5f [2023-09-25T03:12:34.171Z] ---> 360cd7e96d86 [2023-09-25T03:12:34.171Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-25T03:12:34.171Z] ---> Running in edba6f8e3401 [2023-09-25T03:12:34.171Z] Removing intermediate container edba6f8e3401 [2023-09-25T03:12:34.171Z] ---> f4ff0c5806fc [2023-09-25T03:12:34.171Z] Step 7/12 : WORKDIR /device-gpio [2023-09-25T03:12:34.171Z] ---> Running in 1aa10140142c [2023-09-25T03:12:34.171Z] Removing intermediate container 1aa10140142c [2023-09-25T03:12:34.171Z] ---> 3f8ed7d1f95d [2023-09-25T03:12:34.171Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-25T03:12:34.171Z] ---> Running in 9ee9d6617c60 [2023-09-25T03:12:34.430Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-25T03:12:34.690Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-25T03:12:34.950Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-25T03:12:34.950Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-25T03:12:34.950Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-25T03:12:34.950Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-25T03:12:34.950Z] Executing busybox-1.36.1-r2.trigger [2023-09-25T03:12:34.950Z] OK: 268 MiB in 56 packages [2023-09-25T03:12:35.046Z] Still waiting to schedule task [2023-09-25T03:12:35.047Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7779’ [2023-09-25T03:12:35.886Z] Removing intermediate container 9ee9d6617c60 [2023-09-25T03:12:35.886Z] ---> c2f7a3c55a15 [2023-09-25T03:12:35.886Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-25T03:12:36.146Z] ---> 8c6a7bb01e0c [2023-09-25T03:12:36.146Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-25T03:12:36.146Z] ---> Running in dbbc26c23fc5 [2023-09-25T03:13:08.270Z] Removing intermediate container dbbc26c23fc5 [2023-09-25T03:13:08.270Z] ---> f4ff28064b49 [2023-09-25T03:13:08.270Z] Step 11/12 : COPY . . [2023-09-25T03:13:08.270Z] ---> 357c73c6b506 [2023-09-25T03:13:08.270Z] Step 12/12 : RUN ${MAKE} [2023-09-25T03:13:08.270Z] ---> Running in 4887d4487033 [2023-09-25T03:13:08.270Z] noop [2023-09-25T03:13:08.270Z] Removing intermediate container 4887d4487033 [2023-09-25T03:13:08.270Z] ---> 9e37e6d0968b [2023-09-25T03:13:08.270Z] Successfully built 9e37e6d0968b [2023-09-25T03:13:08.270Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:13:08.593Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-25T03:13:08.593Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T03:13:08.667Z] prd-ubuntu20.04-docker-8c-8g-7778 does not seem to be running inside a container [2023-09-25T03:13:08.704Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-25T03:13:09.076Z] $ docker top 559fb1d675679b093e5fdf30527de9d4dab72aae406184821d3aec1f08843ad4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T03:13:09.430Z] + go version [2023-09-25T03:13:09.430Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-25T03:13:09.444Z] $ docker stop --time=1 559fb1d675679b093e5fdf30527de9d4dab72aae406184821d3aec1f08843ad4 [2023-09-25T03:13:10.749Z] $ docker rm -f --volumes 559fb1d675679b093e5fdf30527de9d4dab72aae406184821d3aec1f08843ad4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:13:11.173Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-25T03:13:11.173Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T03:13:11.255Z] prd-ubuntu20.04-docker-8c-8g-7778 does not seem to be running inside a container [2023-09-25T03:13:11.291Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-25T03:13:11.636Z] $ docker top 4108967a65113c681290d0c57911374b34fc3947fd60318c158df053af79eda2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T03:13:11.982Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh [2023-09-25T03:13:12.284Z] + make test [2023-09-25T03:13:12.284Z] go test ./... -coverprofile=coverage.out ./... [2023-09-25T03:13:13.667Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-09-25T03:13:25.859Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-09-25T03:13:25.859Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-09-25T03:13:31.119Z] go vet ./... [2023-09-25T03:13:35.304Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-25T03:13:35.304Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-25T03:13:35.304Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-25T03:13:35.316Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-25T03:13:35.333Z] $ docker stop --time=1 4108967a65113c681290d0c57911374b34fc3947fd60318c158df053af79eda2 [2023-09-25T03:13:38.417Z] $ docker rm -f --volumes 4108967a65113c681290d0c57911374b34fc3947fd60318c158df053af79eda2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-25T03:13:38.892Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-25T03:13:38.930Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-25T03:13:39.371Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-25T03:13:39.723Z] + ls -al . [2023-09-25T03:13:39.723Z] total 168 [2023-09-25T03:13:39.723Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 25 03:13 . [2023-09-25T03:13:39.723Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 03:11 .. [2023-09-25T03:13:39.723Z] -rw-rw-r-- 1 jenkins jenkins 120 Sep 25 03:11 .dockerignore [2023-09-25T03:13:39.723Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 25 03:13 .git [2023-09-25T03:13:39.723Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 03:11 .github [2023-09-25T03:13:39.723Z] -rw-rw-r-- 1 jenkins jenkins 343 Sep 25 03:11 .gitignore [2023-09-25T03:13:39.723Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 25 03:11 .golangci.yml [2023-09-25T03:13:39.723Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 25 03:12 .semver [2023-09-25T03:13:39.723Z] -rw-rw-r-- 1 jenkins jenkins 10671 Sep 25 03:11 Attribution.txt [2023-09-25T03:13:39.723Z] -rw-rw-r-- 1 jenkins jenkins 6184 Sep 25 03:11 CHANGELOG.md [2023-09-25T03:13:39.723Z] -rw-rw-r-- 1 jenkins jenkins 1542 Sep 25 03:11 Dockerfile [2023-09-25T03:13:39.723Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 25 03:11 GOVERNANCE.md [2023-09-25T03:13:39.723Z] -rw-rw-r-- 1 jenkins jenkins 657 Sep 25 03:11 Jenkinsfile [2023-09-25T03:13:39.723Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 25 03:11 LICENSE [2023-09-25T03:13:39.723Z] -rw-rw-r-- 1 jenkins jenkins 1923 Sep 25 03:11 Makefile [2023-09-25T03:13:39.723Z] -rw-rw-r-- 1 jenkins jenkins 617 Sep 25 03:11 OWNERS.md [2023-09-25T03:13:39.723Z] -rw-rw-r-- 1 jenkins jenkins 12293 Sep 25 03:11 README.md [2023-09-25T03:13:39.723Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 25 03:12 VERSION [2023-09-25T03:13:39.723Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 03:11 bin [2023-09-25T03:13:39.723Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 03:11 cmd [2023-09-25T03:13:39.723Z] -rw-r--r-- 1 jenkins jenkins 10 Sep 25 03:13 coverage.out [2023-09-25T03:13:39.723Z] -rw-rw-r-- 1 jenkins jenkins 3697 Sep 25 03:11 go.mod [2023-09-25T03:13:39.723Z] -rw-rw-r-- 1 jenkins jenkins 35979 Sep 25 03:11 go.sum [2023-09-25T03:13:39.723Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 03:11 internal [2023-09-25T03:13:39.723Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 03:11 snap [2023-09-25T03:13:39.723Z] -rw-rw-r-- 1 jenkins jenkins 209 Sep 25 03:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:13:40.082Z] + 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=c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a --label arch=amd64 --label version=3.1.0-dev.13 . [2023-09-25T03:13:40.082Z] Sending build context to Docker daemon 16.11MB [2023-09-25T03:13:40.082Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-25T03:13:40.082Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-25T03:13:40.082Z] ---> 9e37e6d0968b [2023-09-25T03:13:40.082Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-25T03:13:40.416Z] ---> Running in d146c4964d03 [2023-09-25T03:13:40.416Z] Removing intermediate container d146c4964d03 [2023-09-25T03:13:40.416Z] ---> 4c5196d30448 [2023-09-25T03:13:40.416Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-25T03:13:40.416Z] ---> Running in 836a19a589cb [2023-09-25T03:13:40.680Z] Removing intermediate container 836a19a589cb [2023-09-25T03:13:40.680Z] ---> da63f2fb685f [2023-09-25T03:13:40.680Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-09-25T03:13:40.680Z] ---> Running in 6911ef0703cf [2023-09-25T03:13:40.680Z] Removing intermediate container 6911ef0703cf [2023-09-25T03:13:40.680Z] ---> b025b3ff1ed6 [2023-09-25T03:13:40.680Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-25T03:13:40.680Z] ---> Running in 600eed00d9ef [2023-09-25T03:13:40.680Z] Removing intermediate container 600eed00d9ef [2023-09-25T03:13:40.680Z] ---> 05c839a7b69a [2023-09-25T03:13:40.680Z] Step 7/25 : WORKDIR /device-gpio [2023-09-25T03:13:40.680Z] ---> Running in 56ed030ee11e [2023-09-25T03:13:40.939Z] Removing intermediate container 56ed030ee11e [2023-09-25T03:13:40.939Z] ---> 7946c92b8241 [2023-09-25T03:13:40.939Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-25T03:13:40.939Z] ---> Running in b9b17b73830a [2023-09-25T03:13:41.198Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-25T03:13:41.198Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-25T03:13:41.767Z] OK: 268 MiB in 56 packages [2023-09-25T03:13:41.767Z] Removing intermediate container b9b17b73830a [2023-09-25T03:13:41.767Z] ---> af83bd7c67ce [2023-09-25T03:13:41.767Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-25T03:13:42.026Z] ---> c77da397c39f [2023-09-25T03:13:42.026Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-25T03:13:42.026Z] ---> Running in fe1db406caed [2023-09-25T03:13:42.595Z] Removing intermediate container fe1db406caed [2023-09-25T03:13:42.595Z] ---> 9dcd8c1c3579 [2023-09-25T03:13:42.595Z] Step 11/25 : COPY . . [2023-09-25T03:13:43.608Z] ---> e5f3543e1bab [2023-09-25T03:13:43.608Z] Step 12/25 : RUN ${MAKE} [2023-09-25T03:13:43.608Z] ---> Running in 66dca9b9a3fc [2023-09-25T03:13:43.867Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.1.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.30" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-09-25T03:14:05.884Z] Removing intermediate container 66dca9b9a3fc [2023-09-25T03:14:05.884Z] ---> 36995acb1210 [2023-09-25T03:14:05.884Z] Step 13/25 : FROM alpine:3.18 [2023-09-25T03:14:05.884Z] 3.18: Pulling from library/alpine [2023-09-25T03:14:05.884Z] 7264a8db6415: Already exists [2023-09-25T03:14:05.884Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-25T03:14:05.884Z] Status: Downloaded newer image for alpine:3.18 [2023-09-25T03:14:05.884Z] ---> 7e01a0d0a1dc [2023-09-25T03:14:05.884Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-09-25T03:14:05.884Z] ---> Running in 4cd47c4ccdf5 [2023-09-25T03:14:05.884Z] Removing intermediate container 4cd47c4ccdf5 [2023-09-25T03:14:05.884Z] ---> 90df4bd4f619 [2023-09-25T03:14:05.884Z] Step 15/25 : RUN apk add --update --no-cache [2023-09-25T03:14:05.884Z] ---> Running in 9efd44c0f0b5 [2023-09-25T03:14:05.884Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-25T03:14:05.884Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-25T03:14:05.884Z] OK: 7 MiB in 15 packages [2023-09-25T03:14:05.884Z] Removing intermediate container 9efd44c0f0b5 [2023-09-25T03:14:05.884Z] ---> 18ab87c3381d [2023-09-25T03:14:05.884Z] Step 16/25 : WORKDIR / [2023-09-25T03:14:05.884Z] ---> Running in a89d64169ad6 [2023-09-25T03:14:05.884Z] Removing intermediate container a89d64169ad6 [2023-09-25T03:14:05.884Z] ---> 90cf91ca671e [2023-09-25T03:14:05.884Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-09-25T03:14:05.884Z] ---> d3a60069c6e8 [2023-09-25T03:14:05.884Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-09-25T03:14:05.884Z] ---> a7e9a1d1a07e [2023-09-25T03:14:05.884Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-09-25T03:14:06.140Z] ---> 00b07ab692e1 [2023-09-25T03:14:06.140Z] Step 20/25 : EXPOSE 59910 [2023-09-25T03:14:06.140Z] ---> Running in 17a3aaeb218d [2023-09-25T03:14:06.398Z] Removing intermediate container 17a3aaeb218d [2023-09-25T03:14:06.398Z] ---> dbd0167c4389 [2023-09-25T03:14:06.398Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-09-25T03:14:06.398Z] ---> Running in 28c3fe3fb9a2 [2023-09-25T03:14:06.398Z] Removing intermediate container 28c3fe3fb9a2 [2023-09-25T03:14:06.398Z] ---> 0459e84a2347 [2023-09-25T03:14:06.398Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-25T03:14:06.398Z] ---> Running in 5c0fd3d0fa5f [2023-09-25T03:14:06.398Z] Removing intermediate container 5c0fd3d0fa5f [2023-09-25T03:14:06.398Z] ---> 36ec89ca8f08 [2023-09-25T03:14:06.398Z] Step 23/25 : LABEL arch=amd64 [2023-09-25T03:14:06.398Z] ---> Running in 12d0c5ce8d71 [2023-09-25T03:14:06.656Z] Removing intermediate container 12d0c5ce8d71 [2023-09-25T03:14:06.656Z] ---> 2abc60c95abe [2023-09-25T03:14:06.656Z] Step 24/25 : LABEL git_sha=c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a [2023-09-25T03:14:06.656Z] ---> Running in 13e721450b82 [2023-09-25T03:14:06.656Z] Removing intermediate container 13e721450b82 [2023-09-25T03:14:06.656Z] ---> 3e5fd92c58db [2023-09-25T03:14:06.656Z] Step 25/25 : LABEL version=3.1.0-dev.13 [2023-09-25T03:14:06.656Z] ---> Running in 47d527441be8 [2023-09-25T03:14:06.656Z] Removing intermediate container 47d527441be8 [2023-09-25T03:14:06.656Z] ---> 86cd9ab18c20 [2023-09-25T03:14:06.656Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-25T03:14:06.656Z] Successfully built 86cd9ab18c20 [2023-09-25T03:14:06.656Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-25T03:14:07.025Z] provisioning config files... [2023-09-25T03:14:07.031Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config16538685378058066902tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T03:14:07.327Z] ---> docker-login.sh [2023-09-25T03:14:07.327Z] nexus3.edgexfoundry.org:10001 [2023-09-25T03:14:07.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T03:14:07.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T03:14:07.327Z] Configure a credential helper to remove this warning. See [2023-09-25T03:14:07.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T03:14:07.327Z] [2023-09-25T03:14:07.327Z] Login Succeeded [2023-09-25T03:14:07.327Z] nexus3.edgexfoundry.org:10002 [2023-09-25T03:14:07.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T03:14:07.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T03:14:07.327Z] Configure a credential helper to remove this warning. See [2023-09-25T03:14:07.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T03:14:07.327Z] [2023-09-25T03:14:07.327Z] Login Succeeded [2023-09-25T03:14:07.327Z] nexus3.edgexfoundry.org:10003 [2023-09-25T03:14:07.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T03:14:07.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T03:14:07.586Z] Configure a credential helper to remove this warning. See [2023-09-25T03:14:07.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T03:14:07.586Z] [2023-09-25T03:14:07.586Z] Login Succeeded [2023-09-25T03:14:07.586Z] nexus3.edgexfoundry.org:10004 [2023-09-25T03:14:07.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T03:14:07.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T03:14:07.586Z] Configure a credential helper to remove this warning. See [2023-09-25T03:14:07.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T03:14:07.586Z] [2023-09-25T03:14:07.586Z] Login Succeeded [2023-09-25T03:14:07.586Z] docker.io [2023-09-25T03:14:07.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T03:14:07.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T03:14:07.845Z] Configure a credential helper to remove this warning. See [2023-09-25T03:14:07.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T03:14:07.845Z] [2023-09-25T03:14:07.845Z] Login Succeeded [2023-09-25T03:14:07.845Z] ---> docker-login.sh ends [Pipeline] } [2023-09-25T03:14:07.853Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-25T03:14:07.880Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T03:14:07.897Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2023-09-25T03:14:07.897Z] c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a [2023-09-25T03:14:07.897Z] latest [2023-09-25T03:14:07.897Z] 3.1.0-dev.13 [2023-09-25T03:14:07.897Z] c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a-3.1.0-dev.13 [2023-09-25T03:14:07.897Z] main [2023-09-25T03:14:07.897Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:14:08.212Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:14:08.517Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a [2023-09-25T03:14:08.517Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-09-25T03:14:08.517Z] 0a62aec68863: Preparing [2023-09-25T03:14:08.517Z] ccff98442660: Preparing [2023-09-25T03:14:08.517Z] 5061babe7be0: Preparing [2023-09-25T03:14:08.517Z] bb276f87f54e: Preparing [2023-09-25T03:14:08.517Z] 4693057ce236: Preparing [2023-09-25T03:14:08.517Z] 4693057ce236: Layer already exists [2023-09-25T03:14:08.517Z] ccff98442660: Pushed [2023-09-25T03:14:08.517Z] bb276f87f54e: Pushed [2023-09-25T03:14:08.517Z] 5061babe7be0: Pushed [2023-09-25T03:14:11.807Z] 0a62aec68863: Pushed [2023-09-25T03:14:11.807Z] c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a: digest: sha256:ad08e1cf3e9523f725498f811bc907be2d2f599d759cebb5a1af043f71161672 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:14:12.126Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:14:12.433Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-09-25T03:14:12.434Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-09-25T03:14:12.434Z] 0a62aec68863: Preparing [2023-09-25T03:14:12.434Z] ccff98442660: Preparing [2023-09-25T03:14:12.434Z] 5061babe7be0: Preparing [2023-09-25T03:14:12.434Z] bb276f87f54e: Preparing [2023-09-25T03:14:12.434Z] 4693057ce236: Preparing [2023-09-25T03:14:12.434Z] bb276f87f54e: Layer already exists [2023-09-25T03:14:12.434Z] 5061babe7be0: Layer already exists [2023-09-25T03:14:12.434Z] 4693057ce236: Layer already exists [2023-09-25T03:14:12.434Z] 0a62aec68863: Layer already exists [2023-09-25T03:14:12.434Z] ccff98442660: Layer already exists [2023-09-25T03:14:12.434Z] latest: digest: sha256:ad08e1cf3e9523f725498f811bc907be2d2f599d759cebb5a1af043f71161672 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:14:12.743Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:14:13.052Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.13 [2023-09-25T03:14:13.052Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-09-25T03:14:13.052Z] 0a62aec68863: Preparing [2023-09-25T03:14:13.052Z] ccff98442660: Preparing [2023-09-25T03:14:13.052Z] 5061babe7be0: Preparing [2023-09-25T03:14:13.052Z] bb276f87f54e: Preparing [2023-09-25T03:14:13.052Z] 4693057ce236: Preparing [2023-09-25T03:14:13.052Z] ccff98442660: Layer already exists [2023-09-25T03:14:13.052Z] 4693057ce236: Layer already exists [2023-09-25T03:14:13.052Z] bb276f87f54e: Layer already exists [2023-09-25T03:14:13.052Z] 0a62aec68863: Layer already exists [2023-09-25T03:14:13.052Z] 5061babe7be0: Layer already exists [2023-09-25T03:14:13.052Z] 3.1.0-dev.13: digest: sha256:ad08e1cf3e9523f725498f811bc907be2d2f599d759cebb5a1af043f71161672 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:14:13.363Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a-3.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:14:13.671Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a-3.1.0-dev.13 [2023-09-25T03:14:13.671Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-09-25T03:14:13.671Z] 0a62aec68863: Preparing [2023-09-25T03:14:13.671Z] ccff98442660: Preparing [2023-09-25T03:14:13.671Z] 5061babe7be0: Preparing [2023-09-25T03:14:13.671Z] bb276f87f54e: Preparing [2023-09-25T03:14:13.671Z] 4693057ce236: Preparing [2023-09-25T03:14:13.671Z] 5061babe7be0: Layer already exists [2023-09-25T03:14:13.671Z] 4693057ce236: Layer already exists [2023-09-25T03:14:13.671Z] bb276f87f54e: Layer already exists [2023-09-25T03:14:13.672Z] 0a62aec68863: Layer already exists [2023-09-25T03:14:13.672Z] ccff98442660: Layer already exists [2023-09-25T03:14:13.672Z] c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a-3.1.0-dev.13: digest: sha256:ad08e1cf3e9523f725498f811bc907be2d2f599d759cebb5a1af043f71161672 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:14:13.990Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:14:14.304Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2023-09-25T03:14:14.304Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-09-25T03:14:14.304Z] 0a62aec68863: Preparing [2023-09-25T03:14:14.304Z] ccff98442660: Preparing [2023-09-25T03:14:14.304Z] 5061babe7be0: Preparing [2023-09-25T03:14:14.304Z] bb276f87f54e: Preparing [2023-09-25T03:14:14.304Z] 4693057ce236: Preparing [2023-09-25T03:14:14.304Z] 4693057ce236: Layer already exists [2023-09-25T03:14:14.304Z] ccff98442660: Layer already exists [2023-09-25T03:14:14.304Z] 0a62aec68863: Layer already exists [2023-09-25T03:14:14.304Z] 5061babe7be0: Layer already exists [2023-09-25T03:14:14.304Z] bb276f87f54e: Layer already exists [2023-09-25T03:14:14.304Z] main: digest: sha256:ad08e1cf3e9523f725498f811bc907be2d2f599d759cebb5a1af043f71161672 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-25T03:14:14.354Z] ===================================================== [Pipeline] echo [2023-09-25T03:14:14.364Z] taggedImages: [2023-09-25T03:14:14.364Z] - nexus3.edgexfoundry.org:10004/device-gpio:c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a [2023-09-25T03:14:14.364Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-09-25T03:14:14.364Z] - nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.13 [2023-09-25T03:14:14.364Z] - nexus3.edgexfoundry.org:10004/device-gpio:c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a-3.1.0-dev.13 [2023-09-25T03:14:14.364Z] - nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:14:14.739Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-25T03:14:14.739Z] [2023-09-25T03:14:14.739Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:14:15.038Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-25T03:14:15.038Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-25T03:14:15.038Z] 5eb5b503b376: Pulling fs layer [2023-09-25T03:14:15.038Z] 5c69ac0246d0: Pulling fs layer [2023-09-25T03:14:15.038Z] ec43610c2a17: Pulling fs layer [2023-09-25T03:14:15.038Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-25T03:14:15.038Z] 33b1e0a273af: Pulling fs layer [2023-09-25T03:14:15.038Z] 5d3b04190fa2: Pulling fs layer [2023-09-25T03:14:15.038Z] 2f39f015ded8: Pulling fs layer [2023-09-25T03:14:15.038Z] 3a2ae6a8a46f: Waiting [2023-09-25T03:14:15.038Z] 33b1e0a273af: Waiting [2023-09-25T03:14:15.038Z] 5d3b04190fa2: Waiting [2023-09-25T03:14:15.038Z] 2f39f015ded8: Waiting [2023-09-25T03:14:15.038Z] 5c69ac0246d0: Verifying Checksum [2023-09-25T03:14:15.038Z] 5c69ac0246d0: Download complete [2023-09-25T03:14:15.038Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-25T03:14:15.038Z] 3a2ae6a8a46f: Download complete [2023-09-25T03:14:15.038Z] 33b1e0a273af: Verifying Checksum [2023-09-25T03:14:15.038Z] 33b1e0a273af: Download complete [2023-09-25T03:14:15.299Z] 5d3b04190fa2: Download complete [2023-09-25T03:14:15.299Z] ec43610c2a17: Verifying Checksum [2023-09-25T03:14:15.299Z] ec43610c2a17: Download complete [2023-09-25T03:14:15.299Z] 5eb5b503b376: Verifying Checksum [2023-09-25T03:14:15.299Z] 5eb5b503b376: Download complete [2023-09-25T03:14:16.244Z] 2f39f015ded8: Verifying Checksum [2023-09-25T03:14:16.244Z] 2f39f015ded8: Download complete [2023-09-25T03:14:16.503Z] 5eb5b503b376: Pull complete [2023-09-25T03:14:16.760Z] 5c69ac0246d0: Pull complete [2023-09-25T03:14:17.020Z] ec43610c2a17: Pull complete [2023-09-25T03:14:17.020Z] 3a2ae6a8a46f: Pull complete [2023-09-25T03:14:17.279Z] 33b1e0a273af: Pull complete [2023-09-25T03:14:17.279Z] 5d3b04190fa2: Pull complete [2023-09-25T03:14:22.557Z] 2f39f015ded8: Pull complete [2023-09-25T03:14:22.557Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-25T03:14:22.557Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-25T03:14:22.557Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T03:14:22.638Z] prd-ubuntu20.04-docker-8c-8g-7778 does not seem to be running inside a container [2023-09-25T03:14:22.675Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-25T03:14:26.288Z] $ docker top 8b4faa719850016afbaa3c3938e25627db38e1152d90b25df144bf27b75242b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T03:14:26.655Z] ---> job-cost.sh [2023-09-25T03:14:26.655Z] lf-activate-venv: SKIPPING [2023-09-25T03:14:26.655Z] INFO: No Stack... [2023-09-25T03:14:26.912Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-25T03:14:27.479Z] INFO: Archiving Costs [Pipeline] sh [2023-09-25T03:14:27.769Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2023-09-25T03:14:27.769Z] + cut -d, -f6 [Pipeline] lock [2023-09-25T03:14:27.782Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-100-stack-cost] [2023-09-25T03:14:27.790Z] Resource [jenkins-edgexfoundry-device-gpio-main-100-stack-cost] did not exist. Created. [2023-09-25T03:14:27.790Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-100-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-25T03:14:28.092Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-25T03:14:28.125Z] Stashed 1 file(s) [Pipeline] } [2023-09-25T03:14:28.130Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-100-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-25T03:14:28.150Z] $ docker stop --time=1 8b4faa719850016afbaa3c3938e25627db38e1152d90b25df144bf27b75242b4 [2023-09-25T03:14:29.303Z] $ docker rm -f --volumes 8b4faa719850016afbaa3c3938e25627db38e1152d90b25df144bf27b75242b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-25T03:15:00.563Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7780 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2023-09-25T03:15:00.576Z] Running in /w/workspace/device-gpio/100 [Pipeline] { [Pipeline] checkout [2023-09-25T03:15:00.608Z] The recommended git tool is: git [2023-09-25T03:15:05.711Z] using credential edgex-jenkins-ssh [2023-09-25T03:15:05.726Z] Cloning the remote Git repository [2023-09-25T03:15:05.761Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-09-25T03:15:05.860Z] > git init /w/workspace/device-gpio/100 # timeout=10 [2023-09-25T03:15:06.004Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-09-25T03:15:06.005Z] > git --version # timeout=10 [2023-09-25T03:15:06.025Z] > git --version # 'git version 2.25.1' [2023-09-25T03:15:06.028Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-25T03:15:06.187Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-25T03:15:07.741Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-09-25T03:15:07.760Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-25T03:15:08.548Z] Avoid second fetch [2023-09-25T03:15:08.548Z] Checking out Revision c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a (main) [2023-09-25T03:15:09.084Z] Commit message: "Merge pull request #198 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.30" [2023-09-25T03:15:08.561Z] > git config core.sparsecheckout # timeout=10 [2023-09-25T03:15:08.641Z] > git checkout -f c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-25T03:15:09.994Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-25T03:15:09.994Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-25T03:15:09.995Z] Dload Upload Total Spent Left Speed [2023-09-25T03:15:09.995Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh [2023-09-25T03:15:10.620Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-25T03:15:10.950Z] + sudo tee /etc/docker/daemon.new [2023-09-25T03:15:10.950Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-25T03:15:10.950Z] { [2023-09-25T03:15:10.950Z] "registry-mirrors": [ [2023-09-25T03:15:10.950Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-25T03:15:10.950Z] ], [2023-09-25T03:15:10.950Z] "bip": "10.250.0.254/24", [2023-09-25T03:15:10.950Z] "hosts": [ [2023-09-25T03:15:10.950Z] "tcp://0.0.0.0:5555", [2023-09-25T03:15:10.950Z] "unix:///var/run/docker.sock" [2023-09-25T03:15:10.950Z] ], [2023-09-25T03:15:10.950Z] "mtu": 1458, [2023-09-25T03:15:10.950Z] "selinux-enabled": true, [2023-09-25T03:15:10.950Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-25T03:15:10.950Z] } [Pipeline] sh [2023-09-25T03:15:11.275Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-25T03:15:11.614Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-25T03:15:29.904Z] provisioning config files... [2023-09-25T03:15:29.937Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/100@tmp/config1478448483919455753tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T03:15:30.297Z] ---> docker-login.sh [2023-09-25T03:15:30.297Z] nexus3.edgexfoundry.org:10001 [2023-09-25T03:15:30.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T03:15:31.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T03:15:31.156Z] Configure a credential helper to remove this warning. See [2023-09-25T03:15:31.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T03:15:31.156Z] [2023-09-25T03:15:31.156Z] Login Succeeded [2023-09-25T03:15:31.156Z] nexus3.edgexfoundry.org:10002 [2023-09-25T03:15:31.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T03:15:31.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T03:15:31.427Z] Configure a credential helper to remove this warning. See [2023-09-25T03:15:31.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T03:15:31.427Z] [2023-09-25T03:15:31.427Z] Login Succeeded [2023-09-25T03:15:31.427Z] nexus3.edgexfoundry.org:10003 [2023-09-25T03:15:31.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T03:15:31.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T03:15:31.971Z] Configure a credential helper to remove this warning. See [2023-09-25T03:15:31.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T03:15:31.971Z] [2023-09-25T03:15:31.971Z] Login Succeeded [2023-09-25T03:15:31.971Z] nexus3.edgexfoundry.org:10004 [2023-09-25T03:15:32.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T03:15:32.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T03:15:32.242Z] Configure a credential helper to remove this warning. See [2023-09-25T03:15:32.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T03:15:32.242Z] [2023-09-25T03:15:32.242Z] Login Succeeded [2023-09-25T03:15:32.242Z] docker.io [2023-09-25T03:15:32.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T03:15:32.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T03:15:32.780Z] Configure a credential helper to remove this warning. See [2023-09-25T03:15:32.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T03:15:32.780Z] [2023-09-25T03:15:32.780Z] Login Succeeded [2023-09-25T03:15:32.780Z] ---> docker-login.sh ends [Pipeline] } [2023-09-25T03:15:32.794Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-25T03:15:33.034Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T03:15:33.049Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T03:15:33.066Z] ========================================================= [2023-09-25T03:15:33.066Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-25T03:15:33.066Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:15:33.418Z] + 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-09-25T03:15:33.687Z] Sending build context to Docker daemon 8.136MB [2023-09-25T03:15:33.687Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-25T03:15:33.687Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-25T03:15:33.956Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-25T03:15:33.956Z] 9fda8d8052c6: Pulling fs layer [2023-09-25T03:15:33.956Z] 5d54e960e981: Pulling fs layer [2023-09-25T03:15:33.956Z] c4a7e357bf2a: Pulling fs layer [2023-09-25T03:15:33.956Z] f0e02332f6b5: Pulling fs layer [2023-09-25T03:15:33.956Z] cefa15bbcfad: Pulling fs layer [2023-09-25T03:15:33.956Z] 17808c966233: Pulling fs layer [2023-09-25T03:15:33.956Z] f4c1fc716caa: Pulling fs layer [2023-09-25T03:15:33.956Z] cefa15bbcfad: Waiting [2023-09-25T03:15:33.956Z] 17808c966233: Waiting [2023-09-25T03:15:33.956Z] f4c1fc716caa: Waiting [2023-09-25T03:15:33.956Z] 5d54e960e981: Verifying Checksum [2023-09-25T03:15:33.956Z] 5d54e960e981: Download complete [2023-09-25T03:15:33.956Z] f0e02332f6b5: Download complete [2023-09-25T03:15:33.956Z] cefa15bbcfad: Verifying Checksum [2023-09-25T03:15:33.956Z] cefa15bbcfad: Download complete [2023-09-25T03:15:33.956Z] 9fda8d8052c6: Verifying Checksum [2023-09-25T03:15:33.956Z] 9fda8d8052c6: Download complete [2023-09-25T03:15:34.542Z] f4c1fc716caa: Verifying Checksum [2023-09-25T03:15:34.542Z] f4c1fc716caa: Download complete [2023-09-25T03:15:34.811Z] 9fda8d8052c6: Pull complete [2023-09-25T03:15:35.409Z] 5d54e960e981: Pull complete [2023-09-25T03:15:35.679Z] c4a7e357bf2a: Verifying Checksum [2023-09-25T03:15:35.679Z] c4a7e357bf2a: Download complete [2023-09-25T03:15:36.266Z] 17808c966233: Download complete [2023-09-25T03:15:46.357Z] c4a7e357bf2a: Pull complete [2023-09-25T03:15:46.357Z] f0e02332f6b5: Pull complete [2023-09-25T03:15:46.357Z] cefa15bbcfad: Pull complete [2023-09-25T03:15:54.581Z] 17808c966233: Pull complete [2023-09-25T03:15:55.553Z] f4c1fc716caa: Pull complete [2023-09-25T03:15:55.553Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-25T03:15:55.553Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-25T03:15:55.553Z] ---> ea914061e18c [2023-09-25T03:15:55.553Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-25T03:15:56.977Z] ---> Running in 71ee2404c364 [2023-09-25T03:15:57.246Z] Removing intermediate container 71ee2404c364 [2023-09-25T03:15:57.246Z] ---> 2f4e3a83d2fb [2023-09-25T03:15:57.246Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-25T03:15:57.514Z] ---> Running in 8a67e3657800 [2023-09-25T03:15:57.784Z] Removing intermediate container 8a67e3657800 [2023-09-25T03:15:57.784Z] ---> fc029ed1de92 [2023-09-25T03:15:57.784Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-09-25T03:15:57.784Z] ---> Running in 7bdaaadddec9 [2023-09-25T03:15:58.052Z] Removing intermediate container 7bdaaadddec9 [2023-09-25T03:15:58.052Z] ---> 141bbaea33d9 [2023-09-25T03:15:58.052Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-25T03:15:58.330Z] ---> Running in ed67d2908fa9 [2023-09-25T03:15:58.599Z] Removing intermediate container ed67d2908fa9 [2023-09-25T03:15:58.599Z] ---> ef49896164a9 [2023-09-25T03:15:58.599Z] Step 7/12 : WORKDIR /device-gpio [2023-09-25T03:15:58.599Z] ---> Running in a23c436b7119 [2023-09-25T03:15:58.867Z] Removing intermediate container a23c436b7119 [2023-09-25T03:15:58.867Z] ---> 193674418a80 [2023-09-25T03:15:58.867Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-25T03:15:58.867Z] ---> Running in ddcc004cf495 [2023-09-25T03:16:00.282Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-25T03:16:00.549Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-25T03:16:01.513Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-25T03:16:01.513Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-25T03:16:01.513Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-25T03:16:01.783Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-25T03:16:01.783Z] Executing busybox-1.36.1-r2.trigger [2023-09-25T03:16:01.783Z] OK: 270 MiB in 56 packages [2023-09-25T03:16:02.848Z] Removing intermediate container ddcc004cf495 [2023-09-25T03:16:02.848Z] ---> 14fb05fcf3bc [2023-09-25T03:16:02.848Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-25T03:16:03.465Z] ---> 362add0f1093 [2023-09-25T03:16:03.465Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-25T03:16:03.465Z] ---> Running in 26ff844148c7 [2023-09-25T03:17:11.379Z] Removing intermediate container 26ff844148c7 [2023-09-25T03:17:11.379Z] ---> d6d644f2a84f [2023-09-25T03:17:11.379Z] Step 11/12 : COPY . . [2023-09-25T03:17:11.379Z] ---> ff8cc72ce152 [2023-09-25T03:17:11.379Z] Step 12/12 : RUN ${MAKE} [2023-09-25T03:17:11.379Z] ---> Running in a203c1f7d4e8 [2023-09-25T03:17:11.379Z] noop [2023-09-25T03:17:11.379Z] Removing intermediate container a203c1f7d4e8 [2023-09-25T03:17:11.379Z] ---> ff1e5a038de6 [2023-09-25T03:17:11.379Z] Successfully built ff1e5a038de6 [2023-09-25T03:17:11.379Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:17:11.723Z] + docker inspect -f . ci-base-image-arm64 [2023-09-25T03:17:11.723Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T03:17:11.925Z] prd-ubuntu20.04-docker-arm64-4c-16g-7780 does not seem to be running inside a container [2023-09-25T03:17:12.006Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/100 -v /w/workspace/device-gpio/100:/w/workspace/device-gpio/100:rw,z -v /w/workspace/device-gpio/100@tmp:/w/workspace/device-gpio/100@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-09-25T03:17:13.139Z] $ docker top bad18a1eead9a5dbaba8849db3a48c918340a8bebe59e618253379581f20513e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T03:17:13.959Z] + go version [2023-09-25T03:17:13.959Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-25T03:17:13.987Z] $ docker stop --time=1 bad18a1eead9a5dbaba8849db3a48c918340a8bebe59e618253379581f20513e [2023-09-25T03:17:16.163Z] $ docker rm -f --volumes bad18a1eead9a5dbaba8849db3a48c918340a8bebe59e618253379581f20513e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:17:16.713Z] + docker inspect -f . ci-base-image-arm64 [2023-09-25T03:17:16.713Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T03:17:16.903Z] prd-ubuntu20.04-docker-arm64-4c-16g-7780 does not seem to be running inside a container [2023-09-25T03:17:16.979Z] $ 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/100 -v /w/workspace/device-gpio/100:/w/workspace/device-gpio/100:rw,z -v /w/workspace/device-gpio/100@tmp:/w/workspace/device-gpio/100@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-09-25T03:17:18.179Z] $ docker top 638fe08cebe59f39c66e81419c7fcad5601d5683018ab461fc0e33f26458a710 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T03:17:19.008Z] + git config --global --add safe.directory /w/workspace/device-gpio/100 [Pipeline] fileExists [Pipeline] sh [2023-09-25T03:17:19.656Z] + make test [2023-09-25T03:17:19.656Z] go test ./... -coverprofile=coverage.out ./... [2023-09-25T03:17:23.929Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-09-25T03:19:00.583Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-09-25T03:19:00.583Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-09-25T03:19:00.583Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-25T03:19:00.583Z] go vet ./... [2023-09-25T03:19:15.589Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-25T03:19:15.589Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-25T03:19:15.589Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-25T03:19:15.608Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-25T03:19:15.635Z] $ docker stop --time=1 638fe08cebe59f39c66e81419c7fcad5601d5683018ab461fc0e33f26458a710 [2023-09-25T03:19:19.658Z] $ docker rm -f --volumes 638fe08cebe59f39c66e81419c7fcad5601d5683018ab461fc0e33f26458a710 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-25T03:19:20.877Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-25T03:19:20.900Z] Warning: overwriting stash ‘coverage-report’ [2023-09-25T03:19:21.282Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-25T03:19:21.690Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-25T03:19:22.016Z] + ls -al . [2023-09-25T03:19:22.016Z] total 164 [2023-09-25T03:19:22.016Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 25 03:17 . [2023-09-25T03:19:22.016Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 03:15 .. [2023-09-25T03:19:22.016Z] -rw-rw-r-- 1 jenkins jenkins 120 Sep 25 03:15 .dockerignore [2023-09-25T03:19:22.016Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 25 03:15 .git [2023-09-25T03:19:22.016Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 03:15 .github [2023-09-25T03:19:22.016Z] -rw-rw-r-- 1 jenkins jenkins 343 Sep 25 03:15 .gitignore [2023-09-25T03:19:22.016Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 25 03:15 .golangci.yml [2023-09-25T03:19:22.016Z] -rw-rw-r-- 1 jenkins jenkins 10671 Sep 25 03:15 Attribution.txt [2023-09-25T03:19:22.016Z] -rw-rw-r-- 1 jenkins jenkins 6184 Sep 25 03:15 CHANGELOG.md [2023-09-25T03:19:22.016Z] -rw-rw-r-- 1 jenkins jenkins 1542 Sep 25 03:15 Dockerfile [2023-09-25T03:19:22.016Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 25 03:15 GOVERNANCE.md [2023-09-25T03:19:22.016Z] -rw-rw-r-- 1 jenkins jenkins 657 Sep 25 03:15 Jenkinsfile [2023-09-25T03:19:22.016Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 25 03:15 LICENSE [2023-09-25T03:19:22.016Z] -rw-rw-r-- 1 jenkins jenkins 1923 Sep 25 03:15 Makefile [2023-09-25T03:19:22.016Z] -rw-rw-r-- 1 jenkins jenkins 617 Sep 25 03:15 OWNERS.md [2023-09-25T03:19:22.016Z] -rw-rw-r-- 1 jenkins jenkins 12293 Sep 25 03:15 README.md [2023-09-25T03:19:22.016Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 25 03:12 VERSION [2023-09-25T03:19:22.016Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 03:15 bin [2023-09-25T03:19:22.016Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 03:15 cmd [2023-09-25T03:19:22.016Z] -rw-r--r-- 1 jenkins jenkins 10 Sep 25 03:17 coverage.out [2023-09-25T03:19:22.016Z] -rw-rw-r-- 1 jenkins jenkins 3697 Sep 25 03:15 go.mod [2023-09-25T03:19:22.016Z] -rw-rw-r-- 1 jenkins jenkins 35979 Sep 25 03:15 go.sum [2023-09-25T03:19:22.016Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 03:15 internal [2023-09-25T03:19:22.016Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 03:15 snap [2023-09-25T03:19:22.016Z] -rw-rw-r-- 1 jenkins jenkins 209 Sep 25 03:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:19:22.371Z] + 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=c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a --label arch=arm64 --label version=3.1.0-dev.13 . [2023-09-25T03:19:23.782Z] Sending build context to Docker daemon 8.137MB [2023-09-25T03:19:23.782Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-25T03:19:23.782Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-25T03:19:23.782Z] ---> ff1e5a038de6 [2023-09-25T03:19:23.782Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-25T03:19:24.051Z] ---> Running in 31b78e9e9a12 [2023-09-25T03:19:24.321Z] Removing intermediate container 31b78e9e9a12 [2023-09-25T03:19:24.321Z] ---> 8a7ee9aafd87 [2023-09-25T03:19:24.321Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-25T03:19:24.321Z] ---> Running in 89537887c242 [2023-09-25T03:19:24.589Z] Removing intermediate container 89537887c242 [2023-09-25T03:19:24.589Z] ---> 827e84f16837 [2023-09-25T03:19:24.589Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-09-25T03:19:24.589Z] ---> Running in 7f86673a9a2c [2023-09-25T03:19:25.186Z] Removing intermediate container 7f86673a9a2c [2023-09-25T03:19:25.186Z] ---> c2c3a53de136 [2023-09-25T03:19:25.186Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-25T03:19:25.186Z] ---> Running in 0b6df70956da [2023-09-25T03:19:25.459Z] Removing intermediate container 0b6df70956da [2023-09-25T03:19:25.459Z] ---> 7bbedf2a6eb5 [2023-09-25T03:19:25.459Z] Step 7/25 : WORKDIR /device-gpio [2023-09-25T03:19:25.459Z] ---> Running in 87d03c22b0e8 [2023-09-25T03:19:25.741Z] Removing intermediate container 87d03c22b0e8 [2023-09-25T03:19:25.741Z] ---> fc6cd95bcbc9 [2023-09-25T03:19:25.741Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-25T03:19:25.741Z] ---> Running in dd3b3bfe12ca [2023-09-25T03:19:26.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-25T03:19:27.289Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-25T03:19:28.258Z] OK: 270 MiB in 56 packages [2023-09-25T03:19:31.597Z] Removing intermediate container dd3b3bfe12ca [2023-09-25T03:19:31.597Z] ---> edd062946f4f [2023-09-25T03:19:31.597Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-25T03:19:32.183Z] ---> ab5cfd00359c [2023-09-25T03:19:32.183Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-25T03:19:32.183Z] ---> Running in 21c587ee8b7b [2023-09-25T03:19:34.766Z] Removing intermediate container 21c587ee8b7b [2023-09-25T03:19:34.766Z] ---> aa691b5ba20a [2023-09-25T03:19:34.766Z] Step 11/25 : COPY . . [2023-09-25T03:19:35.353Z] ---> ccc31d8c391a [2023-09-25T03:19:35.353Z] Step 12/25 : RUN ${MAKE} [2023-09-25T03:19:35.353Z] ---> Running in 0a0a2250d57e [2023-09-25T03:19:36.865Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.1.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.30" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-09-25T03:21:43.571Z] Removing intermediate container 0a0a2250d57e [2023-09-25T03:21:43.571Z] ---> d14ee776b5f9 [2023-09-25T03:21:43.571Z] Step 13/25 : FROM alpine:3.18 [2023-09-25T03:21:43.571Z] 3.18: Pulling from library/alpine [2023-09-25T03:21:43.571Z] 9fda8d8052c6: Already exists [2023-09-25T03:21:43.571Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-25T03:21:43.571Z] Status: Downloaded newer image for alpine:3.18 [2023-09-25T03:21:43.571Z] ---> f6648c04cd6c [2023-09-25T03:21:43.571Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-09-25T03:21:43.571Z] ---> Running in a9097f3a8a9c [2023-09-25T03:21:43.571Z] Removing intermediate container a9097f3a8a9c [2023-09-25T03:21:43.571Z] ---> 1f45226addfd [2023-09-25T03:21:43.571Z] Step 15/25 : RUN apk add --update --no-cache [2023-09-25T03:21:43.571Z] ---> Running in 120cbf09153e [2023-09-25T03:21:43.571Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-25T03:21:43.571Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-25T03:21:43.571Z] OK: 8 MiB in 15 packages [2023-09-25T03:21:44.152Z] Removing intermediate container 120cbf09153e [2023-09-25T03:21:44.152Z] ---> ce31e43a372d [2023-09-25T03:21:44.152Z] Step 16/25 : WORKDIR / [2023-09-25T03:21:44.152Z] ---> Running in eeb8181c0636 [2023-09-25T03:21:44.418Z] Removing intermediate container eeb8181c0636 [2023-09-25T03:21:44.418Z] ---> 26f1abffce50 [2023-09-25T03:21:44.418Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-09-25T03:21:45.828Z] ---> f2b448b1b9ab [2023-09-25T03:21:45.828Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-09-25T03:21:46.095Z] ---> 37a7eb69a749 [2023-09-25T03:21:46.095Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-09-25T03:21:47.504Z] ---> 58a598ecabf5 [2023-09-25T03:21:47.504Z] Step 20/25 : EXPOSE 59910 [2023-09-25T03:21:47.504Z] ---> Running in fc9560200aaa [2023-09-25T03:21:47.773Z] Removing intermediate container fc9560200aaa [2023-09-25T03:21:47.773Z] ---> fa85da55a822 [2023-09-25T03:21:47.773Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-09-25T03:21:47.773Z] ---> Running in c3bab698812a [2023-09-25T03:21:48.042Z] Removing intermediate container c3bab698812a [2023-09-25T03:21:48.042Z] ---> 599d3f8cb674 [2023-09-25T03:21:48.042Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-25T03:21:48.042Z] ---> Running in a1be95942fc4 [2023-09-25T03:21:48.311Z] Removing intermediate container a1be95942fc4 [2023-09-25T03:21:48.311Z] ---> d48bc7de7149 [2023-09-25T03:21:48.311Z] Step 23/25 : LABEL arch=arm64 [2023-09-25T03:21:48.579Z] ---> Running in 0907f4481cde [2023-09-25T03:21:48.847Z] Removing intermediate container 0907f4481cde [2023-09-25T03:21:48.847Z] ---> 00e490171ef4 [2023-09-25T03:21:48.847Z] Step 24/25 : LABEL git_sha=c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a [2023-09-25T03:21:48.847Z] ---> Running in 5718ad511cd1 [2023-09-25T03:21:49.113Z] Removing intermediate container 5718ad511cd1 [2023-09-25T03:21:49.113Z] ---> 1f2bef2504fb [2023-09-25T03:21:49.113Z] Step 25/25 : LABEL version=3.1.0-dev.13 [2023-09-25T03:21:49.113Z] ---> Running in f959e293c3b8 [2023-09-25T03:21:49.392Z] Removing intermediate container f959e293c3b8 [2023-09-25T03:21:49.392Z] ---> 730f7a3299f4 [2023-09-25T03:21:49.392Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-25T03:21:49.392Z] Successfully built 730f7a3299f4 [2023-09-25T03:21:49.392Z] Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-25T03:21:49.590Z] provisioning config files... [2023-09-25T03:21:49.604Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/100@tmp/config3647013348298485531tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T03:21:49.936Z] ---> docker-login.sh [2023-09-25T03:21:49.936Z] nexus3.edgexfoundry.org:10001 [2023-09-25T03:21:49.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T03:21:50.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T03:21:50.203Z] Configure a credential helper to remove this warning. See [2023-09-25T03:21:50.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T03:21:50.203Z] [2023-09-25T03:21:50.203Z] Login Succeeded [2023-09-25T03:21:50.203Z] nexus3.edgexfoundry.org:10002 [2023-09-25T03:21:50.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T03:21:50.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T03:21:50.737Z] Configure a credential helper to remove this warning. See [2023-09-25T03:21:50.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T03:21:50.737Z] [2023-09-25T03:21:50.737Z] Login Succeeded [2023-09-25T03:21:50.737Z] nexus3.edgexfoundry.org:10003 [2023-09-25T03:21:51.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T03:21:51.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T03:21:51.003Z] Configure a credential helper to remove this warning. See [2023-09-25T03:21:51.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T03:21:51.003Z] [2023-09-25T03:21:51.003Z] Login Succeeded [2023-09-25T03:21:51.003Z] nexus3.edgexfoundry.org:10004 [2023-09-25T03:21:51.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T03:21:51.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T03:21:51.274Z] Configure a credential helper to remove this warning. See [2023-09-25T03:21:51.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T03:21:51.274Z] [2023-09-25T03:21:51.274Z] Login Succeeded [2023-09-25T03:21:51.274Z] docker.io [2023-09-25T03:21:51.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T03:21:51.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T03:21:51.807Z] Configure a credential helper to remove this warning. See [2023-09-25T03:21:51.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T03:21:51.807Z] [2023-09-25T03:21:51.807Z] Login Succeeded [2023-09-25T03:21:51.807Z] ---> docker-login.sh ends [Pipeline] } [2023-09-25T03:21:51.819Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-25T03:21:51.857Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T03:21:51.876Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2023-09-25T03:21:51.876Z] c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a [2023-09-25T03:21:51.876Z] latest [2023-09-25T03:21:51.876Z] 3.1.0-dev.13 [2023-09-25T03:21:51.876Z] c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a-3.1.0-dev.13 [2023-09-25T03:21:51.876Z] main [2023-09-25T03:21:51.876Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:21:52.208Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:21:52.579Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a [2023-09-25T03:21:52.579Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-09-25T03:21:52.579Z] 52045e14df35: Preparing [2023-09-25T03:21:52.579Z] 9b64b14e7a1c: Preparing [2023-09-25T03:21:52.579Z] 900ad056a01f: Preparing [2023-09-25T03:21:52.579Z] e14cca4b3e4d: Preparing [2023-09-25T03:21:52.579Z] b2191e2be29d: Preparing [2023-09-25T03:21:52.579Z] b2191e2be29d: Layer already exists [2023-09-25T03:21:52.870Z] 900ad056a01f: Pushed [2023-09-25T03:21:52.870Z] e14cca4b3e4d: Pushed [2023-09-25T03:21:52.870Z] 9b64b14e7a1c: Pushed [2023-09-25T03:21:59.497Z] 52045e14df35: Pushed [2023-09-25T03:21:59.497Z] c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a: digest: sha256:7e536d398b4a9400d44bc566b82f72829bc89082a16fda2be4c12e9b7a8406bd size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:21:59.844Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:22:00.258Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-09-25T03:22:00.258Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-09-25T03:22:00.258Z] 52045e14df35: Preparing [2023-09-25T03:22:00.258Z] 9b64b14e7a1c: Preparing [2023-09-25T03:22:00.258Z] 900ad056a01f: Preparing [2023-09-25T03:22:00.258Z] e14cca4b3e4d: Preparing [2023-09-25T03:22:00.258Z] b2191e2be29d: Preparing [2023-09-25T03:22:00.258Z] 52045e14df35: Layer already exists [2023-09-25T03:22:00.258Z] b2191e2be29d: Layer already exists [2023-09-25T03:22:00.258Z] 9b64b14e7a1c: Layer already exists [2023-09-25T03:22:00.258Z] 900ad056a01f: Layer already exists [2023-09-25T03:22:00.527Z] e14cca4b3e4d: Layer already exists [2023-09-25T03:22:00.527Z] latest: digest: sha256:7e536d398b4a9400d44bc566b82f72829bc89082a16fda2be4c12e9b7a8406bd size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:22:00.884Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:22:01.242Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.13 [2023-09-25T03:22:01.242Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-09-25T03:22:01.242Z] 52045e14df35: Preparing [2023-09-25T03:22:01.242Z] 9b64b14e7a1c: Preparing [2023-09-25T03:22:01.242Z] 900ad056a01f: Preparing [2023-09-25T03:22:01.242Z] e14cca4b3e4d: Preparing [2023-09-25T03:22:01.242Z] b2191e2be29d: Preparing [2023-09-25T03:22:01.242Z] 900ad056a01f: Layer already exists [2023-09-25T03:22:01.242Z] 9b64b14e7a1c: Layer already exists [2023-09-25T03:22:01.242Z] e14cca4b3e4d: Layer already exists [2023-09-25T03:22:01.242Z] b2191e2be29d: Layer already exists [2023-09-25T03:22:01.242Z] 52045e14df35: Layer already exists [2023-09-25T03:22:01.521Z] 3.1.0-dev.13: digest: sha256:7e536d398b4a9400d44bc566b82f72829bc89082a16fda2be4c12e9b7a8406bd size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:22:01.877Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a-3.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:22:02.210Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a-3.1.0-dev.13 [2023-09-25T03:22:02.210Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-09-25T03:22:02.210Z] 52045e14df35: Preparing [2023-09-25T03:22:02.210Z] 9b64b14e7a1c: Preparing [2023-09-25T03:22:02.210Z] 900ad056a01f: Preparing [2023-09-25T03:22:02.210Z] e14cca4b3e4d: Preparing [2023-09-25T03:22:02.210Z] b2191e2be29d: Preparing [2023-09-25T03:22:02.210Z] 52045e14df35: Layer already exists [2023-09-25T03:22:02.210Z] b2191e2be29d: Layer already exists [2023-09-25T03:22:02.210Z] 9b64b14e7a1c: Layer already exists [2023-09-25T03:22:02.210Z] 900ad056a01f: Layer already exists [2023-09-25T03:22:02.210Z] e14cca4b3e4d: Layer already exists [2023-09-25T03:22:02.210Z] c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a-3.1.0-dev.13: digest: sha256:7e536d398b4a9400d44bc566b82f72829bc89082a16fda2be4c12e9b7a8406bd size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:22:02.546Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:22:02.887Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2023-09-25T03:22:02.887Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-09-25T03:22:02.887Z] 52045e14df35: Preparing [2023-09-25T03:22:02.887Z] 9b64b14e7a1c: Preparing [2023-09-25T03:22:02.887Z] 900ad056a01f: Preparing [2023-09-25T03:22:02.887Z] e14cca4b3e4d: Preparing [2023-09-25T03:22:02.887Z] b2191e2be29d: Preparing [2023-09-25T03:22:02.887Z] 9b64b14e7a1c: Layer already exists [2023-09-25T03:22:02.887Z] 900ad056a01f: Layer already exists [2023-09-25T03:22:02.887Z] 52045e14df35: Layer already exists [2023-09-25T03:22:02.887Z] b2191e2be29d: Layer already exists [2023-09-25T03:22:02.887Z] e14cca4b3e4d: Layer already exists [2023-09-25T03:22:02.887Z] main: digest: sha256:7e536d398b4a9400d44bc566b82f72829bc89082a16fda2be4c12e9b7a8406bd size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-25T03:22:02.959Z] ===================================================== [Pipeline] echo [2023-09-25T03:22:02.972Z] taggedImages: [2023-09-25T03:22:02.972Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a [2023-09-25T03:22:02.972Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-09-25T03:22:02.972Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.13 [2023-09-25T03:22:02.972Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a-3.1.0-dev.13 [2023-09-25T03:22:02.972Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:22:03.345Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-25T03:22:03.346Z] [2023-09-25T03:22:03.346Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:22:03.697Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-25T03:22:03.697Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-25T03:22:03.697Z] 8998bd30e6a1: Pulling fs layer [2023-09-25T03:22:03.697Z] 04944245beec: Pulling fs layer [2023-09-25T03:22:03.697Z] 699f458cf7ca: Pulling fs layer [2023-09-25T03:22:03.697Z] 765212b225bb: Pulling fs layer [2023-09-25T03:22:03.697Z] f23df028b6ca: Pulling fs layer [2023-09-25T03:22:03.697Z] d65c8cfc05b1: Pulling fs layer [2023-09-25T03:22:03.697Z] 2437ff75d9bd: Pulling fs layer [2023-09-25T03:22:03.697Z] 765212b225bb: Waiting [2023-09-25T03:22:03.697Z] f23df028b6ca: Waiting [2023-09-25T03:22:03.697Z] d65c8cfc05b1: Waiting [2023-09-25T03:22:03.697Z] 2437ff75d9bd: Waiting [2023-09-25T03:22:03.964Z] 04944245beec: Verifying Checksum [2023-09-25T03:22:03.964Z] 04944245beec: Download complete [2023-09-25T03:22:03.964Z] 765212b225bb: Verifying Checksum [2023-09-25T03:22:03.964Z] 765212b225bb: Download complete [2023-09-25T03:22:03.964Z] f23df028b6ca: Verifying Checksum [2023-09-25T03:22:03.964Z] f23df028b6ca: Download complete [2023-09-25T03:22:03.964Z] d65c8cfc05b1: Verifying Checksum [2023-09-25T03:22:03.964Z] d65c8cfc05b1: Download complete [2023-09-25T03:22:03.964Z] 699f458cf7ca: Verifying Checksum [2023-09-25T03:22:03.964Z] 699f458cf7ca: Download complete [2023-09-25T03:22:04.549Z] 8998bd30e6a1: Verifying Checksum [2023-09-25T03:22:04.549Z] 8998bd30e6a1: Download complete [2023-09-25T03:22:06.492Z] 2437ff75d9bd: Verifying Checksum [2023-09-25T03:22:06.492Z] 2437ff75d9bd: Download complete [2023-09-25T03:22:08.433Z] 8998bd30e6a1: Pull complete [2023-09-25T03:22:08.700Z] 04944245beec: Pull complete [2023-09-25T03:22:10.105Z] 699f458cf7ca: Pull complete [2023-09-25T03:22:11.510Z] 765212b225bb: Pull complete [2023-09-25T03:22:12.092Z] f23df028b6ca: Pull complete [2023-09-25T03:22:12.358Z] d65c8cfc05b1: Pull complete [2023-09-25T03:22:27.346Z] 2437ff75d9bd: Pull complete [2023-09-25T03:22:27.346Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-25T03:22:27.346Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-25T03:22:27.346Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T03:22:27.535Z] prd-ubuntu20.04-docker-arm64-4c-16g-7780 does not seem to be running inside a container [2023-09-25T03:22:27.627Z] $ 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/100 -v /w/workspace/device-gpio/100:/w/workspace/device-gpio/100:rw,z -v /w/workspace/device-gpio/100@tmp:/w/workspace/device-gpio/100@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-09-25T03:22:30.093Z] $ docker top 4e95c16bbcde5bc8c040f4b3c75e0c0918819c9f28d7fe14365c9e0c21af1d17 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T03:22:30.892Z] ---> job-cost.sh [2023-09-25T03:22:30.892Z] lf-activate-venv: SKIPPING [2023-09-25T03:22:30.892Z] INFO: No Stack... [2023-09-25T03:22:31.157Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-25T03:22:32.112Z] INFO: Archiving Costs [Pipeline] sh [2023-09-25T03:22:32.439Z] + cat /w/workspace/device-gpio/100/archives/cost.csv [2023-09-25T03:22:32.439Z] + cut -d, -f6 [Pipeline] lock [2023-09-25T03:22:32.501Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-100-stack-cost] [2023-09-25T03:22:32.507Z] Resource [jenkins-edgexfoundry-device-gpio-main-100-stack-cost] did not exist. Created. [2023-09-25T03:22:32.507Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-100-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-25T03:22:32.836Z] /w/workspace/device-gpio/100@tmp/durable-bcb42a39/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-25T03:22:33.164Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-25T03:22:33.180Z] Warning: overwriting stash ‘stack-cost’ [2023-09-25T03:22:33.232Z] Stashed 1 file(s) [Pipeline] } [2023-09-25T03:22:33.238Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-100-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-25T03:22:33.266Z] $ docker stop --time=1 4e95c16bbcde5bc8c040f4b3c75e0c0918819c9f28d7fe14365c9e0c21af1d17 [2023-09-25T03:22:34.729Z] $ docker rm -f --volumes 4e95c16bbcde5bc8c040f4b3c75e0c0918819c9f28d7fe14365c9e0c21af1d17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-09-25T03:22:35.069Z] provisioning config files... [2023-09-25T03:22:35.075Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config18202056432654531062tmp [Pipeline] { [Pipeline] sh [2023-09-25T03:22:35.364Z] + set +x [2023-09-25T03:22:35.364Z] + curl -s https://codecov.io/bash [2023-09-25T03:22:35.364Z] + bash -s -- [2023-09-25T03:22:35.364Z] [2023-09-25T03:22:35.364Z] _____ _ [2023-09-25T03:22:35.364Z] / ____| | | [2023-09-25T03:22:35.364Z] | | ___ __| | ___ ___ _____ __ [2023-09-25T03:22:35.364Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-25T03:22:35.365Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-25T03:22:35.365Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-25T03:22:35.365Z] Bash-1.0.6 [2023-09-25T03:22:35.365Z] [2023-09-25T03:22:35.365Z] [2023-09-25T03:22:35.365Z] ==> git version 2.25.1 found [2023-09-25T03:22:35.365Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-09-25T03:22:35.365Z] Release-Date: 2020-01-08 [2023-09-25T03:22:35.365Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-25T03:22:35.365Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-25T03:22:35.365Z] ==> Jenkins CI detected. [2023-09-25T03:22:35.365Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2023-09-25T03:22:35.365Z] project root: . [2023-09-25T03:22:35.365Z] --> token set from env [2023-09-25T03:22:35.365Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-25T03:22:35.365Z] ==> Running gcov in . (disable via -X gcov) [2023-09-25T03:22:35.365Z] ==> Python coveragepy not found [2023-09-25T03:22:35.365Z] ==> Searching for coverage reports in: [2023-09-25T03:22:35.365Z] + . [2023-09-25T03:22:35.365Z] -> Found 1 reports [2023-09-25T03:22:35.365Z] ==> Detecting git/mercurial file structure [2023-09-25T03:22:35.365Z] ==> Reading reports [2023-09-25T03:22:35.365Z] + ./coverage.out bytes=10 [2023-09-25T03:22:35.365Z] ==> Appending adjustments [2023-09-25T03:22:35.365Z] https://docs.codecov.io/docs/fixing-reports [2023-09-25T03:22:35.623Z] + Found adjustments [2023-09-25T03:22:35.623Z] ==> Gzipping contents [2023-09-25T03:22:35.623Z] 4.0K /tmp/codecov.xTYyDC.gz [2023-09-25T03:22:35.623Z] ==> Uploading reports [2023-09-25T03:22:35.623Z] url: https://codecov.io [2023-09-25T03:22:35.623Z] query: branch=main&commit=c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a&build=100&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F100%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-25T03:22:35.623Z] -> Pinging Codecov [2023-09-25T03:22:35.623Z] 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=c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a&build=100&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F100%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-25T03:22:35.623Z] -> Uploading to [2023-09-25T03:22:35.623Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-25/3EC07B1A8CA8AF9BCAA0BB9F0134797F/c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a/c1ce4de8-7553-4e90-a18f-9d7089830ac0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230925%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230925T032235Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7ff842b965d660f9c43028db64fbaf1a8dc3b1cd67914b429364a72818a1c84d [2023-09-25T03:22:35.623Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-25T03:22:35.623Z] Dload Upload Total Spent Left Speed [2023-09-25T03:22:35.882Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3584 --:--:-- --:--:-- --:--:-- 3584 [2023-09-25T03:22:35.882Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a [Pipeline] } [2023-09-25T03:22:35.889Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-25T03:22:36.001Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-25T03:22:36.010Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:22:36.302Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-25T03:22:36.302Z] [2023-09-25T03:22:36.302Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:22:36.597Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-25T03:22:37.166Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-25T03:22:37.166Z] df9b9388f04a: Pulling fs layer [2023-09-25T03:22:37.166Z] 52dc419b0ee2: Pulling fs layer [2023-09-25T03:22:37.166Z] 25bc292e5bac: Pulling fs layer [2023-09-25T03:22:37.166Z] 114826534d7a: Pulling fs layer [2023-09-25T03:22:37.166Z] 4657fd5d0bcf: Pulling fs layer [2023-09-25T03:22:37.166Z] 6ad1cebc031e: Pulling fs layer [2023-09-25T03:22:37.166Z] 8a3aa393b2d8: Pulling fs layer [2023-09-25T03:22:37.166Z] 4657fd5d0bcf: Waiting [2023-09-25T03:22:37.166Z] 6ad1cebc031e: Waiting [2023-09-25T03:22:37.166Z] 114826534d7a: Waiting [2023-09-25T03:22:37.166Z] 25bc292e5bac: Verifying Checksum [2023-09-25T03:22:37.166Z] 25bc292e5bac: Download complete [2023-09-25T03:22:37.166Z] 52dc419b0ee2: Download complete [2023-09-25T03:22:37.166Z] 4657fd5d0bcf: Verifying Checksum [2023-09-25T03:22:37.166Z] 4657fd5d0bcf: Download complete [2023-09-25T03:22:37.166Z] df9b9388f04a: Download complete [2023-09-25T03:22:37.166Z] 6ad1cebc031e: Verifying Checksum [2023-09-25T03:22:37.166Z] 6ad1cebc031e: Download complete [2023-09-25T03:22:37.736Z] df9b9388f04a: Pull complete [2023-09-25T03:22:38.021Z] 52dc419b0ee2: Pull complete [2023-09-25T03:22:38.021Z] 114826534d7a: Verifying Checksum [2023-09-25T03:22:38.021Z] 114826534d7a: Download complete [2023-09-25T03:22:38.021Z] 8a3aa393b2d8: Verifying Checksum [2023-09-25T03:22:38.021Z] 8a3aa393b2d8: Download complete [2023-09-25T03:22:38.280Z] 25bc292e5bac: Pull complete [2023-09-25T03:22:42.587Z] 114826534d7a: Pull complete [2023-09-25T03:22:42.587Z] 4657fd5d0bcf: Pull complete [2023-09-25T03:22:43.157Z] 6ad1cebc031e: Pull complete [2023-09-25T03:22:46.441Z] 8a3aa393b2d8: Pull complete [2023-09-25T03:22:46.702Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-25T03:22:46.962Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-25T03:22:46.962Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T03:22:47.038Z] prd-ubuntu20.04-docker-8c-8g-7778 does not seem to be running inside a container [2023-09-25T03:22:47.076Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-25T03:23:01.299Z] $ docker top c9de47dfbcfbc37336572d5ae8d86a0771efa6d0cc1e7d26534fda2320aa218e -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-25T03:23:01.363Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2023-09-25T03:23:01.692Z] + set -o pipefail [2023-09-25T03:23:01.692Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2023-09-25T03:23:07.030Z] [2023-09-25T03:23:07.030Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2023-09-25T03:23:07.030Z] [2023-09-25T03:23:07.030Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/a8768fe9-f49c-470c-b210-fa9498870416 [2023-09-25T03:23:07.030Z] [2023-09-25T03:23:07.030Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-25T03:23:07.030Z] [2023-09-25T03:23:07.030Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-25T03:23:07.030Z] [2023-09-25T03:23:07.030Z] [2023-09-25T03:23:07.030Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-25T03:23:07.030Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-25T03:23:07.030Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-25T03:23:07.041Z] $ docker stop --time=1 c9de47dfbcfbc37336572d5ae8d86a0771efa6d0cc1e7d26534fda2320aa218e [2023-09-25T03:23:16.672Z] $ docker rm -f --volumes c9de47dfbcfbc37336572d5ae8d86a0771efa6d0cc1e7d26534fda2320aa218e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-25T03:23:17.620Z] + git log --format=format:%s -1 c58674bc0747b906ae6e6f0e9ab4cab2fdd5e17a [Pipeline] sh [2023-09-25T03:23:17.911Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-25T03:23:17.911Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:23:18.213Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T03:23:18.213Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T03:23:18.311Z] prd-ubuntu20.04-docker-8c-8g-7778 does not seem to be running inside a container [2023-09-25T03:23:18.345Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-25T03:23:20.308Z] $ docker top 37ce9d93d02d10dcf94b27b438edaeb2d5735b0c5076badf13a61f835fcfc702 -eo pid,comm [2023-09-25T03:23:20.346Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-25T03:23:20.346Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-25T03:23:20.388Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-25T03:23:20.388Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-25T03:23:20.489Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-25T03:23:20.493Z] $ docker exec 37ce9d93d02d10dcf94b27b438edaeb2d5735b0c5076badf13a61f835fcfc702 ssh-agent [2023-09-25T03:23:20.586Z] SSH_AUTH_SOCK=/tmp/ssh-Ptw3S4HkUBWf/agent.15 [2023-09-25T03:23:20.586Z] SSH_AGENT_PID=21 [2023-09-25T03:23:20.592Z] Running ssh-add (command line suppressed) [2023-09-25T03:23:20.734Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4839981632089472574.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4839981632089472574.key) [2023-09-25T03:23:20.803Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-25T03:23:21.087Z] + git semver tag [2023-09-25T03:23:21.702Z] 2023-09-25 03:23:21,393 [run_tag] DEBUG tag force:False [2023-09-25T03:23:21.702Z] 2023-09-25 03:23:21,393 [check_head_tag] DEBUG check head tag [2023-09-25T03:23:21.702Z] 2023-09-25 03:23:21,394 [execute] INFO git cat-file --batch-check [2023-09-25T03:23:21.702Z] 2023-09-25 03:23:21,394 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-09-25T03:23:21.702Z] 2023-09-25 03:23:21,399 [execute] INFO git cat-file --batch [2023-09-25T03:23:21.702Z] 2023-09-25 03:23:21,399 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-09-25T03:23:21.702Z] 2023-09-25 03:23:21,409 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-25T03:23:21.702Z] 2023-09-25 03:23:21,409 [execute] INFO git tag -a v3.1.0-dev.13 -m v3.1.0-dev.13 [2023-09-25T03:23:21.702Z] 2023-09-25 03:23:21,410 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.13', '-m', 'v3.1.0-dev.13'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-09-25T03:23:21.702Z] 2023-09-25 03:23:21,415 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-25T03:23:21.702Z] 3.1.0-dev.13 [Pipeline] } [2023-09-25T03:23:21.713Z] $ docker exec --env ******** --env ******** 37ce9d93d02d10dcf94b27b438edaeb2d5735b0c5076badf13a61f835fcfc702 ssh-agent -k [2023-09-25T03:23:21.802Z] unset SSH_AUTH_SOCK; [2023-09-25T03:23:21.803Z] unset SSH_AGENT_PID; [2023-09-25T03:23:21.803Z] echo Agent pid 21 killed; [2023-09-25T03:23:21.812Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-25T03:23:22.125Z] + git semver [Pipeline] } [2023-09-25T03:23:22.459Z] $ docker stop --time=1 37ce9d93d02d10dcf94b27b438edaeb2d5735b0c5076badf13a61f835fcfc702 [2023-09-25T03:23:24.503Z] $ docker rm -f --volumes 37ce9d93d02d10dcf94b27b438edaeb2d5735b0c5076badf13a61f835fcfc702 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:23:25.037Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-25T03:23:25.037Z] [2023-09-25T03:23:25.037Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:23:25.333Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-25T03:23:25.593Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-25T03:23:25.593Z] ab5ef0e58194: Pulling fs layer [2023-09-25T03:23:25.593Z] 9712f1f96733: Pulling fs layer [2023-09-25T03:23:25.593Z] 63f879dbbcfc: Pulling fs layer [2023-09-25T03:23:25.593Z] 0d9ebad4ef96: Pulling fs layer [2023-09-25T03:23:25.593Z] e9a5061849ea: Pulling fs layer [2023-09-25T03:23:25.593Z] d747dcd14b5f: Pulling fs layer [2023-09-25T03:23:25.593Z] 2de7ff778b66: Pulling fs layer [2023-09-25T03:23:25.593Z] e9a5061849ea: Waiting [2023-09-25T03:23:25.593Z] d747dcd14b5f: Waiting [2023-09-25T03:23:25.593Z] 2de7ff778b66: Waiting [2023-09-25T03:23:25.593Z] 0d9ebad4ef96: Waiting [2023-09-25T03:23:25.593Z] 9712f1f96733: Download complete [2023-09-25T03:23:25.852Z] 63f879dbbcfc: Verifying Checksum [2023-09-25T03:23:25.852Z] 63f879dbbcfc: Download complete [2023-09-25T03:23:26.111Z] 0d9ebad4ef96: Verifying Checksum [2023-09-25T03:23:26.111Z] 0d9ebad4ef96: Download complete [2023-09-25T03:23:26.370Z] d747dcd14b5f: Verifying Checksum [2023-09-25T03:23:26.370Z] e9a5061849ea: Verifying Checksum [2023-09-25T03:23:26.370Z] e9a5061849ea: Download complete [2023-09-25T03:23:26.370Z] ab5ef0e58194: Verifying Checksum [2023-09-25T03:23:26.370Z] ab5ef0e58194: Download complete [2023-09-25T03:23:26.370Z] 2de7ff778b66: Verifying Checksum [2023-09-25T03:23:26.370Z] 2de7ff778b66: Download complete [2023-09-25T03:23:29.658Z] ab5ef0e58194: Pull complete [2023-09-25T03:23:30.224Z] 9712f1f96733: Pull complete [2023-09-25T03:23:32.171Z] 63f879dbbcfc: Pull complete [2023-09-25T03:23:37.438Z] 0d9ebad4ef96: Pull complete [2023-09-25T03:23:38.005Z] e9a5061849ea: Pull complete [2023-09-25T03:23:38.573Z] d747dcd14b5f: Pull complete [2023-09-25T03:23:41.104Z] 2de7ff778b66: Pull complete [2023-09-25T03:23:41.104Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-25T03:23:41.104Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-25T03:23:41.104Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T03:23:41.199Z] prd-ubuntu20.04-docker-8c-8g-7778 does not seem to be running inside a container [2023-09-25T03:23:41.232Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-25T03:23:55.131Z] $ docker top aa16629fa849ef2a9b4cffe35950992c4c811d554a2e865aea2ddaa4cc67b266 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-25T03:23:55.206Z] provisioning config files... [2023-09-25T03:23:55.213Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config39153770114525780tmp [2023-09-25T03:23:55.224Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config6095398492382832175tmp [2023-09-25T03:23:55.234Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1107828160034740192tmp [Pipeline] { [Pipeline] echo [2023-09-25T03:23:55.253Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T03:23:55.542Z] ---> sigul-configuration.sh [2023-09-25T03:23:55.542Z] gpg: directory `/root/.gnupg' created [2023-09-25T03:23:55.542Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-25T03:23:55.542Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-25T03:23:55.542Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-25T03:23:55.542Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-25T03:23:55.542Z] gpg: CAST5 encrypted data [2023-09-25T03:23:55.542Z] gpg: encrypted with 1 passphrase [2023-09-25T03:23:55.542Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-25T03:23:55.831Z] + mkdir /home/jenkins [2023-09-25T03:23:55.831Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-25T03:23:56.127Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-09-25T03:23:56.134Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T03:23:56.418Z] ---> sigul-install.sh [2023-09-25T03:23:56.418Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-25T03:23:56.700Z] + git tag --list [2023-09-25T03:23:56.700Z] v1.0.0 [2023-09-25T03:23:56.700Z] v2.1.0 [2023-09-25T03:23:56.700Z] v2.1.1 [2023-09-25T03:23:56.700Z] v2.2.0 [2023-09-25T03:23:56.700Z] v2.3.0 [2023-09-25T03:23:56.700Z] v3.0 [2023-09-25T03:23:56.700Z] v3.0.0 [2023-09-25T03:23:56.700Z] v3.1.0-dev.1 [2023-09-25T03:23:56.700Z] v3.1.0-dev.10 [2023-09-25T03:23:56.700Z] v3.1.0-dev.11 [2023-09-25T03:23:56.700Z] v3.1.0-dev.12 [2023-09-25T03:23:56.700Z] v3.1.0-dev.13 [2023-09-25T03:23:56.700Z] v3.1.0-dev.2 [2023-09-25T03:23:56.700Z] v3.1.0-dev.3 [2023-09-25T03:23:56.700Z] v3.1.0-dev.4 [2023-09-25T03:23:56.700Z] v3.1.0-dev.5 [2023-09-25T03:23:56.700Z] v3.1.0-dev.6 [2023-09-25T03:23:56.700Z] v3.1.0-dev.7 [2023-09-25T03:23:56.700Z] v3.1.0-dev.8 [2023-09-25T03:23:56.700Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-25T03:23:56.986Z] + lftools sign git-tag v3.1.0-dev.13 [2023-09-25T03:23:57.555Z] Signing Git tag with Sigul... [2023-09-25T03:23:57.555Z] Signing v3.1.0-dev.13 [Pipeline] echo [2023-09-25T03:23:58.132Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T03:23:58.413Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-25T03:23:58.418Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-25T03:23:58.433Z] $ docker stop --time=1 aa16629fa849ef2a9b4cffe35950992c4c811d554a2e865aea2ddaa4cc67b266 [2023-09-25T03:24:00.434Z] $ docker rm -f --volumes aa16629fa849ef2a9b4cffe35950992c4c811d554a2e865aea2ddaa4cc67b266 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-25T03:24:01.056Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-25T03:24:01.057Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:24:01.349Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T03:24:01.349Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T03:24:01.421Z] prd-ubuntu20.04-docker-8c-8g-7778 does not seem to be running inside a container [2023-09-25T03:24:01.453Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-25T03:24:02.579Z] $ docker top 8f724dd839502861f82b52b9863d6a6480763105d26b5da95bf4f56d29bdc83f -eo pid,comm [2023-09-25T03:24:02.640Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-25T03:24:02.640Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-25T03:24:02.679Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-25T03:24:02.679Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-25T03:24:02.799Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-25T03:24:02.803Z] $ docker exec 8f724dd839502861f82b52b9863d6a6480763105d26b5da95bf4f56d29bdc83f ssh-agent [2023-09-25T03:24:02.919Z] SSH_AUTH_SOCK=/tmp/ssh-qAzpz9JMo39P/agent.14 [2023-09-25T03:24:02.919Z] SSH_AGENT_PID=21 [2023-09-25T03:24:02.924Z] Running ssh-add (command line suppressed) [2023-09-25T03:24:03.024Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2206812110173872351.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2206812110173872351.key) [2023-09-25T03:24:03.039Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-25T03:24:03.324Z] + git semver bump pre [2023-09-25T03:24:03.583Z] 2023-09-25 03:24:03,559 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-25T03:24:03.583Z] 2023-09-25 03:24:03,559 [bump_version] DEBUG bumping version:3.1.0-dev.13 on axis:pre with prefix:dev [2023-09-25T03:24:03.583Z] 2023-09-25 03:24:03,560 [bump_version] DEBUG bumped version:3.1.0-dev.14 [2023-09-25T03:24:03.583Z] 2023-09-25 03:24:03,560 [write_version] DEBUG write version:3.1.0-dev.14 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True [2023-09-25T03:24:03.583Z] 2023-09-25 03:24:03,560 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-25T03:24:03.583Z] 2023-09-25 03:24:03,560 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-25T03:24:03.584Z] 2023-09-25 03:24:03,561 [execute] INFO git cat-file --batch-check [2023-09-25T03:24:03.584Z] 2023-09-25 03:24:03,562 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-25T03:24:03.584Z] 2023-09-25 03:24:03,568 [execute] INFO git cat-file --batch [2023-09-25T03:24:03.584Z] 2023-09-25 03:24:03,568 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-25T03:24:03.584Z] 2023-09-25 03:24:03,573 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-25T03:24:03.584Z] 3.1.0-dev.14 [Pipeline] } [2023-09-25T03:24:03.852Z] $ docker exec --env ******** --env ******** 8f724dd839502861f82b52b9863d6a6480763105d26b5da95bf4f56d29bdc83f ssh-agent -k [2023-09-25T03:24:03.954Z] unset SSH_AUTH_SOCK; [2023-09-25T03:24:03.955Z] unset SSH_AGENT_PID; [2023-09-25T03:24:03.955Z] echo Agent pid 21 killed; [2023-09-25T03:24:03.964Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-25T03:24:04.272Z] + git semver [Pipeline] } [2023-09-25T03:24:04.852Z] $ docker stop --time=1 8f724dd839502861f82b52b9863d6a6480763105d26b5da95bf4f56d29bdc83f [2023-09-25T03:24:06.646Z] $ docker rm -f --volumes 8f724dd839502861f82b52b9863d6a6480763105d26b5da95bf4f56d29bdc83f [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-25T03:24:07.026Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-25T03:24:07.026Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:24:07.330Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T03:24:07.330Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T03:24:07.414Z] prd-ubuntu20.04-docker-8c-8g-7778 does not seem to be running inside a container [2023-09-25T03:24:07.465Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-25T03:24:08.667Z] $ docker top 7ee9815bb09f02d5cd32f063d6737e3f7374798e7c487216424c186846b4d943 -eo pid,comm [2023-09-25T03:24:08.709Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-25T03:24:08.709Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-25T03:24:08.748Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-25T03:24:08.748Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-25T03:24:08.865Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-25T03:24:08.869Z] $ docker exec 7ee9815bb09f02d5cd32f063d6737e3f7374798e7c487216424c186846b4d943 ssh-agent [2023-09-25T03:24:09.019Z] SSH_AUTH_SOCK=/tmp/ssh-eY79fmWJue91/agent.14 [2023-09-25T03:24:09.019Z] SSH_AGENT_PID=20 [2023-09-25T03:24:09.024Z] Running ssh-add (command line suppressed) [2023-09-25T03:24:09.149Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_14969578840766350706.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_14969578840766350706.key) [2023-09-25T03:24:09.163Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-25T03:24:09.449Z] + git semver push [2023-09-25T03:24:09.708Z] 2023-09-25 03:24:09,685 [run_push] DEBUG push [2023-09-25T03:24:09.708Z] 2023-09-25 03:24:09,685 [execute] INFO git cat-file --batch-check [2023-09-25T03:24:09.708Z] 2023-09-25 03:24:09,686 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-25T03:24:09.708Z] 2023-09-25 03:24:09,689 [execute] INFO git rev-list 10cc452042f8265d8698f6f6b865051b7be24cb0 -- [2023-09-25T03:24:09.708Z] 2023-09-25 03:24:09,689 [execute] DEBUG Popen(['git', 'rev-list', '10cc452042f8265d8698f6f6b865051b7be24cb0', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-25T03:24:09.708Z] 2023-09-25 03:24:09,696 [execute] INFO git fetch -v origin [2023-09-25T03:24:09.708Z] 2023-09-25 03:24:09,696 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-25T03:24:10.276Z] 2023-09-25 03:24:10,161 [run_push] DEBUG no remote changes detected [2023-09-25T03:24:10.276Z] 2023-09-25 03:24:10,161 [execute] INFO git push origin semver [2023-09-25T03:24:10.276Z] 2023-09-25 03:24:10,162 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-25T03:24:11.211Z] 2023-09-25 03:24:10,984 [run_push] DEBUG push all version tags [2023-09-25T03:24:11.211Z] 2023-09-25 03:24:10,985 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-25T03:24:11.211Z] 2023-09-25 03:24:10,985 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-09-25T03:24:11.778Z] 2023-09-25 03:24:11,725 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-25T03:24:11.778Z] 3.1.0-dev.14 [Pipeline] } [2023-09-25T03:24:11.788Z] $ docker exec --env ******** --env ******** 7ee9815bb09f02d5cd32f063d6737e3f7374798e7c487216424c186846b4d943 ssh-agent -k [2023-09-25T03:24:11.916Z] unset SSH_AUTH_SOCK; [2023-09-25T03:24:11.916Z] unset SSH_AGENT_PID; [2023-09-25T03:24:11.916Z] echo Agent pid 20 killed; [2023-09-25T03:24:11.927Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-25T03:24:12.238Z] + git semver [Pipeline] } [2023-09-25T03:24:12.820Z] $ docker stop --time=1 7ee9815bb09f02d5cd32f063d6737e3f7374798e7c487216424c186846b4d943 [2023-09-25T03:24:14.642Z] $ docker rm -f --volumes 7ee9815bb09f02d5cd32f063d6737e3f7374798e7c487216424c186846b4d943 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-09-25T03:24:15.299Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2023-09-25T03:24:15.299Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-09-25T03:24:15.299Z] total 16 [2023-09-25T03:24:15.299Z] drwxr-xr-x 3 root root 4096 Sep 25 03:14 . [2023-09-25T03:24:15.299Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 25 03:23 .. [2023-09-25T03:24:15.299Z] drwxr-xr-x 2 root root 4096 Sep 25 03:14 cost [2023-09-25T03:24:15.299Z] -rw-r--r-- 1 root root 83 Sep 25 03:14 cost.csv [2023-09-25T03:24:15.299Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2023-09-25T03:24:15.299Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-09-25T03:24:15.299Z] total 16 [2023-09-25T03:24:15.299Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 25 03:14 . [2023-09-25T03:24:15.299Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 25 03:23 .. [2023-09-25T03:24:15.299Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 25 03:14 cost [2023-09-25T03:24:15.299Z] -rw-r--r-- 1 jenkins jenkins 83 Sep 25 03:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-25T03:24:15.645Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T03:24:16.560Z] ---> package-listing.sh [2023-09-25T03:24:16.560Z] ++ facter osfamily [2023-09-25T03:24:16.560Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-25T03:24:16.819Z] + OS_FAMILY=debian [2023-09-25T03:24:16.819Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2023-09-25T03:24:16.819Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-25T03:24:16.819Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-25T03:24:16.819Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-25T03:24:16.819Z] + PACKAGES=/tmp/packages_start.txt [2023-09-25T03:24:16.819Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-09-25T03:24:16.819Z] + PACKAGES=/tmp/packages_end.txt [2023-09-25T03:24:16.819Z] + case "${OS_FAMILY}" in [2023-09-25T03:24:16.819Z] + dpkg -l [2023-09-25T03:24:16.819Z] + grep '^ii' [2023-09-25T03:24:16.819Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-25T03:24:16.819Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-25T03:24:16.819Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-25T03:24:16.819Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-09-25T03:24:16.819Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2023-09-25T03:24:16.819Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2023-09-25T03:24:16.828Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-25T03:24:17.105Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T03:24:17.664Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-25T03:24:17.664Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T03:24:17.739Z] prd-ubuntu20.04-docker-8c-8g-7778 does not seem to be running inside a container [2023-09-25T03:24:17.768Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-25T03:24:18.715Z] $ docker top 6fb4b3d117d77eef5b5c664ff85b0320b1576b847e5cca68f2895f4b9596fec3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T03:24:19.052Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-25T03:24:19.332Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-25T03:24:19.610Z] + ls /var/log/sa-host [2023-09-25T03:24:19.610Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-25T03:24:19.683Z] provisioning config files... [2023-09-25T03:24:19.689Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5870491139993142979tmp [Pipeline] { [Pipeline] echo [2023-09-25T03:24:19.702Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T03:24:19.978Z] ---> create-netrc.sh [Pipeline] } [2023-09-25T03:24:19.984Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-25T03:24:20.307Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-25T03:24:20.314Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T03:24:20.593Z] ---> sudo-logs.sh [2023-09-25T03:24:20.593Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-25T03:24:20.622Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T03:24:20.900Z] ---> job-cost.sh [2023-09-25T03:24:20.900Z] lf-activate-venv: SKIPPING [2023-09-25T03:24:20.900Z] DEBUG: total: 0.2199999988079071 [2023-09-25T03:24:20.900Z] INFO: Retrieving Stack Cost... [2023-09-25T03:24:21.157Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-25T03:24:21.724Z] INFO: Archiving Costs [Pipeline] echo [2023-09-25T03:24:21.734Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T03:24:22.018Z] ---> logs-deploy.sh [2023-09-25T03:24:22.018Z] lf-activate-venv: SKIPPING [2023-09-25T03:24:22.018Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/100 [2023-09-25T03:24:22.018Z] INFO: archiving workspace using pattern(s): [2023-09-25T03:24:22.960Z] Archives upload complete. [2023-09-25T03:24:22.960Z] INFO: archiving logs to Nexus