Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6e92736b20cec9f8b19b597911ea3a32490ec124 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-ssh119015585280524739.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10155953964931478424.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15439686507946928433.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17394984276839543220.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-ssh17851395647390331025.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5520 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-gpio.git > git init /w/workspace/edgexfoundry_device-gpio_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 6e92736b20cec9f8b19b597911ea3a32490ec124 (main) Commit message: "Merge pull request #191 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.19" > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6e92736b20cec9f8b19b597911ea3a32490ec124 # timeout=10 > git rev-list --no-walk 8c10bf59a35a83ee67ed2d7772760b16eeb6c9ce # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-07T04:43:24.169Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-07T04:43:24.246Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-07T04:43:24.258Z] ========================================================= [2023-09-07T04:43:24.258Z] EdgeX Global Pipelines Version Info [2023-09-07T04:43:24.258Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:43:24.965Z] ------------------- [2023-09-07T04:43:24.965Z] stable info: [2023-09-07T04:43:24.965Z] ------------------- [2023-09-07T04:43:24.965Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-07T04:43:24.965Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-07T04:43:24.965Z] Message: update stable to v1.0.253 [2023-09-07T04:43:25.538Z] ------------------- [2023-09-07T04:43:25.538Z] experimental info: [2023-09-07T04:43:25.538Z] ------------------- [2023-09-07T04:43:25.538Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-07T04:43:25.538Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-07T04:43:25.538Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-07T04:43:25.686Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-09-07T04:43:25.695Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-09-07T04:43:25.704Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-07T04:43:25.712Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-07T04:43:25.721Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-07T04:43:25.729Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-09-07T04:43:25.738Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-07T04:43:25.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-07T04:43:25.757Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-07T04:43:25.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-07T04:43:25.777Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-07T04:43:25.786Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-09-07T04:43:25.794Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-07T04:43:25.802Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-07T04:43:25.811Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-07T04:43:25.823Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-07T04:43:25.835Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-07T04:43:25.850Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-07T04:43:25.868Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-07T04:43:25.884Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-07T04:43:25.895Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-07T04:43:25.911Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-07T04:43:25.921Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-07T04:43:25.934Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-07T04:43:25.945Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-07T04:43:25.956Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-07T04:43:25.971Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-07T04:43:25.991Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-07T04:43:26.006Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-07T04:43:26.018Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-07T04:43:26.030Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6e92736b20cec9f8b19b597911ea3a32490ec124 [Pipeline] echo [2023-09-07T04:43:26.042Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6e92736 [Pipeline] echo [2023-09-07T04:43:26.054Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-07T04:43:26.104Z] provisioning config files... [2023-09-07T04:43:26.116Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config12244665308433310729tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:43:26.417Z] ---> docker-login.sh [2023-09-07T04:43:26.417Z] nexus3.edgexfoundry.org:10001 [2023-09-07T04:43:26.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:43:26.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:43:26.945Z] Configure a credential helper to remove this warning. See [2023-09-07T04:43:26.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:43:26.945Z] [2023-09-07T04:43:26.945Z] Login Succeeded [2023-09-07T04:43:26.945Z] nexus3.edgexfoundry.org:10002 [2023-09-07T04:43:26.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:43:26.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:43:26.945Z] Configure a credential helper to remove this warning. See [2023-09-07T04:43:26.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:43:26.945Z] [2023-09-07T04:43:26.945Z] Login Succeeded [2023-09-07T04:43:26.945Z] nexus3.edgexfoundry.org:10003 [2023-09-07T04:43:26.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:43:27.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:43:27.205Z] Configure a credential helper to remove this warning. See [2023-09-07T04:43:27.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:43:27.205Z] [2023-09-07T04:43:27.205Z] Login Succeeded [2023-09-07T04:43:27.205Z] nexus3.edgexfoundry.org:10004 [2023-09-07T04:43:27.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:43:27.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:43:27.205Z] Configure a credential helper to remove this warning. See [2023-09-07T04:43:27.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:43:27.205Z] [2023-09-07T04:43:27.205Z] Login Succeeded [2023-09-07T04:43:27.205Z] docker.io [2023-09-07T04:43:27.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:43:27.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:43:27.470Z] Configure a credential helper to remove this warning. See [2023-09-07T04:43:27.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:43:27.470Z] [2023-09-07T04:43:27.470Z] Login Succeeded [2023-09-07T04:43:27.470Z] ---> docker-login.sh ends [Pipeline] } [2023-09-07T04:43:27.478Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-07T04:43:27.855Z] + git rev-list -1 --merges 6e92736b20cec9f8b19b597911ea3a32490ec124~1..6e92736b20cec9f8b19b597911ea3a32490ec124 [Pipeline] echo [2023-09-07T04:43:27.898Z] -----------> git rev-list -1 --merges 6e92736b20cec9f8b19b597911ea3a32490ec124~1..6e92736b20cec9f8b19b597911ea3a32490ec124 6e92736b20cec9f8b19b597911ea3a32490ec124 [2023-09-07T04:43:27.898Z] 6e92736b20cec9f8b19b597911ea3a32490ec124 [false] [Pipeline] sh [2023-09-07T04:43:28.187Z] + git log --format=format:%s -1 6e92736b20cec9f8b19b597911ea3a32490ec124 [Pipeline] echo [2023-09-07T04:43:28.203Z] ========================================================= [2023-09-07T04:43:28.204Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-07T04:43:28.204Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-07T04:43:28.545Z] + git log --format=format:%s -1 6e92736b20cec9f8b19b597911ea3a32490ec124 [Pipeline] echo [2023-09-07T04:43:28.555Z] [semverPrep] GIT_COMMIT: 6e92736b20cec9f8b19b597911ea3a32490ec124, Commit Message: Merge pull request #191 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.19 [Pipeline] echo [2023-09-07T04:43:28.566Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-07T04:43:28.934Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-07T04:43:28.934Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-07T04:43:28.934Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-07T04:43:28.934Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-07T04:43:28.934Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-07T04:43:28.934Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-07T04:43:28.934Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:43:29.346Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-07T04:43:29.347Z] [2023-09-07T04:43:29.347Z] 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-07T04:43:29.654Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-07T04:43:29.654Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-07T04:43:29.654Z] b85a868b505f: Pulling fs layer [2023-09-07T04:43:29.654Z] e2be974225ed: Pulling fs layer [2023-09-07T04:43:29.654Z] 339a4e72a1f5: Pulling fs layer [2023-09-07T04:43:29.654Z] 988bab9f4d93: Pulling fs layer [2023-09-07T04:43:29.654Z] 1469e6f7b9e6: Pulling fs layer [2023-09-07T04:43:29.654Z] eaf3925da568: Pulling fs layer [2023-09-07T04:43:29.654Z] bab4dde63d76: Pulling fs layer [2023-09-07T04:43:29.654Z] bde34c3a00c8: Pulling fs layer [2023-09-07T04:43:29.654Z] b352a97aabf1: Pulling fs layer [2023-09-07T04:43:29.654Z] 4872d77fe225: Pulling fs layer [2023-09-07T04:43:29.654Z] 5851b861e8e6: Pulling fs layer [2023-09-07T04:43:29.654Z] 988bab9f4d93: Waiting [2023-09-07T04:43:29.654Z] 1469e6f7b9e6: Waiting [2023-09-07T04:43:29.654Z] eaf3925da568: Waiting [2023-09-07T04:43:29.654Z] bab4dde63d76: Waiting [2023-09-07T04:43:29.654Z] 4872d77fe225: Waiting [2023-09-07T04:43:29.654Z] bde34c3a00c8: Waiting [2023-09-07T04:43:29.654Z] 5851b861e8e6: Waiting [2023-09-07T04:43:29.654Z] b352a97aabf1: Waiting [2023-09-07T04:43:29.654Z] e2be974225ed: Download complete [2023-09-07T04:43:29.654Z] 988bab9f4d93: Verifying Checksum [2023-09-07T04:43:29.654Z] 988bab9f4d93: Download complete [2023-09-07T04:43:29.912Z] 1469e6f7b9e6: Verifying Checksum [2023-09-07T04:43:29.912Z] 1469e6f7b9e6: Download complete [2023-09-07T04:43:29.912Z] eaf3925da568: Download complete [2023-09-07T04:43:29.912Z] 339a4e72a1f5: Verifying Checksum [2023-09-07T04:43:29.912Z] 339a4e72a1f5: Download complete [2023-09-07T04:43:29.912Z] bde34c3a00c8: Verifying Checksum [2023-09-07T04:43:29.912Z] bde34c3a00c8: Download complete [2023-09-07T04:43:29.912Z] b352a97aabf1: Download complete [2023-09-07T04:43:29.912Z] 4872d77fe225: Verifying Checksum [2023-09-07T04:43:29.912Z] 4872d77fe225: Download complete [2023-09-07T04:43:29.912Z] 5851b861e8e6: Download complete [2023-09-07T04:43:29.912Z] b85a868b505f: Verifying Checksum [2023-09-07T04:43:29.912Z] b85a868b505f: Download complete [2023-09-07T04:43:30.170Z] bab4dde63d76: Verifying Checksum [2023-09-07T04:43:30.170Z] bab4dde63d76: Download complete [2023-09-07T04:43:31.106Z] b85a868b505f: Pull complete [2023-09-07T04:43:31.364Z] e2be974225ed: Pull complete [2023-09-07T04:43:31.931Z] 339a4e72a1f5: Pull complete [2023-09-07T04:43:31.931Z] 988bab9f4d93: Pull complete [2023-09-07T04:43:32.500Z] 1469e6f7b9e6: Pull complete [2023-09-07T04:43:32.500Z] eaf3925da568: Pull complete [2023-09-07T04:43:34.403Z] bab4dde63d76: Pull complete [2023-09-07T04:43:34.403Z] bde34c3a00c8: Pull complete [2023-09-07T04:43:34.403Z] b352a97aabf1: Pull complete [2023-09-07T04:43:34.403Z] 4872d77fe225: Pull complete [2023-09-07T04:43:34.664Z] 5851b861e8e6: Pull complete [2023-09-07T04:43:34.664Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-07T04:43:34.664Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-07T04:43:34.664Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:43:34.771Z] prd-ubuntu20.04-docker-8c-8g-5520 does not seem to be running inside a container [2023-09-07T04:43:34.808Z] $ 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-07T04:43:37.114Z] $ docker top a3912ebed8d95ce86b6d52da056a9af04fd594369d189e3fbe6f269390aef1d3 -eo pid,comm [2023-09-07T04:43:37.165Z] 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-07T04:43:37.165Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-07T04:43:37.206Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-07T04:43:37.206Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-07T04:43:37.331Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-07T04:43:37.338Z] $ docker exec a3912ebed8d95ce86b6d52da056a9af04fd594369d189e3fbe6f269390aef1d3 ssh-agent [2023-09-07T04:43:37.446Z] SSH_AUTH_SOCK=/tmp/ssh-w8MqJtrqfqvv/agent.33 [2023-09-07T04:43:37.446Z] SSH_AGENT_PID=39 [2023-09-07T04:43:37.453Z] Running ssh-add (command line suppressed) [2023-09-07T04:43:37.557Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2239687016871257225.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2239687016871257225.key) [2023-09-07T04:43:37.567Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-07T04:43:37.854Z] + git tag --points-at HEAD [Pipeline] } [2023-09-07T04:43:37.876Z] $ docker exec --env ******** --env ******** a3912ebed8d95ce86b6d52da056a9af04fd594369d189e3fbe6f269390aef1d3 ssh-agent -k [2023-09-07T04:43:37.979Z] unset SSH_AUTH_SOCK; [2023-09-07T04:43:37.979Z] unset SSH_AGENT_PID; [2023-09-07T04:43:37.980Z] echo Agent pid 39 killed; [2023-09-07T04:43:37.985Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-07T04:43:38.011Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-07T04:43:38.011Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-07T04:43:38.135Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-07T04:43:38.143Z] $ docker exec a3912ebed8d95ce86b6d52da056a9af04fd594369d189e3fbe6f269390aef1d3 ssh-agent [2023-09-07T04:43:38.251Z] SSH_AUTH_SOCK=/tmp/ssh-4yTqn930u9ke/agent.71 [2023-09-07T04:43:38.252Z] SSH_AGENT_PID=77 [2023-09-07T04:43:38.256Z] Running ssh-add (command line suppressed) [2023-09-07T04:43:38.368Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6243304977717903705.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6243304977717903705.key) [2023-09-07T04:43:38.379Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-07T04:43:38.666Z] + git semver init [2023-09-07T04:43:38.926Z] 2023-09-07 04:43:38,858 [run_init] DEBUG init version:0.0.0 force:False [2023-09-07T04:43:38.926Z] 2023-09-07 04:43:38,859 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2023-09-07T04:43:38.926Z] 2023-09-07 04:43:38,860 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2023-09-07T04:43:38.926Z] 2023-09-07 04:43:38,860 [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-07T04:43:39.864Z] 2023-09-07 04:43:39,779 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2023-09-07T04:43:39.864Z] 2023-09-07 04:43:39,780 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2023-09-07T04:43:39.864Z] 2023-09-07 04:43:39,780 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-07T04:43:39.864Z] 2023-09-07 04:43:39,780 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-07T04:43:39.864Z] 3.1.0-dev.6 [Pipeline] } [2023-09-07T04:43:39.877Z] $ docker exec --env ******** --env ******** a3912ebed8d95ce86b6d52da056a9af04fd594369d189e3fbe6f269390aef1d3 ssh-agent -k [2023-09-07T04:43:39.987Z] unset SSH_AUTH_SOCK; [2023-09-07T04:43:39.988Z] unset SSH_AGENT_PID; [2023-09-07T04:43:39.988Z] echo Agent pid 77 killed; [2023-09-07T04:43:39.991Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-07T04:43:40.293Z] + git semver [Pipeline] } [2023-09-07T04:43:40.569Z] $ docker stop --time=1 a3912ebed8d95ce86b6d52da056a9af04fd594369d189e3fbe6f269390aef1d3 [2023-09-07T04:43:41.866Z] $ docker rm -f --volumes a3912ebed8d95ce86b6d52da056a9af04fd594369d189e3fbe6f269390aef1d3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-07T04:43:42.202Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-07T04:43:42.430Z] Stashed 1 file(s) [Pipeline] echo [2023-09-07T04:43:42.433Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.6 [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-07T04:43:42.597Z] provisioning config files... [2023-09-07T04:43:42.608Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2457459290870325644tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:43:42.906Z] ---> docker-login.sh [2023-09-07T04:43:42.906Z] nexus3.edgexfoundry.org:10001 [2023-09-07T04:43:42.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:43:42.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:43:42.906Z] Configure a credential helper to remove this warning. See [2023-09-07T04:43:42.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:43:42.906Z] [2023-09-07T04:43:42.906Z] Login Succeeded [2023-09-07T04:43:42.906Z] nexus3.edgexfoundry.org:10002 [2023-09-07T04:43:42.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:43:42.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:43:42.906Z] Configure a credential helper to remove this warning. See [2023-09-07T04:43:42.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:43:42.906Z] [2023-09-07T04:43:42.906Z] Login Succeeded [2023-09-07T04:43:42.906Z] nexus3.edgexfoundry.org:10003 [2023-09-07T04:43:43.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:43:43.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:43:43.167Z] Configure a credential helper to remove this warning. See [2023-09-07T04:43:43.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:43:43.167Z] [2023-09-07T04:43:43.167Z] Login Succeeded [2023-09-07T04:43:43.167Z] nexus3.edgexfoundry.org:10004 [2023-09-07T04:43:43.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:43:43.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:43:43.167Z] Configure a credential helper to remove this warning. See [2023-09-07T04:43:43.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:43:43.167Z] [2023-09-07T04:43:43.167Z] Login Succeeded [2023-09-07T04:43:43.167Z] docker.io [2023-09-07T04:43:43.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:43:43.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:43:43.426Z] Configure a credential helper to remove this warning. See [2023-09-07T04:43:43.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:43:43.426Z] [2023-09-07T04:43:43.426Z] Login Succeeded [2023-09-07T04:43:43.426Z] ---> docker-login.sh ends [Pipeline] } [2023-09-07T04:43:43.434Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-07T04:43:43.504Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-07T04:43:43.519Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-07T04:43:43.530Z] ========================================================= [2023-09-07T04:43:43.530Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-09-07T04:43:43.530Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:43:43.850Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-07T04:43:43.850Z] Sending build context to Docker daemon 16.06MB [2023-09-07T04:43:43.850Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-09-07T04:43:43.850Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-07T04:43:43.850Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-07T04:43:43.850Z] 4db1b89c0bd1: Pulling fs layer [2023-09-07T04:43:43.850Z] 6911f1a30b25: Pulling fs layer [2023-09-07T04:43:43.850Z] e194b8c5c2a9: Pulling fs layer [2023-09-07T04:43:43.850Z] 6863d3e3a2b1: Pulling fs layer [2023-09-07T04:43:43.850Z] ec0bb842ea78: Pulling fs layer [2023-09-07T04:43:43.850Z] 40a00589a448: Pulling fs layer [2023-09-07T04:43:43.850Z] 6863d3e3a2b1: Waiting [2023-09-07T04:43:43.850Z] ec0bb842ea78: Waiting [2023-09-07T04:43:43.850Z] 6c08303d61cc: Pulling fs layer [2023-09-07T04:43:43.850Z] 40a00589a448: Waiting [2023-09-07T04:43:43.850Z] 6c08303d61cc: Waiting [2023-09-07T04:43:43.850Z] 798269fcf238: Pulling fs layer [2023-09-07T04:43:43.850Z] 798269fcf238: Waiting [2023-09-07T04:43:44.124Z] 6911f1a30b25: Verifying Checksum [2023-09-07T04:43:44.124Z] 6911f1a30b25: Download complete [2023-09-07T04:43:44.124Z] 6863d3e3a2b1: Verifying Checksum [2023-09-07T04:43:44.124Z] 6863d3e3a2b1: Download complete [2023-09-07T04:43:44.124Z] ec0bb842ea78: Verifying Checksum [2023-09-07T04:43:44.124Z] ec0bb842ea78: Download complete [2023-09-07T04:43:44.124Z] 4db1b89c0bd1: Download complete [2023-09-07T04:43:44.124Z] 40a00589a448: Verifying Checksum [2023-09-07T04:43:44.124Z] 40a00589a448: Download complete [2023-09-07T04:43:44.124Z] 4db1b89c0bd1: Pull complete [2023-09-07T04:43:44.386Z] 6911f1a30b25: Pull complete [2023-09-07T04:43:44.647Z] 798269fcf238: Verifying Checksum [2023-09-07T04:43:44.647Z] 798269fcf238: Download complete [2023-09-07T04:43:44.906Z] e194b8c5c2a9: Verifying Checksum [2023-09-07T04:43:44.906Z] e194b8c5c2a9: Download complete [2023-09-07T04:43:44.906Z] 6c08303d61cc: Verifying Checksum [2023-09-07T04:43:44.906Z] 6c08303d61cc: Download complete [2023-09-07T04:43:49.097Z] e194b8c5c2a9: Pull complete [2023-09-07T04:43:49.097Z] 6863d3e3a2b1: Pull complete [2023-09-07T04:43:49.097Z] ec0bb842ea78: Pull complete [2023-09-07T04:43:49.097Z] 40a00589a448: Pull complete [2023-09-07T04:43:51.021Z] 6c08303d61cc: Pull complete [2023-09-07T04:43:51.957Z] 798269fcf238: Pull complete [2023-09-07T04:43:51.957Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-09-07T04:43:51.957Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-09-07T04:43:51.957Z] ---> ec979cd7f677 [2023-09-07T04:43:51.957Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-07T04:43:55.264Z] ---> Running in 5907d6826d0e [2023-09-07T04:43:55.523Z] Removing intermediate container 5907d6826d0e [2023-09-07T04:43:55.523Z] ---> bfbf7b9234be [2023-09-07T04:43:55.523Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-07T04:43:55.523Z] ---> Running in a349b1730f43 [2023-09-07T04:43:55.523Z] Removing intermediate container a349b1730f43 [2023-09-07T04:43:55.523Z] ---> 202c322bd7af [2023-09-07T04:43:55.523Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-09-07T04:43:55.523Z] ---> Running in ebc9ece0506d [2023-09-07T04:43:55.782Z] Removing intermediate container ebc9ece0506d [2023-09-07T04:43:55.783Z] ---> 327347d29e22 [2023-09-07T04:43:55.783Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-07T04:43:55.783Z] ---> Running in 9379e6893bf9 [2023-09-07T04:43:55.783Z] Removing intermediate container 9379e6893bf9 [2023-09-07T04:43:55.783Z] ---> 6ab95f90be3b [2023-09-07T04:43:55.783Z] Step 7/12 : WORKDIR /device-gpio [2023-09-07T04:43:55.783Z] ---> Running in 48277dfdcca0 [2023-09-07T04:43:56.043Z] Removing intermediate container 48277dfdcca0 [2023-09-07T04:43:56.043Z] ---> a22e7269d177 [2023-09-07T04:43:56.043Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-07T04:43:56.043Z] ---> Running in fbe2b3011ffa [2023-09-07T04:43:56.302Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-07T04:43:56.302Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-07T04:43:56.877Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-09-07T04:43:56.877Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-09-07T04:43:56.877Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-09-07T04:43:56.877Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-09-07T04:43:56.877Z] Executing busybox-1.35.0-r29.trigger [2023-09-07T04:43:56.877Z] OK: 269 MiB in 57 packages [2023-09-07T04:43:57.448Z] Removing intermediate container fbe2b3011ffa [2023-09-07T04:43:57.448Z] ---> 4260f76860f6 [2023-09-07T04:43:57.448Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-07T04:43:57.448Z] ---> 3a15e29532d8 [2023-09-07T04:43:57.448Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-07T04:43:57.448Z] ---> Running in 10a37a77d5ab [2023-09-07T04:43:57.546Z] Still waiting to schedule task [2023-09-07T04:43:57.547Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-07T04:44:53.687Z] Removing intermediate container 10a37a77d5ab [2023-09-07T04:44:53.687Z] ---> e314e2488362 [2023-09-07T04:44:53.687Z] Step 11/12 : COPY . . [2023-09-07T04:44:53.688Z] ---> 35a6c71a0b59 [2023-09-07T04:44:53.688Z] Step 12/12 : RUN ${MAKE} [2023-09-07T04:44:53.688Z] ---> Running in 70d008199a08 [2023-09-07T04:44:53.688Z] noop [2023-09-07T04:44:53.688Z] Removing intermediate container 70d008199a08 [2023-09-07T04:44:53.688Z] ---> d5ec24cbde34 [2023-09-07T04:44:53.688Z] Successfully built d5ec24cbde34 [2023-09-07T04:44:53.688Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:44:54.012Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-07T04:44:54.013Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:44:54.087Z] prd-ubuntu20.04-docker-8c-8g-5520 does not seem to be running inside a container [2023-09-07T04:44:54.120Z] $ 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-07T04:44:54.463Z] $ docker top e4dc50ee27c15369854543ffa748daaee761cb50dc49da0675f40093684920c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-07T04:44:54.804Z] + go version [2023-09-07T04:44:54.804Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-09-07T04:44:54.819Z] $ docker stop --time=1 e4dc50ee27c15369854543ffa748daaee761cb50dc49da0675f40093684920c2 [2023-09-07T04:44:56.099Z] $ docker rm -f --volumes e4dc50ee27c15369854543ffa748daaee761cb50dc49da0675f40093684920c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:44:56.535Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-07T04:44:56.535Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:44:56.608Z] prd-ubuntu20.04-docker-8c-8g-5520 does not seem to be running inside a container [2023-09-07T04:44:56.637Z] $ 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-07T04:44:56.989Z] $ docker top 00e4eaccc9cca63e4f9625127e1fa34eb2864d197baaee03db5c9adfe3d223df -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-07T04:44:57.332Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh [2023-09-07T04:44:57.632Z] + make test [2023-09-07T04:44:57.633Z] go test ./... -coverprofile=coverage.out ./... [2023-09-07T04:45:02.905Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-09-07T04:45:15.100Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-09-07T04:45:15.100Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-09-07T04:45:20.353Z] go vet ./... [2023-09-07T04:45:21.049Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5522 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2023-09-07T04:45:21.064Z] Running in /w/workspace/device-gpio/93 [Pipeline] { [Pipeline] checkout [2023-09-07T04:45:21.091Z] The recommended git tool is: git [2023-09-07T04:45:23.627Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-07T04:45:23.627Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-07T04:45:23.627Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-07T04:45:23.636Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-07T04:45:23.651Z] $ docker stop --time=1 00e4eaccc9cca63e4f9625127e1fa34eb2864d197baaee03db5c9adfe3d223df [2023-09-07T04:45:25.993Z] using credential edgex-jenkins-ssh [2023-09-07T04:45:26.008Z] Cloning the remote Git repository [2023-09-07T04:45:27.038Z] $ docker rm -f --volumes 00e4eaccc9cca63e4f9625127e1fa34eb2864d197baaee03db5c9adfe3d223df [2023-09-07T04:45:26.050Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-09-07T04:45:26.137Z] > git init /w/workspace/device-gpio/93 # timeout=10 [2023-09-07T04:45:26.275Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-09-07T04:45:26.276Z] > git --version # timeout=10 [2023-09-07T04:45:26.296Z] > git --version # 'git version 2.25.1' [2023-09-07T04:45:26.298Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-07T04:45:26.431Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-07T04:45:27.486Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-07T04:45:27.527Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-07T04:45:28.067Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-07T04:45:28.389Z] + ls -al . [2023-09-07T04:45:28.389Z] total 168 [2023-09-07T04:45:28.389Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 7 04:44 . [2023-09-07T04:45:28.389Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 04:43 .. [2023-09-07T04:45:28.389Z] -rw-rw-r-- 1 jenkins jenkins 120 Sep 7 04:43 .dockerignore [2023-09-07T04:45:28.389Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 7 04:43 .git [2023-09-07T04:45:28.389Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 04:43 .github [2023-09-07T04:45:28.389Z] -rw-rw-r-- 1 jenkins jenkins 343 Sep 7 04:43 .gitignore [2023-09-07T04:45:28.389Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 7 04:43 .golangci.yml [2023-09-07T04:45:28.389Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 7 04:43 .semver [2023-09-07T04:45:28.389Z] -rw-rw-r-- 1 jenkins jenkins 10671 Sep 7 04:43 Attribution.txt [2023-09-07T04:45:28.389Z] -rw-rw-r-- 1 jenkins jenkins 6184 Sep 7 04:43 CHANGELOG.md [2023-09-07T04:45:28.389Z] -rw-rw-r-- 1 jenkins jenkins 1542 Sep 7 04:43 Dockerfile [2023-09-07T04:45:28.389Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 7 04:43 GOVERNANCE.md [2023-09-07T04:45:28.389Z] -rw-rw-r-- 1 jenkins jenkins 657 Sep 7 04:43 Jenkinsfile [2023-09-07T04:45:28.389Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 7 04:43 LICENSE [2023-09-07T04:45:28.389Z] -rw-rw-r-- 1 jenkins jenkins 1923 Sep 7 04:43 Makefile [2023-09-07T04:45:28.389Z] -rw-rw-r-- 1 jenkins jenkins 617 Sep 7 04:43 OWNERS.md [2023-09-07T04:45:28.389Z] -rw-rw-r-- 1 jenkins jenkins 12293 Sep 7 04:43 README.md [2023-09-07T04:45:28.389Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 7 04:43 VERSION [2023-09-07T04:45:28.389Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 04:43 bin [2023-09-07T04:45:28.389Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 04:43 cmd [2023-09-07T04:45:28.389Z] -rw-r--r-- 1 jenkins jenkins 10 Sep 7 04:44 coverage.out [2023-09-07T04:45:28.389Z] -rw-rw-r-- 1 jenkins jenkins 3696 Sep 7 04:43 go.mod [2023-09-07T04:45:28.389Z] -rw-rw-r-- 1 jenkins jenkins 34022 Sep 7 04:43 go.sum [2023-09-07T04:45:28.389Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 04:43 internal [2023-09-07T04:45:28.389Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 04:43 snap [2023-09-07T04:45:28.389Z] -rw-rw-r-- 1 jenkins jenkins 209 Sep 7 04:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:45:27.920Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-09-07T04:45:27.945Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-07T04:45:28.721Z] + 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=6e92736b20cec9f8b19b597911ea3a32490ec124 --label arch=amd64 --label version=3.1.0-dev.6 . [2023-09-07T04:45:28.721Z] Sending build context to Docker daemon 16.07MB [2023-09-07T04:45:28.721Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-09-07T04:45:28.721Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-07T04:45:28.721Z] ---> d5ec24cbde34 [2023-09-07T04:45:28.721Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-07T04:45:28.770Z] Avoid second fetch [2023-09-07T04:45:28.770Z] Checking out Revision 6e92736b20cec9f8b19b597911ea3a32490ec124 (main) [2023-09-07T04:45:29.295Z] Commit message: "Merge pull request #191 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.19" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-07T04:45:28.787Z] > git config core.sparsecheckout # timeout=10 [2023-09-07T04:45:28.864Z] > git checkout -f 6e92736b20cec9f8b19b597911ea3a32490ec124 # timeout=10 [2023-09-07T04:45:30.125Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-07T04:45:30.125Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-07T04:45:30.125Z] Dload Upload Total Spent Left Speed [2023-09-07T04:45:30.125Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 98084 [Pipeline] sh [2023-09-07T04:45:30.673Z] ---> Running in 87bae542980a [2023-09-07T04:45:30.748Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-07T04:45:31.080Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-07T04:45:31.080Z] + sudo tee /etc/docker/daemon.new [2023-09-07T04:45:31.080Z] { [2023-09-07T04:45:31.080Z] "registry-mirrors": [ [2023-09-07T04:45:31.080Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-07T04:45:31.080Z] ], [2023-09-07T04:45:31.080Z] "bip": "10.250.0.254/24", [2023-09-07T04:45:31.080Z] "hosts": [ [2023-09-07T04:45:31.080Z] "tcp://0.0.0.0:5555", [2023-09-07T04:45:31.080Z] "unix:///var/run/docker.sock" [2023-09-07T04:45:31.080Z] ], [2023-09-07T04:45:31.080Z] "mtu": 1458, [2023-09-07T04:45:31.080Z] "selinux-enabled": true, [2023-09-07T04:45:31.080Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-07T04:45:31.080Z] } [Pipeline] sh [2023-09-07T04:45:31.405Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-07T04:45:31.614Z] Removing intermediate container 87bae542980a [2023-09-07T04:45:31.614Z] ---> b2b61f1a7aae [2023-09-07T04:45:31.614Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-07T04:45:31.735Z] + sudo service docker restart [2023-09-07T04:45:33.523Z] ---> Running in 2e23a05be155 [2023-09-07T04:45:33.813Z] Removing intermediate container 2e23a05be155 [2023-09-07T04:45:33.813Z] ---> 034932239e3b [2023-09-07T04:45:33.813Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-09-07T04:45:34.751Z] ---> Running in 23d970138250 [2023-09-07T04:45:36.132Z] Removing intermediate container 23d970138250 [2023-09-07T04:45:36.132Z] ---> bb65427dffcb [2023-09-07T04:45:36.132Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-07T04:45:36.699Z] ---> Running in 02efe7dd7ead [2023-09-07T04:45:37.267Z] Removing intermediate container 02efe7dd7ead [2023-09-07T04:45:37.267Z] ---> 1cf90646f3a4 [2023-09-07T04:45:37.267Z] Step 7/25 : WORKDIR /device-gpio [2023-09-07T04:45:38.644Z] ---> Running in 0e8c3d6af544 [2023-09-07T04:45:38.903Z] Removing intermediate container 0e8c3d6af544 [2023-09-07T04:45:38.903Z] ---> 2e47dd867178 [2023-09-07T04:45:38.903Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-07T04:45:39.161Z] ---> Running in b3ae20aeaa83 [2023-09-07T04:45:39.420Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-07T04:45:39.679Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-07T04:45:39.938Z] OK: 269 MiB in 57 packages [2023-09-07T04:45:41.326Z] Removing intermediate container b3ae20aeaa83 [2023-09-07T04:45:41.326Z] ---> 79ffdb9c2d19 [2023-09-07T04:45:41.326Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-07T04:45:41.326Z] ---> 0eac73f4b0b5 [2023-09-07T04:45:41.326Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-07T04:45:41.586Z] ---> Running in b043fa4c318d [2023-09-07T04:45:42.162Z] Removing intermediate container b043fa4c318d [2023-09-07T04:45:42.162Z] ---> 059d5a80fbdb [2023-09-07T04:45:42.162Z] Step 11/25 : COPY . . [2023-09-07T04:45:42.730Z] ---> 589865e13623 [2023-09-07T04:45:42.730Z] Step 12/25 : RUN ${MAKE} [2023-09-07T04:45:42.730Z] ---> Running in b34d0f33f78b [2023-09-07T04:45:42.988Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.1.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.19" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-07T04:45:50.015Z] provisioning config files... [2023-09-07T04:45:50.039Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/93@tmp/config5374906897791377171tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:45:50.376Z] ---> docker-login.sh [2023-09-07T04:45:50.376Z] nexus3.edgexfoundry.org:10001 [2023-09-07T04:45:50.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:45:50.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:45:50.914Z] Configure a credential helper to remove this warning. See [2023-09-07T04:45:50.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:45:50.914Z] [2023-09-07T04:45:50.914Z] Login Succeeded [2023-09-07T04:45:50.914Z] nexus3.edgexfoundry.org:10002 [2023-09-07T04:45:51.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:45:51.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:45:51.183Z] Configure a credential helper to remove this warning. See [2023-09-07T04:45:51.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:45:51.183Z] [2023-09-07T04:45:51.183Z] Login Succeeded [2023-09-07T04:45:51.183Z] nexus3.edgexfoundry.org:10003 [2023-09-07T04:45:51.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:45:51.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:45:51.717Z] Configure a credential helper to remove this warning. See [2023-09-07T04:45:51.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:45:51.717Z] [2023-09-07T04:45:51.717Z] Login Succeeded [2023-09-07T04:45:51.717Z] nexus3.edgexfoundry.org:10004 [2023-09-07T04:45:51.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:45:51.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:45:51.987Z] Configure a credential helper to remove this warning. See [2023-09-07T04:45:51.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:45:51.987Z] [2023-09-07T04:45:51.987Z] Login Succeeded [2023-09-07T04:45:51.987Z] docker.io [2023-09-07T04:45:52.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:45:52.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:45:52.522Z] Configure a credential helper to remove this warning. See [2023-09-07T04:45:52.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:45:52.522Z] [2023-09-07T04:45:52.522Z] Login Succeeded [2023-09-07T04:45:52.522Z] ---> docker-login.sh ends [Pipeline] } [2023-09-07T04:45:52.535Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-07T04:45:52.783Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-07T04:45:52.798Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-07T04:45:52.812Z] ========================================================= [2023-09-07T04:45:52.812Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-09-07T04:45:52.812Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:45:53.167Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-07T04:45:53.436Z] Sending build context to Docker daemon 8.093MB [2023-09-07T04:45:53.436Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-09-07T04:45:53.436Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-07T04:45:53.704Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-07T04:45:53.704Z] edb6bdbacee9: Pulling fs layer [2023-09-07T04:45:53.704Z] 5f9638ab2659: Pulling fs layer [2023-09-07T04:45:53.704Z] 8d51d6327a98: Pulling fs layer [2023-09-07T04:45:53.704Z] 8b374f2dd631: Pulling fs layer [2023-09-07T04:45:53.704Z] ec14aa9079de: Pulling fs layer [2023-09-07T04:45:53.704Z] 2f466654f4bb: Pulling fs layer [2023-09-07T04:45:53.704Z] 554e91adad29: Pulling fs layer [2023-09-07T04:45:53.704Z] 8b374f2dd631: Waiting [2023-09-07T04:45:53.704Z] ec14aa9079de: Waiting [2023-09-07T04:45:53.704Z] 2f466654f4bb: Waiting [2023-09-07T04:45:53.704Z] 554e91adad29: Waiting [2023-09-07T04:45:53.704Z] 5f9638ab2659: Download complete [2023-09-07T04:45:53.704Z] 8b374f2dd631: Verifying Checksum [2023-09-07T04:45:53.704Z] 8b374f2dd631: Download complete [2023-09-07T04:45:53.704Z] ec14aa9079de: Verifying Checksum [2023-09-07T04:45:53.704Z] ec14aa9079de: Download complete [2023-09-07T04:45:53.704Z] edb6bdbacee9: Verifying Checksum [2023-09-07T04:45:53.704Z] edb6bdbacee9: Download complete [2023-09-07T04:45:55.121Z] edb6bdbacee9: Pull complete [2023-09-07T04:45:55.121Z] 554e91adad29: Verifying Checksum [2023-09-07T04:45:55.121Z] 554e91adad29: Download complete [2023-09-07T04:45:55.722Z] 5f9638ab2659: Pull complete [2023-09-07T04:45:56.310Z] 8d51d6327a98: Verifying Checksum [2023-09-07T04:45:56.310Z] 8d51d6327a98: Download complete [2023-09-07T04:45:56.310Z] 2f466654f4bb: Verifying Checksum [2023-09-07T04:45:56.310Z] 2f466654f4bb: Download complete [2023-09-07T04:46:08.638Z] 8d51d6327a98: Pull complete [2023-09-07T04:46:08.638Z] 8b374f2dd631: Pull complete [2023-09-07T04:46:08.638Z] ec14aa9079de: Pull complete [2023-09-07T04:46:09.545Z] Removing intermediate container b34d0f33f78b [2023-09-07T04:46:09.545Z] ---> 51bdcd6e3d2c [2023-09-07T04:46:09.545Z] Step 13/25 : FROM alpine:3.17 [2023-09-07T04:46:09.545Z] 3.17: Pulling from library/alpine [2023-09-07T04:46:09.545Z] 9398808236ff: Pulling fs layer [2023-09-07T04:46:09.545Z] 9398808236ff: Verifying Checksum [2023-09-07T04:46:09.545Z] 9398808236ff: Download complete [2023-09-07T04:46:09.545Z] 9398808236ff: Pull complete [2023-09-07T04:46:09.545Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-07T04:46:09.545Z] Status: Downloaded newer image for alpine:3.17 [2023-09-07T04:46:09.545Z] ---> 1e0b8b5322fc [2023-09-07T04:46:09.545Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-09-07T04:46:09.545Z] ---> Running in d785b180a4d9 [2023-09-07T04:46:09.545Z] Removing intermediate container d785b180a4d9 [2023-09-07T04:46:09.545Z] ---> f5a1e9082332 [2023-09-07T04:46:09.545Z] Step 15/25 : RUN apk add --update --no-cache [2023-09-07T04:46:09.545Z] ---> Running in 66b8d7f8de6e [2023-09-07T04:46:09.545Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-07T04:46:09.545Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-07T04:46:09.545Z] OK: 7 MiB in 15 packages [2023-09-07T04:46:10.111Z] Removing intermediate container 66b8d7f8de6e [2023-09-07T04:46:10.111Z] ---> 6ee30540aaec [2023-09-07T04:46:10.111Z] Step 16/25 : WORKDIR / [2023-09-07T04:46:10.111Z] ---> Running in 4554e77d5ef9 [2023-09-07T04:46:10.680Z] Removing intermediate container 4554e77d5ef9 [2023-09-07T04:46:10.680Z] ---> e70bc1e40a3f [2023-09-07T04:46:10.680Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-09-07T04:46:10.680Z] ---> 59862ecfea76 [2023-09-07T04:46:10.680Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-09-07T04:46:11.246Z] ---> e6856792b34b [2023-09-07T04:46:11.246Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-09-07T04:46:12.182Z] ---> 01b517f0b778 [2023-09-07T04:46:12.182Z] Step 20/25 : EXPOSE 59910 [2023-09-07T04:46:12.441Z] ---> Running in 279a3d3f8e85 [2023-09-07T04:46:13.011Z] Removing intermediate container 279a3d3f8e85 [2023-09-07T04:46:13.011Z] ---> 2295e137b069 [2023-09-07T04:46:13.011Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-09-07T04:46:13.011Z] ---> Running in 32ceaf71f30c [2023-09-07T04:46:13.269Z] Removing intermediate container 32ceaf71f30c [2023-09-07T04:46:13.269Z] ---> 0716ec53cdea [2023-09-07T04:46:13.269Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-07T04:46:13.528Z] ---> Running in a6ab79148a3e [2023-09-07T04:46:13.788Z] Removing intermediate container a6ab79148a3e [2023-09-07T04:46:13.788Z] ---> 042584611115 [2023-09-07T04:46:13.788Z] Step 23/25 : LABEL arch=amd64 [2023-09-07T04:46:13.985Z] 2f466654f4bb: Pull complete [2023-09-07T04:46:14.047Z] ---> Running in 1a37a11e2a2a [2023-09-07T04:46:14.309Z] Removing intermediate container 1a37a11e2a2a [2023-09-07T04:46:14.309Z] ---> 6451e3739533 [2023-09-07T04:46:14.309Z] Step 24/25 : LABEL git_sha=6e92736b20cec9f8b19b597911ea3a32490ec124 [2023-09-07T04:46:14.567Z] ---> Running in 39c2ab9d440c [2023-09-07T04:46:14.835Z] Removing intermediate container 39c2ab9d440c [2023-09-07T04:46:14.835Z] ---> 0a0b5614d57d [2023-09-07T04:46:14.835Z] Step 25/25 : LABEL version=3.1.0-dev.6 [2023-09-07T04:46:15.230Z] ---> Running in f4fbf62e615f [2023-09-07T04:46:15.230Z] Removing intermediate container f4fbf62e615f [2023-09-07T04:46:15.230Z] ---> adb124802523 [2023-09-07T04:46:15.230Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-07T04:46:15.230Z] Successfully built adb124802523 [2023-09-07T04:46:15.230Z] 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-07T04:46:15.328Z] provisioning config files... [2023-09-07T04:46:15.335Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config18057581919361050373tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:46:15.635Z] ---> docker-login.sh [2023-09-07T04:46:15.635Z] nexus3.edgexfoundry.org:10001 [2023-09-07T04:46:15.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:46:15.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:46:15.635Z] Configure a credential helper to remove this warning. See [2023-09-07T04:46:15.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:46:15.635Z] [2023-09-07T04:46:15.635Z] Login Succeeded [2023-09-07T04:46:15.635Z] nexus3.edgexfoundry.org:10002 [2023-09-07T04:46:15.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:46:15.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:46:15.635Z] Configure a credential helper to remove this warning. See [2023-09-07T04:46:15.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:46:15.635Z] [2023-09-07T04:46:15.635Z] Login Succeeded [2023-09-07T04:46:15.635Z] nexus3.edgexfoundry.org:10003 [2023-09-07T04:46:15.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:46:15.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:46:15.893Z] Configure a credential helper to remove this warning. See [2023-09-07T04:46:15.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:46:15.893Z] [2023-09-07T04:46:15.893Z] Login Succeeded [2023-09-07T04:46:15.893Z] nexus3.edgexfoundry.org:10004 [2023-09-07T04:46:15.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:46:15.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:46:15.893Z] Configure a credential helper to remove this warning. See [2023-09-07T04:46:15.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:46:15.893Z] [2023-09-07T04:46:15.893Z] Login Succeeded [2023-09-07T04:46:15.893Z] docker.io [2023-09-07T04:46:15.937Z] 554e91adad29: Pull complete [2023-09-07T04:46:15.937Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-09-07T04:46:15.937Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-09-07T04:46:15.937Z] ---> 1e15ea492957 [2023-09-07T04:46:15.937Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-07T04:46:16.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:46:16.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:46:16.152Z] Configure a credential helper to remove this warning. See [2023-09-07T04:46:16.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:46:16.152Z] [2023-09-07T04:46:16.152Z] Login Succeeded [2023-09-07T04:46:16.152Z] ---> docker-login.sh ends [Pipeline] } [2023-09-07T04:46:16.158Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-07T04:46:16.194Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-07T04:46:16.217Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2023-09-07T04:46:16.217Z] 6e92736b20cec9f8b19b597911ea3a32490ec124 [2023-09-07T04:46:16.217Z] latest [2023-09-07T04:46:16.217Z] 3.1.0-dev.6 [2023-09-07T04:46:16.217Z] 6e92736b20cec9f8b19b597911ea3a32490ec124-3.1.0-dev.6 [2023-09-07T04:46:16.217Z] main [2023-09-07T04:46:16.217Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:46:16.590Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:6e92736b20cec9f8b19b597911ea3a32490ec124 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:46:16.895Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:6e92736b20cec9f8b19b597911ea3a32490ec124 [2023-09-07T04:46:16.895Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-09-07T04:46:16.895Z] 8c8127e04e84: Preparing [2023-09-07T04:46:16.895Z] e6c204bb8632: Preparing [2023-09-07T04:46:16.895Z] a995637d0626: Preparing [2023-09-07T04:46:16.895Z] 7f38abcab4f7: Preparing [2023-09-07T04:46:16.895Z] 36b50b131297: Preparing [2023-09-07T04:46:16.895Z] 36b50b131297: Layer already exists [2023-09-07T04:46:16.895Z] a995637d0626: Pushed [2023-09-07T04:46:16.895Z] 7f38abcab4f7: Pushed [2023-09-07T04:46:16.895Z] e6c204bb8632: Pushed [2023-09-07T04:46:17.968Z] ---> Running in 479c053e08b5 [2023-09-07T04:46:18.243Z] Removing intermediate container 479c053e08b5 [2023-09-07T04:46:18.243Z] ---> 74a3df08aa2b [2023-09-07T04:46:18.243Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-07T04:46:18.243Z] ---> Running in 86314408ef02 [2023-09-07T04:46:18.528Z] Removing intermediate container 86314408ef02 [2023-09-07T04:46:18.528Z] ---> fce8f3ca5642 [2023-09-07T04:46:18.528Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-09-07T04:46:18.793Z] ---> Running in dba6342ae4f5 [2023-09-07T04:46:19.063Z] Removing intermediate container dba6342ae4f5 [2023-09-07T04:46:19.063Z] ---> e1036b536c91 [2023-09-07T04:46:19.063Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-07T04:46:19.063Z] ---> Running in b3cae345ba1a [2023-09-07T04:46:19.330Z] Removing intermediate container b3cae345ba1a [2023-09-07T04:46:19.330Z] ---> ac292f7c5c0d [2023-09-07T04:46:19.330Z] Step 7/12 : WORKDIR /device-gpio [2023-09-07T04:46:19.429Z] 8c8127e04e84: Pushed [2023-09-07T04:46:19.598Z] ---> Running in 07523f9218d9 [2023-09-07T04:46:19.688Z] 6e92736b20cec9f8b19b597911ea3a32490ec124: digest: sha256:7a5fa3a300e2a76327a07f23cfc77e4eaaa7c6a7fd74ccd4fa73e0793d3844c6 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:46:19.866Z] Removing intermediate container 07523f9218d9 [2023-09-07T04:46:19.866Z] ---> 52b69228c48a [2023-09-07T04:46:19.866Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-07T04:46:19.866Z] ---> Running in a8058dce6186 [2023-09-07T04:46:20.010Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:46:20.313Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-09-07T04:46:20.313Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-09-07T04:46:20.313Z] 8c8127e04e84: Preparing [2023-09-07T04:46:20.313Z] e6c204bb8632: Preparing [2023-09-07T04:46:20.313Z] a995637d0626: Preparing [2023-09-07T04:46:20.313Z] 7f38abcab4f7: Preparing [2023-09-07T04:46:20.313Z] 36b50b131297: Preparing [2023-09-07T04:46:20.313Z] 7f38abcab4f7: Layer already exists [2023-09-07T04:46:20.313Z] 36b50b131297: Layer already exists [2023-09-07T04:46:20.313Z] a995637d0626: Layer already exists [2023-09-07T04:46:20.313Z] e6c204bb8632: Layer already exists [2023-09-07T04:46:20.313Z] 8c8127e04e84: Layer already exists [2023-09-07T04:46:20.313Z] latest: digest: sha256:7a5fa3a300e2a76327a07f23cfc77e4eaaa7c6a7fd74ccd4fa73e0793d3844c6 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:46:20.621Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:46:20.924Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.6 [2023-09-07T04:46:20.924Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-09-07T04:46:20.924Z] 8c8127e04e84: Preparing [2023-09-07T04:46:20.924Z] e6c204bb8632: Preparing [2023-09-07T04:46:20.924Z] a995637d0626: Preparing [2023-09-07T04:46:20.924Z] 7f38abcab4f7: Preparing [2023-09-07T04:46:20.924Z] 36b50b131297: Preparing [2023-09-07T04:46:20.924Z] e6c204bb8632: Layer already exists [2023-09-07T04:46:20.924Z] 8c8127e04e84: Layer already exists [2023-09-07T04:46:20.924Z] 36b50b131297: Layer already exists [2023-09-07T04:46:20.924Z] a995637d0626: Layer already exists [2023-09-07T04:46:20.924Z] 7f38abcab4f7: Layer already exists [2023-09-07T04:46:20.924Z] 3.1.0-dev.6: digest: sha256:7a5fa3a300e2a76327a07f23cfc77e4eaaa7c6a7fd74ccd4fa73e0793d3844c6 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:46:21.238Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:6e92736b20cec9f8b19b597911ea3a32490ec124-3.1.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:46:21.278Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-07T04:46:21.549Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:6e92736b20cec9f8b19b597911ea3a32490ec124-3.1.0-dev.6 [2023-09-07T04:46:21.549Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-09-07T04:46:21.549Z] 8c8127e04e84: Preparing [2023-09-07T04:46:21.549Z] e6c204bb8632: Preparing [2023-09-07T04:46:21.549Z] a995637d0626: Preparing [2023-09-07T04:46:21.549Z] 7f38abcab4f7: Preparing [2023-09-07T04:46:21.549Z] 36b50b131297: Preparing [2023-09-07T04:46:21.549Z] a995637d0626: Layer already exists [2023-09-07T04:46:21.549Z] 36b50b131297: Layer already exists [2023-09-07T04:46:21.549Z] 8c8127e04e84: Layer already exists [2023-09-07T04:46:21.549Z] e6c204bb8632: Layer already exists [2023-09-07T04:46:21.549Z] 7f38abcab4f7: Layer already exists [2023-09-07T04:46:21.549Z] 6e92736b20cec9f8b19b597911ea3a32490ec124-3.1.0-dev.6: digest: sha256:7a5fa3a300e2a76327a07f23cfc77e4eaaa7c6a7fd74ccd4fa73e0793d3844c6 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:46:21.864Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [2023-09-07T04:46:21.865Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:46:22.170Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2023-09-07T04:46:22.170Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-09-07T04:46:22.170Z] 8c8127e04e84: Preparing [2023-09-07T04:46:22.170Z] e6c204bb8632: Preparing [2023-09-07T04:46:22.170Z] a995637d0626: Preparing [2023-09-07T04:46:22.170Z] 7f38abcab4f7: Preparing [2023-09-07T04:46:22.170Z] 36b50b131297: Preparing [2023-09-07T04:46:22.170Z] 8c8127e04e84: Layer already exists [2023-09-07T04:46:22.170Z] 36b50b131297: Layer already exists [2023-09-07T04:46:22.170Z] 7f38abcab4f7: Layer already exists [2023-09-07T04:46:22.170Z] a995637d0626: Layer already exists [2023-09-07T04:46:22.170Z] e6c204bb8632: Layer already exists [2023-09-07T04:46:22.170Z] main: digest: sha256:7a5fa3a300e2a76327a07f23cfc77e4eaaa7c6a7fd74ccd4fa73e0793d3844c6 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-07T04:46:22.212Z] ===================================================== [Pipeline] echo [2023-09-07T04:46:22.219Z] taggedImages: [2023-09-07T04:46:22.219Z] - nexus3.edgexfoundry.org:10004/device-gpio:6e92736b20cec9f8b19b597911ea3a32490ec124 [2023-09-07T04:46:22.219Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-09-07T04:46:22.219Z] - nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.6 [2023-09-07T04:46:22.219Z] - nexus3.edgexfoundry.org:10004/device-gpio:6e92736b20cec9f8b19b597911ea3a32490ec124-3.1.0-dev.6 [2023-09-07T04:46:22.219Z] - 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-07T04:46:22.591Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-07T04:46:22.591Z] [2023-09-07T04:46:22.591Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:46:22.825Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-09-07T04:46:22.825Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-09-07T04:46:22.825Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-09-07T04:46:22.825Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-09-07T04:46:22.825Z] Executing busybox-1.35.0-r29.trigger [2023-09-07T04:46:22.825Z] OK: 268 MiB in 57 packages [2023-09-07T04:46:22.895Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-07T04:46:22.895Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-07T04:46:22.895Z] 5eb5b503b376: Pulling fs layer [2023-09-07T04:46:22.895Z] 5c69ac0246d0: Pulling fs layer [2023-09-07T04:46:22.895Z] ec43610c2a17: Pulling fs layer [2023-09-07T04:46:22.895Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-07T04:46:22.895Z] 33b1e0a273af: Pulling fs layer [2023-09-07T04:46:22.895Z] 5d3b04190fa2: Pulling fs layer [2023-09-07T04:46:22.895Z] 2f39f015ded8: Pulling fs layer [2023-09-07T04:46:22.895Z] 3a2ae6a8a46f: Waiting [2023-09-07T04:46:22.895Z] 33b1e0a273af: Waiting [2023-09-07T04:46:22.895Z] 2f39f015ded8: Waiting [2023-09-07T04:46:22.895Z] 5d3b04190fa2: Waiting [2023-09-07T04:46:22.895Z] 5c69ac0246d0: Download complete [2023-09-07T04:46:22.895Z] 3a2ae6a8a46f: Download complete [2023-09-07T04:46:22.895Z] ec43610c2a17: Verifying Checksum [2023-09-07T04:46:22.895Z] ec43610c2a17: Download complete [2023-09-07T04:46:22.895Z] 33b1e0a273af: Verifying Checksum [2023-09-07T04:46:22.895Z] 33b1e0a273af: Download complete [2023-09-07T04:46:22.895Z] 5d3b04190fa2: Verifying Checksum [2023-09-07T04:46:22.895Z] 5d3b04190fa2: Download complete [2023-09-07T04:46:23.153Z] 5eb5b503b376: Verifying Checksum [2023-09-07T04:46:23.153Z] 5eb5b503b376: Download complete [2023-09-07T04:46:23.720Z] 2f39f015ded8: Download complete [2023-09-07T04:46:23.783Z] Removing intermediate container a8058dce6186 [2023-09-07T04:46:23.783Z] ---> 73826b55b2d1 [2023-09-07T04:46:23.783Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-07T04:46:24.286Z] 5eb5b503b376: Pull complete [2023-09-07T04:46:24.286Z] 5c69ac0246d0: Pull complete [2023-09-07T04:46:24.850Z] ec43610c2a17: Pull complete [2023-09-07T04:46:24.850Z] 3a2ae6a8a46f: Pull complete [2023-09-07T04:46:25.108Z] 33b1e0a273af: Pull complete [2023-09-07T04:46:25.108Z] 5d3b04190fa2: Pull complete [2023-09-07T04:46:28.027Z] ---> 1bbde9fb0483 [2023-09-07T04:46:28.027Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-07T04:46:28.027Z] ---> Running in f7f0a7f49a8f [2023-09-07T04:46:29.315Z] 2f39f015ded8: Pull complete [2023-09-07T04:46:29.315Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-07T04:46:29.315Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-07T04:46:29.315Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:46:29.404Z] prd-ubuntu20.04-docker-8c-8g-5520 does not seem to be running inside a container [2023-09-07T04:46:29.437Z] $ 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-07T04:46:39.210Z] $ docker top 9cd5abc7cdcc98d398bab23aa69d99a6b0ae5ed247317abf11f05f44781df906 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:46:39.604Z] ---> job-cost.sh [2023-09-07T04:46:39.604Z] lf-activate-venv: SKIPPING [2023-09-07T04:46:39.604Z] INFO: No Stack... [2023-09-07T04:46:39.863Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-07T04:46:40.429Z] INFO: Archiving Costs [Pipeline] sh [2023-09-07T04:46:40.718Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2023-09-07T04:46:40.718Z] + cut -d, -f6 [Pipeline] lock [2023-09-07T04:46:40.732Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-93-stack-cost] [2023-09-07T04:46:40.737Z] Resource [jenkins-edgexfoundry-device-gpio-main-93-stack-cost] did not exist. Created. [2023-09-07T04:46:40.737Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-93-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-07T04:46:41.037Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-07T04:46:41.066Z] Stashed 1 file(s) [Pipeline] } [2023-09-07T04:46:41.073Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-93-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-07T04:46:41.092Z] $ docker stop --time=1 9cd5abc7cdcc98d398bab23aa69d99a6b0ae5ed247317abf11f05f44781df906 [2023-09-07T04:46:42.391Z] $ docker rm -f --volumes 9cd5abc7cdcc98d398bab23aa69d99a6b0ae5ed247317abf11f05f44781df906 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-07T04:47:35.930Z] Removing intermediate container f7f0a7f49a8f [2023-09-07T04:47:35.930Z] ---> 9ac637361109 [2023-09-07T04:47:35.930Z] Step 11/12 : COPY . . [2023-09-07T04:47:35.930Z] ---> 90e16293b6c1 [2023-09-07T04:47:35.930Z] Step 12/12 : RUN ${MAKE} [2023-09-07T04:47:35.930Z] ---> Running in 58af2a87721b [2023-09-07T04:47:35.930Z] noop [2023-09-07T04:47:35.930Z] Removing intermediate container 58af2a87721b [2023-09-07T04:47:35.930Z] ---> 7011e476d1a0 [2023-09-07T04:47:35.930Z] Successfully built 7011e476d1a0 [2023-09-07T04:47:35.930Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:47:36.274Z] + docker inspect -f . ci-base-image-arm64 [2023-09-07T04:47:36.274Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:47:36.465Z] prd-ubuntu20.04-docker-arm64-4c-16g-5522 does not seem to be running inside a container [2023-09-07T04:47:36.533Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/93 -v /w/workspace/device-gpio/93:/w/workspace/device-gpio/93:rw,z -v /w/workspace/device-gpio/93@tmp:/w/workspace/device-gpio/93@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-07T04:47:37.677Z] $ docker top 80ed1cfc463c4302ed14b79b075e29d6e17ec501d649feda22dfb99d19aeeadb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-07T04:47:38.506Z] + go version [2023-09-07T04:47:38.506Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-09-07T04:47:38.531Z] $ docker stop --time=1 80ed1cfc463c4302ed14b79b075e29d6e17ec501d649feda22dfb99d19aeeadb [2023-09-07T04:47:40.127Z] $ docker rm -f --volumes 80ed1cfc463c4302ed14b79b075e29d6e17ec501d649feda22dfb99d19aeeadb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:47:40.657Z] + docker inspect -f . ci-base-image-arm64 [2023-09-07T04:47:40.657Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:47:40.836Z] prd-ubuntu20.04-docker-arm64-4c-16g-5522 does not seem to be running inside a container [2023-09-07T04:47:40.907Z] $ 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/93 -v /w/workspace/device-gpio/93:/w/workspace/device-gpio/93:rw,z -v /w/workspace/device-gpio/93@tmp:/w/workspace/device-gpio/93@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-07T04:47:42.070Z] $ docker top d6d5bf917370f30f1476542cad7867ccee44b165987102e696b87d1fa640e0af -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-07T04:47:42.591Z] + git config --global --add safe.directory /w/workspace/device-gpio/93 [Pipeline] fileExists [Pipeline] sh [2023-09-07T04:47:43.510Z] + make test [2023-09-07T04:47:43.510Z] go test ./... -coverprofile=coverage.out ./... [2023-09-07T04:48:22.422Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-09-07T04:50:29.139Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-09-07T04:50:29.140Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-09-07T04:50:29.140Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-07T04:50:29.140Z] go vet ./... [2023-09-07T04:51:01.391Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-07T04:51:01.391Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-07T04:51:01.391Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-07T04:51:01.416Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-07T04:51:01.439Z] $ docker stop --time=1 d6d5bf917370f30f1476542cad7867ccee44b165987102e696b87d1fa640e0af [2023-09-07T04:51:03.402Z] $ docker rm -f --volumes d6d5bf917370f30f1476542cad7867ccee44b165987102e696b87d1fa640e0af [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-07T04:51:04.667Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-07T04:51:04.690Z] Warning: overwriting stash ‘coverage-report’ [2023-09-07T04:51:05.161Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-07T04:51:05.583Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-07T04:51:05.922Z] + ls -al . [2023-09-07T04:51:05.922Z] total 164 [2023-09-07T04:51:05.923Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 7 04:47 . [2023-09-07T04:51:05.923Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 04:45 .. [2023-09-07T04:51:05.923Z] -rw-rw-r-- 1 jenkins jenkins 120 Sep 7 04:45 .dockerignore [2023-09-07T04:51:05.923Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 7 04:45 .git [2023-09-07T04:51:05.923Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 04:45 .github [2023-09-07T04:51:05.923Z] -rw-rw-r-- 1 jenkins jenkins 343 Sep 7 04:45 .gitignore [2023-09-07T04:51:05.923Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 7 04:45 .golangci.yml [2023-09-07T04:51:05.923Z] -rw-rw-r-- 1 jenkins jenkins 10671 Sep 7 04:45 Attribution.txt [2023-09-07T04:51:05.923Z] -rw-rw-r-- 1 jenkins jenkins 6184 Sep 7 04:45 CHANGELOG.md [2023-09-07T04:51:05.923Z] -rw-rw-r-- 1 jenkins jenkins 1542 Sep 7 04:45 Dockerfile [2023-09-07T04:51:05.923Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 7 04:45 GOVERNANCE.md [2023-09-07T04:51:05.923Z] -rw-rw-r-- 1 jenkins jenkins 657 Sep 7 04:45 Jenkinsfile [2023-09-07T04:51:05.923Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 7 04:45 LICENSE [2023-09-07T04:51:05.923Z] -rw-rw-r-- 1 jenkins jenkins 1923 Sep 7 04:45 Makefile [2023-09-07T04:51:05.923Z] -rw-rw-r-- 1 jenkins jenkins 617 Sep 7 04:45 OWNERS.md [2023-09-07T04:51:05.923Z] -rw-rw-r-- 1 jenkins jenkins 12293 Sep 7 04:45 README.md [2023-09-07T04:51:05.923Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 7 04:43 VERSION [2023-09-07T04:51:05.923Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 04:45 bin [2023-09-07T04:51:05.923Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 04:45 cmd [2023-09-07T04:51:05.923Z] -rw-r--r-- 1 jenkins jenkins 10 Sep 7 04:47 coverage.out [2023-09-07T04:51:05.923Z] -rw-rw-r-- 1 jenkins jenkins 3696 Sep 7 04:45 go.mod [2023-09-07T04:51:05.923Z] -rw-rw-r-- 1 jenkins jenkins 34022 Sep 7 04:45 go.sum [2023-09-07T04:51:05.923Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 04:45 internal [2023-09-07T04:51:05.923Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 04:45 snap [2023-09-07T04:51:05.923Z] -rw-rw-r-- 1 jenkins jenkins 209 Sep 7 04:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:51:06.281Z] + 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=6e92736b20cec9f8b19b597911ea3a32490ec124 --label arch=arm64 --label version=3.1.0-dev.6 . [2023-09-07T04:51:06.550Z] Sending build context to Docker daemon 8.094MB [2023-09-07T04:51:06.550Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-09-07T04:51:06.550Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-07T04:51:06.550Z] ---> 7011e476d1a0 [2023-09-07T04:51:06.550Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-07T04:51:06.818Z] ---> Running in 01bcc99a48dc [2023-09-07T04:51:07.102Z] Removing intermediate container 01bcc99a48dc [2023-09-07T04:51:07.102Z] ---> cda1cfe38a2f [2023-09-07T04:51:07.102Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-07T04:51:07.102Z] ---> Running in 35b2a68474f2 [2023-09-07T04:51:07.374Z] Removing intermediate container 35b2a68474f2 [2023-09-07T04:51:07.374Z] ---> c57705620178 [2023-09-07T04:51:07.374Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-09-07T04:51:07.643Z] ---> Running in 34c0bf825804 [2023-09-07T04:51:07.912Z] Removing intermediate container 34c0bf825804 [2023-09-07T04:51:07.912Z] ---> 9e6f56ffbed4 [2023-09-07T04:51:07.912Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-07T04:51:07.912Z] ---> Running in 0a7bf184775c [2023-09-07T04:51:08.177Z] Removing intermediate container 0a7bf184775c [2023-09-07T04:51:08.177Z] ---> 6b91182dd5b0 [2023-09-07T04:51:08.177Z] Step 7/25 : WORKDIR /device-gpio [2023-09-07T04:51:08.444Z] ---> Running in ceb9b2c02799 [2023-09-07T04:51:08.713Z] Removing intermediate container ceb9b2c02799 [2023-09-07T04:51:08.713Z] ---> bfa821b709b3 [2023-09-07T04:51:08.713Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-07T04:51:08.713Z] ---> Running in db0f72392ebc [2023-09-07T04:51:09.676Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-07T04:51:10.645Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-07T04:51:11.608Z] OK: 268 MiB in 57 packages [2023-09-07T04:51:12.576Z] Removing intermediate container db0f72392ebc [2023-09-07T04:51:12.576Z] ---> 86102702a890 [2023-09-07T04:51:12.576Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-07T04:51:13.433Z] ---> dc97fd8d8bfb [2023-09-07T04:51:13.433Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-07T04:51:13.433Z] ---> Running in 20caa109bf32 [2023-09-07T04:51:15.427Z] Removing intermediate container 20caa109bf32 [2023-09-07T04:51:15.427Z] ---> a3f47a913dcc [2023-09-07T04:51:15.427Z] Step 11/25 : COPY . . [2023-09-07T04:51:16.392Z] ---> 0a7fad94c312 [2023-09-07T04:51:16.392Z] Step 12/25 : RUN ${MAKE} [2023-09-07T04:51:16.672Z] ---> Running in 5bc7ea44029b [2023-09-07T04:51:17.646Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.1.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.19" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-09-07T04:54:09.421Z] Removing intermediate container 5bc7ea44029b [2023-09-07T04:54:09.421Z] ---> c02171507374 [2023-09-07T04:54:09.421Z] Step 13/25 : FROM alpine:3.17 [2023-09-07T04:54:09.421Z] 3.17: Pulling from library/alpine [2023-09-07T04:54:09.421Z] 4060ece20d7a: Pulling fs layer [2023-09-07T04:54:09.421Z] 4060ece20d7a: Verifying Checksum [2023-09-07T04:54:09.421Z] 4060ece20d7a: Download complete [2023-09-07T04:54:09.421Z] 4060ece20d7a: Pull complete [2023-09-07T04:54:09.421Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-07T04:54:09.421Z] Status: Downloaded newer image for alpine:3.17 [2023-09-07T04:54:09.421Z] ---> 8650cd65339b [2023-09-07T04:54:09.421Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-09-07T04:54:09.421Z] ---> Running in 9cd2704d2c0c [2023-09-07T04:54:09.421Z] Removing intermediate container 9cd2704d2c0c [2023-09-07T04:54:09.421Z] ---> d066fc5a27ec [2023-09-07T04:54:09.421Z] Step 15/25 : RUN apk add --update --no-cache [2023-09-07T04:54:09.421Z] ---> Running in 73db08252ff2 [2023-09-07T04:54:09.421Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-07T04:54:09.421Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-07T04:54:09.421Z] OK: 7 MiB in 15 packages [2023-09-07T04:54:09.421Z] Removing intermediate container 73db08252ff2 [2023-09-07T04:54:09.421Z] ---> 0a15b858e7b9 [2023-09-07T04:54:09.421Z] Step 16/25 : WORKDIR / [2023-09-07T04:54:09.421Z] ---> Running in eb504e114ed4 [2023-09-07T04:54:09.421Z] Removing intermediate container eb504e114ed4 [2023-09-07T04:54:09.421Z] ---> e2a187e27d7c [2023-09-07T04:54:09.421Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-09-07T04:54:09.421Z] ---> 06437a197981 [2023-09-07T04:54:09.421Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-09-07T04:54:09.421Z] ---> 8bed92da60bd [2023-09-07T04:54:09.421Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-09-07T04:54:09.421Z] ---> d43eb93c749d [2023-09-07T04:54:09.421Z] Step 20/25 : EXPOSE 59910 [2023-09-07T04:54:09.421Z] ---> Running in 79a578e0c22b [2023-09-07T04:54:09.421Z] Removing intermediate container 79a578e0c22b [2023-09-07T04:54:09.421Z] ---> 0428bf08fd9a [2023-09-07T04:54:09.421Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-09-07T04:54:09.421Z] ---> Running in 107223956e02 [2023-09-07T04:54:09.421Z] Removing intermediate container 107223956e02 [2023-09-07T04:54:09.421Z] ---> 4575c09a550d [2023-09-07T04:54:09.421Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-07T04:54:09.421Z] ---> Running in 93d9df38e665 [2023-09-07T04:54:09.421Z] Removing intermediate container 93d9df38e665 [2023-09-07T04:54:09.421Z] ---> 66482cb30c89 [2023-09-07T04:54:09.421Z] Step 23/25 : LABEL arch=arm64 [2023-09-07T04:54:09.421Z] ---> Running in ab00d2bb61db [2023-09-07T04:54:09.421Z] Removing intermediate container ab00d2bb61db [2023-09-07T04:54:09.421Z] ---> 8d480cfc9799 [2023-09-07T04:54:09.421Z] Step 24/25 : LABEL git_sha=6e92736b20cec9f8b19b597911ea3a32490ec124 [2023-09-07T04:54:09.421Z] ---> Running in f0c6f7234b63 [2023-09-07T04:54:09.421Z] Removing intermediate container f0c6f7234b63 [2023-09-07T04:54:09.421Z] ---> 04eae535d281 [2023-09-07T04:54:09.421Z] Step 25/25 : LABEL version=3.1.0-dev.6 [2023-09-07T04:54:09.421Z] ---> Running in cd86959ee167 [2023-09-07T04:54:09.421Z] Removing intermediate container cd86959ee167 [2023-09-07T04:54:09.421Z] ---> beb06dad07e7 [2023-09-07T04:54:09.421Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-07T04:54:09.421Z] Successfully built beb06dad07e7 [2023-09-07T04:54:09.421Z] 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-07T04:54:09.549Z] provisioning config files... [2023-09-07T04:54:09.564Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/93@tmp/config18175259694424020335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:54:09.904Z] ---> docker-login.sh [2023-09-07T04:54:09.904Z] nexus3.edgexfoundry.org:10001 [2023-09-07T04:54:10.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:54:10.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:54:10.172Z] Configure a credential helper to remove this warning. See [2023-09-07T04:54:10.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:54:10.172Z] [2023-09-07T04:54:10.172Z] Login Succeeded [2023-09-07T04:54:10.172Z] nexus3.edgexfoundry.org:10002 [2023-09-07T04:54:10.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:54:10.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:54:10.708Z] Configure a credential helper to remove this warning. See [2023-09-07T04:54:10.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:54:10.708Z] [2023-09-07T04:54:10.708Z] Login Succeeded [2023-09-07T04:54:10.708Z] nexus3.edgexfoundry.org:10003 [2023-09-07T04:54:10.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:54:10.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:54:10.975Z] Configure a credential helper to remove this warning. See [2023-09-07T04:54:10.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:54:10.975Z] [2023-09-07T04:54:10.975Z] Login Succeeded [2023-09-07T04:54:10.975Z] nexus3.edgexfoundry.org:10004 [2023-09-07T04:54:11.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:54:11.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:54:11.510Z] Configure a credential helper to remove this warning. See [2023-09-07T04:54:11.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:54:11.510Z] [2023-09-07T04:54:11.510Z] Login Succeeded [2023-09-07T04:54:11.510Z] docker.io [2023-09-07T04:54:11.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T04:54:12.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T04:54:12.044Z] Configure a credential helper to remove this warning. See [2023-09-07T04:54:12.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T04:54:12.044Z] [2023-09-07T04:54:12.044Z] Login Succeeded [2023-09-07T04:54:12.044Z] ---> docker-login.sh ends [Pipeline] } [2023-09-07T04:54:12.058Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-07T04:54:12.090Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-07T04:54:12.118Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2023-09-07T04:54:12.118Z] 6e92736b20cec9f8b19b597911ea3a32490ec124 [2023-09-07T04:54:12.118Z] latest [2023-09-07T04:54:12.118Z] 3.1.0-dev.6 [2023-09-07T04:54:12.118Z] 6e92736b20cec9f8b19b597911ea3a32490ec124-3.1.0-dev.6 [2023-09-07T04:54:12.118Z] main [2023-09-07T04:54:12.118Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:54:12.488Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:6e92736b20cec9f8b19b597911ea3a32490ec124 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:54:12.841Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:6e92736b20cec9f8b19b597911ea3a32490ec124 [2023-09-07T04:54:12.842Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-09-07T04:54:12.842Z] 7e541b2e07cb: Preparing [2023-09-07T04:54:12.842Z] 06a42cdca467: Preparing [2023-09-07T04:54:12.842Z] 29141bf75b1c: Preparing [2023-09-07T04:54:12.842Z] b1fc5045c03d: Preparing [2023-09-07T04:54:12.842Z] d2d9d24a8c2a: Preparing [2023-09-07T04:54:12.842Z] d2d9d24a8c2a: Layer already exists [2023-09-07T04:54:13.117Z] b1fc5045c03d: Pushed [2023-09-07T04:54:13.117Z] 29141bf75b1c: Pushed [2023-09-07T04:54:13.117Z] 06a42cdca467: Pushed [2023-09-07T04:54:19.770Z] 7e541b2e07cb: Pushed [2023-09-07T04:54:19.770Z] 6e92736b20cec9f8b19b597911ea3a32490ec124: digest: sha256:7848f68d6136b08d5c1bf5b34158427de1c45683983b78778d77c7621a8f5746 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:54:20.128Z] + 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-07T04:54:20.480Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-09-07T04:54:20.480Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-09-07T04:54:20.480Z] 7e541b2e07cb: Preparing [2023-09-07T04:54:20.480Z] 06a42cdca467: Preparing [2023-09-07T04:54:20.480Z] 29141bf75b1c: Preparing [2023-09-07T04:54:20.480Z] b1fc5045c03d: Preparing [2023-09-07T04:54:20.480Z] d2d9d24a8c2a: Preparing [2023-09-07T04:54:20.480Z] d2d9d24a8c2a: Layer already exists [2023-09-07T04:54:20.480Z] 7e541b2e07cb: Layer already exists [2023-09-07T04:54:20.480Z] b1fc5045c03d: Layer already exists [2023-09-07T04:54:20.480Z] 06a42cdca467: Layer already exists [2023-09-07T04:54:20.480Z] 29141bf75b1c: Layer already exists [2023-09-07T04:54:20.749Z] latest: digest: sha256:7848f68d6136b08d5c1bf5b34158427de1c45683983b78778d77c7621a8f5746 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:54:21.169Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:54:21.523Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.6 [2023-09-07T04:54:21.523Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-09-07T04:54:21.523Z] 7e541b2e07cb: Preparing [2023-09-07T04:54:21.523Z] 06a42cdca467: Preparing [2023-09-07T04:54:21.523Z] 29141bf75b1c: Preparing [2023-09-07T04:54:21.523Z] b1fc5045c03d: Preparing [2023-09-07T04:54:21.523Z] d2d9d24a8c2a: Preparing [2023-09-07T04:54:21.523Z] 06a42cdca467: Layer already exists [2023-09-07T04:54:21.523Z] 7e541b2e07cb: Layer already exists [2023-09-07T04:54:21.523Z] 29141bf75b1c: Layer already exists [2023-09-07T04:54:21.523Z] b1fc5045c03d: Layer already exists [2023-09-07T04:54:21.523Z] d2d9d24a8c2a: Layer already exists [2023-09-07T04:54:21.523Z] 3.1.0-dev.6: digest: sha256:7848f68d6136b08d5c1bf5b34158427de1c45683983b78778d77c7621a8f5746 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:54:21.879Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:6e92736b20cec9f8b19b597911ea3a32490ec124-3.1.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:54:22.238Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:6e92736b20cec9f8b19b597911ea3a32490ec124-3.1.0-dev.6 [2023-09-07T04:54:22.238Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-09-07T04:54:22.238Z] 7e541b2e07cb: Preparing [2023-09-07T04:54:22.238Z] 06a42cdca467: Preparing [2023-09-07T04:54:22.238Z] 29141bf75b1c: Preparing [2023-09-07T04:54:22.238Z] b1fc5045c03d: Preparing [2023-09-07T04:54:22.238Z] d2d9d24a8c2a: Preparing [2023-09-07T04:54:22.238Z] b1fc5045c03d: Layer already exists [2023-09-07T04:54:22.238Z] d2d9d24a8c2a: Layer already exists [2023-09-07T04:54:22.238Z] 06a42cdca467: Layer already exists [2023-09-07T04:54:22.238Z] 7e541b2e07cb: Layer already exists [2023-09-07T04:54:22.238Z] 29141bf75b1c: Layer already exists [2023-09-07T04:54:22.238Z] 6e92736b20cec9f8b19b597911ea3a32490ec124-3.1.0-dev.6: digest: sha256:7848f68d6136b08d5c1bf5b34158427de1c45683983b78778d77c7621a8f5746 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:54:22.876Z] + 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-07T04:54:23.220Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2023-09-07T04:54:23.221Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-09-07T04:54:23.221Z] 7e541b2e07cb: Preparing [2023-09-07T04:54:23.221Z] 06a42cdca467: Preparing [2023-09-07T04:54:23.221Z] 29141bf75b1c: Preparing [2023-09-07T04:54:23.221Z] b1fc5045c03d: Preparing [2023-09-07T04:54:23.221Z] d2d9d24a8c2a: Preparing [2023-09-07T04:54:23.221Z] d2d9d24a8c2a: Layer already exists [2023-09-07T04:54:23.221Z] 29141bf75b1c: Layer already exists [2023-09-07T04:54:23.221Z] 7e541b2e07cb: Layer already exists [2023-09-07T04:54:23.221Z] b1fc5045c03d: Layer already exists [2023-09-07T04:54:23.221Z] 06a42cdca467: Layer already exists [2023-09-07T04:54:23.487Z] main: digest: sha256:7848f68d6136b08d5c1bf5b34158427de1c45683983b78778d77c7621a8f5746 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-07T04:54:23.550Z] ===================================================== [Pipeline] echo [2023-09-07T04:54:23.561Z] taggedImages: [2023-09-07T04:54:23.561Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:6e92736b20cec9f8b19b597911ea3a32490ec124 [2023-09-07T04:54:23.561Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-09-07T04:54:23.561Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.6 [2023-09-07T04:54:23.561Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:6e92736b20cec9f8b19b597911ea3a32490ec124-3.1.0-dev.6 [2023-09-07T04:54:23.561Z] - 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-07T04:54:23.940Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-07T04:54:23.940Z] [2023-09-07T04:54:23.940Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:54:24.278Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-07T04:54:24.279Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-07T04:54:24.279Z] 8998bd30e6a1: Pulling fs layer [2023-09-07T04:54:24.279Z] 04944245beec: Pulling fs layer [2023-09-07T04:54:24.279Z] 699f458cf7ca: Pulling fs layer [2023-09-07T04:54:24.279Z] 765212b225bb: Pulling fs layer [2023-09-07T04:54:24.279Z] f23df028b6ca: Pulling fs layer [2023-09-07T04:54:24.279Z] d65c8cfc05b1: Pulling fs layer [2023-09-07T04:54:24.279Z] 2437ff75d9bd: Pulling fs layer [2023-09-07T04:54:24.279Z] f23df028b6ca: Waiting [2023-09-07T04:54:24.279Z] d65c8cfc05b1: Waiting [2023-09-07T04:54:24.279Z] 2437ff75d9bd: Waiting [2023-09-07T04:54:24.279Z] 765212b225bb: Waiting [2023-09-07T04:54:24.548Z] 04944245beec: Verifying Checksum [2023-09-07T04:54:24.548Z] 04944245beec: Download complete [2023-09-07T04:54:24.548Z] 765212b225bb: Verifying Checksum [2023-09-07T04:54:24.548Z] 765212b225bb: Download complete [2023-09-07T04:54:24.548Z] f23df028b6ca: Verifying Checksum [2023-09-07T04:54:24.548Z] f23df028b6ca: Download complete [2023-09-07T04:54:24.548Z] d65c8cfc05b1: Verifying Checksum [2023-09-07T04:54:24.548Z] d65c8cfc05b1: Download complete [2023-09-07T04:54:24.816Z] 699f458cf7ca: Verifying Checksum [2023-09-07T04:54:24.816Z] 699f458cf7ca: Download complete [2023-09-07T04:54:25.084Z] 8998bd30e6a1: Verifying Checksum [2023-09-07T04:54:25.084Z] 8998bd30e6a1: Download complete [2023-09-07T04:54:27.668Z] 2437ff75d9bd: Verifying Checksum [2023-09-07T04:54:27.668Z] 2437ff75d9bd: Download complete [2023-09-07T04:54:29.075Z] 8998bd30e6a1: Pull complete [2023-09-07T04:54:29.658Z] 04944245beec: Pull complete [2023-09-07T04:54:31.067Z] 699f458cf7ca: Pull complete [2023-09-07T04:54:31.067Z] 765212b225bb: Pull complete [2023-09-07T04:54:32.030Z] f23df028b6ca: Pull complete [2023-09-07T04:54:32.030Z] d65c8cfc05b1: Pull complete [2023-09-07T04:54:47.028Z] 2437ff75d9bd: Pull complete [2023-09-07T04:54:47.028Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-07T04:54:47.028Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-07T04:54:47.028Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:54:47.225Z] prd-ubuntu20.04-docker-arm64-4c-16g-5522 does not seem to be running inside a container [2023-09-07T04:54:47.305Z] $ 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/93 -v /w/workspace/device-gpio/93:/w/workspace/device-gpio/93:rw,z -v /w/workspace/device-gpio/93@tmp:/w/workspace/device-gpio/93@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-07T04:54:50.963Z] $ docker top cb87e0c440d24753426d70920ca8c5fe43fa4f1281eadbb779e5fff79c6b5aae -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:54:51.804Z] ---> job-cost.sh [2023-09-07T04:54:51.804Z] lf-activate-venv: SKIPPING [2023-09-07T04:54:51.804Z] INFO: No Stack... [2023-09-07T04:54:52.385Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-07T04:54:52.969Z] INFO: Archiving Costs [Pipeline] sh [2023-09-07T04:54:53.880Z] + cat /w/workspace/device-gpio/93/archives/cost.csv [2023-09-07T04:54:53.880Z] + cut -d, -f6 [Pipeline] lock [2023-09-07T04:54:53.919Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-93-stack-cost] [2023-09-07T04:54:53.927Z] Resource [jenkins-edgexfoundry-device-gpio-main-93-stack-cost] did not exist. Created. [2023-09-07T04:54:53.927Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-93-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-07T04:54:54.593Z] /w/workspace/device-gpio/93@tmp/durable-28bfbfed/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-07T04:54:55.248Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-07T04:54:55.264Z] Warning: overwriting stash ‘stack-cost’ [2023-09-07T04:54:55.332Z] Stashed 1 file(s) [Pipeline] } [2023-09-07T04:54:55.342Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-93-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-07T04:54:55.374Z] $ docker stop --time=1 cb87e0c440d24753426d70920ca8c5fe43fa4f1281eadbb779e5fff79c6b5aae [2023-09-07T04:54:56.902Z] $ docker rm -f --volumes cb87e0c440d24753426d70920ca8c5fe43fa4f1281eadbb779e5fff79c6b5aae [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-07T04:54:57.291Z] provisioning config files... [2023-09-07T04:54:57.300Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config11031123982347553727tmp [Pipeline] { [Pipeline] sh [2023-09-07T04:54:57.606Z] + set +x [2023-09-07T04:54:57.606Z] + bash -s -- [2023-09-07T04:54:57.606Z] + curl -s https://codecov.io/bash [2023-09-07T04:54:57.606Z] [2023-09-07T04:54:57.606Z] _____ _ [2023-09-07T04:54:57.606Z] / ____| | | [2023-09-07T04:54:57.606Z] | | ___ __| | ___ ___ _____ __ [2023-09-07T04:54:57.606Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-07T04:54:57.606Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-07T04:54:57.606Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-07T04:54:57.606Z] Bash-1.0.6 [2023-09-07T04:54:57.606Z] [2023-09-07T04:54:57.606Z] [2023-09-07T04:54:57.606Z] ==> git version 2.25.1 found [2023-09-07T04:54:57.606Z] ==> 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-07T04:54:57.606Z] Release-Date: 2020-01-08 [2023-09-07T04:54:57.606Z] 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-07T04:54:57.606Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-07T04:54:57.606Z] ==> Jenkins CI detected. [2023-09-07T04:54:57.606Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2023-09-07T04:54:57.606Z] project root: . [2023-09-07T04:54:57.606Z] --> token set from env [2023-09-07T04:54:57.606Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-07T04:54:57.606Z] ==> Running gcov in . (disable via -X gcov) [2023-09-07T04:54:57.606Z] ==> Python coveragepy not found [2023-09-07T04:54:57.606Z] ==> Searching for coverage reports in: [2023-09-07T04:54:57.606Z] + . [2023-09-07T04:54:57.606Z] -> Found 1 reports [2023-09-07T04:54:57.606Z] ==> Detecting git/mercurial file structure [2023-09-07T04:54:57.866Z] ==> Reading reports [2023-09-07T04:54:57.866Z] + ./coverage.out bytes=10 [2023-09-07T04:54:57.866Z] ==> Appending adjustments [2023-09-07T04:54:57.866Z] https://docs.codecov.io/docs/fixing-reports [2023-09-07T04:54:57.866Z] + Found adjustments [2023-09-07T04:54:57.866Z] ==> Gzipping contents [2023-09-07T04:54:57.866Z] 4.0K /tmp/codecov.pKYJgo.gz [2023-09-07T04:54:57.866Z] ==> Uploading reports [2023-09-07T04:54:57.866Z] url: https://codecov.io [2023-09-07T04:54:57.866Z] query: branch=main&commit=6e92736b20cec9f8b19b597911ea3a32490ec124&build=93&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F93%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-07T04:54:57.866Z] -> Pinging Codecov [2023-09-07T04:54:57.866Z] 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=6e92736b20cec9f8b19b597911ea3a32490ec124&build=93&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F93%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-07T04:54:57.866Z] -> Uploading to [2023-09-07T04:54:57.866Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-07/3EC07B1A8CA8AF9BCAA0BB9F0134797F/6e92736b20cec9f8b19b597911ea3a32490ec124/0ae7a589-9ac0-44d4-a974-871b1ddc5fdc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230907%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230907T045457Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=14dea294a2f7f1687e489b7f1e4fc75e8d66f0c92485a7a7e9510fd736b93221 [2023-09-07T04:54:57.866Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-07T04:54:57.866Z] Dload Upload Total Spent Left Speed [2023-09-07T04:54:58.126Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3751 --:--:-- --:--:-- --:--:-- 3751 [2023-09-07T04:54:58.126Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/6e92736b20cec9f8b19b597911ea3a32490ec124 [Pipeline] } [2023-09-07T04:54:58.133Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-07T04:54:58.331Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-07T04:54:58.341Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:54:58.637Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-07T04:54:58.637Z] [2023-09-07T04:54:58.637Z] 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-07T04:54:58.944Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-07T04:54:58.944Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-07T04:54:58.944Z] df9b9388f04a: Pulling fs layer [2023-09-07T04:54:58.944Z] 52dc419b0ee2: Pulling fs layer [2023-09-07T04:54:58.944Z] 25bc292e5bac: Pulling fs layer [2023-09-07T04:54:58.944Z] 114826534d7a: Pulling fs layer [2023-09-07T04:54:58.944Z] 4657fd5d0bcf: Pulling fs layer [2023-09-07T04:54:58.944Z] 6ad1cebc031e: Pulling fs layer [2023-09-07T04:54:58.944Z] 8a3aa393b2d8: Pulling fs layer [2023-09-07T04:54:58.944Z] 114826534d7a: Waiting [2023-09-07T04:54:58.944Z] 4657fd5d0bcf: Waiting [2023-09-07T04:54:58.944Z] 6ad1cebc031e: Waiting [2023-09-07T04:54:58.944Z] 8a3aa393b2d8: Waiting [2023-09-07T04:54:58.944Z] 25bc292e5bac: Verifying Checksum [2023-09-07T04:54:58.944Z] 25bc292e5bac: Download complete [2023-09-07T04:54:58.944Z] 52dc419b0ee2: Verifying Checksum [2023-09-07T04:54:58.944Z] 52dc419b0ee2: Download complete [2023-09-07T04:54:58.944Z] 4657fd5d0bcf: Verifying Checksum [2023-09-07T04:54:58.944Z] 4657fd5d0bcf: Download complete [2023-09-07T04:54:58.944Z] df9b9388f04a: Download complete [2023-09-07T04:54:59.222Z] df9b9388f04a: Pull complete [2023-09-07T04:54:59.222Z] 52dc419b0ee2: Pull complete [2023-09-07T04:54:59.483Z] 6ad1cebc031e: Verifying Checksum [2023-09-07T04:54:59.483Z] 6ad1cebc031e: Download complete [2023-09-07T04:54:59.483Z] 25bc292e5bac: Pull complete [2023-09-07T04:55:00.049Z] 114826534d7a: Verifying Checksum [2023-09-07T04:55:00.049Z] 114826534d7a: Download complete [2023-09-07T04:55:00.049Z] 8a3aa393b2d8: Verifying Checksum [2023-09-07T04:55:00.049Z] 8a3aa393b2d8: Download complete [2023-09-07T04:55:04.238Z] 114826534d7a: Pull complete [2023-09-07T04:55:04.238Z] 4657fd5d0bcf: Pull complete [2023-09-07T04:55:04.238Z] 6ad1cebc031e: Pull complete [2023-09-07T04:55:06.772Z] 8a3aa393b2d8: Pull complete [2023-09-07T04:55:06.772Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-07T04:55:06.772Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-07T04:55:06.772Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:55:06.850Z] prd-ubuntu20.04-docker-8c-8g-5520 does not seem to be running inside a container [2023-09-07T04:55:06.882Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-07T04:55:11.022Z] $ docker top c831f9492d16a4d54ffb2917a66de91ef4d9a706bbcddc2f73c4b0f26aef527d -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-07T04:55:11.083Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2023-09-07T04:55:11.359Z] + set -o pipefail [2023-09-07T04:55:11.359Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2023-09-07T04:55:16.641Z] [2023-09-07T04:55:16.641Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2023-09-07T04:55:16.641Z] [2023-09-07T04:55:16.641Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/d7ca6b80-8dd4-410c-a66f-0900fa21d39e [2023-09-07T04:55:16.641Z] [2023-09-07T04:55:16.641Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-07T04:55:16.641Z] [2023-09-07T04:55:16.641Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-07T04:55:16.641Z] [2023-09-07T04:55:16.641Z] [2023-09-07T04:55:16.641Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-07T04:55:16.641Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-07T04:55:16.641Z] More details here: https://snyk.co/ue1NS [2023-09-07T04:55:16.641Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-09-07T04:55:16.641Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-09-07T04:55:16.654Z] $ docker stop --time=1 c831f9492d16a4d54ffb2917a66de91ef4d9a706bbcddc2f73c4b0f26aef527d [2023-09-07T04:55:19.881Z] $ docker rm -f --volumes c831f9492d16a4d54ffb2917a66de91ef4d9a706bbcddc2f73c4b0f26aef527d [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-07T04:55:20.668Z] + git log --format=format:%s -1 6e92736b20cec9f8b19b597911ea3a32490ec124 [Pipeline] sh [2023-09-07T04:55:20.957Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-07T04:55:20.958Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:55:21.260Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-07T04:55:21.260Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:55:21.328Z] prd-ubuntu20.04-docker-8c-8g-5520 does not seem to be running inside a container [2023-09-07T04:55:21.357Z] $ 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-07T04:55:21.786Z] $ docker top 6636b74a7810234eb2ea23c3e6f959d925e28e54dd9ef8eda92ceac0e66135cd -eo pid,comm [2023-09-07T04:55:21.831Z] 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-07T04:55:21.831Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-07T04:55:21.872Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-07T04:55:21.872Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-07T04:55:21.991Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-07T04:55:21.996Z] $ docker exec 6636b74a7810234eb2ea23c3e6f959d925e28e54dd9ef8eda92ceac0e66135cd ssh-agent [2023-09-07T04:55:22.097Z] SSH_AUTH_SOCK=/tmp/ssh-zIIOo21BDtVf/agent.32 [2023-09-07T04:55:22.097Z] SSH_AGENT_PID=38 [2023-09-07T04:55:22.101Z] Running ssh-add (command line suppressed) [2023-09-07T04:55:22.195Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2734065301334655652.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2734065301334655652.key) [2023-09-07T04:55:22.206Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-07T04:55:22.493Z] + git semver tag [2023-09-07T04:55:22.752Z] 2023-09-07 04:55:22,667 [run_tag] DEBUG tag force:False [2023-09-07T04:55:22.752Z] 2023-09-07 04:55:22,667 [check_head_tag] DEBUG check head tag [2023-09-07T04:55:22.752Z] 2023-09-07 04:55:22,667 [execute] INFO git cat-file --batch-check [2023-09-07T04:55:22.752Z] 2023-09-07 04:55:22,668 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-09-07T04:55:22.752Z] 2023-09-07 04:55:22,671 [execute] INFO git cat-file --batch [2023-09-07T04:55:22.752Z] 2023-09-07 04:55:22,671 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-09-07T04:55:22.752Z] 2023-09-07 04:55:22,679 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-07T04:55:22.752Z] 2023-09-07 04:55:22,679 [execute] INFO git tag -a v3.1.0-dev.6 -m v3.1.0-dev.6 [2023-09-07T04:55:22.752Z] 2023-09-07 04:55:22,679 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.6', '-m', 'v3.1.0-dev.6'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-09-07T04:55:22.752Z] 2023-09-07 04:55:22,684 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-07T04:55:22.752Z] 3.1.0-dev.6 [Pipeline] } [2023-09-07T04:55:22.762Z] $ docker exec --env ******** --env ******** 6636b74a7810234eb2ea23c3e6f959d925e28e54dd9ef8eda92ceac0e66135cd ssh-agent -k [2023-09-07T04:55:22.857Z] unset SSH_AUTH_SOCK; [2023-09-07T04:55:22.858Z] unset SSH_AGENT_PID; [2023-09-07T04:55:22.858Z] echo Agent pid 38 killed; [2023-09-07T04:55:22.866Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-07T04:55:23.170Z] + git semver [Pipeline] } [2023-09-07T04:55:23.444Z] $ docker stop --time=1 6636b74a7810234eb2ea23c3e6f959d925e28e54dd9ef8eda92ceac0e66135cd [2023-09-07T04:55:24.750Z] $ docker rm -f --volumes 6636b74a7810234eb2ea23c3e6f959d925e28e54dd9ef8eda92ceac0e66135cd [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:55:25.132Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-07T04:55:25.132Z] [2023-09-07T04:55:25.132Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:55:25.445Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-07T04:55:25.445Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-07T04:55:25.445Z] ab5ef0e58194: Pulling fs layer [2023-09-07T04:55:25.445Z] 9712f1f96733: Pulling fs layer [2023-09-07T04:55:25.445Z] 63f879dbbcfc: Pulling fs layer [2023-09-07T04:55:25.445Z] 0d9ebad4ef96: Pulling fs layer [2023-09-07T04:55:25.445Z] e9a5061849ea: Pulling fs layer [2023-09-07T04:55:25.445Z] d747dcd14b5f: Pulling fs layer [2023-09-07T04:55:25.445Z] 2de7ff778b66: Pulling fs layer [2023-09-07T04:55:25.445Z] 0d9ebad4ef96: Waiting [2023-09-07T04:55:25.445Z] e9a5061849ea: Waiting [2023-09-07T04:55:25.445Z] d747dcd14b5f: Waiting [2023-09-07T04:55:25.445Z] 2de7ff778b66: Waiting [2023-09-07T04:55:25.445Z] 9712f1f96733: Verifying Checksum [2023-09-07T04:55:25.445Z] 9712f1f96733: Download complete [2023-09-07T04:55:25.706Z] 63f879dbbcfc: Verifying Checksum [2023-09-07T04:55:25.706Z] 63f879dbbcfc: Download complete [2023-09-07T04:55:25.966Z] e9a5061849ea: Verifying Checksum [2023-09-07T04:55:25.966Z] e9a5061849ea: Download complete [2023-09-07T04:55:25.966Z] d747dcd14b5f: Verifying Checksum [2023-09-07T04:55:25.966Z] d747dcd14b5f: Download complete [2023-09-07T04:55:25.966Z] 0d9ebad4ef96: Verifying Checksum [2023-09-07T04:55:25.966Z] 0d9ebad4ef96: Download complete [2023-09-07T04:55:25.966Z] ab5ef0e58194: Verifying Checksum [2023-09-07T04:55:25.966Z] ab5ef0e58194: Download complete [2023-09-07T04:55:26.224Z] 2de7ff778b66: Verifying Checksum [2023-09-07T04:55:26.224Z] 2de7ff778b66: Download complete [2023-09-07T04:55:28.753Z] ab5ef0e58194: Pull complete [2023-09-07T04:55:28.753Z] 9712f1f96733: Pull complete [2023-09-07T04:55:29.318Z] 63f879dbbcfc: Pull complete [2023-09-07T04:55:32.595Z] 0d9ebad4ef96: Pull complete [2023-09-07T04:55:32.853Z] e9a5061849ea: Pull complete [2023-09-07T04:55:32.853Z] d747dcd14b5f: Pull complete [2023-09-07T04:55:33.788Z] 2de7ff778b66: Pull complete [2023-09-07T04:55:33.788Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-07T04:55:33.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-07T04:55:33.788Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:55:33.874Z] prd-ubuntu20.04-docker-8c-8g-5520 does not seem to be running inside a container [2023-09-07T04:55:33.906Z] $ 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-07T04:55:38.638Z] $ docker top 3341f2993d518aa1675d623fec8d06dab4674e26d090a3ec61b32710209abe61 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-07T04:55:38.700Z] provisioning config files... [2023-09-07T04:55:38.706Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config7351140493627895194tmp [2023-09-07T04:55:38.715Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config16462839843709019709tmp [2023-09-07T04:55:38.725Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config14024178438442322714tmp [Pipeline] { [Pipeline] echo [2023-09-07T04:55:38.739Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:55:39.024Z] ---> sigul-configuration.sh [2023-09-07T04:55:39.024Z] gpg: directory `/root/.gnupg' created [2023-09-07T04:55:39.024Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-07T04:55:39.024Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-07T04:55:39.024Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-07T04:55:39.024Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-07T04:55:39.024Z] gpg: CAST5 encrypted data [2023-09-07T04:55:39.024Z] gpg: encrypted with 1 passphrase [2023-09-07T04:55:39.024Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-07T04:55:39.313Z] + mkdir /home/jenkins [2023-09-07T04:55:39.313Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-07T04:55:39.593Z] + 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-07T04:55:39.602Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:55:39.884Z] ---> sigul-install.sh [2023-09-07T04:55:39.884Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-07T04:55:40.166Z] + git tag --list [2023-09-07T04:55:40.166Z] v1.0.0 [2023-09-07T04:55:40.166Z] v2.1.0 [2023-09-07T04:55:40.166Z] v2.1.1 [2023-09-07T04:55:40.166Z] v2.2.0 [2023-09-07T04:55:40.166Z] v2.3.0 [2023-09-07T04:55:40.166Z] v3.0 [2023-09-07T04:55:40.166Z] v3.0.0 [2023-09-07T04:55:40.166Z] v3.1.0-dev.1 [2023-09-07T04:55:40.166Z] v3.1.0-dev.2 [2023-09-07T04:55:40.166Z] v3.1.0-dev.3 [2023-09-07T04:55:40.166Z] v3.1.0-dev.4 [2023-09-07T04:55:40.166Z] v3.1.0-dev.5 [2023-09-07T04:55:40.166Z] v3.1.0-dev.6 [Pipeline] sh [2023-09-07T04:55:40.448Z] + lftools sign git-tag v3.1.0-dev.6 [2023-09-07T04:55:41.016Z] Signing Git tag with Sigul... [2023-09-07T04:55:41.016Z] Signing v3.1.0-dev.6 [Pipeline] echo [2023-09-07T04:55:41.591Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:55:41.872Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-07T04:55:41.878Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-07T04:55:41.904Z] $ docker stop --time=1 3341f2993d518aa1675d623fec8d06dab4674e26d090a3ec61b32710209abe61 [2023-09-07T04:55:43.202Z] $ docker rm -f --volumes 3341f2993d518aa1675d623fec8d06dab4674e26d090a3ec61b32710209abe61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-07T04:55:43.600Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-07T04:55:43.600Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:55:43.893Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-07T04:55:43.894Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:55:43.958Z] prd-ubuntu20.04-docker-8c-8g-5520 does not seem to be running inside a container [2023-09-07T04:55:43.990Z] $ 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-07T04:55:44.324Z] $ docker top 5bfb39dd54380b6e74d01bbe35ced5fcdb37d676033036892272e62094a3fd01 -eo pid,comm [2023-09-07T04:55:44.367Z] 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-07T04:55:44.367Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-07T04:55:44.403Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-07T04:55:44.403Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-07T04:55:44.500Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-07T04:55:44.505Z] $ docker exec 5bfb39dd54380b6e74d01bbe35ced5fcdb37d676033036892272e62094a3fd01 ssh-agent [2023-09-07T04:55:44.607Z] SSH_AUTH_SOCK=/tmp/ssh-wHLfuwq4aTkU/agent.31 [2023-09-07T04:55:44.608Z] SSH_AGENT_PID=37 [2023-09-07T04:55:44.612Z] Running ssh-add (command line suppressed) [2023-09-07T04:55:44.722Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_14120814521728411212.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_14120814521728411212.key) [2023-09-07T04:55:44.733Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-07T04:55:45.017Z] + git semver bump pre [2023-09-07T04:55:45.276Z] 2023-09-07 04:55:45,183 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-07T04:55:45.276Z] 2023-09-07 04:55:45,183 [bump_version] DEBUG bumping version:3.1.0-dev.6 on axis:pre with prefix:dev [2023-09-07T04:55:45.276Z] 2023-09-07 04:55:45,183 [bump_version] DEBUG bumped version:3.1.0-dev.7 [2023-09-07T04:55:45.276Z] 2023-09-07 04:55:45,183 [write_version] DEBUG write version:3.1.0-dev.7 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True [2023-09-07T04:55:45.276Z] 2023-09-07 04:55:45,183 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-07T04:55:45.276Z] 2023-09-07 04:55:45,183 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-07T04:55:45.276Z] 2023-09-07 04:55:45,185 [execute] INFO git cat-file --batch-check [2023-09-07T04:55:45.276Z] 2023-09-07 04:55:45,185 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-07T04:55:45.276Z] 2023-09-07 04:55:45,190 [execute] INFO git cat-file --batch [2023-09-07T04:55:45.276Z] 2023-09-07 04:55:45,190 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-07T04:55:45.276Z] 2023-09-07 04:55:45,194 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-07T04:55:45.276Z] 3.1.0-dev.7 [Pipeline] } [2023-09-07T04:55:45.287Z] $ docker exec --env ******** --env ******** 5bfb39dd54380b6e74d01bbe35ced5fcdb37d676033036892272e62094a3fd01 ssh-agent -k [2023-09-07T04:55:45.384Z] unset SSH_AUTH_SOCK; [2023-09-07T04:55:45.384Z] unset SSH_AGENT_PID; [2023-09-07T04:55:45.384Z] echo Agent pid 37 killed; [2023-09-07T04:55:45.392Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-07T04:55:45.692Z] + git semver [Pipeline] } [2023-09-07T04:55:45.967Z] $ docker stop --time=1 5bfb39dd54380b6e74d01bbe35ced5fcdb37d676033036892272e62094a3fd01 [2023-09-07T04:55:47.294Z] $ docker rm -f --volumes 5bfb39dd54380b6e74d01bbe35ced5fcdb37d676033036892272e62094a3fd01 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-07T04:55:47.630Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-07T04:55:47.630Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:55:47.930Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-07T04:55:47.930Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:55:47.994Z] prd-ubuntu20.04-docker-8c-8g-5520 does not seem to be running inside a container [2023-09-07T04:55:48.107Z] $ 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-07T04:55:48.441Z] $ docker top 6845bae1f91ecfeb688f4038a085dd6f626bfbb7896d9990abb30af17ad6bbee -eo pid,comm [2023-09-07T04:55:48.487Z] 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-07T04:55:48.487Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-07T04:55:48.527Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-07T04:55:48.527Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-07T04:55:48.628Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-07T04:55:48.634Z] $ docker exec 6845bae1f91ecfeb688f4038a085dd6f626bfbb7896d9990abb30af17ad6bbee ssh-agent [2023-09-07T04:55:48.744Z] SSH_AUTH_SOCK=/tmp/ssh-Lss96CoOB4Wh/agent.32 [2023-09-07T04:55:48.744Z] SSH_AGENT_PID=38 [2023-09-07T04:55:48.760Z] Running ssh-add (command line suppressed) [2023-09-07T04:55:48.870Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1170237304252107981.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1170237304252107981.key) [2023-09-07T04:55:48.881Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-07T04:55:49.168Z] + git semver push [2023-09-07T04:55:49.428Z] 2023-09-07 04:55:49,348 [run_push] DEBUG push [2023-09-07T04:55:49.428Z] 2023-09-07 04:55:49,348 [execute] INFO git cat-file --batch-check [2023-09-07T04:55:49.428Z] 2023-09-07 04:55:49,348 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-07T04:55:49.428Z] 2023-09-07 04:55:49,352 [execute] INFO git rev-list 35d4d2bb22118620aba794625420e79c200f1473 -- [2023-09-07T04:55:49.428Z] 2023-09-07 04:55:49,352 [execute] DEBUG Popen(['git', 'rev-list', '35d4d2bb22118620aba794625420e79c200f1473', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-07T04:55:49.428Z] 2023-09-07 04:55:49,358 [execute] INFO git fetch -v origin [2023-09-07T04:55:49.428Z] 2023-09-07 04:55:49,359 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-07T04:55:49.996Z] 2023-09-07 04:55:49,823 [run_push] DEBUG no remote changes detected [2023-09-07T04:55:49.996Z] 2023-09-07 04:55:49,823 [execute] INFO git push origin semver [2023-09-07T04:55:49.996Z] 2023-09-07 04:55:49,824 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-07T04:55:50.934Z] 2023-09-07 04:55:50,731 [run_push] DEBUG push all version tags [2023-09-07T04:55:50.934Z] 2023-09-07 04:55:50,732 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-07T04:55:50.934Z] 2023-09-07 04:55:50,732 [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-07T04:55:51.502Z] 2023-09-07 04:55:51,419 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-07T04:55:51.502Z] 3.1.0-dev.7 [Pipeline] } [2023-09-07T04:55:51.513Z] $ docker exec --env ******** --env ******** 6845bae1f91ecfeb688f4038a085dd6f626bfbb7896d9990abb30af17ad6bbee ssh-agent -k [2023-09-07T04:55:51.605Z] unset SSH_AUTH_SOCK; [2023-09-07T04:55:51.605Z] unset SSH_AGENT_PID; [2023-09-07T04:55:51.605Z] echo Agent pid 38 killed; [2023-09-07T04:55:51.614Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-07T04:55:51.913Z] + git semver [Pipeline] } [2023-09-07T04:55:52.187Z] $ docker stop --time=1 6845bae1f91ecfeb688f4038a085dd6f626bfbb7896d9990abb30af17ad6bbee [2023-09-07T04:55:53.469Z] $ docker rm -f --volumes 6845bae1f91ecfeb688f4038a085dd6f626bfbb7896d9990abb30af17ad6bbee [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-07T04:55:53.989Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2023-09-07T04:55:53.989Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-09-07T04:55:53.989Z] total 16 [2023-09-07T04:55:53.989Z] drwxr-xr-x 3 root root 4096 Sep 7 04:46 . [2023-09-07T04:55:53.989Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 7 04:55 .. [2023-09-07T04:55:53.989Z] drwxr-xr-x 2 root root 4096 Sep 7 04:46 cost [2023-09-07T04:55:53.989Z] -rw-r--r-- 1 root root 82 Sep 7 04:46 cost.csv [2023-09-07T04:55:53.989Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2023-09-07T04:55:53.989Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-09-07T04:55:53.989Z] total 16 [2023-09-07T04:55:53.989Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 7 04:46 . [2023-09-07T04:55:53.989Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 7 04:55 .. [2023-09-07T04:55:53.989Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 7 04:46 cost [2023-09-07T04:55:53.989Z] -rw-r--r-- 1 jenkins jenkins 82 Sep 7 04:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:55:54.281Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:55:55.139Z] ---> package-listing.sh [2023-09-07T04:55:55.139Z] ++ facter osfamily [2023-09-07T04:55:55.139Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-07T04:55:55.399Z] + OS_FAMILY=debian [2023-09-07T04:55:55.399Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2023-09-07T04:55:55.399Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-07T04:55:55.399Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-07T04:55:55.399Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-07T04:55:55.399Z] + PACKAGES=/tmp/packages_start.txt [2023-09-07T04:55:55.399Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-09-07T04:55:55.399Z] + PACKAGES=/tmp/packages_end.txt [2023-09-07T04:55:55.399Z] + case "${OS_FAMILY}" in [2023-09-07T04:55:55.399Z] + dpkg -l [2023-09-07T04:55:55.399Z] + grep '^ii' [2023-09-07T04:55:55.399Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-07T04:55:55.399Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-07T04:55:55.399Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-07T04:55:55.399Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-09-07T04:55:55.399Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2023-09-07T04:55:55.399Z] + 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-07T04:55:55.411Z] 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-07T04:55:55.689Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T04:55:56.244Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-07T04:55:56.245Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T04:55:56.310Z] prd-ubuntu20.04-docker-8c-8g-5520 does not seem to be running inside a container [2023-09-07T04:55:56.342Z] $ 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-07T04:55:56.529Z] $ docker top b64b6a2bdb3b3e75b23f52cfda05fc7f6a166a395655f588f6351d7b9e446fb2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-07T04:55:56.866Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-07T04:55:57.147Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-07T04:55:57.431Z] + ls /var/log/sa-host [2023-09-07T04:55:57.431Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-07T04:55:57.584Z] provisioning config files... [2023-09-07T04:55:57.593Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1814712056634587220tmp [Pipeline] { [Pipeline] echo [2023-09-07T04:55:57.605Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:55:57.887Z] ---> create-netrc.sh [Pipeline] } [2023-09-07T04:55:57.894Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:55:58.218Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-07T04:55:58.226Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:55:58.506Z] ---> sudo-logs.sh [2023-09-07T04:55:58.506Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-07T04:55:58.533Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:55:58.814Z] ---> job-cost.sh [2023-09-07T04:55:58.815Z] lf-activate-venv: SKIPPING [2023-09-07T04:55:58.815Z] DEBUG: total: 0.2199999988079071 [2023-09-07T04:55:58.815Z] INFO: Retrieving Stack Cost... [2023-09-07T04:55:59.074Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-07T04:55:59.642Z] INFO: Archiving Costs [Pipeline] echo [2023-09-07T04:55:59.653Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-07T04:55:59.933Z] ---> logs-deploy.sh [2023-09-07T04:55:59.933Z] lf-activate-venv: SKIPPING [2023-09-07T04:55:59.933Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/93 [2023-09-07T04:55:59.933Z] INFO: archiving workspace using pattern(s): [2023-09-07T04:56:00.869Z] Archives upload complete. [2023-09-07T04:56:00.869Z] INFO: archiving logs to Nexus