Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dad3581f68ab7f120ccaa1e9a5c0830c4458f666 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-ssh11984922709466317581.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh3103053730191859448.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh7481549939503550948.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh7375302351732501721.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-ssh5548005550932292968.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-17075 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 dad3581f68ab7f120ccaa1e9a5c0830c4458f666 (main) Commit message: "Merge pull request #213 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0" > 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 dad3581f68ab7f120ccaa1e9a5c0830c4458f666 # timeout=10 > git rev-list --no-walk 7dc6282e6f484b8ebccec722045a9c6b5647f969 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-08T19:18:50.988Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-08T19:18:51.059Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-08T19:18:51.075Z] ========================================================= [2023-11-08T19:18:51.075Z] EdgeX Global Pipelines Version Info [2023-11-08T19:18:51.075Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:18:51.790Z] ------------------- [2023-11-08T19:18:51.790Z] stable info: [2023-11-08T19:18:51.790Z] ------------------- [2023-11-08T19:18:51.790Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-08T19:18:51.790Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-08T19:18:51.790Z] Message: update stable to v1.0.257 [2023-11-08T19:18:52.361Z] ------------------- [2023-11-08T19:18:52.361Z] experimental info: [2023-11-08T19:18:52.361Z] ------------------- [2023-11-08T19:18:52.361Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-08T19:18:52.361Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-08T19:18:52.361Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-08T19:18:52.550Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-11-08T19:18:52.565Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-11-08T19:18:52.578Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-08T19:18:52.592Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-08T19:18:52.611Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-08T19:18:52.632Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-08T19:18:52.652Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-08T19:18:52.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-08T19:18:52.686Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-08T19:18:52.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-08T19:18:52.712Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-08T19:18:52.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-11-08T19:18:52.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-08T19:18:52.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-08T19:18:52.771Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-08T19:18:52.789Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-08T19:18:52.810Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-08T19:18:52.824Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-08T19:18:52.835Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-08T19:18:52.853Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-08T19:18:52.865Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-08T19:18:52.879Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-08T19:18:52.903Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-08T19:18:52.923Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-08T19:18:52.943Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-08T19:18:52.966Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-08T19:18:52.984Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-08T19:18:53.002Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-11-08T19:18:53.023Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-11-08T19:18:53.043Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-11-08T19:18:53.061Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dad3581f68ab7f120ccaa1e9a5c0830c4458f666 [Pipeline] echo [2023-11-08T19:18:53.082Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dad3581 [Pipeline] echo [2023-11-08T19:18:53.101Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T19:18:53.153Z] provisioning config files... [2023-11-08T19:18:53.166Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1990959250208912837tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:18:53.464Z] ---> docker-login.sh [2023-11-08T19:18:53.465Z] nexus3.edgexfoundry.org:10001 [2023-11-08T19:18:53.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:18:53.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:18:53.724Z] Configure a credential helper to remove this warning. See [2023-11-08T19:18:53.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:18:53.724Z] [2023-11-08T19:18:53.724Z] Login Succeeded [2023-11-08T19:18:53.724Z] nexus3.edgexfoundry.org:10002 [2023-11-08T19:18:53.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:18:53.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:18:53.724Z] Configure a credential helper to remove this warning. See [2023-11-08T19:18:53.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:18:53.724Z] [2023-11-08T19:18:53.724Z] Login Succeeded [2023-11-08T19:18:53.724Z] nexus3.edgexfoundry.org:10003 [2023-11-08T19:18:53.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:18:53.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:18:53.988Z] Configure a credential helper to remove this warning. See [2023-11-08T19:18:53.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:18:53.988Z] [2023-11-08T19:18:53.988Z] Login Succeeded [2023-11-08T19:18:53.988Z] nexus3.edgexfoundry.org:10004 [2023-11-08T19:18:53.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:18:53.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:18:53.988Z] Configure a credential helper to remove this warning. See [2023-11-08T19:18:53.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:18:53.988Z] [2023-11-08T19:18:53.988Z] Login Succeeded [2023-11-08T19:18:53.988Z] docker.io [2023-11-08T19:18:53.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:18:54.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:18:54.250Z] Configure a credential helper to remove this warning. See [2023-11-08T19:18:54.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:18:54.250Z] [2023-11-08T19:18:54.250Z] Login Succeeded [2023-11-08T19:18:54.250Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T19:18:54.260Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-08T19:18:54.636Z] + git rev-list -1 --merges dad3581f68ab7f120ccaa1e9a5c0830c4458f666~1..dad3581f68ab7f120ccaa1e9a5c0830c4458f666 [Pipeline] echo [2023-11-08T19:18:54.657Z] -----------> git rev-list -1 --merges dad3581f68ab7f120ccaa1e9a5c0830c4458f666~1..dad3581f68ab7f120ccaa1e9a5c0830c4458f666 dad3581f68ab7f120ccaa1e9a5c0830c4458f666 [2023-11-08T19:18:54.657Z] dad3581f68ab7f120ccaa1e9a5c0830c4458f666 [false] [Pipeline] sh [2023-11-08T19:18:54.942Z] + git log --format=format:%s -1 dad3581f68ab7f120ccaa1e9a5c0830c4458f666 [Pipeline] echo [2023-11-08T19:18:54.958Z] ========================================================= [2023-11-08T19:18:54.958Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-08T19:18:54.958Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-08T19:18:55.288Z] + git log --format=format:%s -1 dad3581f68ab7f120ccaa1e9a5c0830c4458f666 [Pipeline] echo [2023-11-08T19:18:55.323Z] [semverPrep] GIT_COMMIT: dad3581f68ab7f120ccaa1e9a5c0830c4458f666, Commit Message: Merge pull request #213 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0 [Pipeline] echo [2023-11-08T19:18:55.332Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-08T19:18:55.685Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-08T19:18:55.685Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-08T19:18:55.685Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-08T19:18:55.685Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-08T19:18:55.685Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-08T19:18:55.685Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-08T19:18:55.685Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:18:56.045Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T19:18:56.045Z] [2023-11-08T19:18:56.045Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:18:56.369Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T19:18:56.369Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-08T19:18:56.369Z] b85a868b505f: Pulling fs layer [2023-11-08T19:18:56.369Z] e2be974225ed: Pulling fs layer [2023-11-08T19:18:56.369Z] 339a4e72a1f5: Pulling fs layer [2023-11-08T19:18:56.369Z] 988bab9f4d93: Pulling fs layer [2023-11-08T19:18:56.369Z] 1469e6f7b9e6: Pulling fs layer [2023-11-08T19:18:56.369Z] eaf3925da568: Pulling fs layer [2023-11-08T19:18:56.369Z] bab4dde63d76: Pulling fs layer [2023-11-08T19:18:56.369Z] bde34c3a00c8: Pulling fs layer [2023-11-08T19:18:56.369Z] b352a97aabf1: Pulling fs layer [2023-11-08T19:18:56.369Z] 4872d77fe225: Pulling fs layer [2023-11-08T19:18:56.369Z] 5851b861e8e6: Pulling fs layer [2023-11-08T19:18:56.369Z] bab4dde63d76: Waiting [2023-11-08T19:18:56.369Z] bde34c3a00c8: Waiting [2023-11-08T19:18:56.369Z] b352a97aabf1: Waiting [2023-11-08T19:18:56.369Z] 4872d77fe225: Waiting [2023-11-08T19:18:56.369Z] 5851b861e8e6: Waiting [2023-11-08T19:18:56.369Z] 988bab9f4d93: Waiting [2023-11-08T19:18:56.369Z] 1469e6f7b9e6: Waiting [2023-11-08T19:18:56.369Z] eaf3925da568: Waiting [2023-11-08T19:18:56.369Z] e2be974225ed: Download complete [2023-11-08T19:18:56.369Z] 988bab9f4d93: Verifying Checksum [2023-11-08T19:18:56.369Z] 988bab9f4d93: Download complete [2023-11-08T19:18:56.369Z] 1469e6f7b9e6: Verifying Checksum [2023-11-08T19:18:56.369Z] 1469e6f7b9e6: Download complete [2023-11-08T19:18:56.369Z] eaf3925da568: Verifying Checksum [2023-11-08T19:18:56.369Z] eaf3925da568: Download complete [2023-11-08T19:18:56.628Z] 339a4e72a1f5: Verifying Checksum [2023-11-08T19:18:56.628Z] 339a4e72a1f5: Download complete [2023-11-08T19:18:56.628Z] bde34c3a00c8: Verifying Checksum [2023-11-08T19:18:56.628Z] bde34c3a00c8: Download complete [2023-11-08T19:18:56.628Z] b352a97aabf1: Download complete [2023-11-08T19:18:56.628Z] 4872d77fe225: Verifying Checksum [2023-11-08T19:18:56.628Z] 4872d77fe225: Download complete [2023-11-08T19:18:56.628Z] 5851b861e8e6: Verifying Checksum [2023-11-08T19:18:56.628Z] 5851b861e8e6: Download complete [2023-11-08T19:18:56.628Z] b85a868b505f: Verifying Checksum [2023-11-08T19:18:56.628Z] b85a868b505f: Download complete [2023-11-08T19:18:56.886Z] bab4dde63d76: Verifying Checksum [2023-11-08T19:18:56.886Z] bab4dde63d76: Download complete [2023-11-08T19:18:57.822Z] b85a868b505f: Pull complete [2023-11-08T19:18:57.822Z] e2be974225ed: Pull complete [2023-11-08T19:18:58.081Z] 339a4e72a1f5: Pull complete [2023-11-08T19:18:58.341Z] 988bab9f4d93: Pull complete [2023-11-08T19:18:58.599Z] 1469e6f7b9e6: Pull complete [2023-11-08T19:18:58.600Z] eaf3925da568: Pull complete [2023-11-08T19:18:59.977Z] bab4dde63d76: Pull complete [2023-11-08T19:18:59.977Z] bde34c3a00c8: Pull complete [2023-11-08T19:19:00.237Z] b352a97aabf1: Pull complete [2023-11-08T19:19:00.237Z] 4872d77fe225: Pull complete [2023-11-08T19:19:00.237Z] 5851b861e8e6: Pull complete [2023-11-08T19:19:00.237Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-08T19:19:00.237Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T19:19:00.237Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T19:19:00.320Z] prd-ubuntu20.04-docker-8c-8g-17075 does not seem to be running inside a container [2023-11-08T19:19:00.349Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-08T19:19:04.239Z] $ docker top d70ea5a80cab1e822e6a3136f9a536d835d929979d13bae78bce0697c1f56596 -eo pid,comm [2023-11-08T19:19:04.294Z] 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-11-08T19:19:04.294Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-08T19:19:04.335Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T19:19:04.335Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T19:19:04.444Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T19:19:04.446Z] $ docker exec d70ea5a80cab1e822e6a3136f9a536d835d929979d13bae78bce0697c1f56596 ssh-agent [2023-11-08T19:19:04.538Z] SSH_AUTH_SOCK=/tmp/ssh-fJJXg35YyA3S/agent.33 [2023-11-08T19:19:04.538Z] SSH_AGENT_PID=39 [2023-11-08T19:19:04.544Z] Running ssh-add (command line suppressed) [2023-11-08T19:19:04.635Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4169193519071723181.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4169193519071723181.key) [2023-11-08T19:19:04.650Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T19:19:05.299Z] + git tag --points-at HEAD [Pipeline] } [2023-11-08T19:19:05.312Z] $ docker exec --env ******** --env ******** d70ea5a80cab1e822e6a3136f9a536d835d929979d13bae78bce0697c1f56596 ssh-agent -k [2023-11-08T19:19:05.395Z] unset SSH_AUTH_SOCK; [2023-11-08T19:19:05.396Z] unset SSH_AGENT_PID; [2023-11-08T19:19:05.396Z] echo Agent pid 39 killed; [2023-11-08T19:19:05.405Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-08T19:19:05.435Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T19:19:05.435Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T19:19:05.537Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T19:19:05.538Z] $ docker exec d70ea5a80cab1e822e6a3136f9a536d835d929979d13bae78bce0697c1f56596 ssh-agent [2023-11-08T19:19:08.702Z] SSH_AUTH_SOCK=/tmp/ssh-n6KKWeqcDlLE/agent.71 [2023-11-08T19:19:08.702Z] SSH_AGENT_PID=76 [2023-11-08T19:19:09.385Z] Running ssh-add (command line suppressed) [2023-11-08T19:19:09.489Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_14599413269581883242.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_14599413269581883242.key) [2023-11-08T19:19:09.771Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T19:19:10.057Z] + git semver init [2023-11-08T19:19:10.316Z] 2023-11-08 19:19:10,224 [run_init] DEBUG init version:0.0.0 force:False [2023-11-08T19:19:10.316Z] 2023-11-08 19:19:10,225 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2023-11-08T19:19:10.316Z] 2023-11-08 19:19:10,225 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2023-11-08T19:19:10.316Z] 2023-11-08 19:19:10,226 [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-11-08T19:19:11.717Z] 2023-11-08 19:19:11,344 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2023-11-08T19:19:11.717Z] 2023-11-08 19:19:11,344 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2023-11-08T19:19:11.717Z] 2023-11-08 19:19:11,345 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-11-08T19:19:11.717Z] 2023-11-08 19:19:11,345 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-11-08T19:19:11.717Z] 3.1.0-dev.23 [Pipeline] } [2023-11-08T19:19:11.726Z] $ docker exec --env ******** --env ******** d70ea5a80cab1e822e6a3136f9a536d835d929979d13bae78bce0697c1f56596 ssh-agent -k [2023-11-08T19:19:11.828Z] unset SSH_AUTH_SOCK; [2023-11-08T19:19:11.828Z] unset SSH_AGENT_PID; [2023-11-08T19:19:11.828Z] echo Agent pid 76 killed; [2023-11-08T19:19:11.838Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-08T19:19:12.155Z] + git semver [Pipeline] } [2023-11-08T19:19:12.737Z] $ docker stop --time=1 d70ea5a80cab1e822e6a3136f9a536d835d929979d13bae78bce0697c1f56596 [2023-11-08T19:19:14.102Z] $ docker rm -f --volumes d70ea5a80cab1e822e6a3136f9a536d835d929979d13bae78bce0697c1f56596 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T19:19:14.440Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-08T19:19:14.647Z] Stashed 1 file(s) [Pipeline] echo [2023-11-08T19:19:14.650Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.23 [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-11-08T19:19:14.776Z] provisioning config files... [2023-11-08T19:19:14.785Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config9188050952685871729tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:19:15.082Z] ---> docker-login.sh [2023-11-08T19:19:15.082Z] nexus3.edgexfoundry.org:10001 [2023-11-08T19:19:15.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:19:15.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:19:15.082Z] Configure a credential helper to remove this warning. See [2023-11-08T19:19:15.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:19:15.082Z] [2023-11-08T19:19:15.082Z] Login Succeeded [2023-11-08T19:19:15.082Z] nexus3.edgexfoundry.org:10002 [2023-11-08T19:19:15.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:19:15.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:19:15.342Z] Configure a credential helper to remove this warning. See [2023-11-08T19:19:15.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:19:15.342Z] [2023-11-08T19:19:15.342Z] Login Succeeded [2023-11-08T19:19:15.342Z] nexus3.edgexfoundry.org:10003 [2023-11-08T19:19:15.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:19:15.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:19:15.342Z] Configure a credential helper to remove this warning. See [2023-11-08T19:19:15.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:19:15.342Z] [2023-11-08T19:19:15.342Z] Login Succeeded [2023-11-08T19:19:15.342Z] nexus3.edgexfoundry.org:10004 [2023-11-08T19:19:15.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:19:15.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:19:15.342Z] Configure a credential helper to remove this warning. See [2023-11-08T19:19:15.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:19:15.342Z] [2023-11-08T19:19:15.342Z] Login Succeeded [2023-11-08T19:19:15.342Z] docker.io [2023-11-08T19:19:15.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:19:15.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:19:15.859Z] Configure a credential helper to remove this warning. See [2023-11-08T19:19:15.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:19:15.859Z] [2023-11-08T19:19:15.859Z] Login Succeeded [2023-11-08T19:19:15.859Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T19:19:15.866Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-08T19:19:15.960Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T19:19:15.980Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T19:19:15.993Z] ========================================================= [2023-11-08T19:19:15.994Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-08T19:19:15.994Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:19:16.324Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-08T19:19:16.324Z] Sending build context to Docker daemon 16.16MB [2023-11-08T19:19:16.324Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T19:19:16.324Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-08T19:19:16.894Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-08T19:19:16.894Z] 7264a8db6415: Pulling fs layer [2023-11-08T19:19:16.894Z] c4d48a809fc2: Pulling fs layer [2023-11-08T19:19:16.894Z] 4f1c88b9dad5: Pulling fs layer [2023-11-08T19:19:16.894Z] ad3a456e5733: Pulling fs layer [2023-11-08T19:19:16.894Z] 33e27b845d1e: Pulling fs layer [2023-11-08T19:19:16.894Z] c68163c4e522: Pulling fs layer [2023-11-08T19:19:16.894Z] 50da416c3ac9: Pulling fs layer [2023-11-08T19:19:16.894Z] 23d2d4c4bb30: Pulling fs layer [2023-11-08T19:19:16.894Z] 50da416c3ac9: Waiting [2023-11-08T19:19:16.894Z] 33e27b845d1e: Waiting [2023-11-08T19:19:16.894Z] c68163c4e522: Waiting [2023-11-08T19:19:16.894Z] 23d2d4c4bb30: Waiting [2023-11-08T19:19:16.894Z] c4d48a809fc2: Download complete [2023-11-08T19:19:16.894Z] ad3a456e5733: Verifying Checksum [2023-11-08T19:19:16.894Z] ad3a456e5733: Download complete [2023-11-08T19:19:16.894Z] 33e27b845d1e: Verifying Checksum [2023-11-08T19:19:16.894Z] 33e27b845d1e: Download complete [2023-11-08T19:19:16.894Z] 7264a8db6415: Verifying Checksum [2023-11-08T19:19:16.894Z] 7264a8db6415: Download complete [2023-11-08T19:19:16.894Z] c68163c4e522: Verifying Checksum [2023-11-08T19:19:16.894Z] c68163c4e522: Download complete [2023-11-08T19:19:17.155Z] 7264a8db6415: Pull complete [2023-11-08T19:19:17.155Z] 23d2d4c4bb30: Verifying Checksum [2023-11-08T19:19:17.155Z] 23d2d4c4bb30: Download complete [2023-11-08T19:19:17.415Z] 4f1c88b9dad5: Verifying Checksum [2023-11-08T19:19:17.415Z] 4f1c88b9dad5: Download complete [2023-11-08T19:19:17.415Z] c4d48a809fc2: Pull complete [2023-11-08T19:19:17.980Z] 50da416c3ac9: Verifying Checksum [2023-11-08T19:19:17.980Z] 50da416c3ac9: Download complete [2023-11-08T19:19:20.511Z] 4f1c88b9dad5: Pull complete [2023-11-08T19:19:20.511Z] ad3a456e5733: Pull complete [2023-11-08T19:19:20.769Z] 33e27b845d1e: Pull complete [2023-11-08T19:19:20.769Z] c68163c4e522: Pull complete [2023-11-08T19:19:23.434Z] 50da416c3ac9: Pull complete [2023-11-08T19:19:23.434Z] 23d2d4c4bb30: Pull complete [2023-11-08T19:19:23.434Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-08T19:19:23.693Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-08T19:19:23.693Z] ---> 0786185ac409 [2023-11-08T19:19:23.693Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-08T19:19:27.900Z] ---> Running in b6d2e794fecd [2023-11-08T19:19:27.900Z] Removing intermediate container b6d2e794fecd [2023-11-08T19:19:27.900Z] ---> 7227b9b01b73 [2023-11-08T19:19:27.900Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T19:19:27.900Z] ---> Running in 0206142ad7e5 [2023-11-08T19:19:28.158Z] Removing intermediate container 0206142ad7e5 [2023-11-08T19:19:28.158Z] ---> 64893a2ee735 [2023-11-08T19:19:28.158Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-11-08T19:19:28.158Z] ---> Running in c8e8c1ddd99b [2023-11-08T19:19:28.158Z] Removing intermediate container c8e8c1ddd99b [2023-11-08T19:19:28.158Z] ---> ba4be71af401 [2023-11-08T19:19:28.158Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-08T19:19:28.158Z] ---> Running in c730b5bac899 [2023-11-08T19:19:28.158Z] Removing intermediate container c730b5bac899 [2023-11-08T19:19:28.158Z] ---> 08083984c853 [2023-11-08T19:19:28.158Z] Step 7/12 : WORKDIR /device-gpio [2023-11-08T19:19:28.158Z] ---> Running in 087329a0ebde [2023-11-08T19:19:28.418Z] Removing intermediate container 087329a0ebde [2023-11-08T19:19:28.418Z] ---> 8b4cc82e9ac3 [2023-11-08T19:19:28.418Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-08T19:19:28.418Z] ---> Running in d55bd4494a52 [2023-11-08T19:19:28.677Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T19:19:28.677Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-08T19:19:28.936Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-08T19:19:28.936Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-08T19:19:28.936Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-08T19:19:28.936Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-08T19:19:28.936Z] Executing busybox-1.36.1-r2.trigger [2023-11-08T19:19:28.936Z] OK: 268 MiB in 56 packages [2023-11-08T19:19:29.505Z] Removing intermediate container d55bd4494a52 [2023-11-08T19:19:29.505Z] ---> 339e4413da67 [2023-11-08T19:19:29.505Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-08T19:19:29.505Z] ---> 2285c365c5fe [2023-11-08T19:19:29.505Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T19:19:29.505Z] ---> Running in 57f684b9adbd [2023-11-08T19:19:29.737Z] Still waiting to schedule task [2023-11-08T19:19:29.738Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-17081’ is offline [2023-11-08T19:20:08.343Z] Removing intermediate container 57f684b9adbd [2023-11-08T19:20:08.343Z] ---> 458138e0b3a5 [2023-11-08T19:20:08.343Z] Step 11/12 : COPY . . [2023-11-08T19:20:08.343Z] ---> acbf2db82434 [2023-11-08T19:20:08.343Z] Step 12/12 : RUN ${MAKE} [2023-11-08T19:20:08.343Z] ---> Running in 8ed324786d95 [2023-11-08T19:20:08.343Z] noop [2023-11-08T19:20:08.343Z] Removing intermediate container 8ed324786d95 [2023-11-08T19:20:08.343Z] ---> 39457c159aa9 [2023-11-08T19:20:08.343Z] Successfully built 39457c159aa9 [2023-11-08T19:20:08.343Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:20:08.668Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-08T19:20:08.668Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T19:20:08.742Z] prd-ubuntu20.04-docker-8c-8g-17075 does not seem to be running inside a container [2023-11-08T19:20:08.769Z] $ 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 ******** ci-base-image-x86_64 cat [2023-11-08T19:20:09.115Z] $ docker top 3637021b36cd9d0bf9537e25f39eed692f6950f98c28002cf63b028331f2b09b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T19:20:09.466Z] + go version [2023-11-08T19:20:09.466Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-08T19:20:09.474Z] $ docker stop --time=1 3637021b36cd9d0bf9537e25f39eed692f6950f98c28002cf63b028331f2b09b [2023-11-08T19:20:10.719Z] $ docker rm -f --volumes 3637021b36cd9d0bf9537e25f39eed692f6950f98c28002cf63b028331f2b09b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:20:11.141Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-08T19:20:11.141Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T19:20:11.213Z] prd-ubuntu20.04-docker-8c-8g-17075 does not seem to be running inside a container [2023-11-08T19:20:11.240Z] $ 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 ******** ci-base-image-x86_64 cat [2023-11-08T19:20:11.565Z] $ docker top 4b7f382b2b7f71043f1e59710ade5dac5f75fbaa116e535337126fd402903451 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T19:20:11.912Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh [2023-11-08T19:20:12.212Z] + make test [2023-11-08T19:20:12.212Z] go test ./... -coverprofile=coverage.out ./... [2023-11-08T19:20:13.588Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-11-08T19:20:21.736Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-11-08T19:20:21.736Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-11-08T19:20:28.299Z] go vet ./... [2023-11-08T19:20:31.583Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-08T19:20:31.583Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-08T19:20:31.583Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-08T19:20:31.596Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-08T19:20:31.607Z] $ docker stop --time=1 4b7f382b2b7f71043f1e59710ade5dac5f75fbaa116e535337126fd402903451 [2023-11-08T19:20:34.606Z] $ docker rm -f --volumes 4b7f382b2b7f71043f1e59710ade5dac5f75fbaa116e535337126fd402903451 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T19:20:35.108Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-08T19:20:35.150Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-08T19:20:35.582Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-08T19:20:35.870Z] + ls -al . [2023-11-08T19:20:35.870Z] total 160 [2023-11-08T19:20:35.870Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 19:20 . [2023-11-08T19:20:35.870Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 19:18 .. [2023-11-08T19:20:35.870Z] -rw-rw-r-- 1 jenkins jenkins 120 Nov 8 19:18 .dockerignore [2023-11-08T19:20:35.870Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 19:20 .git [2023-11-08T19:20:35.870Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 19:18 .github [2023-11-08T19:20:35.870Z] -rw-rw-r-- 1 jenkins jenkins 277 Nov 8 19:18 .gitignore [2023-11-08T19:20:35.870Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 19:18 .golangci.yml [2023-11-08T19:20:35.870Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 19:19 .semver [2023-11-08T19:20:35.870Z] -rw-rw-r-- 1 jenkins jenkins 10671 Nov 8 19:18 Attribution.txt [2023-11-08T19:20:35.870Z] -rw-rw-r-- 1 jenkins jenkins 6184 Nov 8 19:18 CHANGELOG.md [2023-11-08T19:20:35.870Z] -rw-rw-r-- 1 jenkins jenkins 1542 Nov 8 19:18 Dockerfile [2023-11-08T19:20:35.870Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 19:18 GOVERNANCE.md [2023-11-08T19:20:35.870Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 8 19:18 Jenkinsfile [2023-11-08T19:20:35.870Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 19:18 LICENSE [2023-11-08T19:20:35.870Z] -rw-rw-r-- 1 jenkins jenkins 1923 Nov 8 19:18 Makefile [2023-11-08T19:20:35.870Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 8 19:18 OWNERS.md [2023-11-08T19:20:35.870Z] -rw-rw-r-- 1 jenkins jenkins 12217 Nov 8 19:18 README.md [2023-11-08T19:20:35.870Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 8 19:19 VERSION [2023-11-08T19:20:35.870Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 19:18 bin [2023-11-08T19:20:35.870Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 19:18 cmd [2023-11-08T19:20:35.870Z] -rw-r--r-- 1 jenkins jenkins 10 Nov 8 19:20 coverage.out [2023-11-08T19:20:35.870Z] -rw-rw-r-- 1 jenkins jenkins 3651 Nov 8 19:18 go.mod [2023-11-08T19:20:35.870Z] -rw-rw-r-- 1 jenkins jenkins 35356 Nov 8 19:18 go.sum [2023-11-08T19:20:35.870Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 19:18 internal [2023-11-08T19:20:35.870Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 8 19:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:20:36.200Z] + 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=dad3581f68ab7f120ccaa1e9a5c0830c4458f666 --label arch=amd64 --label version=3.1.0-dev.23 . [2023-11-08T19:20:36.200Z] Sending build context to Docker daemon 16.16MB [2023-11-08T19:20:36.200Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T19:20:36.200Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-08T19:20:36.200Z] ---> 39457c159aa9 [2023-11-08T19:20:36.200Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-08T19:20:36.460Z] ---> Running in 0727de28cb55 [2023-11-08T19:20:36.460Z] Removing intermediate container 0727de28cb55 [2023-11-08T19:20:36.460Z] ---> 2526066065f7 [2023-11-08T19:20:36.460Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T19:20:36.719Z] ---> Running in 51b09276e3df [2023-11-08T19:20:36.719Z] Removing intermediate container 51b09276e3df [2023-11-08T19:20:36.719Z] ---> 20faf56fa1a5 [2023-11-08T19:20:36.719Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-11-08T19:20:36.719Z] ---> Running in 7fb90c0d5315 [2023-11-08T19:20:36.719Z] Removing intermediate container 7fb90c0d5315 [2023-11-08T19:20:36.719Z] ---> 191f8f668b91 [2023-11-08T19:20:36.719Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-08T19:20:36.719Z] ---> Running in e80696d1cb67 [2023-11-08T19:20:36.979Z] Removing intermediate container e80696d1cb67 [2023-11-08T19:20:36.979Z] ---> 0c0a2bd489f3 [2023-11-08T19:20:36.979Z] Step 7/25 : WORKDIR /device-gpio [2023-11-08T19:20:36.979Z] ---> Running in 5ca39300f613 [2023-11-08T19:20:36.979Z] Removing intermediate container 5ca39300f613 [2023-11-08T19:20:36.979Z] ---> 106739852c53 [2023-11-08T19:20:36.979Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-08T19:20:36.979Z] ---> Running in 0229223d33f0 [2023-11-08T19:20:37.240Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T19:20:37.240Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-08T19:20:37.499Z] OK: 268 MiB in 56 packages [2023-11-08T19:20:37.759Z] Removing intermediate container 0229223d33f0 [2023-11-08T19:20:37.759Z] ---> 1aff6e5d6fb9 [2023-11-08T19:20:37.759Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-08T19:20:38.017Z] ---> aa6ae3bcd7a8 [2023-11-08T19:20:38.017Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T19:20:38.017Z] ---> Running in 47826158036e [2023-11-08T19:20:38.584Z] Removing intermediate container 47826158036e [2023-11-08T19:20:38.584Z] ---> d2a508c67956 [2023-11-08T19:20:38.584Z] Step 11/25 : COPY . . [2023-11-08T19:20:39.152Z] ---> b6ab68e512a0 [2023-11-08T19:20:39.152Z] Step 12/25 : RUN ${MAKE} [2023-11-08T19:20:39.152Z] ---> Running in e515d6851ae4 [2023-11-08T19:20:39.410Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.1.0-dev.23 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-11-08T19:21:01.337Z] Removing intermediate container e515d6851ae4 [2023-11-08T19:21:01.338Z] ---> 438b29867a04 [2023-11-08T19:21:01.338Z] Step 13/25 : FROM alpine:3.18 [2023-11-08T19:21:01.338Z] 3.18: Pulling from library/alpine [2023-11-08T19:21:01.338Z] 96526aa774ef: Pulling fs layer [2023-11-08T19:21:01.338Z] 96526aa774ef: Verifying Checksum [2023-11-08T19:21:01.338Z] 96526aa774ef: Download complete [2023-11-08T19:21:01.338Z] 96526aa774ef: Pull complete [2023-11-08T19:21:01.338Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-08T19:21:01.338Z] Status: Downloaded newer image for alpine:3.18 [2023-11-08T19:21:01.338Z] ---> 8ca4688f4f35 [2023-11-08T19:21:01.338Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-11-08T19:21:01.338Z] ---> Running in 9fc52b696341 [2023-11-08T19:21:01.338Z] Removing intermediate container 9fc52b696341 [2023-11-08T19:21:01.338Z] ---> 4d698a8892b1 [2023-11-08T19:21:01.338Z] Step 15/25 : RUN apk add --update --no-cache [2023-11-08T19:21:01.338Z] ---> Running in b492237aed7c [2023-11-08T19:21:01.338Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T19:21:01.338Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-08T19:21:01.338Z] OK: 7 MiB in 15 packages [2023-11-08T19:21:01.338Z] Removing intermediate container b492237aed7c [2023-11-08T19:21:01.338Z] ---> 3c9c886ac682 [2023-11-08T19:21:01.338Z] Step 16/25 : WORKDIR / [2023-11-08T19:21:01.338Z] ---> Running in 6997a0424d98 [2023-11-08T19:21:01.338Z] Removing intermediate container 6997a0424d98 [2023-11-08T19:21:01.338Z] ---> 74176d6a1705 [2023-11-08T19:21:01.338Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-11-08T19:21:01.338Z] ---> a8a195a415ca [2023-11-08T19:21:01.338Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-11-08T19:21:01.338Z] ---> 30a21330a073 [2023-11-08T19:21:01.338Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-11-08T19:21:01.596Z] ---> 62d0b4bccdc5 [2023-11-08T19:21:01.596Z] Step 20/25 : EXPOSE 59910 [2023-11-08T19:21:01.596Z] ---> Running in ebc1550141f2 [2023-11-08T19:21:01.596Z] Removing intermediate container ebc1550141f2 [2023-11-08T19:21:01.596Z] ---> e21ed253a297 [2023-11-08T19:21:01.596Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-11-08T19:21:01.855Z] ---> Running in a59853016bb7 [2023-11-08T19:21:01.855Z] Removing intermediate container a59853016bb7 [2023-11-08T19:21:01.855Z] ---> c89407994640 [2023-11-08T19:21:01.855Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-08T19:21:01.855Z] ---> Running in 9160362b32c6 [2023-11-08T19:21:01.855Z] Removing intermediate container 9160362b32c6 [2023-11-08T19:21:01.855Z] ---> 497d04ced29b [2023-11-08T19:21:01.855Z] Step 23/25 : LABEL arch=amd64 [2023-11-08T19:21:01.855Z] ---> Running in c67438bb89c7 [2023-11-08T19:21:01.855Z] Removing intermediate container c67438bb89c7 [2023-11-08T19:21:01.855Z] ---> 34fab969940a [2023-11-08T19:21:01.855Z] Step 24/25 : LABEL git_sha=dad3581f68ab7f120ccaa1e9a5c0830c4458f666 [2023-11-08T19:21:01.855Z] ---> Running in b397966b2dce [2023-11-08T19:21:02.114Z] Removing intermediate container b397966b2dce [2023-11-08T19:21:02.114Z] ---> 7a711eb3a44a [2023-11-08T19:21:02.114Z] Step 25/25 : LABEL version=3.1.0-dev.23 [2023-11-08T19:21:02.114Z] ---> Running in ee4b020f7e41 [2023-11-08T19:21:02.114Z] Removing intermediate container ee4b020f7e41 [2023-11-08T19:21:02.114Z] ---> 3d918bc87ee3 [2023-11-08T19:21:02.114Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-08T19:21:02.114Z] Successfully built 3d918bc87ee3 [2023-11-08T19:21:02.114Z] 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-11-08T19:21:02.211Z] provisioning config files... [2023-11-08T19:21:02.220Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8073822778678938965tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:21:02.515Z] ---> docker-login.sh [2023-11-08T19:21:02.515Z] nexus3.edgexfoundry.org:10001 [2023-11-08T19:21:02.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:21:02.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:21:02.515Z] Configure a credential helper to remove this warning. See [2023-11-08T19:21:02.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:21:02.515Z] [2023-11-08T19:21:02.515Z] Login Succeeded [2023-11-08T19:21:02.515Z] nexus3.edgexfoundry.org:10002 [2023-11-08T19:21:02.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:21:02.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:21:02.515Z] Configure a credential helper to remove this warning. See [2023-11-08T19:21:02.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:21:02.515Z] [2023-11-08T19:21:02.515Z] Login Succeeded [2023-11-08T19:21:02.515Z] nexus3.edgexfoundry.org:10003 [2023-11-08T19:21:02.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:21:02.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:21:02.774Z] Configure a credential helper to remove this warning. See [2023-11-08T19:21:02.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:21:02.774Z] [2023-11-08T19:21:02.774Z] Login Succeeded [2023-11-08T19:21:02.774Z] nexus3.edgexfoundry.org:10004 [2023-11-08T19:21:02.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:21:02.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:21:02.774Z] Configure a credential helper to remove this warning. See [2023-11-08T19:21:02.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:21:02.774Z] [2023-11-08T19:21:02.774Z] Login Succeeded [2023-11-08T19:21:02.774Z] docker.io [2023-11-08T19:21:02.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:21:03.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:21:03.342Z] Configure a credential helper to remove this warning. See [2023-11-08T19:21:03.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:21:03.342Z] [2023-11-08T19:21:03.342Z] Login Succeeded [2023-11-08T19:21:03.342Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T19:21:03.349Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-08T19:21:03.389Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T19:21:03.422Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2023-11-08T19:21:03.422Z] dad3581f68ab7f120ccaa1e9a5c0830c4458f666 [2023-11-08T19:21:03.422Z] latest [2023-11-08T19:21:03.422Z] 3.1.0-dev.23 [2023-11-08T19:21:03.422Z] dad3581f68ab7f120ccaa1e9a5c0830c4458f666-3.1.0-dev.23 [2023-11-08T19:21:03.422Z] main [2023-11-08T19:21:03.422Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:21:03.757Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:dad3581f68ab7f120ccaa1e9a5c0830c4458f666 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:21:04.073Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:dad3581f68ab7f120ccaa1e9a5c0830c4458f666 [2023-11-08T19:21:04.073Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-11-08T19:21:04.073Z] b83119d805f7: Preparing [2023-11-08T19:21:04.073Z] f0947757e7ad: Preparing [2023-11-08T19:21:04.073Z] 704d9ed6a0e5: Preparing [2023-11-08T19:21:04.073Z] f4b1e92669b6: Preparing [2023-11-08T19:21:04.073Z] cc2447e1835a: Preparing [2023-11-08T19:21:04.073Z] cc2447e1835a: Layer already exists [2023-11-08T19:21:04.073Z] 704d9ed6a0e5: Pushed [2023-11-08T19:21:04.073Z] f0947757e7ad: Pushed [2023-11-08T19:21:04.073Z] f4b1e92669b6: Pushed [2023-11-08T19:21:07.362Z] b83119d805f7: Pushed [2023-11-08T19:21:07.362Z] dad3581f68ab7f120ccaa1e9a5c0830c4458f666: digest: sha256:4c4aa446aeac38175b92d04fd9dd63bd6b919d9c9635797318e80752539cd8c8 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:21:07.678Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:21:07.985Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-11-08T19:21:07.985Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-11-08T19:21:07.985Z] b83119d805f7: Preparing [2023-11-08T19:21:07.985Z] f0947757e7ad: Preparing [2023-11-08T19:21:07.985Z] 704d9ed6a0e5: Preparing [2023-11-08T19:21:07.985Z] f4b1e92669b6: Preparing [2023-11-08T19:21:07.985Z] cc2447e1835a: Preparing [2023-11-08T19:21:07.985Z] b83119d805f7: Layer already exists [2023-11-08T19:21:07.985Z] cc2447e1835a: Layer already exists [2023-11-08T19:21:07.985Z] f4b1e92669b6: Layer already exists [2023-11-08T19:21:07.985Z] 704d9ed6a0e5: Layer already exists [2023-11-08T19:21:07.985Z] f0947757e7ad: Layer already exists [2023-11-08T19:21:07.985Z] latest: digest: sha256:4c4aa446aeac38175b92d04fd9dd63bd6b919d9c9635797318e80752539cd8c8 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:21:08.298Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:21:08.618Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.23 [2023-11-08T19:21:08.618Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-11-08T19:21:08.618Z] b83119d805f7: Preparing [2023-11-08T19:21:08.618Z] f0947757e7ad: Preparing [2023-11-08T19:21:08.618Z] 704d9ed6a0e5: Preparing [2023-11-08T19:21:08.618Z] f4b1e92669b6: Preparing [2023-11-08T19:21:08.618Z] cc2447e1835a: Preparing [2023-11-08T19:21:08.618Z] cc2447e1835a: Layer already exists [2023-11-08T19:21:08.618Z] b83119d805f7: Layer already exists [2023-11-08T19:21:08.618Z] 704d9ed6a0e5: Layer already exists [2023-11-08T19:21:08.618Z] f4b1e92669b6: Layer already exists [2023-11-08T19:21:08.618Z] f0947757e7ad: Layer already exists [2023-11-08T19:21:08.618Z] 3.1.0-dev.23: digest: sha256:4c4aa446aeac38175b92d04fd9dd63bd6b919d9c9635797318e80752539cd8c8 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:21:08.927Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:dad3581f68ab7f120ccaa1e9a5c0830c4458f666-3.1.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:21:09.243Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:dad3581f68ab7f120ccaa1e9a5c0830c4458f666-3.1.0-dev.23 [2023-11-08T19:21:09.243Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-11-08T19:21:09.243Z] b83119d805f7: Preparing [2023-11-08T19:21:09.243Z] f0947757e7ad: Preparing [2023-11-08T19:21:09.243Z] 704d9ed6a0e5: Preparing [2023-11-08T19:21:09.243Z] f4b1e92669b6: Preparing [2023-11-08T19:21:09.243Z] cc2447e1835a: Preparing [2023-11-08T19:21:09.243Z] cc2447e1835a: Layer already exists [2023-11-08T19:21:09.243Z] 704d9ed6a0e5: Layer already exists [2023-11-08T19:21:09.243Z] f4b1e92669b6: Layer already exists [2023-11-08T19:21:09.243Z] b83119d805f7: Layer already exists [2023-11-08T19:21:09.243Z] f0947757e7ad: Layer already exists [2023-11-08T19:21:09.243Z] dad3581f68ab7f120ccaa1e9a5c0830c4458f666-3.1.0-dev.23: digest: sha256:4c4aa446aeac38175b92d04fd9dd63bd6b919d9c9635797318e80752539cd8c8 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:21:09.563Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:21:09.870Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2023-11-08T19:21:09.870Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-11-08T19:21:09.870Z] b83119d805f7: Preparing [2023-11-08T19:21:09.870Z] f0947757e7ad: Preparing [2023-11-08T19:21:09.870Z] 704d9ed6a0e5: Preparing [2023-11-08T19:21:09.870Z] f4b1e92669b6: Preparing [2023-11-08T19:21:09.870Z] cc2447e1835a: Preparing [2023-11-08T19:21:09.870Z] 704d9ed6a0e5: Layer already exists [2023-11-08T19:21:09.870Z] f0947757e7ad: Layer already exists [2023-11-08T19:21:09.870Z] cc2447e1835a: Layer already exists [2023-11-08T19:21:09.870Z] b83119d805f7: Layer already exists [2023-11-08T19:21:09.870Z] f4b1e92669b6: Layer already exists [2023-11-08T19:21:09.870Z] main: digest: sha256:4c4aa446aeac38175b92d04fd9dd63bd6b919d9c9635797318e80752539cd8c8 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-08T19:21:09.927Z] ===================================================== [Pipeline] echo [2023-11-08T19:21:09.942Z] taggedImages: [2023-11-08T19:21:09.942Z] - nexus3.edgexfoundry.org:10004/device-gpio:dad3581f68ab7f120ccaa1e9a5c0830c4458f666 [2023-11-08T19:21:09.942Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-11-08T19:21:09.942Z] - nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.23 [2023-11-08T19:21:09.942Z] - nexus3.edgexfoundry.org:10004/device-gpio:dad3581f68ab7f120ccaa1e9a5c0830c4458f666-3.1.0-dev.23 [2023-11-08T19:21:09.942Z] - 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-11-08T19:21:10.321Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T19:21:10.321Z] [2023-11-08T19:21:10.321Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:21:10.616Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T19:21:10.616Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-08T19:21:10.616Z] 5eb5b503b376: Pulling fs layer [2023-11-08T19:21:10.616Z] 5c69ac0246d0: Pulling fs layer [2023-11-08T19:21:10.616Z] ec43610c2a17: Pulling fs layer [2023-11-08T19:21:10.616Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-08T19:21:10.616Z] 33b1e0a273af: Pulling fs layer [2023-11-08T19:21:10.616Z] 5d3b04190fa2: Pulling fs layer [2023-11-08T19:21:10.616Z] 2f39f015ded8: Pulling fs layer [2023-11-08T19:21:10.616Z] 3a2ae6a8a46f: Waiting [2023-11-08T19:21:10.616Z] 33b1e0a273af: Waiting [2023-11-08T19:21:10.616Z] 5d3b04190fa2: Waiting [2023-11-08T19:21:10.616Z] 2f39f015ded8: Waiting [2023-11-08T19:21:10.616Z] 5c69ac0246d0: Verifying Checksum [2023-11-08T19:21:10.616Z] 5c69ac0246d0: Download complete [2023-11-08T19:21:10.616Z] 3a2ae6a8a46f: Download complete [2023-11-08T19:21:10.616Z] 33b1e0a273af: Verifying Checksum [2023-11-08T19:21:10.616Z] 33b1e0a273af: Download complete [2023-11-08T19:21:10.616Z] 5d3b04190fa2: Download complete [2023-11-08T19:21:10.616Z] ec43610c2a17: Verifying Checksum [2023-11-08T19:21:10.616Z] ec43610c2a17: Download complete [2023-11-08T19:21:10.886Z] 5eb5b503b376: Verifying Checksum [2023-11-08T19:21:10.886Z] 5eb5b503b376: Download complete [2023-11-08T19:21:11.454Z] 2f39f015ded8: Download complete [2023-11-08T19:21:12.023Z] 5eb5b503b376: Pull complete [2023-11-08T19:21:12.023Z] 5c69ac0246d0: Pull complete [2023-11-08T19:21:12.588Z] ec43610c2a17: Pull complete [2023-11-08T19:21:12.588Z] 3a2ae6a8a46f: Pull complete [2023-11-08T19:21:12.847Z] 33b1e0a273af: Pull complete [2023-11-08T19:21:12.847Z] 5d3b04190fa2: Pull complete [2023-11-08T19:21:17.035Z] 2f39f015ded8: Pull complete [2023-11-08T19:21:17.035Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-08T19:21:17.035Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T19:21:17.035Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T19:21:17.110Z] prd-ubuntu20.04-docker-8c-8g-17075 does not seem to be running inside a container [2023-11-08T19:21:17.136Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-08T19:21:20.125Z] $ docker top 04f8f449c7e10c6029e4bcfc777a059e2d618299419b6c1aef94cd036dac629b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:21:20.511Z] ---> job-cost.sh [2023-11-08T19:21:20.511Z] lf-activate-venv: SKIPPING [2023-11-08T19:21:20.511Z] INFO: No Stack... [2023-11-08T19:21:20.770Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-08T19:21:21.339Z] INFO: Archiving Costs [Pipeline] sh [2023-11-08T19:21:21.632Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2023-11-08T19:21:21.632Z] + cut -d, -f6 [Pipeline] lock [2023-11-08T19:21:21.650Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-110-stack-cost] [2023-11-08T19:21:21.658Z] Resource [jenkins-edgexfoundry-device-gpio-main-110-stack-cost] did not exist. Created. [2023-11-08T19:21:21.658Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-110-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-08T19:21:21.962Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-08T19:21:21.986Z] Stashed 1 file(s) [Pipeline] } [2023-11-08T19:21:21.992Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-110-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-08T19:21:22.008Z] $ docker stop --time=1 04f8f449c7e10c6029e4bcfc777a059e2d618299419b6c1aef94cd036dac629b [2023-11-08T19:21:23.156Z] $ docker rm -f --volumes 04f8f449c7e10c6029e4bcfc777a059e2d618299419b6c1aef94cd036dac629b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-08T19:21:40.252Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17082 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2023-11-08T19:21:40.270Z] Running in /w/workspace/device-gpio/110 [Pipeline] { [Pipeline] checkout [2023-11-08T19:21:40.305Z] The recommended git tool is: git [2023-11-08T19:21:47.882Z] using credential edgex-jenkins-ssh [2023-11-08T19:21:47.908Z] Cloning the remote Git repository [2023-11-08T19:21:47.965Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-11-08T19:21:48.068Z] > git init /w/workspace/device-gpio/110 # timeout=10 [2023-11-08T19:21:48.234Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-11-08T19:21:48.235Z] > git --version # timeout=10 [2023-11-08T19:21:48.256Z] > git --version # 'git version 2.25.1' [2023-11-08T19:21:48.259Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-08T19:21:48.434Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-08T19:21:50.007Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-11-08T19:21:50.925Z] Avoid second fetch [2023-11-08T19:21:50.926Z] Checking out Revision dad3581f68ab7f120ccaa1e9a5c0830c4458f666 (main) [2023-11-08T19:21:50.040Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-08T19:21:50.943Z] > git config core.sparsecheckout # timeout=10 [2023-11-08T19:21:51.026Z] > git checkout -f dad3581f68ab7f120ccaa1e9a5c0830c4458f666 # timeout=10 [2023-11-08T19:21:51.489Z] Commit message: "Merge pull request #213 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-08T19:21:52.503Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-08T19:21:52.503Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-08T19:21:52.503Z] Dload Upload Total Spent Left Speed [2023-11-08T19:21:52.503Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 217k 0 --:--:-- --:--:-- --:--:-- 221k [Pipeline] sh [2023-11-08T19:21:53.141Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-08T19:21:53.470Z] + sudo tee /etc/docker/daemon.new [2023-11-08T19:21:53.470Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-08T19:21:53.470Z] { [2023-11-08T19:21:53.470Z] "registry-mirrors": [ [2023-11-08T19:21:53.470Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-08T19:21:53.470Z] ], [2023-11-08T19:21:53.470Z] "bip": "10.250.0.254/24", [2023-11-08T19:21:53.470Z] "hosts": [ [2023-11-08T19:21:53.470Z] "tcp://0.0.0.0:5555", [2023-11-08T19:21:53.470Z] "unix:///var/run/docker.sock" [2023-11-08T19:21:53.470Z] ], [2023-11-08T19:21:53.470Z] "mtu": 1458, [2023-11-08T19:21:53.470Z] "selinux-enabled": true, [2023-11-08T19:21:53.470Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-08T19:21:53.470Z] } [Pipeline] sh [2023-11-08T19:21:53.798Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-08T19:21:54.133Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T19:22:12.411Z] provisioning config files... [2023-11-08T19:22:12.438Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/110@tmp/config1683139515916875192tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:22:12.807Z] ---> docker-login.sh [2023-11-08T19:22:12.808Z] nexus3.edgexfoundry.org:10001 [2023-11-08T19:22:13.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:22:13.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:22:13.353Z] Configure a credential helper to remove this warning. See [2023-11-08T19:22:13.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:22:13.353Z] [2023-11-08T19:22:13.353Z] Login Succeeded [2023-11-08T19:22:13.628Z] nexus3.edgexfoundry.org:10002 [2023-11-08T19:22:13.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:22:13.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:22:13.898Z] Configure a credential helper to remove this warning. See [2023-11-08T19:22:13.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:22:13.898Z] [2023-11-08T19:22:13.898Z] Login Succeeded [2023-11-08T19:22:13.898Z] nexus3.edgexfoundry.org:10003 [2023-11-08T19:22:14.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:22:14.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:22:14.171Z] Configure a credential helper to remove this warning. See [2023-11-08T19:22:14.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:22:14.171Z] [2023-11-08T19:22:14.171Z] Login Succeeded [2023-11-08T19:22:14.171Z] nexus3.edgexfoundry.org:10004 [2023-11-08T19:22:14.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:22:14.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:22:14.722Z] Configure a credential helper to remove this warning. See [2023-11-08T19:22:14.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:22:14.722Z] [2023-11-08T19:22:14.722Z] Login Succeeded [2023-11-08T19:22:14.722Z] docker.io [2023-11-08T19:22:14.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:22:15.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:22:15.310Z] Configure a credential helper to remove this warning. See [2023-11-08T19:22:15.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:22:15.310Z] [2023-11-08T19:22:15.310Z] Login Succeeded [2023-11-08T19:22:15.310Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T19:22:15.328Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-08T19:22:15.592Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T19:22:15.605Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T19:22:15.616Z] ========================================================= [2023-11-08T19:22:15.616Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-08T19:22:15.616Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:22:15.997Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-08T19:22:16.278Z] Sending build context to Docker daemon 8.136MB [2023-11-08T19:22:16.278Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T19:22:16.278Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-08T19:22:16.549Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-08T19:22:16.549Z] 9fda8d8052c6: Pulling fs layer [2023-11-08T19:22:16.549Z] 5d54e960e981: Pulling fs layer [2023-11-08T19:22:16.549Z] c4a7e357bf2a: Pulling fs layer [2023-11-08T19:22:16.549Z] f0e02332f6b5: Pulling fs layer [2023-11-08T19:22:16.549Z] cefa15bbcfad: Pulling fs layer [2023-11-08T19:22:16.549Z] 17808c966233: Pulling fs layer [2023-11-08T19:22:16.549Z] f4c1fc716caa: Pulling fs layer [2023-11-08T19:22:16.549Z] cefa15bbcfad: Waiting [2023-11-08T19:22:16.549Z] 17808c966233: Waiting [2023-11-08T19:22:16.549Z] f4c1fc716caa: Waiting [2023-11-08T19:22:16.549Z] f0e02332f6b5: Waiting [2023-11-08T19:22:16.549Z] 5d54e960e981: Verifying Checksum [2023-11-08T19:22:16.549Z] 5d54e960e981: Download complete [2023-11-08T19:22:16.549Z] f0e02332f6b5: Verifying Checksum [2023-11-08T19:22:16.549Z] f0e02332f6b5: Download complete [2023-11-08T19:22:16.549Z] cefa15bbcfad: Verifying Checksum [2023-11-08T19:22:16.549Z] cefa15bbcfad: Download complete [2023-11-08T19:22:16.821Z] 9fda8d8052c6: Verifying Checksum [2023-11-08T19:22:16.821Z] 9fda8d8052c6: Download complete [2023-11-08T19:22:17.091Z] f4c1fc716caa: Verifying Checksum [2023-11-08T19:22:17.091Z] f4c1fc716caa: Download complete [2023-11-08T19:22:17.679Z] 9fda8d8052c6: Pull complete [2023-11-08T19:22:18.267Z] 5d54e960e981: Pull complete [2023-11-08T19:22:18.534Z] c4a7e357bf2a: Verifying Checksum [2023-11-08T19:22:18.534Z] c4a7e357bf2a: Download complete [2023-11-08T19:22:19.497Z] 17808c966233: Verifying Checksum [2023-11-08T19:22:31.847Z] c4a7e357bf2a: Pull complete [2023-11-08T19:22:31.847Z] f0e02332f6b5: Pull complete [2023-11-08T19:22:31.847Z] cefa15bbcfad: Pull complete [2023-11-08T19:22:41.954Z] 17808c966233: Pull complete [2023-11-08T19:22:41.954Z] f4c1fc716caa: Pull complete [2023-11-08T19:22:41.954Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-08T19:22:41.954Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-08T19:22:41.954Z] ---> ea914061e18c [2023-11-08T19:22:41.954Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-08T19:22:43.906Z] ---> Running in d55733caca78 [2023-11-08T19:22:44.180Z] Removing intermediate container d55733caca78 [2023-11-08T19:22:44.180Z] ---> 24bf6880f976 [2023-11-08T19:22:44.180Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T19:22:44.180Z] ---> Running in 8409146b89d1 [2023-11-08T19:22:44.450Z] Removing intermediate container 8409146b89d1 [2023-11-08T19:22:44.450Z] ---> 1c8b2a547cb4 [2023-11-08T19:22:44.450Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-11-08T19:22:44.719Z] ---> Running in 5f93eb3deb1f [2023-11-08T19:22:44.988Z] Removing intermediate container 5f93eb3deb1f [2023-11-08T19:22:44.988Z] ---> 012b30fddc65 [2023-11-08T19:22:44.988Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-08T19:22:44.988Z] ---> Running in d9d4a28eb2c8 [2023-11-08T19:22:45.270Z] Removing intermediate container d9d4a28eb2c8 [2023-11-08T19:22:45.270Z] ---> 19842ba027f9 [2023-11-08T19:22:45.270Z] Step 7/12 : WORKDIR /device-gpio [2023-11-08T19:22:45.539Z] ---> Running in 828b8a67926c [2023-11-08T19:22:45.809Z] Removing intermediate container 828b8a67926c [2023-11-08T19:22:45.809Z] ---> c8fc6f2448c1 [2023-11-08T19:22:45.809Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-08T19:22:45.809Z] ---> Running in 990ddff17e3b [2023-11-08T19:22:47.343Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T19:22:47.343Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-08T19:22:48.308Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-08T19:22:48.308Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-08T19:22:48.308Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-08T19:22:48.308Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-08T19:22:48.576Z] Executing busybox-1.36.1-r2.trigger [2023-11-08T19:22:48.576Z] OK: 270 MiB in 56 packages [2023-11-08T19:22:49.550Z] Removing intermediate container 990ddff17e3b [2023-11-08T19:22:49.550Z] ---> 94f05c30b75b [2023-11-08T19:22:49.550Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-08T19:22:50.145Z] ---> 1ccac9589db2 [2023-11-08T19:22:50.145Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T19:22:50.145Z] ---> Running in bd42d673f9c7 [2023-11-08T19:24:11.806Z] Removing intermediate container bd42d673f9c7 [2023-11-08T19:24:11.806Z] ---> 2e438c01dc1f [2023-11-08T19:24:11.806Z] Step 11/12 : COPY . . [2023-11-08T19:24:11.806Z] ---> 93b3d025ab11 [2023-11-08T19:24:11.806Z] Step 12/12 : RUN ${MAKE} [2023-11-08T19:24:11.806Z] ---> Running in 8791e7f932db [2023-11-08T19:24:11.806Z] noop [2023-11-08T19:24:11.806Z] Removing intermediate container 8791e7f932db [2023-11-08T19:24:11.806Z] ---> 336a947f932e [2023-11-08T19:24:11.806Z] Successfully built 336a947f932e [2023-11-08T19:24:11.806Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:24:12.197Z] + docker inspect -f . ci-base-image-arm64 [2023-11-08T19:24:12.197Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T19:24:12.428Z] prd-ubuntu20.04-docker-arm64-4c-16g-17082 does not seem to be running inside a container [2023-11-08T19:24:12.502Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/110 -v /w/workspace/device-gpio/110:/w/workspace/device-gpio/110:rw,z -v /w/workspace/device-gpio/110@tmp:/w/workspace/device-gpio/110@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-11-08T19:24:13.701Z] $ docker top de2691145556fe095b674a4e60a405fd94aa15d129ac9810f0630c80ac593733 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T19:24:14.543Z] + go version [2023-11-08T19:24:14.543Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-08T19:24:14.565Z] $ docker stop --time=1 de2691145556fe095b674a4e60a405fd94aa15d129ac9810f0630c80ac593733 [2023-11-08T19:24:16.197Z] $ docker rm -f --volumes de2691145556fe095b674a4e60a405fd94aa15d129ac9810f0630c80ac593733 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:24:16.752Z] + docker inspect -f . ci-base-image-arm64 [2023-11-08T19:24:16.752Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T19:24:16.921Z] prd-ubuntu20.04-docker-arm64-4c-16g-17082 does not seem to be running inside a container [2023-11-08T19:24:16.989Z] $ 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/110 -v /w/workspace/device-gpio/110:/w/workspace/device-gpio/110:rw,z -v /w/workspace/device-gpio/110@tmp:/w/workspace/device-gpio/110@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-11-08T19:24:18.210Z] $ docker top fdb3826df376efda6ae76eef5805c9d8321726b3aadbf51383e63bd4dc9a9ea7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T19:24:18.748Z] + git config --global --add safe.directory /w/workspace/device-gpio/110 [Pipeline] fileExists [Pipeline] sh [2023-11-08T19:24:19.668Z] + make test [2023-11-08T19:24:19.668Z] go test ./... -coverprofile=coverage.out ./... [2023-11-08T19:24:25.220Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-11-08T19:26:01.883Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-11-08T19:26:01.883Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-11-08T19:26:01.883Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-08T19:26:01.883Z] go vet ./... [2023-11-08T19:26:23.980Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-08T19:26:23.980Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-08T19:26:23.980Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-08T19:26:24.000Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-08T19:26:24.013Z] $ docker stop --time=1 fdb3826df376efda6ae76eef5805c9d8321726b3aadbf51383e63bd4dc9a9ea7 [2023-11-08T19:26:25.951Z] $ docker rm -f --volumes fdb3826df376efda6ae76eef5805c9d8321726b3aadbf51383e63bd4dc9a9ea7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T19:26:27.118Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-08T19:26:27.150Z] Warning: overwriting stash ‘coverage-report’ [2023-11-08T19:26:27.572Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-08T19:26:27.983Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-08T19:26:28.307Z] + ls -al . [2023-11-08T19:26:28.307Z] total 156 [2023-11-08T19:26:28.307Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 8 19:24 . [2023-11-08T19:26:28.307Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 19:21 .. [2023-11-08T19:26:28.307Z] -rw-rw-r-- 1 jenkins jenkins 120 Nov 8 19:21 .dockerignore [2023-11-08T19:26:28.307Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 19:21 .git [2023-11-08T19:26:28.307Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 19:21 .github [2023-11-08T19:26:28.307Z] -rw-rw-r-- 1 jenkins jenkins 277 Nov 8 19:21 .gitignore [2023-11-08T19:26:28.307Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 19:21 .golangci.yml [2023-11-08T19:26:28.307Z] -rw-rw-r-- 1 jenkins jenkins 10671 Nov 8 19:21 Attribution.txt [2023-11-08T19:26:28.307Z] -rw-rw-r-- 1 jenkins jenkins 6184 Nov 8 19:21 CHANGELOG.md [2023-11-08T19:26:28.307Z] -rw-rw-r-- 1 jenkins jenkins 1542 Nov 8 19:21 Dockerfile [2023-11-08T19:26:28.307Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 19:21 GOVERNANCE.md [2023-11-08T19:26:28.307Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 8 19:21 Jenkinsfile [2023-11-08T19:26:28.307Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 19:21 LICENSE [2023-11-08T19:26:28.307Z] -rw-rw-r-- 1 jenkins jenkins 1923 Nov 8 19:21 Makefile [2023-11-08T19:26:28.307Z] -rw-rw-r-- 1 jenkins jenkins 617 Nov 8 19:21 OWNERS.md [2023-11-08T19:26:28.307Z] -rw-rw-r-- 1 jenkins jenkins 12217 Nov 8 19:21 README.md [2023-11-08T19:26:28.307Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 8 19:19 VERSION [2023-11-08T19:26:28.307Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 19:21 bin [2023-11-08T19:26:28.307Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 19:21 cmd [2023-11-08T19:26:28.307Z] -rw-r--r-- 1 jenkins jenkins 10 Nov 8 19:24 coverage.out [2023-11-08T19:26:28.307Z] -rw-rw-r-- 1 jenkins jenkins 3651 Nov 8 19:21 go.mod [2023-11-08T19:26:28.307Z] -rw-rw-r-- 1 jenkins jenkins 35356 Nov 8 19:21 go.sum [2023-11-08T19:26:28.307Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 19:21 internal [2023-11-08T19:26:28.307Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 8 19:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:26:28.646Z] + 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=dad3581f68ab7f120ccaa1e9a5c0830c4458f666 --label arch=arm64 --label version=3.1.0-dev.23 . [2023-11-08T19:26:28.912Z] Sending build context to Docker daemon 8.137MB [2023-11-08T19:26:29.184Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T19:26:29.184Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-08T19:26:29.184Z] ---> 336a947f932e [2023-11-08T19:26:29.184Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-08T19:26:29.450Z] ---> Running in fde59e499033 [2023-11-08T19:26:29.717Z] Removing intermediate container fde59e499033 [2023-11-08T19:26:29.717Z] ---> 7fee3992f718 [2023-11-08T19:26:29.717Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T19:26:29.717Z] ---> Running in 2a5cbe607195 [2023-11-08T19:26:29.982Z] Removing intermediate container 2a5cbe607195 [2023-11-08T19:26:29.982Z] ---> 1648551bda75 [2023-11-08T19:26:29.982Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-11-08T19:26:30.250Z] ---> Running in 804c450acfe4 [2023-11-08T19:26:30.518Z] Removing intermediate container 804c450acfe4 [2023-11-08T19:26:30.518Z] ---> d624cdee3816 [2023-11-08T19:26:30.518Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-08T19:26:30.518Z] ---> Running in bae1f8a1f0d9 [2023-11-08T19:26:30.784Z] Removing intermediate container bae1f8a1f0d9 [2023-11-08T19:26:30.784Z] ---> 5ec10c33790d [2023-11-08T19:26:30.784Z] Step 7/25 : WORKDIR /device-gpio [2023-11-08T19:26:31.051Z] ---> Running in 126f1efb6621 [2023-11-08T19:26:31.318Z] Removing intermediate container 126f1efb6621 [2023-11-08T19:26:31.318Z] ---> 2b09d6a3facd [2023-11-08T19:26:31.318Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-08T19:26:31.318Z] ---> Running in 64d09887b618 [2023-11-08T19:26:32.729Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T19:26:32.995Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-08T19:26:33.954Z] OK: 270 MiB in 56 packages [2023-11-08T19:26:34.920Z] Removing intermediate container 64d09887b618 [2023-11-08T19:26:34.920Z] ---> 7f8a396055ea [2023-11-08T19:26:34.920Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-08T19:26:35.506Z] ---> 83743123db97 [2023-11-08T19:26:35.506Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T19:26:35.781Z] ---> Running in c568c6ba02e7 [2023-11-08T19:26:39.140Z] Removing intermediate container c568c6ba02e7 [2023-11-08T19:26:39.140Z] ---> c517aee68593 [2023-11-08T19:26:39.140Z] Step 11/25 : COPY . . [2023-11-08T19:26:39.726Z] ---> 43f59ad0146f [2023-11-08T19:26:39.726Z] Step 12/25 : RUN ${MAKE} [2023-11-08T19:26:39.726Z] ---> Running in 52572fc6fc5e [2023-11-08T19:26:40.683Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.1.0-dev.23 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-11-08T19:28:47.409Z] Removing intermediate container 52572fc6fc5e [2023-11-08T19:28:47.409Z] ---> 5ada90697959 [2023-11-08T19:28:47.409Z] Step 13/25 : FROM alpine:3.18 [2023-11-08T19:28:47.409Z] 3.18: Pulling from library/alpine [2023-11-08T19:28:47.409Z] 579b34f0a95b: Pulling fs layer [2023-11-08T19:28:47.409Z] 579b34f0a95b: Verifying Checksum [2023-11-08T19:28:47.409Z] 579b34f0a95b: Download complete [2023-11-08T19:28:47.409Z] 579b34f0a95b: Pull complete [2023-11-08T19:28:47.409Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-08T19:28:47.409Z] Status: Downloaded newer image for alpine:3.18 [2023-11-08T19:28:47.409Z] ---> 3cc203321400 [2023-11-08T19:28:47.409Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-11-08T19:28:47.409Z] ---> Running in 9dde4e3268bf [2023-11-08T19:28:47.409Z] Removing intermediate container 9dde4e3268bf [2023-11-08T19:28:47.409Z] ---> 903f6cb0fafb [2023-11-08T19:28:47.409Z] Step 15/25 : RUN apk add --update --no-cache [2023-11-08T19:28:47.409Z] ---> Running in 6cdeebd3b937 [2023-11-08T19:28:47.409Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T19:28:47.409Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-08T19:28:47.409Z] OK: 8 MiB in 15 packages [2023-11-08T19:28:47.679Z] Removing intermediate container 6cdeebd3b937 [2023-11-08T19:28:47.679Z] ---> 1c3782719659 [2023-11-08T19:28:47.679Z] Step 16/25 : WORKDIR / [2023-11-08T19:28:47.950Z] ---> Running in dbd742c7396b [2023-11-08T19:28:48.218Z] Removing intermediate container dbd742c7396b [2023-11-08T19:28:48.218Z] ---> d8a35b2c80a0 [2023-11-08T19:28:48.218Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-11-08T19:28:48.822Z] ---> 126a57b6ff06 [2023-11-08T19:28:48.822Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-11-08T19:28:49.410Z] ---> 19cbbe94e61b [2023-11-08T19:28:49.410Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-11-08T19:28:50.824Z] ---> 3c4ff57c20d3 [2023-11-08T19:28:50.825Z] Step 20/25 : EXPOSE 59910 [2023-11-08T19:28:50.825Z] ---> Running in 92b0da7510d6 [2023-11-08T19:28:51.096Z] Removing intermediate container 92b0da7510d6 [2023-11-08T19:28:51.096Z] ---> f13ef48f35f4 [2023-11-08T19:28:51.096Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-11-08T19:28:51.096Z] ---> Running in 39d1a3eb9ae9 [2023-11-08T19:28:51.364Z] Removing intermediate container 39d1a3eb9ae9 [2023-11-08T19:28:51.364Z] ---> 82c290d5febc [2023-11-08T19:28:51.364Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-08T19:28:51.632Z] ---> Running in 02f942ce82d4 [2023-11-08T19:28:51.900Z] Removing intermediate container 02f942ce82d4 [2023-11-08T19:28:51.900Z] ---> 9cbac651af31 [2023-11-08T19:28:51.900Z] Step 23/25 : LABEL arch=arm64 [2023-11-08T19:28:51.900Z] ---> Running in d91d4a84a3e7 [2023-11-08T19:28:52.169Z] Removing intermediate container d91d4a84a3e7 [2023-11-08T19:28:52.169Z] ---> a2a4e87695dd [2023-11-08T19:28:52.169Z] Step 24/25 : LABEL git_sha=dad3581f68ab7f120ccaa1e9a5c0830c4458f666 [2023-11-08T19:28:52.439Z] ---> Running in 5ab62021f2f3 [2023-11-08T19:28:52.708Z] Removing intermediate container 5ab62021f2f3 [2023-11-08T19:28:52.708Z] ---> 5642a80623a2 [2023-11-08T19:28:52.708Z] Step 25/25 : LABEL version=3.1.0-dev.23 [2023-11-08T19:28:52.708Z] ---> Running in 7ccbcb06a623 [2023-11-08T19:28:52.979Z] Removing intermediate container 7ccbcb06a623 [2023-11-08T19:28:52.979Z] ---> cdc25d515004 [2023-11-08T19:28:52.979Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-08T19:28:52.979Z] Successfully built cdc25d515004 [2023-11-08T19:28:52.979Z] 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-11-08T19:28:53.081Z] provisioning config files... [2023-11-08T19:28:53.094Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/110@tmp/config11277867884822342543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:28:53.437Z] ---> docker-login.sh [2023-11-08T19:28:53.437Z] nexus3.edgexfoundry.org:10001 [2023-11-08T19:28:53.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:28:53.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:28:53.706Z] Configure a credential helper to remove this warning. See [2023-11-08T19:28:53.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:28:53.706Z] [2023-11-08T19:28:53.706Z] Login Succeeded [2023-11-08T19:28:53.706Z] nexus3.edgexfoundry.org:10002 [2023-11-08T19:28:53.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:28:53.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:28:53.975Z] Configure a credential helper to remove this warning. See [2023-11-08T19:28:53.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:28:53.975Z] [2023-11-08T19:28:53.975Z] Login Succeeded [2023-11-08T19:28:53.975Z] nexus3.edgexfoundry.org:10003 [2023-11-08T19:28:54.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:28:54.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:28:54.560Z] Configure a credential helper to remove this warning. See [2023-11-08T19:28:54.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:28:54.560Z] [2023-11-08T19:28:54.560Z] Login Succeeded [2023-11-08T19:28:54.560Z] nexus3.edgexfoundry.org:10004 [2023-11-08T19:28:54.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:28:54.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:28:54.826Z] Configure a credential helper to remove this warning. See [2023-11-08T19:28:54.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:28:54.826Z] [2023-11-08T19:28:54.826Z] Login Succeeded [2023-11-08T19:28:54.826Z] docker.io [2023-11-08T19:28:55.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T19:28:55.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T19:28:55.362Z] Configure a credential helper to remove this warning. See [2023-11-08T19:28:55.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T19:28:55.362Z] [2023-11-08T19:28:55.362Z] Login Succeeded [2023-11-08T19:28:55.362Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T19:28:55.376Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-08T19:28:55.424Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T19:28:55.458Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2023-11-08T19:28:55.459Z] dad3581f68ab7f120ccaa1e9a5c0830c4458f666 [2023-11-08T19:28:55.459Z] latest [2023-11-08T19:28:55.459Z] 3.1.0-dev.23 [2023-11-08T19:28:55.459Z] dad3581f68ab7f120ccaa1e9a5c0830c4458f666-3.1.0-dev.23 [2023-11-08T19:28:55.459Z] main [2023-11-08T19:28:55.459Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:28:55.827Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:dad3581f68ab7f120ccaa1e9a5c0830c4458f666 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:28:56.189Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:dad3581f68ab7f120ccaa1e9a5c0830c4458f666 [2023-11-08T19:28:56.189Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-11-08T19:28:56.189Z] 45d13a19b5dc: Preparing [2023-11-08T19:28:56.189Z] dfa0ac7ace96: Preparing [2023-11-08T19:28:56.189Z] 2c890ee62448: Preparing [2023-11-08T19:28:56.189Z] 39fe733f09ff: Preparing [2023-11-08T19:28:56.189Z] 5f4d9fc4d98d: Preparing [2023-11-08T19:28:56.189Z] 5f4d9fc4d98d: Layer already exists [2023-11-08T19:28:56.456Z] 39fe733f09ff: Pushed [2023-11-08T19:28:56.456Z] dfa0ac7ace96: Pushed [2023-11-08T19:28:56.456Z] 2c890ee62448: Pushed [2023-11-08T19:29:01.788Z] 45d13a19b5dc: Pushed [2023-11-08T19:29:02.122Z] dad3581f68ab7f120ccaa1e9a5c0830c4458f666: digest: sha256:aa0dd787ddfa22eecfbe3ae97b1696534d5a2061459b9548d13bd2e4d6b9555e size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:29:02.481Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:29:02.853Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-11-08T19:29:02.853Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-11-08T19:29:02.853Z] 45d13a19b5dc: Preparing [2023-11-08T19:29:02.853Z] dfa0ac7ace96: Preparing [2023-11-08T19:29:02.853Z] 2c890ee62448: Preparing [2023-11-08T19:29:02.853Z] 39fe733f09ff: Preparing [2023-11-08T19:29:02.853Z] 5f4d9fc4d98d: Preparing [2023-11-08T19:29:02.853Z] 39fe733f09ff: Layer already exists [2023-11-08T19:29:02.853Z] dfa0ac7ace96: Layer already exists [2023-11-08T19:29:02.853Z] 5f4d9fc4d98d: Layer already exists [2023-11-08T19:29:02.853Z] 2c890ee62448: Layer already exists [2023-11-08T19:29:02.853Z] 45d13a19b5dc: Layer already exists [2023-11-08T19:29:03.123Z] latest: digest: sha256:aa0dd787ddfa22eecfbe3ae97b1696534d5a2061459b9548d13bd2e4d6b9555e size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:29:03.479Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:29:03.840Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.23 [2023-11-08T19:29:03.840Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-11-08T19:29:03.840Z] 45d13a19b5dc: Preparing [2023-11-08T19:29:03.840Z] dfa0ac7ace96: Preparing [2023-11-08T19:29:03.840Z] 2c890ee62448: Preparing [2023-11-08T19:29:03.840Z] 39fe733f09ff: Preparing [2023-11-08T19:29:03.840Z] 5f4d9fc4d98d: Preparing [2023-11-08T19:29:03.840Z] 45d13a19b5dc: Layer already exists [2023-11-08T19:29:03.840Z] 5f4d9fc4d98d: Layer already exists [2023-11-08T19:29:03.840Z] dfa0ac7ace96: Layer already exists [2023-11-08T19:29:03.840Z] 2c890ee62448: Layer already exists [2023-11-08T19:29:03.840Z] 39fe733f09ff: Layer already exists [2023-11-08T19:29:03.840Z] 3.1.0-dev.23: digest: sha256:aa0dd787ddfa22eecfbe3ae97b1696534d5a2061459b9548d13bd2e4d6b9555e size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:29:04.190Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:dad3581f68ab7f120ccaa1e9a5c0830c4458f666-3.1.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:29:04.533Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:dad3581f68ab7f120ccaa1e9a5c0830c4458f666-3.1.0-dev.23 [2023-11-08T19:29:04.533Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-11-08T19:29:04.533Z] 45d13a19b5dc: Preparing [2023-11-08T19:29:04.533Z] dfa0ac7ace96: Preparing [2023-11-08T19:29:04.533Z] 2c890ee62448: Preparing [2023-11-08T19:29:04.533Z] 39fe733f09ff: Preparing [2023-11-08T19:29:04.533Z] 5f4d9fc4d98d: Preparing [2023-11-08T19:29:04.533Z] 45d13a19b5dc: Layer already exists [2023-11-08T19:29:04.533Z] 5f4d9fc4d98d: Layer already exists [2023-11-08T19:29:04.533Z] 2c890ee62448: Layer already exists [2023-11-08T19:29:04.533Z] dfa0ac7ace96: Layer already exists [2023-11-08T19:29:04.533Z] 39fe733f09ff: Layer already exists [2023-11-08T19:29:04.533Z] dad3581f68ab7f120ccaa1e9a5c0830c4458f666-3.1.0-dev.23: digest: sha256:aa0dd787ddfa22eecfbe3ae97b1696534d5a2061459b9548d13bd2e4d6b9555e size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:29:04.889Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:29:05.244Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2023-11-08T19:29:05.244Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-11-08T19:29:05.244Z] 45d13a19b5dc: Preparing [2023-11-08T19:29:05.244Z] dfa0ac7ace96: Preparing [2023-11-08T19:29:05.244Z] 2c890ee62448: Preparing [2023-11-08T19:29:05.244Z] 39fe733f09ff: Preparing [2023-11-08T19:29:05.244Z] 5f4d9fc4d98d: Preparing [2023-11-08T19:29:05.244Z] 39fe733f09ff: Layer already exists [2023-11-08T19:29:05.245Z] 2c890ee62448: Layer already exists [2023-11-08T19:29:05.245Z] dfa0ac7ace96: Layer already exists [2023-11-08T19:29:05.245Z] 5f4d9fc4d98d: Layer already exists [2023-11-08T19:29:05.245Z] 45d13a19b5dc: Layer already exists [2023-11-08T19:29:05.245Z] main: digest: sha256:aa0dd787ddfa22eecfbe3ae97b1696534d5a2061459b9548d13bd2e4d6b9555e size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-08T19:29:05.574Z] ===================================================== [Pipeline] echo [2023-11-08T19:29:05.584Z] taggedImages: [2023-11-08T19:29:05.584Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:dad3581f68ab7f120ccaa1e9a5c0830c4458f666 [2023-11-08T19:29:05.584Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-11-08T19:29:05.584Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.23 [2023-11-08T19:29:05.584Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:dad3581f68ab7f120ccaa1e9a5c0830c4458f666-3.1.0-dev.23 [2023-11-08T19:29:05.584Z] - 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-11-08T19:29:05.967Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T19:29:05.967Z] [2023-11-08T19:29:05.967Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:29:06.302Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T19:29:06.303Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-08T19:29:06.303Z] 8998bd30e6a1: Pulling fs layer [2023-11-08T19:29:06.303Z] 04944245beec: Pulling fs layer [2023-11-08T19:29:06.303Z] 699f458cf7ca: Pulling fs layer [2023-11-08T19:29:06.303Z] 765212b225bb: Pulling fs layer [2023-11-08T19:29:06.303Z] f23df028b6ca: Pulling fs layer [2023-11-08T19:29:06.303Z] d65c8cfc05b1: Pulling fs layer [2023-11-08T19:29:06.303Z] 2437ff75d9bd: Pulling fs layer [2023-11-08T19:29:06.303Z] f23df028b6ca: Waiting [2023-11-08T19:29:06.303Z] d65c8cfc05b1: Waiting [2023-11-08T19:29:06.303Z] 2437ff75d9bd: Waiting [2023-11-08T19:29:06.303Z] 765212b225bb: Waiting [2023-11-08T19:29:06.572Z] 04944245beec: Verifying Checksum [2023-11-08T19:29:06.572Z] 04944245beec: Download complete [2023-11-08T19:29:06.572Z] 765212b225bb: Verifying Checksum [2023-11-08T19:29:06.572Z] 765212b225bb: Download complete [2023-11-08T19:29:06.572Z] f23df028b6ca: Verifying Checksum [2023-11-08T19:29:06.572Z] f23df028b6ca: Download complete [2023-11-08T19:29:06.572Z] d65c8cfc05b1: Verifying Checksum [2023-11-08T19:29:06.572Z] d65c8cfc05b1: Download complete [2023-11-08T19:29:06.843Z] 699f458cf7ca: Verifying Checksum [2023-11-08T19:29:06.843Z] 699f458cf7ca: Download complete [2023-11-08T19:29:07.111Z] 8998bd30e6a1: Verifying Checksum [2023-11-08T19:29:07.111Z] 8998bd30e6a1: Download complete [2023-11-08T19:29:09.699Z] 2437ff75d9bd: Verifying Checksum [2023-11-08T19:29:09.699Z] 2437ff75d9bd: Download complete [2023-11-08T19:29:11.645Z] 8998bd30e6a1: Pull complete [2023-11-08T19:29:12.488Z] 04944245beec: Pull complete [2023-11-08T19:29:13.904Z] 699f458cf7ca: Pull complete [2023-11-08T19:29:13.904Z] 765212b225bb: Pull complete [2023-11-08T19:29:14.866Z] f23df028b6ca: Pull complete [2023-11-08T19:29:15.136Z] d65c8cfc05b1: Pull complete [2023-11-08T19:29:33.358Z] 2437ff75d9bd: Pull complete [2023-11-08T19:29:33.358Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-08T19:29:33.358Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T19:29:33.358Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T19:29:33.553Z] prd-ubuntu20.04-docker-arm64-4c-16g-17082 does not seem to be running inside a container [2023-11-08T19:29:33.626Z] $ 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/110 -v /w/workspace/device-gpio/110:/w/workspace/device-gpio/110:rw,z -v /w/workspace/device-gpio/110@tmp:/w/workspace/device-gpio/110@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-11-08T19:29:37.413Z] $ docker top 4dc77ad46f11ee9aee5af75997b1564868e19a5be4165ac459b9b573b3188fba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:29:38.292Z] ---> job-cost.sh [2023-11-08T19:29:38.292Z] lf-activate-venv: SKIPPING [2023-11-08T19:29:38.292Z] INFO: No Stack... [2023-11-08T19:29:38.877Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-08T19:29:39.462Z] INFO: Archiving Costs [Pipeline] sh [2023-11-08T19:29:40.104Z] + cat /w/workspace/device-gpio/110/archives/cost.csv [2023-11-08T19:29:40.104Z] + cut -d, -f6 [Pipeline] lock [2023-11-08T19:29:40.176Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-110-stack-cost] [2023-11-08T19:29:40.182Z] Resource [jenkins-edgexfoundry-device-gpio-main-110-stack-cost] did not exist. Created. [2023-11-08T19:29:40.182Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-110-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-08T19:29:40.853Z] /w/workspace/device-gpio/110@tmp/durable-b404493e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-08T19:29:41.503Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-08T19:29:41.530Z] Warning: overwriting stash ‘stack-cost’ [2023-11-08T19:29:41.589Z] Stashed 1 file(s) [Pipeline] } [2023-11-08T19:29:41.596Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-110-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-08T19:29:41.619Z] $ docker stop --time=1 4dc77ad46f11ee9aee5af75997b1564868e19a5be4165ac459b9b573b3188fba [2023-11-08T19:29:43.236Z] $ docker rm -f --volumes 4dc77ad46f11ee9aee5af75997b1564868e19a5be4165ac459b9b573b3188fba [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-11-08T19:29:43.658Z] provisioning config files... [2023-11-08T19:29:43.667Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config13511208034920375429tmp [Pipeline] { [Pipeline] sh [2023-11-08T19:29:43.967Z] + set +x [2023-11-08T19:29:43.967Z] + curl -s https://codecov.io/bash [2023-11-08T19:29:43.967Z] + bash -s -- [2023-11-08T19:29:43.967Z] [2023-11-08T19:29:43.967Z] _____ _ [2023-11-08T19:29:43.967Z] / ____| | | [2023-11-08T19:29:43.967Z] | | ___ __| | ___ ___ _____ __ [2023-11-08T19:29:43.967Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-08T19:29:43.967Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-08T19:29:43.967Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-08T19:29:43.967Z] Bash-1.0.6 [2023-11-08T19:29:43.967Z] [2023-11-08T19:29:43.967Z] [2023-11-08T19:29:43.967Z] ==> git version 2.25.1 found [2023-11-08T19:29:43.967Z] ==> 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-11-08T19:29:43.967Z] Release-Date: 2020-01-08 [2023-11-08T19:29:43.967Z] 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-11-08T19:29:43.967Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-08T19:29:43.967Z] ==> Jenkins CI detected. [2023-11-08T19:29:43.967Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2023-11-08T19:29:43.967Z] project root: . [2023-11-08T19:29:43.967Z] --> token set from env [2023-11-08T19:29:43.967Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-08T19:29:43.967Z] ==> Running gcov in . (disable via -X gcov) [2023-11-08T19:29:43.967Z] ==> Python coveragepy not found [2023-11-08T19:29:43.967Z] ==> Searching for coverage reports in: [2023-11-08T19:29:43.967Z] + . [2023-11-08T19:29:43.967Z] -> Found 1 reports [2023-11-08T19:29:43.967Z] ==> Detecting git/mercurial file structure [2023-11-08T19:29:43.967Z] ==> Reading reports [2023-11-08T19:29:43.967Z] + ./coverage.out bytes=10 [2023-11-08T19:29:43.967Z] ==> Appending adjustments [2023-11-08T19:29:43.967Z] https://docs.codecov.io/docs/fixing-reports [2023-11-08T19:29:44.227Z] + Found adjustments [2023-11-08T19:29:44.227Z] ==> Gzipping contents [2023-11-08T19:29:44.227Z] 4.0K /tmp/codecov.Hf4ic4.gz [2023-11-08T19:29:44.227Z] ==> Uploading reports [2023-11-08T19:29:44.227Z] url: https://codecov.io [2023-11-08T19:29:44.227Z] query: branch=main&commit=dad3581f68ab7f120ccaa1e9a5c0830c4458f666&build=110&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F110%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-08T19:29:44.227Z] -> Pinging Codecov [2023-11-08T19:29:44.227Z] 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=dad3581f68ab7f120ccaa1e9a5c0830c4458f666&build=110&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F110%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-08T19:29:44.227Z] -> Uploading to [2023-11-08T19:29:44.227Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-08/3EC07B1A8CA8AF9BCAA0BB9F0134797F/dad3581f68ab7f120ccaa1e9a5c0830c4458f666/e714f086-ef61-4a90-91f9-61b1c7aa5200.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231108T192944Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=79b49d770742549217ada37ac0a334d83c1f3dc2afd8f8a2dd332e80415aa77e [2023-11-08T19:29:44.227Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-08T19:29:44.227Z] Dload Upload Total Spent Left Speed [2023-11-08T19:29:44.487Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 563 0 0 100 563 0 2270 --:--:-- --:--:-- --:--:-- 2270 [2023-11-08T19:29:44.487Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/dad3581f68ab7f120ccaa1e9a5c0830c4458f666 [Pipeline] } [2023-11-08T19:29:44.494Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-11-08T19:29:44.633Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-11-08T19:29:44.642Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:29:44.943Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-08T19:29:44.943Z] [2023-11-08T19:29:44.943Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:29:45.242Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-08T19:29:45.242Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-11-08T19:29:45.242Z] df9b9388f04a: Pulling fs layer [2023-11-08T19:29:45.242Z] 52dc419b0ee2: Pulling fs layer [2023-11-08T19:29:45.242Z] 25bc292e5bac: Pulling fs layer [2023-11-08T19:29:45.242Z] 114826534d7a: Pulling fs layer [2023-11-08T19:29:45.242Z] 4657fd5d0bcf: Pulling fs layer [2023-11-08T19:29:45.242Z] 6ad1cebc031e: Pulling fs layer [2023-11-08T19:29:45.242Z] 8a3aa393b2d8: Pulling fs layer [2023-11-08T19:29:45.242Z] 6ad1cebc031e: Waiting [2023-11-08T19:29:45.242Z] 8a3aa393b2d8: Waiting [2023-11-08T19:29:45.242Z] 114826534d7a: Waiting [2023-11-08T19:29:45.242Z] 25bc292e5bac: Verifying Checksum [2023-11-08T19:29:45.242Z] 25bc292e5bac: Download complete [2023-11-08T19:29:45.242Z] 52dc419b0ee2: Verifying Checksum [2023-11-08T19:29:45.242Z] 52dc419b0ee2: Download complete [2023-11-08T19:29:45.242Z] 4657fd5d0bcf: Verifying Checksum [2023-11-08T19:29:45.242Z] 4657fd5d0bcf: Download complete [2023-11-08T19:29:45.242Z] df9b9388f04a: Verifying Checksum [2023-11-08T19:29:45.242Z] df9b9388f04a: Download complete [2023-11-08T19:29:45.503Z] 6ad1cebc031e: Verifying Checksum [2023-11-08T19:29:45.503Z] 6ad1cebc031e: Download complete [2023-11-08T19:29:45.503Z] df9b9388f04a: Pull complete [2023-11-08T19:29:45.503Z] 52dc419b0ee2: Pull complete [2023-11-08T19:29:45.763Z] 25bc292e5bac: Pull complete [2023-11-08T19:29:46.020Z] 114826534d7a: Verifying Checksum [2023-11-08T19:29:46.020Z] 114826534d7a: Download complete [2023-11-08T19:29:46.020Z] 8a3aa393b2d8: Verifying Checksum [2023-11-08T19:29:46.020Z] 8a3aa393b2d8: Download complete [2023-11-08T19:29:49.299Z] 114826534d7a: Pull complete [2023-11-08T19:29:49.299Z] 4657fd5d0bcf: Pull complete [2023-11-08T19:29:49.299Z] 6ad1cebc031e: Pull complete [2023-11-08T19:29:51.839Z] 8a3aa393b2d8: Pull complete [2023-11-08T19:29:51.839Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-11-08T19:29:51.839Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-08T19:29:51.839Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T19:29:51.915Z] prd-ubuntu20.04-docker-8c-8g-17075 does not seem to be running inside a container [2023-11-08T19:29:51.940Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-11-08T19:29:56.668Z] $ docker top 81a42787982988df5a2be076ca84083ba4b8019a99027f61eb51f0463a97299b -eo pid,comm [Pipeline] { [Pipeline] echo [2023-11-08T19:29:56.733Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2023-11-08T19:29:57.009Z] + set -o pipefail [2023-11-08T19:29:57.010Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2023-11-08T19:30:02.282Z] [2023-11-08T19:30:02.282Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2023-11-08T19:30:02.282Z] [2023-11-08T19:30:02.282Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/0bfc9dc1-28a4-4972-bc48-37d07115b055 [2023-11-08T19:30:02.282Z] [2023-11-08T19:30:02.282Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-11-08T19:30:02.282Z] [2023-11-08T19:30:02.282Z] [2023-11-08T19:30:02.282Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-11-08T19:30:02.282Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-11-08T19:30:02.282Z] More details here: https://snyk.co/ue1NS [2023-11-08T19:30:02.282Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-11-08T19:30:02.282Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-11-08T19:30:02.291Z] $ docker stop --time=1 81a42787982988df5a2be076ca84083ba4b8019a99027f61eb51f0463a97299b [2023-11-08T19:30:05.683Z] $ docker rm -f --volumes 81a42787982988df5a2be076ca84083ba4b8019a99027f61eb51f0463a97299b [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-11-08T19:30:06.423Z] + git log --format=format:%s -1 dad3581f68ab7f120ccaa1e9a5c0830c4458f666 [Pipeline] sh [2023-11-08T19:30:06.720Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-08T19:30:06.721Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:30:08.001Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T19:30:08.002Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T19:30:09.309Z] prd-ubuntu20.04-docker-8c-8g-17075 does not seem to be running inside a container [2023-11-08T19:30:09.343Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-08T19:30:09.770Z] $ docker top 0a973556d5ea14ec052b2fe65d36e36b1bc8332e6d8ec42c9669f8bff7541e35 -eo pid,comm [2023-11-08T19:30:09.817Z] 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-11-08T19:30:09.817Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-08T19:30:09.858Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T19:30:09.858Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T19:30:09.961Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T19:30:09.960Z] $ docker exec 0a973556d5ea14ec052b2fe65d36e36b1bc8332e6d8ec42c9669f8bff7541e35 ssh-agent [2023-11-08T19:30:10.069Z] SSH_AUTH_SOCK=/tmp/ssh-hdbDRPVoayjI/agent.33 [2023-11-08T19:30:10.070Z] SSH_AGENT_PID=39 [2023-11-08T19:30:10.075Z] Running ssh-add (command line suppressed) [2023-11-08T19:30:10.164Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6813624918884903625.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6813624918884903625.key) [2023-11-08T19:30:10.179Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T19:30:10.468Z] + git semver tag [2023-11-08T19:30:10.728Z] 2023-11-08 19:30:10,625 [run_tag] DEBUG tag force:False [2023-11-08T19:30:10.728Z] 2023-11-08 19:30:10,626 [check_head_tag] DEBUG check head tag [2023-11-08T19:30:10.728Z] 2023-11-08 19:30:10,626 [execute] INFO git cat-file --batch-check [2023-11-08T19:30:10.728Z] 2023-11-08 19:30:10,626 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-11-08T19:30:10.728Z] 2023-11-08 19:30:10,630 [execute] INFO git cat-file --batch [2023-11-08T19:30:10.728Z] 2023-11-08 19:30:10,630 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-11-08T19:30:10.728Z] 2023-11-08 19:30:10,642 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-11-08T19:30:10.728Z] 2023-11-08 19:30:10,642 [execute] INFO git tag -a v3.1.0-dev.23 -m v3.1.0-dev.23 [2023-11-08T19:30:10.728Z] 2023-11-08 19:30:10,642 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.23', '-m', 'v3.1.0-dev.23'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-11-08T19:30:10.728Z] 2023-11-08 19:30:10,647 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-11-08T19:30:10.728Z] 3.1.0-dev.23 [Pipeline] } [2023-11-08T19:30:10.735Z] $ docker exec --env ******** --env ******** 0a973556d5ea14ec052b2fe65d36e36b1bc8332e6d8ec42c9669f8bff7541e35 ssh-agent -k [2023-11-08T19:30:10.834Z] unset SSH_AUTH_SOCK; [2023-11-08T19:30:10.835Z] unset SSH_AGENT_PID; [2023-11-08T19:30:10.835Z] echo Agent pid 39 killed; [2023-11-08T19:30:10.848Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-08T19:30:11.164Z] + git semver [Pipeline] } [2023-11-08T19:30:11.433Z] $ docker stop --time=1 0a973556d5ea14ec052b2fe65d36e36b1bc8332e6d8ec42c9669f8bff7541e35 [2023-11-08T19:30:12.726Z] $ docker rm -f --volumes 0a973556d5ea14ec052b2fe65d36e36b1bc8332e6d8ec42c9669f8bff7541e35 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:30:13.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-08T19:30:13.116Z] [2023-11-08T19:30:13.116Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:30:13.421Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-08T19:30:13.421Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-11-08T19:30:13.421Z] ab5ef0e58194: Pulling fs layer [2023-11-08T19:30:13.421Z] 9712f1f96733: Pulling fs layer [2023-11-08T19:30:13.421Z] 63f879dbbcfc: Pulling fs layer [2023-11-08T19:30:13.421Z] 0d9ebad4ef96: Pulling fs layer [2023-11-08T19:30:13.421Z] e9a5061849ea: Pulling fs layer [2023-11-08T19:30:13.421Z] d747dcd14b5f: Pulling fs layer [2023-11-08T19:30:13.421Z] 2de7ff778b66: Pulling fs layer [2023-11-08T19:30:13.421Z] 0d9ebad4ef96: Waiting [2023-11-08T19:30:13.421Z] d747dcd14b5f: Waiting [2023-11-08T19:30:13.421Z] e9a5061849ea: Waiting [2023-11-08T19:30:13.421Z] 2de7ff778b66: Waiting [2023-11-08T19:30:13.421Z] 9712f1f96733: Verifying Checksum [2023-11-08T19:30:13.421Z] 9712f1f96733: Download complete [2023-11-08T19:30:13.680Z] 63f879dbbcfc: Verifying Checksum [2023-11-08T19:30:13.680Z] 63f879dbbcfc: Download complete [2023-11-08T19:30:13.940Z] e9a5061849ea: Verifying Checksum [2023-11-08T19:30:13.940Z] e9a5061849ea: Download complete [2023-11-08T19:30:13.940Z] d747dcd14b5f: Verifying Checksum [2023-11-08T19:30:13.940Z] d747dcd14b5f: Download complete [2023-11-08T19:30:13.940Z] 0d9ebad4ef96: Verifying Checksum [2023-11-08T19:30:13.940Z] 0d9ebad4ef96: Download complete [2023-11-08T19:30:13.940Z] ab5ef0e58194: Verifying Checksum [2023-11-08T19:30:13.940Z] ab5ef0e58194: Download complete [2023-11-08T19:30:13.940Z] 2de7ff778b66: Verifying Checksum [2023-11-08T19:30:13.941Z] 2de7ff778b66: Download complete [2023-11-08T19:30:17.220Z] ab5ef0e58194: Pull complete [2023-11-08T19:30:17.220Z] 9712f1f96733: Pull complete [2023-11-08T19:30:17.785Z] 63f879dbbcfc: Pull complete [2023-11-08T19:30:21.073Z] 0d9ebad4ef96: Pull complete [2023-11-08T19:30:21.332Z] e9a5061849ea: Pull complete [2023-11-08T19:30:21.591Z] d747dcd14b5f: Pull complete [2023-11-08T19:30:22.523Z] 2de7ff778b66: Pull complete [2023-11-08T19:30:22.523Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-11-08T19:30:22.523Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-08T19:30:22.523Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T19:30:22.609Z] prd-ubuntu20.04-docker-8c-8g-17075 does not seem to be running inside a container [2023-11-08T19:30:22.632Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-11-08T19:30:26.745Z] $ docker top eab7afa5a1f8cf6950a72f39cc9be75f44540a1dee1b5c4b4e0f89ad50937ef8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-11-08T19:30:26.812Z] provisioning config files... [2023-11-08T19:30:26.820Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config13190853301999128097tmp [2023-11-08T19:30:26.829Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config6632848910769609839tmp [2023-11-08T19:30:26.836Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config4469538664185065020tmp [Pipeline] { [Pipeline] echo [2023-11-08T19:30:26.849Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:30:27.132Z] ---> sigul-configuration.sh [2023-11-08T19:30:27.132Z] gpg: directory `/root/.gnupg' created [2023-11-08T19:30:27.132Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-11-08T19:30:27.132Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-11-08T19:30:27.132Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-11-08T19:30:27.132Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-11-08T19:30:27.132Z] gpg: CAST5 encrypted data [2023-11-08T19:30:27.132Z] gpg: encrypted with 1 passphrase [2023-11-08T19:30:27.132Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-11-08T19:30:27.418Z] + mkdir /home/jenkins [2023-11-08T19:30:27.418Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-11-08T19:30:27.703Z] + 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-11-08T19:30:27.712Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:30:27.995Z] ---> sigul-install.sh [2023-11-08T19:30:27.995Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-11-08T19:30:28.283Z] + git tag --list [2023-11-08T19:30:28.283Z] v1.0.0 [2023-11-08T19:30:28.283Z] v2.1.0 [2023-11-08T19:30:28.283Z] v2.1.1 [2023-11-08T19:30:28.283Z] v2.2.0 [2023-11-08T19:30:28.283Z] v2.3.0 [2023-11-08T19:30:28.283Z] v3.0 [2023-11-08T19:30:28.283Z] v3.0.0 [2023-11-08T19:30:28.283Z] v3.1.0-dev.1 [2023-11-08T19:30:28.283Z] v3.1.0-dev.10 [2023-11-08T19:30:28.283Z] v3.1.0-dev.11 [2023-11-08T19:30:28.283Z] v3.1.0-dev.12 [2023-11-08T19:30:28.283Z] v3.1.0-dev.13 [2023-11-08T19:30:28.283Z] v3.1.0-dev.14 [2023-11-08T19:30:28.283Z] v3.1.0-dev.15 [2023-11-08T19:30:28.283Z] v3.1.0-dev.16 [2023-11-08T19:30:28.283Z] v3.1.0-dev.17 [2023-11-08T19:30:28.283Z] v3.1.0-dev.18 [2023-11-08T19:30:28.283Z] v3.1.0-dev.19 [2023-11-08T19:30:28.283Z] v3.1.0-dev.2 [2023-11-08T19:30:28.283Z] v3.1.0-dev.20 [2023-11-08T19:30:28.283Z] v3.1.0-dev.21 [2023-11-08T19:30:28.283Z] v3.1.0-dev.22 [2023-11-08T19:30:28.283Z] v3.1.0-dev.23 [2023-11-08T19:30:28.283Z] v3.1.0-dev.3 [2023-11-08T19:30:28.283Z] v3.1.0-dev.4 [2023-11-08T19:30:28.283Z] v3.1.0-dev.5 [2023-11-08T19:30:28.283Z] v3.1.0-dev.6 [2023-11-08T19:30:28.283Z] v3.1.0-dev.7 [2023-11-08T19:30:28.283Z] v3.1.0-dev.8 [2023-11-08T19:30:28.283Z] v3.1.0-dev.9 [Pipeline] sh [2023-11-08T19:30:28.571Z] + lftools sign git-tag v3.1.0-dev.23 [2023-11-08T19:30:29.140Z] Signing Git tag with Sigul... [2023-11-08T19:30:29.140Z] Signing v3.1.0-dev.23 [Pipeline] echo [2023-11-08T19:30:29.409Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:30:29.692Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-11-08T19:30:29.699Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-11-08T19:30:29.715Z] $ docker stop --time=1 eab7afa5a1f8cf6950a72f39cc9be75f44540a1dee1b5c4b4e0f89ad50937ef8 [2023-11-08T19:30:31.005Z] $ docker rm -f --volumes eab7afa5a1f8cf6950a72f39cc9be75f44540a1dee1b5c4b4e0f89ad50937ef8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-11-08T19:30:31.401Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-08T19:30:31.401Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:30:31.710Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T19:30:31.711Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T19:30:31.783Z] prd-ubuntu20.04-docker-8c-8g-17075 does not seem to be running inside a container [2023-11-08T19:30:31.811Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-08T19:30:32.140Z] $ docker top 75e25f3ed673e1232f3b8158a66f0f1998646fbab0258c9fab3262e88ca1f235 -eo pid,comm [2023-11-08T19:30:32.190Z] 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-11-08T19:30:32.190Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-08T19:30:32.238Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T19:30:32.238Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T19:30:32.342Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T19:30:32.341Z] $ docker exec 75e25f3ed673e1232f3b8158a66f0f1998646fbab0258c9fab3262e88ca1f235 ssh-agent [2023-11-08T19:30:32.445Z] SSH_AUTH_SOCK=/tmp/ssh-r6AgPoNC4XnP/agent.33 [2023-11-08T19:30:32.445Z] SSH_AGENT_PID=39 [2023-11-08T19:30:32.449Z] Running ssh-add (command line suppressed) [2023-11-08T19:30:32.555Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4285833772237530107.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4285833772237530107.key) [2023-11-08T19:30:32.577Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T19:30:32.869Z] + git semver bump pre [2023-11-08T19:30:33.128Z] 2023-11-08 19:30:33,029 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-11-08T19:30:33.128Z] 2023-11-08 19:30:33,029 [bump_version] DEBUG bumping version:3.1.0-dev.23 on axis:pre with prefix:dev [2023-11-08T19:30:33.128Z] 2023-11-08 19:30:33,029 [bump_version] DEBUG bumped version:3.1.0-dev.24 [2023-11-08T19:30:33.128Z] 2023-11-08 19:30:33,029 [write_version] DEBUG write version:3.1.0-dev.24 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True [2023-11-08T19:30:33.128Z] 2023-11-08 19:30:33,029 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-11-08T19:30:33.128Z] 2023-11-08 19:30:33,029 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-11-08T19:30:33.128Z] 2023-11-08 19:30:33,032 [execute] INFO git cat-file --batch-check [2023-11-08T19:30:33.128Z] 2023-11-08 19:30:33,032 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-08T19:30:33.128Z] 2023-11-08 19:30:33,037 [execute] INFO git cat-file --batch [2023-11-08T19:30:33.128Z] 2023-11-08 19:30:33,037 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-08T19:30:33.128Z] 2023-11-08 19:30:33,041 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-11-08T19:30:33.128Z] 3.1.0-dev.24 [Pipeline] } [2023-11-08T19:30:33.135Z] $ docker exec --env ******** --env ******** 75e25f3ed673e1232f3b8158a66f0f1998646fbab0258c9fab3262e88ca1f235 ssh-agent -k [2023-11-08T19:30:33.237Z] unset SSH_AUTH_SOCK; [2023-11-08T19:30:33.237Z] unset SSH_AGENT_PID; [2023-11-08T19:30:33.237Z] echo Agent pid 39 killed; [2023-11-08T19:30:33.248Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-08T19:30:33.548Z] + git semver [Pipeline] } [2023-11-08T19:30:33.816Z] $ docker stop --time=1 75e25f3ed673e1232f3b8158a66f0f1998646fbab0258c9fab3262e88ca1f235 [2023-11-08T19:30:35.071Z] $ docker rm -f --volumes 75e25f3ed673e1232f3b8158a66f0f1998646fbab0258c9fab3262e88ca1f235 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T19:30:35.414Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-08T19:30:35.414Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:30:35.720Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T19:30:35.720Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T19:30:35.858Z] prd-ubuntu20.04-docker-8c-8g-17075 does not seem to be running inside a container [2023-11-08T19:30:35.923Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-08T19:30:36.269Z] $ docker top 1b673b219d83b392ef0a664d2ffd961c4a20ee11cefa170c716b9bbbe9aa7a89 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-08T19:30:36.384Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T19:30:36.384Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T19:30:36.513Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T19:30:36.513Z] $ docker exec 1b673b219d83b392ef0a664d2ffd961c4a20ee11cefa170c716b9bbbe9aa7a89 ssh-agent [2023-11-08T19:30:36.640Z] SSH_AUTH_SOCK=/tmp/ssh-zOsZ7YWUnvvr/agent.33 [2023-11-08T19:30:36.640Z] SSH_AGENT_PID=39 [2023-11-08T19:30:36.645Z] Running ssh-add (command line suppressed) [2023-11-08T19:30:36.752Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7206798891755489328.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7206798891755489328.key) [2023-11-08T19:30:36.770Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T19:30:37.065Z] + git semver push [2023-11-08T19:30:37.324Z] 2023-11-08 19:30:37,241 [run_push] DEBUG push [2023-11-08T19:30:37.324Z] 2023-11-08 19:30:37,242 [execute] INFO git cat-file --batch-check [2023-11-08T19:30:37.324Z] 2023-11-08 19:30:37,242 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-08T19:30:37.324Z] 2023-11-08 19:30:37,246 [execute] INFO git rev-list 36647ea8b4bf40477832ba0564c6df1667bcab3f -- [2023-11-08T19:30:37.324Z] 2023-11-08 19:30:37,246 [execute] DEBUG Popen(['git', 'rev-list', '36647ea8b4bf40477832ba0564c6df1667bcab3f', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-08T19:30:37.324Z] 2023-11-08 19:30:37,254 [execute] INFO git fetch -v origin [2023-11-08T19:30:37.324Z] 2023-11-08 19:30:37,254 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-11-08T19:30:37.893Z] 2023-11-08 19:30:37,788 [run_push] DEBUG no remote changes detected [2023-11-08T19:30:37.893Z] 2023-11-08 19:30:37,789 [execute] INFO git push origin semver [2023-11-08T19:30:37.893Z] 2023-11-08 19:30:37,789 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-08T19:30:38.832Z] 2023-11-08 19:30:38,550 [run_push] DEBUG push all version tags [2023-11-08T19:30:38.832Z] 2023-11-08 19:30:38,551 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-11-08T19:30:38.832Z] 2023-11-08 19:30:38,551 [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-11-08T19:30:39.405Z] 2023-11-08 19:30:39,311 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-11-08T19:30:39.405Z] 3.1.0-dev.24 [Pipeline] } [2023-11-08T19:30:39.413Z] $ docker exec --env ******** --env ******** 1b673b219d83b392ef0a664d2ffd961c4a20ee11cefa170c716b9bbbe9aa7a89 ssh-agent -k [2023-11-08T19:30:39.528Z] unset SSH_AUTH_SOCK; [2023-11-08T19:30:39.528Z] unset SSH_AGENT_PID; [2023-11-08T19:30:39.528Z] echo Agent pid 39 killed; [2023-11-08T19:30:39.544Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-08T19:30:39.858Z] + git semver [Pipeline] } [2023-11-08T19:30:40.128Z] $ docker stop --time=1 1b673b219d83b392ef0a664d2ffd961c4a20ee11cefa170c716b9bbbe9aa7a89 [2023-11-08T19:30:41.407Z] $ docker rm -f --volumes 1b673b219d83b392ef0a664d2ffd961c4a20ee11cefa170c716b9bbbe9aa7a89 [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-11-08T19:30:41.989Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2023-11-08T19:30:41.989Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-11-08T19:30:41.989Z] total 16 [2023-11-08T19:30:41.989Z] drwxr-xr-x 3 root root 4096 Nov 8 19:21 . [2023-11-08T19:30:41.989Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 19:30 .. [2023-11-08T19:30:41.989Z] drwxr-xr-x 2 root root 4096 Nov 8 19:21 cost [2023-11-08T19:30:41.989Z] -rw-r--r-- 1 root root 84 Nov 8 19:21 cost.csv [2023-11-08T19:30:41.989Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2023-11-08T19:30:41.989Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-11-08T19:30:41.989Z] total 16 [2023-11-08T19:30:41.989Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 19:21 . [2023-11-08T19:30:41.989Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 19:30 .. [2023-11-08T19:30:41.989Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 19:21 cost [2023-11-08T19:30:41.989Z] -rw-r--r-- 1 jenkins jenkins 84 Nov 8 19:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:30:42.279Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:30:43.139Z] ---> package-listing.sh [2023-11-08T19:30:43.139Z] ++ facter osfamily [2023-11-08T19:30:43.139Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-08T19:30:43.398Z] + OS_FAMILY=debian [2023-11-08T19:30:43.398Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2023-11-08T19:30:43.398Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-08T19:30:43.398Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-08T19:30:43.398Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-08T19:30:43.398Z] + PACKAGES=/tmp/packages_start.txt [2023-11-08T19:30:43.398Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-11-08T19:30:43.398Z] + PACKAGES=/tmp/packages_end.txt [2023-11-08T19:30:43.398Z] + case "${OS_FAMILY}" in [2023-11-08T19:30:43.398Z] + dpkg -l [2023-11-08T19:30:43.398Z] + grep '^ii' [2023-11-08T19:30:43.398Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-08T19:30:43.398Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-08T19:30:43.398Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-08T19:30:43.398Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-11-08T19:30:43.398Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2023-11-08T19:30:43.398Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2023-11-08T19:30:43.410Z] 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-11-08T19:30:43.688Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T19:30:43.993Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T19:30:43.994Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T19:30:44.069Z] prd-ubuntu20.04-docker-8c-8g-17075 does not seem to be running inside a container [2023-11-08T19:30:44.094Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-08T19:30:44.301Z] $ docker top 649a930d137a24d785e67ee9c6b5793e95c915bef554bbd91a5cb5e2aad75ebe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T19:30:44.652Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-08T19:30:44.936Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-08T19:30:45.317Z] + ls /var/log/sa-host [2023-11-08T19:30:45.317Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T19:30:45.384Z] provisioning config files... [2023-11-08T19:30:45.392Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config12759027624820337554tmp [Pipeline] { [Pipeline] echo [2023-11-08T19:30:45.409Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:30:45.696Z] ---> create-netrc.sh [Pipeline] } [2023-11-08T19:30:45.704Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:30:46.035Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-08T19:30:46.045Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:30:46.334Z] ---> sudo-logs.sh [2023-11-08T19:30:46.334Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-08T19:30:46.366Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:30:46.649Z] ---> job-cost.sh [2023-11-08T19:30:46.649Z] lf-activate-venv: SKIPPING [2023-11-08T19:30:46.649Z] DEBUG: total: 0.2199999988079071 [2023-11-08T19:30:46.649Z] INFO: Retrieving Stack Cost... [2023-11-08T19:30:46.908Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-08T19:30:47.167Z] INFO: Archiving Costs [Pipeline] echo [2023-11-08T19:30:47.181Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T19:30:47.465Z] ---> logs-deploy.sh [2023-11-08T19:30:47.465Z] lf-activate-venv: SKIPPING [2023-11-08T19:30:47.465Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/110 [2023-11-08T19:30:47.465Z] INFO: archiving workspace using pattern(s): [2023-11-08T19:30:48.406Z] Archives upload complete. [2023-11-08T19:30:48.406Z] INFO: archiving logs to Nexus