Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 04783819bb09b7810d10db39d52ccf9a1f06c19b 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-ssh2893053092057235177.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9446143238326207287.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10211237460868352832.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5695162435519853371.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-ssh18427099791218663559.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-10404’ is offline Running on prd-ubuntu20.04-docker-8c-8g-10405 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 04783819bb09b7810d10db39d52ccf9a1f06c19b (main) > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 04783819bb09b7810d10db39d52ccf9a1f06c19b # timeout=10 Commit message: "Merge pull request #208 from lenny-intel/restore-ignore" > git rev-list --no-walk d45cae600506b099dad59778890774f0540c6a8d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-25T17:47:58.083Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-25T17:47:58.144Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-25T17:47:58.158Z] ========================================================= [2023-10-25T17:47:58.158Z] EdgeX Global Pipelines Version Info [2023-10-25T17:47:58.158Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-25T17:47:58.888Z] ------------------- [2023-10-25T17:47:58.888Z] stable info: [2023-10-25T17:47:58.888Z] ------------------- [2023-10-25T17:47:58.888Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-25T17:47:58.888Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-25T17:47:58.888Z] Message: update stable to v1.0.254 [2023-10-25T17:47:59.458Z] ------------------- [2023-10-25T17:47:59.458Z] experimental info: [2023-10-25T17:47:59.458Z] ------------------- [2023-10-25T17:47:59.458Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-25T17:47:59.458Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-25T17:47:59.458Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-25T17:47:59.609Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-10-25T17:47:59.618Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-10-25T17:47:59.627Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-25T17:47:59.638Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-25T17:47:59.647Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-25T17:47:59.656Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-25T17:47:59.665Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-25T17:47:59.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-25T17:47:59.701Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-25T17:47:59.715Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-25T17:47:59.727Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-25T17:47:59.741Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-10-25T17:47:59.757Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-25T17:47:59.777Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-25T17:47:59.787Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-25T17:47:59.797Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-25T17:47:59.814Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-25T17:47:59.828Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-25T17:47:59.841Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-25T17:47:59.856Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-25T17:47:59.873Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-25T17:47:59.891Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-25T17:47:59.909Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-25T17:47:59.927Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-25T17:47:59.946Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-25T17:47:59.963Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-25T17:47:59.979Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-25T17:47:59.991Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-25T17:48:00.008Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-25T17:48:00.028Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-25T17:48:00.046Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 04783819bb09b7810d10db39d52ccf9a1f06c19b [Pipeline] echo [2023-10-25T17:48:00.060Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0478381 [Pipeline] echo [2023-10-25T17:48:00.076Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T17:48:00.134Z] provisioning config files... [2023-10-25T17:48:00.151Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config11573350142892676699tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T17:48:00.453Z] ---> docker-login.sh [2023-10-25T17:48:00.453Z] nexus3.edgexfoundry.org:10001 [2023-10-25T17:48:00.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T17:48:00.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T17:48:00.717Z] Configure a credential helper to remove this warning. See [2023-10-25T17:48:00.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T17:48:00.717Z] [2023-10-25T17:48:00.717Z] Login Succeeded [2023-10-25T17:48:00.717Z] nexus3.edgexfoundry.org:10002 [2023-10-25T17:48:00.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T17:48:00.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T17:48:00.717Z] Configure a credential helper to remove this warning. See [2023-10-25T17:48:00.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T17:48:00.717Z] [2023-10-25T17:48:00.717Z] Login Succeeded [2023-10-25T17:48:00.717Z] nexus3.edgexfoundry.org:10003 [2023-10-25T17:48:00.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T17:48:00.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T17:48:00.983Z] Configure a credential helper to remove this warning. See [2023-10-25T17:48:00.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T17:48:00.983Z] [2023-10-25T17:48:00.983Z] Login Succeeded [2023-10-25T17:48:00.983Z] nexus3.edgexfoundry.org:10004 [2023-10-25T17:48:00.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T17:48:00.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T17:48:00.983Z] Configure a credential helper to remove this warning. See [2023-10-25T17:48:00.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T17:48:00.983Z] [2023-10-25T17:48:00.983Z] Login Succeeded [2023-10-25T17:48:00.983Z] docker.io [2023-10-25T17:48:01.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T17:48:01.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T17:48:01.507Z] Configure a credential helper to remove this warning. See [2023-10-25T17:48:01.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T17:48:01.507Z] [2023-10-25T17:48:01.507Z] Login Succeeded [2023-10-25T17:48:01.507Z] ---> docker-login.sh ends [Pipeline] } [2023-10-25T17:48:01.514Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-25T17:48:01.884Z] + git rev-list -1 --merges 04783819bb09b7810d10db39d52ccf9a1f06c19b~1..04783819bb09b7810d10db39d52ccf9a1f06c19b [Pipeline] echo [2023-10-25T17:48:01.931Z] -----------> git rev-list -1 --merges 04783819bb09b7810d10db39d52ccf9a1f06c19b~1..04783819bb09b7810d10db39d52ccf9a1f06c19b 04783819bb09b7810d10db39d52ccf9a1f06c19b [2023-10-25T17:48:01.931Z] 04783819bb09b7810d10db39d52ccf9a1f06c19b [false] [Pipeline] sh [2023-10-25T17:48:02.223Z] + git log --format=format:%s -1 04783819bb09b7810d10db39d52ccf9a1f06c19b [Pipeline] echo [2023-10-25T17:48:02.262Z] ========================================================= [2023-10-25T17:48:02.262Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-25T17:48:02.262Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-25T17:48:02.590Z] + git log --format=format:%s -1 04783819bb09b7810d10db39d52ccf9a1f06c19b [Pipeline] echo [2023-10-25T17:48:02.601Z] [semverPrep] GIT_COMMIT: 04783819bb09b7810d10db39d52ccf9a1f06c19b, Commit Message: Merge pull request #208 from lenny-intel/restore-ignore [Pipeline] echo [2023-10-25T17:48:02.613Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-25T17:48:02.980Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-25T17:48:02.980Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-25T17:48:02.980Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-25T17:48:02.980Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-25T17:48:02.980Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-25T17:48:02.980Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-25T17:48:02.980Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:48:04.707Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T17:48:04.707Z] [2023-10-25T17:48:04.707Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:48:05.015Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T17:48:05.015Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-25T17:48:05.015Z] b85a868b505f: Pulling fs layer [2023-10-25T17:48:05.015Z] e2be974225ed: Pulling fs layer [2023-10-25T17:48:05.015Z] 339a4e72a1f5: Pulling fs layer [2023-10-25T17:48:05.015Z] 988bab9f4d93: Pulling fs layer [2023-10-25T17:48:05.015Z] 1469e6f7b9e6: Pulling fs layer [2023-10-25T17:48:05.015Z] eaf3925da568: Pulling fs layer [2023-10-25T17:48:05.015Z] bab4dde63d76: Pulling fs layer [2023-10-25T17:48:05.015Z] bde34c3a00c8: Pulling fs layer [2023-10-25T17:48:05.015Z] b352a97aabf1: Pulling fs layer [2023-10-25T17:48:05.015Z] 4872d77fe225: Pulling fs layer [2023-10-25T17:48:05.015Z] 5851b861e8e6: Pulling fs layer [2023-10-25T17:48:05.015Z] 988bab9f4d93: Waiting [2023-10-25T17:48:05.015Z] 1469e6f7b9e6: Waiting [2023-10-25T17:48:05.015Z] eaf3925da568: Waiting [2023-10-25T17:48:05.015Z] bab4dde63d76: Waiting [2023-10-25T17:48:05.015Z] 4872d77fe225: Waiting [2023-10-25T17:48:05.015Z] e2be974225ed: Download complete [2023-10-25T17:48:05.015Z] 988bab9f4d93: Verifying Checksum [2023-10-25T17:48:05.015Z] 988bab9f4d93: Download complete [2023-10-25T17:48:05.276Z] 1469e6f7b9e6: Download complete [2023-10-25T17:48:05.276Z] eaf3925da568: Download complete [2023-10-25T17:48:05.276Z] 339a4e72a1f5: Verifying Checksum [2023-10-25T17:48:05.276Z] 339a4e72a1f5: Download complete [2023-10-25T17:48:05.276Z] bde34c3a00c8: Verifying Checksum [2023-10-25T17:48:05.276Z] bde34c3a00c8: Download complete [2023-10-25T17:48:05.276Z] b352a97aabf1: Download complete [2023-10-25T17:48:05.276Z] 4872d77fe225: Verifying Checksum [2023-10-25T17:48:05.276Z] 4872d77fe225: Download complete [2023-10-25T17:48:05.276Z] 5851b861e8e6: Verifying Checksum [2023-10-25T17:48:05.276Z] 5851b861e8e6: Download complete [2023-10-25T17:48:05.276Z] b85a868b505f: Verifying Checksum [2023-10-25T17:48:05.276Z] b85a868b505f: Download complete [2023-10-25T17:48:05.535Z] bab4dde63d76: Verifying Checksum [2023-10-25T17:48:05.535Z] bab4dde63d76: Download complete [2023-10-25T17:48:06.471Z] b85a868b505f: Pull complete [2023-10-25T17:48:06.730Z] e2be974225ed: Pull complete [2023-10-25T17:48:06.989Z] 339a4e72a1f5: Pull complete [2023-10-25T17:48:07.249Z] 988bab9f4d93: Pull complete [2023-10-25T17:48:07.511Z] 1469e6f7b9e6: Pull complete [2023-10-25T17:48:07.511Z] eaf3925da568: Pull complete [2023-10-25T17:48:09.229Z] bab4dde63d76: Pull complete [2023-10-25T17:48:09.229Z] bde34c3a00c8: Pull complete [2023-10-25T17:48:09.229Z] b352a97aabf1: Pull complete [2023-10-25T17:48:09.489Z] 4872d77fe225: Pull complete [2023-10-25T17:48:09.489Z] 5851b861e8e6: Pull complete [2023-10-25T17:48:09.489Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-25T17:48:09.489Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T17:48:09.489Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T17:48:09.585Z] prd-ubuntu20.04-docker-8c-8g-10405 does not seem to be running inside a container [2023-10-25T17:48:09.633Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-25T17:48:12.504Z] $ docker top 4d0c046834f33998436363ebbec4abac7b19c9b43d8c638da32315421cfcabda -eo pid,comm [2023-10-25T17:48:12.562Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-10-25T17:48:12.562Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-25T17:48:12.599Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-25T17:48:12.600Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-25T17:48:12.706Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-25T17:48:12.711Z] $ docker exec 4d0c046834f33998436363ebbec4abac7b19c9b43d8c638da32315421cfcabda ssh-agent [2023-10-25T17:48:12.806Z] SSH_AUTH_SOCK=/tmp/ssh-nI3MFD6hMDHR/agent.33 [2023-10-25T17:48:12.806Z] SSH_AGENT_PID=39 [2023-10-25T17:48:12.814Z] Running ssh-add (command line suppressed) [2023-10-25T17:48:12.908Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6672547549697647259.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6672547549697647259.key) [2023-10-25T17:48:12.923Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-25T17:48:13.214Z] + git tag --points-at HEAD [Pipeline] } [2023-10-25T17:48:13.234Z] $ docker exec --env ******** --env ******** 4d0c046834f33998436363ebbec4abac7b19c9b43d8c638da32315421cfcabda ssh-agent -k [2023-10-25T17:48:13.323Z] unset SSH_AUTH_SOCK; [2023-10-25T17:48:13.323Z] unset SSH_AGENT_PID; [2023-10-25T17:48:13.324Z] echo Agent pid 39 killed; [2023-10-25T17:48:13.331Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-25T17:48:13.354Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-25T17:48:13.354Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-25T17:48:13.450Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-25T17:48:13.455Z] $ docker exec 4d0c046834f33998436363ebbec4abac7b19c9b43d8c638da32315421cfcabda ssh-agent [2023-10-25T17:48:13.559Z] SSH_AUTH_SOCK=/tmp/ssh-DuoJOHaYs2Pf/agent.71 [2023-10-25T17:48:13.559Z] SSH_AGENT_PID=77 [2023-10-25T17:48:13.563Z] Running ssh-add (command line suppressed) [2023-10-25T17:48:13.669Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7053488111180546004.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7053488111180546004.key) [2023-10-25T17:48:13.849Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-25T17:48:14.141Z] + git semver init [2023-10-25T17:48:14.401Z] 2023-10-25 17:48:14,312 [run_init] DEBUG init version:0.0.0 force:False [2023-10-25T17:48:14.401Z] 2023-10-25 17:48:14,312 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2023-10-25T17:48:14.401Z] 2023-10-25 17:48:14,312 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2023-10-25T17:48:14.401Z] 2023-10-25 17:48:14,313 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_main/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-10-25T17:48:15.784Z] 2023-10-25 17:48:15,409 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2023-10-25T17:48:15.784Z] 2023-10-25 17:48:15,409 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2023-10-25T17:48:15.784Z] 2023-10-25 17:48:15,409 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-25T17:48:15.784Z] 2023-10-25 17:48:15,409 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-25T17:48:15.784Z] 3.1.0-dev.21 [Pipeline] } [2023-10-25T17:48:15.797Z] $ docker exec --env ******** --env ******** 4d0c046834f33998436363ebbec4abac7b19c9b43d8c638da32315421cfcabda ssh-agent -k [2023-10-25T17:48:15.890Z] unset SSH_AUTH_SOCK; [2023-10-25T17:48:15.890Z] unset SSH_AGENT_PID; [2023-10-25T17:48:15.891Z] echo Agent pid 77 killed; [2023-10-25T17:48:15.899Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-25T17:48:16.218Z] + git semver [Pipeline] } [2023-10-25T17:48:16.493Z] $ docker stop --time=1 4d0c046834f33998436363ebbec4abac7b19c9b43d8c638da32315421cfcabda [2023-10-25T17:48:17.781Z] $ docker rm -f --volumes 4d0c046834f33998436363ebbec4abac7b19c9b43d8c638da32315421cfcabda [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-25T17:48:18.119Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-25T17:48:18.333Z] Stashed 1 file(s) [Pipeline] echo [2023-10-25T17:48:18.336Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.21 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T17:48:18.471Z] provisioning config files... [2023-10-25T17:48:18.481Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config7408506759964752027tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T17:48:18.784Z] ---> docker-login.sh [2023-10-25T17:48:18.784Z] nexus3.edgexfoundry.org:10001 [2023-10-25T17:48:18.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T17:48:18.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T17:48:18.784Z] Configure a credential helper to remove this warning. See [2023-10-25T17:48:18.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T17:48:18.784Z] [2023-10-25T17:48:18.784Z] Login Succeeded [2023-10-25T17:48:18.784Z] nexus3.edgexfoundry.org:10002 [2023-10-25T17:48:18.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T17:48:18.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T17:48:18.784Z] Configure a credential helper to remove this warning. See [2023-10-25T17:48:18.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T17:48:18.784Z] [2023-10-25T17:48:18.784Z] Login Succeeded [2023-10-25T17:48:18.784Z] nexus3.edgexfoundry.org:10003 [2023-10-25T17:48:19.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T17:48:19.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T17:48:19.043Z] Configure a credential helper to remove this warning. See [2023-10-25T17:48:19.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T17:48:19.043Z] [2023-10-25T17:48:19.043Z] Login Succeeded [2023-10-25T17:48:19.043Z] nexus3.edgexfoundry.org:10004 [2023-10-25T17:48:19.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T17:48:19.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T17:48:19.043Z] Configure a credential helper to remove this warning. See [2023-10-25T17:48:19.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T17:48:19.043Z] [2023-10-25T17:48:19.043Z] Login Succeeded [2023-10-25T17:48:19.043Z] docker.io [2023-10-25T17:48:19.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T17:48:19.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T17:48:19.561Z] Configure a credential helper to remove this warning. See [2023-10-25T17:48:19.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T17:48:19.561Z] [2023-10-25T17:48:19.561Z] Login Succeeded [2023-10-25T17:48:19.561Z] ---> docker-login.sh ends [Pipeline] } [2023-10-25T17:48:19.569Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-25T17:48:19.634Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T17:48:19.649Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T17:48:19.664Z] ========================================================= [2023-10-25T17:48:19.664Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-25T17:48:19.664Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:48:19.993Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-25T17:48:19.993Z] Sending build context to Docker daemon 16.17MB [2023-10-25T17:48:19.993Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-25T17:48:19.993Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-25T17:48:19.993Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-25T17:48:19.993Z] 7264a8db6415: Pulling fs layer [2023-10-25T17:48:19.993Z] c4d48a809fc2: Pulling fs layer [2023-10-25T17:48:19.993Z] 4f1c88b9dad5: Pulling fs layer [2023-10-25T17:48:19.993Z] ad3a456e5733: Pulling fs layer [2023-10-25T17:48:19.993Z] 33e27b845d1e: Pulling fs layer [2023-10-25T17:48:19.993Z] c68163c4e522: Pulling fs layer [2023-10-25T17:48:19.993Z] 50da416c3ac9: Pulling fs layer [2023-10-25T17:48:19.993Z] 23d2d4c4bb30: Pulling fs layer [2023-10-25T17:48:19.993Z] 23d2d4c4bb30: Waiting [2023-10-25T17:48:19.993Z] c68163c4e522: Waiting [2023-10-25T17:48:19.993Z] ad3a456e5733: Waiting [2023-10-25T17:48:19.993Z] 50da416c3ac9: Waiting [2023-10-25T17:48:19.993Z] 33e27b845d1e: Waiting [2023-10-25T17:48:20.253Z] c4d48a809fc2: Download complete [2023-10-25T17:48:20.253Z] ad3a456e5733: Download complete [2023-10-25T17:48:20.253Z] 33e27b845d1e: Verifying Checksum [2023-10-25T17:48:20.253Z] 33e27b845d1e: Download complete [2023-10-25T17:48:20.253Z] 7264a8db6415: Verifying Checksum [2023-10-25T17:48:20.253Z] 7264a8db6415: Download complete [2023-10-25T17:48:20.253Z] c68163c4e522: Verifying Checksum [2023-10-25T17:48:20.253Z] c68163c4e522: Download complete [2023-10-25T17:48:20.253Z] 7264a8db6415: Pull complete [2023-10-25T17:48:20.512Z] 23d2d4c4bb30: Verifying Checksum [2023-10-25T17:48:20.512Z] 23d2d4c4bb30: Download complete [2023-10-25T17:48:20.512Z] c4d48a809fc2: Pull complete [2023-10-25T17:48:20.512Z] 4f1c88b9dad5: Verifying Checksum [2023-10-25T17:48:20.512Z] 4f1c88b9dad5: Download complete [2023-10-25T17:48:21.079Z] 50da416c3ac9: Verifying Checksum [2023-10-25T17:48:21.079Z] 50da416c3ac9: Download complete [2023-10-25T17:48:23.613Z] 4f1c88b9dad5: Pull complete [2023-10-25T17:48:23.613Z] ad3a456e5733: Pull complete [2023-10-25T17:48:23.613Z] 33e27b845d1e: Pull complete [2023-10-25T17:48:23.875Z] c68163c4e522: Pull complete [2023-10-25T17:48:26.420Z] 50da416c3ac9: Pull complete [2023-10-25T17:48:26.420Z] 23d2d4c4bb30: Pull complete [2023-10-25T17:48:26.420Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-25T17:48:26.420Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-25T17:48:26.420Z] ---> 0786185ac409 [2023-10-25T17:48:26.420Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-25T17:48:31.697Z] ---> Running in 1827a0f88d94 [2023-10-25T17:48:31.697Z] Removing intermediate container 1827a0f88d94 [2023-10-25T17:48:31.697Z] ---> e94d829586f3 [2023-10-25T17:48:31.697Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-25T17:48:31.698Z] ---> Running in 7f19ff674a57 [2023-10-25T17:48:31.698Z] Removing intermediate container 7f19ff674a57 [2023-10-25T17:48:31.698Z] ---> 75b6fbfee890 [2023-10-25T17:48:31.698Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-10-25T17:48:31.698Z] ---> Running in 298fc20dc5fb [2023-10-25T17:48:31.698Z] Removing intermediate container 298fc20dc5fb [2023-10-25T17:48:31.698Z] ---> 85fbb69ab988 [2023-10-25T17:48:31.698Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-25T17:48:31.698Z] ---> Running in 370e08c60670 [2023-10-25T17:48:31.698Z] Removing intermediate container 370e08c60670 [2023-10-25T17:48:31.698Z] ---> 1aa453316300 [2023-10-25T17:48:31.698Z] Step 7/12 : WORKDIR /device-gpio [2023-10-25T17:48:31.698Z] ---> Running in e4aef465b2fd [2023-10-25T17:48:31.698Z] Removing intermediate container e4aef465b2fd [2023-10-25T17:48:31.698Z] ---> 1cc8f1d6c8c1 [2023-10-25T17:48:31.698Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-25T17:48:31.698Z] ---> Running in c310e1426036 [2023-10-25T17:48:31.698Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-25T17:48:31.698Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-25T17:48:31.956Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-25T17:48:31.956Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-25T17:48:31.956Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-25T17:48:31.956Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-25T17:48:31.956Z] Executing busybox-1.36.1-r2.trigger [2023-10-25T17:48:31.956Z] OK: 268 MiB in 56 packages [2023-10-25T17:48:32.526Z] Removing intermediate container c310e1426036 [2023-10-25T17:48:32.526Z] ---> 9e4f854878c1 [2023-10-25T17:48:32.526Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-25T17:48:32.526Z] ---> e498f9265eb7 [2023-10-25T17:48:32.526Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-25T17:48:32.526Z] ---> Running in 0e7a7f81809e [2023-10-25T17:48:33.428Z] Still waiting to schedule task [2023-10-25T17:48:33.429Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10403’ [2023-10-25T17:51:59.483Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10406 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2023-10-25T17:51:59.498Z] Running in /w/workspace/device-gpio/108 [Pipeline] { [Pipeline] checkout [2023-10-25T17:51:59.538Z] The recommended git tool is: git [2023-10-25T17:52:05.106Z] using credential edgex-jenkins-ssh [2023-10-25T17:52:05.125Z] Cloning the remote Git repository [2023-10-25T17:52:05.169Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-10-25T17:52:05.276Z] > git init /w/workspace/device-gpio/108 # timeout=10 [2023-10-25T17:52:05.430Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-10-25T17:52:05.431Z] > git --version # timeout=10 [2023-10-25T17:52:05.450Z] > git --version # 'git version 2.25.1' [2023-10-25T17:52:05.453Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-25T17:52:05.597Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-25T17:52:07.767Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-10-25T17:52:07.791Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-25T17:52:08.737Z] Avoid second fetch [2023-10-25T17:52:08.738Z] Checking out Revision 04783819bb09b7810d10db39d52ccf9a1f06c19b (main) [2023-10-25T17:52:09.299Z] Commit message: "Merge pull request #208 from lenny-intel/restore-ignore" [2023-10-25T17:52:08.754Z] > git config core.sparsecheckout # timeout=10 [2023-10-25T17:52:08.817Z] > git checkout -f 04783819bb09b7810d10db39d52ccf9a1f06c19b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-25T17:52:10.508Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-25T17:52:10.508Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-25T17:52:10.508Z] Dload Upload Total Spent Left Speed [2023-10-25T17:52:10.508Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 43 12751 43 5503 0 0 29427 0 --:--:-- --:--:-- --:--:-- 29271 100 12751 100 12751 0 0 66759 0 --:--:-- --:--:-- --:--:-- 66411 [Pipeline] sh [2023-10-25T17:52:11.222Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-25T17:52:11.556Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-25T17:52:11.556Z] + sudo tee /etc/docker/daemon.new [2023-10-25T17:52:11.556Z] { [2023-10-25T17:52:11.556Z] "registry-mirrors": [ [2023-10-25T17:52:11.556Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-25T17:52:11.556Z] ], [2023-10-25T17:52:11.556Z] "bip": "10.250.0.254/24", [2023-10-25T17:52:11.556Z] "hosts": [ [2023-10-25T17:52:11.556Z] "tcp://0.0.0.0:5555", [2023-10-25T17:52:11.556Z] "unix:///var/run/docker.sock" [2023-10-25T17:52:11.556Z] ], [2023-10-25T17:52:11.556Z] "mtu": 1458, [2023-10-25T17:52:11.556Z] "selinux-enabled": true, [2023-10-25T17:52:11.556Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-25T17:52:11.556Z] } [Pipeline] sh [2023-10-25T17:52:11.899Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-25T17:52:12.251Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T17:52:30.520Z] provisioning config files... [2023-10-25T17:52:30.547Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/108@tmp/config15663124837690050427tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T17:52:30.905Z] ---> docker-login.sh [2023-10-25T17:52:30.905Z] nexus3.edgexfoundry.org:10001 [2023-10-25T17:52:31.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T17:52:31.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T17:52:31.447Z] Configure a credential helper to remove this warning. See [2023-10-25T17:52:31.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T17:52:31.447Z] [2023-10-25T17:52:31.447Z] Login Succeeded [2023-10-25T17:52:31.447Z] nexus3.edgexfoundry.org:10002 [2023-10-25T17:52:31.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T17:52:31.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T17:52:31.718Z] Configure a credential helper to remove this warning. See [2023-10-25T17:52:31.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T17:52:31.718Z] [2023-10-25T17:52:31.718Z] Login Succeeded [2023-10-25T17:52:31.718Z] nexus3.edgexfoundry.org:10003 [2023-10-25T17:52:31.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T17:52:32.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T17:52:32.255Z] Configure a credential helper to remove this warning. See [2023-10-25T17:52:32.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T17:52:32.255Z] [2023-10-25T17:52:32.255Z] Login Succeeded [2023-10-25T17:52:32.255Z] nexus3.edgexfoundry.org:10004 [2023-10-25T17:52:32.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T17:52:32.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T17:52:32.524Z] Configure a credential helper to remove this warning. See [2023-10-25T17:52:32.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T17:52:32.524Z] [2023-10-25T17:52:32.524Z] Login Succeeded [2023-10-25T17:52:32.524Z] docker.io [2023-10-25T17:52:32.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T17:52:33.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T17:52:33.064Z] Configure a credential helper to remove this warning. See [2023-10-25T17:52:33.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T17:52:33.064Z] [2023-10-25T17:52:33.064Z] Login Succeeded [2023-10-25T17:52:33.064Z] ---> docker-login.sh ends [Pipeline] } [2023-10-25T17:52:33.076Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-25T17:52:33.325Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T17:52:33.340Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T17:52:33.356Z] ========================================================= [2023-10-25T17:52:33.356Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-25T17:52:33.356Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:52:33.716Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-25T17:52:34.003Z] Sending build context to Docker daemon 8.129MB [2023-10-25T17:52:34.003Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-25T17:52:34.003Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-25T17:52:34.276Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-25T17:52:34.276Z] 9fda8d8052c6: Pulling fs layer [2023-10-25T17:52:34.276Z] 5d54e960e981: Pulling fs layer [2023-10-25T17:52:34.276Z] c4a7e357bf2a: Pulling fs layer [2023-10-25T17:52:34.276Z] f0e02332f6b5: Pulling fs layer [2023-10-25T17:52:34.276Z] cefa15bbcfad: Pulling fs layer [2023-10-25T17:52:34.276Z] 17808c966233: Pulling fs layer [2023-10-25T17:52:34.276Z] f4c1fc716caa: Pulling fs layer [2023-10-25T17:52:34.276Z] f0e02332f6b5: Waiting [2023-10-25T17:52:34.276Z] cefa15bbcfad: Waiting [2023-10-25T17:52:34.276Z] 17808c966233: Waiting [2023-10-25T17:52:34.276Z] f4c1fc716caa: Waiting [2023-10-25T17:52:34.276Z] 5d54e960e981: Verifying Checksum [2023-10-25T17:52:34.276Z] 5d54e960e981: Download complete [2023-10-25T17:52:34.276Z] f0e02332f6b5: Verifying Checksum [2023-10-25T17:52:34.276Z] f0e02332f6b5: Download complete [2023-10-25T17:52:34.276Z] cefa15bbcfad: Verifying Checksum [2023-10-25T17:52:34.276Z] cefa15bbcfad: Download complete [2023-10-25T17:52:34.276Z] 9fda8d8052c6: Verifying Checksum [2023-10-25T17:52:34.276Z] 9fda8d8052c6: Download complete [2023-10-25T17:52:34.864Z] f4c1fc716caa: Verifying Checksum [2023-10-25T17:52:34.864Z] f4c1fc716caa: Download complete [2023-10-25T17:52:35.134Z] 9fda8d8052c6: Pull complete [2023-10-25T17:52:35.734Z] 5d54e960e981: Pull complete [2023-10-25T17:52:36.003Z] c4a7e357bf2a: Verifying Checksum [2023-10-25T17:52:36.003Z] c4a7e357bf2a: Download complete [2023-10-25T17:52:36.975Z] 17808c966233: Verifying Checksum [2023-10-25T17:52:36.975Z] 17808c966233: Download complete [2023-10-25T17:52:49.314Z] c4a7e357bf2a: Pull complete [2023-10-25T17:52:49.314Z] f0e02332f6b5: Pull complete [2023-10-25T17:52:49.314Z] cefa15bbcfad: Pull complete [2023-10-25T17:52:57.554Z] 17808c966233: Pull complete [2023-10-25T17:52:57.821Z] f4c1fc716caa: Pull complete [2023-10-25T17:52:58.094Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-25T17:52:58.094Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-25T17:52:58.094Z] ---> ea914061e18c [2023-10-25T17:52:58.094Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-25T17:53:00.060Z] ---> Running in d27055c765db [2023-10-25T17:53:00.060Z] Removing intermediate container d27055c765db [2023-10-25T17:53:00.060Z] ---> 057b2bfe066b [2023-10-25T17:53:00.060Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-25T17:53:00.060Z] ---> Running in fad62dfb5807 [2023-10-25T17:53:00.329Z] Removing intermediate container fad62dfb5807 [2023-10-25T17:53:00.329Z] ---> d70209f40f5d [2023-10-25T17:53:00.329Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-10-25T17:53:00.598Z] ---> Running in 8604f896fb99 [2023-10-25T17:53:00.865Z] Removing intermediate container 8604f896fb99 [2023-10-25T17:53:00.865Z] ---> f25cd9a65ca7 [2023-10-25T17:53:00.865Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-25T17:53:00.865Z] ---> Running in 09316363884d [2023-10-25T17:53:01.134Z] Removing intermediate container 09316363884d [2023-10-25T17:53:01.134Z] ---> 7bd0cf89d9d2 [2023-10-25T17:53:01.134Z] Step 7/12 : WORKDIR /device-gpio [2023-10-25T17:53:01.402Z] ---> Running in b1df7e222795 [2023-10-25T17:53:01.673Z] Removing intermediate container b1df7e222795 [2023-10-25T17:53:01.673Z] ---> 3d82f2f2bd40 [2023-10-25T17:53:01.673Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-25T17:53:01.673Z] ---> Running in 5e9e521510ad [2023-10-25T17:53:03.093Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-25T17:53:03.369Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-25T17:53:04.890Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-25T17:53:04.890Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-25T17:53:04.890Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-25T17:53:04.890Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-25T17:53:04.890Z] Executing busybox-1.36.1-r2.trigger [2023-10-25T17:53:04.890Z] OK: 270 MiB in 56 packages [2023-10-25T17:53:06.396Z] Removing intermediate container 5e9e521510ad [2023-10-25T17:53:06.396Z] ---> 3a478379d7e8 [2023-10-25T17:53:06.396Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-25T17:53:06.668Z] ---> 9db847ac9092 [2023-10-25T17:53:06.668Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-25T17:53:06.939Z] ---> Running in 39e5cac124ea [2023-10-25T17:53:39.123Z] go: github.com/gabriel-vasile/mimetype@v1.4.2: read "https:/proxy.golang.org/@v/v1.4.2.zip": read tcp 10.250.0.1:52250->64.233.176.207:443: read: connection reset by peer [2023-10-25T17:53:39.124Z] go: github.com/klauspost/compress@v1.17.1: read "https:/proxy.golang.org/@v/v1.17.1.zip": read tcp 10.250.0.1:52250->64.233.176.207:443: read: connection reset by peer [2023-10-25T17:53:39.124Z] skipping... [2023-10-25T17:53:44.410Z] Removing intermediate container 0e7a7f81809e [2023-10-25T17:53:44.410Z] ---> 9f0867c8f5d8 [2023-10-25T17:53:44.410Z] Step 11/12 : COPY . . [2023-10-25T17:53:44.410Z] ---> 79a7d2d9478d [2023-10-25T17:53:44.410Z] Step 12/12 : RUN ${MAKE} [2023-10-25T17:53:44.410Z] ---> Running in 27b39676a057 [2023-10-25T17:53:44.668Z] noop [2023-10-25T17:53:44.926Z] Removing intermediate container 27b39676a057 [2023-10-25T17:53:44.926Z] ---> 8c90a003df4b [2023-10-25T17:53:44.926Z] Successfully built 8c90a003df4b [2023-10-25T17:53:44.926Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:53:45.239Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-25T17:53:45.239Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T17:53:45.309Z] prd-ubuntu20.04-docker-8c-8g-10405 does not seem to be running inside a container [2023-10-25T17:53:45.338Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-25T17:53:45.696Z] $ docker top 4b6238dd83a1e4a1759600f0531f271dff499d1483cb0072b7f56db635370a8d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-25T17:53:46.033Z] + go version [2023-10-25T17:53:46.033Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-25T17:53:46.045Z] $ docker stop --time=1 4b6238dd83a1e4a1759600f0531f271dff499d1483cb0072b7f56db635370a8d [2023-10-25T17:53:47.324Z] $ docker rm -f --volumes 4b6238dd83a1e4a1759600f0531f271dff499d1483cb0072b7f56db635370a8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:53:47.720Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-25T17:53:47.720Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T17:53:47.794Z] prd-ubuntu20.04-docker-8c-8g-10405 does not seem to be running inside a container [2023-10-25T17:53:47.824Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-25T17:53:48.149Z] $ docker top f2d7e5f7c33811ba7cd3f232463b4e4cececfecdd2ef77c88bb971cb322d5a50 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-25T17:53:48.492Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh [2023-10-25T17:53:48.797Z] + make test [2023-10-25T17:53:48.797Z] go test ./... -coverprofile=coverage.out ./... [2023-10-25T17:53:48.797Z] go: downloading github.com/gabriel-vasile/mimetype v1.4.2 [2023-10-25T17:53:51.328Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-10-25T17:54:01.284Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-10-25T17:54:01.284Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-10-25T17:54:05.458Z] go vet ./... [2023-10-25T17:54:08.734Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-25T17:54:08.734Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-25T17:54:08.734Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-25T17:54:08.746Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-25T17:54:08.764Z] $ docker stop --time=1 f2d7e5f7c33811ba7cd3f232463b4e4cececfecdd2ef77c88bb971cb322d5a50 [2023-10-25T17:54:12.016Z] $ docker rm -f --volumes f2d7e5f7c33811ba7cd3f232463b4e4cececfecdd2ef77c88bb971cb322d5a50 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-25T17:54:12.477Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-25T17:54:12.584Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-25T17:54:13.121Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-25T17:54:13.435Z] + ls -al . [2023-10-25T17:54:13.435Z] total 160 [2023-10-25T17:54:13.435Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 17:53 . [2023-10-25T17:54:13.435Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 17:47 .. [2023-10-25T17:54:13.435Z] -rw-rw-r-- 1 jenkins jenkins 120 Oct 25 17:47 .dockerignore [2023-10-25T17:54:13.435Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 17:53 .git [2023-10-25T17:54:13.435Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 17:47 .github [2023-10-25T17:54:13.435Z] -rw-rw-r-- 1 jenkins jenkins 277 Oct 25 17:47 .gitignore [2023-10-25T17:54:13.435Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 17:47 .golangci.yml [2023-10-25T17:54:13.435Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 17:48 .semver [2023-10-25T17:54:13.435Z] -rw-rw-r-- 1 jenkins jenkins 10671 Oct 25 17:47 Attribution.txt [2023-10-25T17:54:13.435Z] -rw-rw-r-- 1 jenkins jenkins 6184 Oct 25 17:47 CHANGELOG.md [2023-10-25T17:54:13.435Z] -rw-rw-r-- 1 jenkins jenkins 1542 Oct 25 17:47 Dockerfile [2023-10-25T17:54:13.435Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 17:47 GOVERNANCE.md [2023-10-25T17:54:13.435Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 25 17:47 Jenkinsfile [2023-10-25T17:54:13.435Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 17:47 LICENSE [2023-10-25T17:54:13.435Z] -rw-rw-r-- 1 jenkins jenkins 1923 Oct 25 17:47 Makefile [2023-10-25T17:54:13.435Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 25 17:47 OWNERS.md [2023-10-25T17:54:13.435Z] -rw-rw-r-- 1 jenkins jenkins 12217 Oct 25 17:47 README.md [2023-10-25T17:54:13.435Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 25 17:48 VERSION [2023-10-25T17:54:13.435Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 17:47 bin [2023-10-25T17:54:13.435Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 17:47 cmd [2023-10-25T17:54:13.435Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 25 17:53 coverage.out [2023-10-25T17:54:13.435Z] -rw-rw-r-- 1 jenkins jenkins 3698 Oct 25 17:47 go.mod [2023-10-25T17:54:13.435Z] -rw-rw-r-- 1 jenkins jenkins 35450 Oct 25 17:47 go.sum [2023-10-25T17:54:13.435Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 17:47 internal [2023-10-25T17:54:13.435Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 25 17:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:54:13.763Z] + 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=04783819bb09b7810d10db39d52ccf9a1f06c19b --label arch=amd64 --label version=3.1.0-dev.21 . [2023-10-25T17:54:13.763Z] Sending build context to Docker daemon 16.17MB [2023-10-25T17:54:13.763Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-25T17:54:13.763Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-25T17:54:13.763Z] ---> 8c90a003df4b [2023-10-25T17:54:13.763Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-25T17:54:14.023Z] ---> Running in 0d2276409b58 [2023-10-25T17:54:14.023Z] Removing intermediate container 0d2276409b58 [2023-10-25T17:54:14.023Z] ---> a666e1c097ba [2023-10-25T17:54:14.023Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-25T17:54:14.023Z] ---> Running in 7715145e4fce [2023-10-25T17:54:14.280Z] Removing intermediate container 7715145e4fce [2023-10-25T17:54:14.280Z] ---> 795b35afbae6 [2023-10-25T17:54:14.280Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-10-25T17:54:14.280Z] ---> Running in 99815274af61 [2023-10-25T17:54:14.280Z] Removing intermediate container 99815274af61 [2023-10-25T17:54:14.280Z] ---> e690b9a29124 [2023-10-25T17:54:14.280Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-25T17:54:14.280Z] ---> Running in 2a3143076a7f [2023-10-25T17:54:14.280Z] Removing intermediate container 2a3143076a7f [2023-10-25T17:54:14.280Z] ---> 9583b530a898 [2023-10-25T17:54:14.280Z] Step 7/25 : WORKDIR /device-gpio [2023-10-25T17:54:14.280Z] ---> Running in 72dd828d1a39 [2023-10-25T17:54:14.540Z] Removing intermediate container 72dd828d1a39 [2023-10-25T17:54:14.540Z] ---> 07b38c83d819 [2023-10-25T17:54:14.540Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-25T17:54:14.540Z] ---> Running in aa1c27bc3b08 [2023-10-25T17:54:14.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-25T17:54:14.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-25T17:54:15.059Z] OK: 268 MiB in 56 packages [2023-10-25T17:54:15.331Z] Removing intermediate container aa1c27bc3b08 [2023-10-25T17:54:15.331Z] ---> ea5422a5816d [2023-10-25T17:54:15.331Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-25T17:54:15.589Z] ---> 30bfd9e1e52b [2023-10-25T17:54:15.589Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-25T17:54:15.589Z] ---> Running in baada14a07fb [2023-10-25T17:54:28.277Z] Removing intermediate container baada14a07fb [2023-10-25T17:54:28.277Z] ---> 3a0ac19ee733 [2023-10-25T17:54:28.277Z] Step 11/25 : COPY . . [2023-10-25T17:54:28.277Z] ---> 0daae66690f2 [2023-10-25T17:54:28.277Z] Step 12/25 : RUN ${MAKE} [2023-10-25T17:54:28.277Z] ---> Running in 84289dbe112a [2023-10-25T17:54:28.277Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.1.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-10-25T17:54:43.607Z] Removing intermediate container 39e5cac124ea [2023-10-25T17:54:43.607Z] ---> bb269dbdef3b [2023-10-25T17:54:43.607Z] Step 11/12 : COPY . . [2023-10-25T17:54:43.607Z] ---> 81dfc4cf5330 [2023-10-25T17:54:43.607Z] Step 12/12 : RUN ${MAKE} [2023-10-25T17:54:43.607Z] ---> Running in 06acef36faed [2023-10-25T17:54:43.607Z] noop [2023-10-25T17:54:43.607Z] Removing intermediate container 06acef36faed [2023-10-25T17:54:43.607Z] ---> 0580820eb255 [2023-10-25T17:54:43.607Z] Successfully built 0580820eb255 [2023-10-25T17:54:43.607Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:54:43.967Z] + docker inspect -f . ci-base-image-arm64 [2023-10-25T17:54:43.967Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T17:54:44.204Z] prd-ubuntu20.04-docker-arm64-4c-16g-10406 does not seem to be running inside a container [2023-10-25T17:54:44.289Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/108 -v /w/workspace/device-gpio/108:/w/workspace/device-gpio/108:rw,z -v /w/workspace/device-gpio/108@tmp:/w/workspace/device-gpio/108@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-25T17:54:45.680Z] $ docker top 3154c3fa84443d17f3fe2075bac326f097d6c180f30545ae476c71f3124bd156 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-25T17:54:46.551Z] + go version [2023-10-25T17:54:46.551Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-25T17:54:46.569Z] $ docker stop --time=1 3154c3fa84443d17f3fe2075bac326f097d6c180f30545ae476c71f3124bd156 [2023-10-25T17:54:46.809Z] Removing intermediate container 84289dbe112a [2023-10-25T17:54:46.809Z] ---> bc6ffd5ed7bd [2023-10-25T17:54:46.809Z] Step 13/25 : FROM alpine:3.18 [2023-10-25T17:54:46.809Z] 3.18: Pulling from library/alpine [2023-10-25T17:54:46.809Z] 96526aa774ef: Pulling fs layer [2023-10-25T17:54:46.809Z] 96526aa774ef: Verifying Checksum [2023-10-25T17:54:46.809Z] 96526aa774ef: Download complete [2023-10-25T17:54:46.809Z] 96526aa774ef: Pull complete [2023-10-25T17:54:46.809Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-25T17:54:46.809Z] Status: Downloaded newer image for alpine:3.18 [2023-10-25T17:54:46.809Z] ---> 8ca4688f4f35 [2023-10-25T17:54:46.809Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-10-25T17:54:46.809Z] ---> Running in 4f271d025a4e [2023-10-25T17:54:46.809Z] Removing intermediate container 4f271d025a4e [2023-10-25T17:54:46.809Z] ---> 85504c02dcdd [2023-10-25T17:54:46.809Z] Step 15/25 : RUN apk add --update --no-cache [2023-10-25T17:54:46.809Z] ---> Running in 2246463384ea [2023-10-25T17:54:46.809Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-25T17:54:46.809Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-25T17:54:47.067Z] OK: 7 MiB in 15 packages [2023-10-25T17:54:47.326Z] Removing intermediate container 2246463384ea [2023-10-25T17:54:47.326Z] ---> 01fd81ce6bca [2023-10-25T17:54:47.326Z] Step 16/25 : WORKDIR / [2023-10-25T17:54:47.326Z] ---> Running in 6a0bc00db9ce [2023-10-25T17:54:47.326Z] Removing intermediate container 6a0bc00db9ce [2023-10-25T17:54:47.326Z] ---> a439292379ca [2023-10-25T17:54:47.326Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-10-25T17:54:47.583Z] ---> 145adc3dc5fc [2023-10-25T17:54:47.583Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-10-25T17:54:47.583Z] ---> 13d4a6a298fc [2023-10-25T17:54:47.583Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-10-25T17:54:48.290Z] $ docker rm -f --volumes 3154c3fa84443d17f3fe2075bac326f097d6c180f30545ae476c71f3124bd156 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2023-10-25T17:54:48.542Z] ---> 09b328c24a5f [2023-10-25T17:54:48.542Z] Step 20/25 : EXPOSE 59910 [2023-10-25T17:54:48.542Z] ---> Running in d0c80a4bd61a [2023-10-25T17:54:48.542Z] Removing intermediate container d0c80a4bd61a [2023-10-25T17:54:48.542Z] ---> 023cb759e3c8 [2023-10-25T17:54:48.542Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-10-25T17:54:48.542Z] ---> Running in 8491514785e3 [2023-10-25T17:54:48.542Z] Removing intermediate container 8491514785e3 [2023-10-25T17:54:48.542Z] ---> 29addece278e [2023-10-25T17:54:48.542Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-25T17:54:48.542Z] ---> Running in 0347210a618c [Pipeline] sh [2023-10-25T17:54:48.800Z] Removing intermediate container 0347210a618c [2023-10-25T17:54:48.800Z] ---> 9fd93f803115 [2023-10-25T17:54:48.800Z] Step 23/25 : LABEL arch=amd64 [2023-10-25T17:54:48.800Z] ---> Running in 87ee24dd1e28 [2023-10-25T17:54:48.800Z] Removing intermediate container 87ee24dd1e28 [2023-10-25T17:54:48.800Z] ---> 313be96b1784 [2023-10-25T17:54:48.800Z] Step 24/25 : LABEL git_sha=04783819bb09b7810d10db39d52ccf9a1f06c19b [2023-10-25T17:54:48.800Z] ---> Running in 084b973166e5 [2023-10-25T17:54:48.800Z] Removing intermediate container 084b973166e5 [2023-10-25T17:54:48.800Z] ---> f1c30464ece7 [2023-10-25T17:54:48.800Z] Step 25/25 : LABEL version=3.1.0-dev.21 [2023-10-25T17:54:48.800Z] ---> Running in 37019341db8d [2023-10-25T17:54:48.852Z] + docker inspect -f . ci-base-image-arm64 [2023-10-25T17:54:48.852Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T17:54:49.035Z] prd-ubuntu20.04-docker-arm64-4c-16g-10406 does not seem to be running inside a container [2023-10-25T17:54:49.059Z] Removing intermediate container 37019341db8d [2023-10-25T17:54:49.059Z] ---> fa1d5c41695d [2023-10-25T17:54:49.059Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-25T17:54:49.059Z] Successfully built fa1d5c41695d [2023-10-25T17:54:49.059Z] Successfully tagged device-gpio:latest [2023-10-25T17:54:49.110Z] $ 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/108 -v /w/workspace/device-gpio/108:/w/workspace/device-gpio/108:rw,z -v /w/workspace/device-gpio/108@tmp:/w/workspace/device-gpio/108@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-25T17:54:50.390Z] $ docker top fc622547f5e19e680b41dbdd03987b648e6d08ecec8f37f7429c4843041f42f9 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T17:54:50.760Z] provisioning config files... [2023-10-25T17:54:50.769Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config10707262948398918572tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T17:54:51.063Z] ---> docker-login.sh [2023-10-25T17:54:51.063Z] nexus3.edgexfoundry.org:10001 [2023-10-25T17:54:51.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T17:54:51.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T17:54:51.063Z] Configure a credential helper to remove this warning. See [2023-10-25T17:54:51.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T17:54:51.063Z] [2023-10-25T17:54:51.063Z] Login Succeeded [2023-10-25T17:54:51.063Z] nexus3.edgexfoundry.org:10002 [2023-10-25T17:54:51.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T17:54:51.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T17:54:51.063Z] Configure a credential helper to remove this warning. See [2023-10-25T17:54:51.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T17:54:51.063Z] [2023-10-25T17:54:51.063Z] Login Succeeded [2023-10-25T17:54:51.063Z] nexus3.edgexfoundry.org:10003 [2023-10-25T17:54:51.231Z] + git config --global --add safe.directory /w/workspace/device-gpio/108 [Pipeline] fileExists [Pipeline] sh [2023-10-25T17:54:51.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T17:54:51.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T17:54:51.320Z] Configure a credential helper to remove this warning. See [2023-10-25T17:54:51.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T17:54:51.320Z] [2023-10-25T17:54:51.320Z] Login Succeeded [2023-10-25T17:54:51.320Z] nexus3.edgexfoundry.org:10004 [2023-10-25T17:54:51.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T17:54:51.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T17:54:51.320Z] Configure a credential helper to remove this warning. See [2023-10-25T17:54:51.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T17:54:51.320Z] [2023-10-25T17:54:51.320Z] Login Succeeded [2023-10-25T17:54:51.320Z] docker.io [2023-10-25T17:54:51.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T17:54:51.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T17:54:51.579Z] Configure a credential helper to remove this warning. See [2023-10-25T17:54:51.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T17:54:51.579Z] [2023-10-25T17:54:51.579Z] Login Succeeded [2023-10-25T17:54:51.579Z] ---> docker-login.sh ends [Pipeline] } [2023-10-25T17:54:51.586Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-25T17:54:51.616Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T17:54:51.641Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2023-10-25T17:54:51.641Z] 04783819bb09b7810d10db39d52ccf9a1f06c19b [2023-10-25T17:54:51.641Z] latest [2023-10-25T17:54:51.641Z] 3.1.0-dev.21 [2023-10-25T17:54:51.641Z] 04783819bb09b7810d10db39d52ccf9a1f06c19b-3.1.0-dev.21 [2023-10-25T17:54:51.641Z] main [2023-10-25T17:54:51.641Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:54:51.888Z] + make test [2023-10-25T17:54:51.888Z] go test ./... -coverprofile=coverage.out ./... [2023-10-25T17:54:51.976Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:04783819bb09b7810d10db39d52ccf9a1f06c19b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:54:52.282Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:04783819bb09b7810d10db39d52ccf9a1f06c19b [2023-10-25T17:54:52.282Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-10-25T17:54:52.282Z] 2728f2c03ac7: Preparing [2023-10-25T17:54:52.282Z] a1263bd82aec: Preparing [2023-10-25T17:54:52.282Z] ec5bbf968810: Preparing [2023-10-25T17:54:52.282Z] 382b32417d38: Preparing [2023-10-25T17:54:52.282Z] cc2447e1835a: Preparing [2023-10-25T17:54:52.282Z] cc2447e1835a: Layer already exists [2023-10-25T17:54:52.282Z] 382b32417d38: Pushed [2023-10-25T17:54:52.282Z] ec5bbf968810: Pushed [2023-10-25T17:54:52.282Z] a1263bd82aec: Pushed [2023-10-25T17:54:54.805Z] 2728f2c03ac7: Pushed [2023-10-25T17:54:55.062Z] 04783819bb09b7810d10db39d52ccf9a1f06c19b: digest: sha256:a151f51edd0c5d46e015c7fb79e8ce426a12fff272b509c03e8c66379f455b5c size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:54:55.374Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:54:55.677Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-10-25T17:54:55.677Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-10-25T17:54:55.677Z] 2728f2c03ac7: Preparing [2023-10-25T17:54:55.677Z] a1263bd82aec: Preparing [2023-10-25T17:54:55.677Z] ec5bbf968810: Preparing [2023-10-25T17:54:55.677Z] 382b32417d38: Preparing [2023-10-25T17:54:55.677Z] cc2447e1835a: Preparing [2023-10-25T17:54:55.677Z] 2728f2c03ac7: Layer already exists [2023-10-25T17:54:55.677Z] a1263bd82aec: Layer already exists [2023-10-25T17:54:55.677Z] ec5bbf968810: Layer already exists [2023-10-25T17:54:55.677Z] 382b32417d38: Layer already exists [2023-10-25T17:54:55.677Z] cc2447e1835a: Layer already exists [2023-10-25T17:54:55.677Z] latest: digest: sha256:a151f51edd0c5d46e015c7fb79e8ce426a12fff272b509c03e8c66379f455b5c size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:54:55.999Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:54:56.156Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-10-25T17:54:56.300Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.21 [2023-10-25T17:54:56.300Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-10-25T17:54:56.300Z] 2728f2c03ac7: Preparing [2023-10-25T17:54:56.300Z] a1263bd82aec: Preparing [2023-10-25T17:54:56.300Z] ec5bbf968810: Preparing [2023-10-25T17:54:56.300Z] 382b32417d38: Preparing [2023-10-25T17:54:56.301Z] cc2447e1835a: Preparing [2023-10-25T17:54:56.301Z] a1263bd82aec: Layer already exists [2023-10-25T17:54:56.301Z] 382b32417d38: Layer already exists [2023-10-25T17:54:56.301Z] 2728f2c03ac7: Layer already exists [2023-10-25T17:54:56.301Z] ec5bbf968810: Layer already exists [2023-10-25T17:54:56.301Z] cc2447e1835a: Layer already exists [2023-10-25T17:54:56.301Z] 3.1.0-dev.21: digest: sha256:a151f51edd0c5d46e015c7fb79e8ce426a12fff272b509c03e8c66379f455b5c size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:54:56.609Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:04783819bb09b7810d10db39d52ccf9a1f06c19b-3.1.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:54:56.915Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:04783819bb09b7810d10db39d52ccf9a1f06c19b-3.1.0-dev.21 [2023-10-25T17:54:56.915Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-10-25T17:54:56.915Z] 2728f2c03ac7: Preparing [2023-10-25T17:54:56.915Z] a1263bd82aec: Preparing [2023-10-25T17:54:56.915Z] ec5bbf968810: Preparing [2023-10-25T17:54:56.915Z] 382b32417d38: Preparing [2023-10-25T17:54:56.915Z] cc2447e1835a: Preparing [2023-10-25T17:54:56.915Z] a1263bd82aec: Layer already exists [2023-10-25T17:54:56.915Z] ec5bbf968810: Layer already exists [2023-10-25T17:54:56.915Z] 382b32417d38: Layer already exists [2023-10-25T17:54:56.915Z] cc2447e1835a: Layer already exists [2023-10-25T17:54:56.915Z] 2728f2c03ac7: Layer already exists [2023-10-25T17:54:56.915Z] 04783819bb09b7810d10db39d52ccf9a1f06c19b-3.1.0-dev.21: digest: sha256:a151f51edd0c5d46e015c7fb79e8ce426a12fff272b509c03e8c66379f455b5c size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:54:57.229Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:54:57.534Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2023-10-25T17:54:57.534Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-10-25T17:54:57.534Z] 2728f2c03ac7: Preparing [2023-10-25T17:54:57.534Z] a1263bd82aec: Preparing [2023-10-25T17:54:57.534Z] ec5bbf968810: Preparing [2023-10-25T17:54:57.534Z] 382b32417d38: Preparing [2023-10-25T17:54:57.534Z] cc2447e1835a: Preparing [2023-10-25T17:54:57.534Z] a1263bd82aec: Layer already exists [2023-10-25T17:54:57.534Z] ec5bbf968810: Layer already exists [2023-10-25T17:54:57.534Z] cc2447e1835a: Layer already exists [2023-10-25T17:54:57.534Z] 2728f2c03ac7: Layer already exists [2023-10-25T17:54:57.534Z] 382b32417d38: Layer already exists [2023-10-25T17:54:57.534Z] main: digest: sha256:a151f51edd0c5d46e015c7fb79e8ce426a12fff272b509c03e8c66379f455b5c size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-25T17:54:57.582Z] ===================================================== [Pipeline] echo [2023-10-25T17:54:57.594Z] taggedImages: [2023-10-25T17:54:57.594Z] - nexus3.edgexfoundry.org:10004/device-gpio:04783819bb09b7810d10db39d52ccf9a1f06c19b [2023-10-25T17:54:57.594Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-10-25T17:54:57.594Z] - nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.21 [2023-10-25T17:54:57.594Z] - nexus3.edgexfoundry.org:10004/device-gpio:04783819bb09b7810d10db39d52ccf9a1f06c19b-3.1.0-dev.21 [2023-10-25T17:54:57.594Z] - nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:54:57.948Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-25T17:54:57.948Z] [2023-10-25T17:54:57.948Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:54:58.249Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-25T17:54:58.249Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-25T17:54:58.249Z] 5eb5b503b376: Pulling fs layer [2023-10-25T17:54:58.249Z] 5c69ac0246d0: Pulling fs layer [2023-10-25T17:54:58.249Z] ec43610c2a17: Pulling fs layer [2023-10-25T17:54:58.249Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-25T17:54:58.249Z] 33b1e0a273af: Pulling fs layer [2023-10-25T17:54:58.249Z] 5d3b04190fa2: Pulling fs layer [2023-10-25T17:54:58.249Z] 2f39f015ded8: Pulling fs layer [2023-10-25T17:54:58.249Z] 33b1e0a273af: Waiting [2023-10-25T17:54:58.249Z] 5d3b04190fa2: Waiting [2023-10-25T17:54:58.249Z] 2f39f015ded8: Waiting [2023-10-25T17:54:58.249Z] 3a2ae6a8a46f: Waiting [2023-10-25T17:54:58.249Z] 5c69ac0246d0: Verifying Checksum [2023-10-25T17:54:58.249Z] 5c69ac0246d0: Download complete [2023-10-25T17:54:58.249Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-25T17:54:58.249Z] 3a2ae6a8a46f: Download complete [2023-10-25T17:54:58.249Z] 33b1e0a273af: Verifying Checksum [2023-10-25T17:54:58.249Z] 33b1e0a273af: Download complete [2023-10-25T17:54:58.249Z] ec43610c2a17: Verifying Checksum [2023-10-25T17:54:58.249Z] ec43610c2a17: Download complete [2023-10-25T17:54:58.249Z] 5d3b04190fa2: Verifying Checksum [2023-10-25T17:54:58.249Z] 5d3b04190fa2: Download complete [2023-10-25T17:54:58.508Z] 5eb5b503b376: Download complete [2023-10-25T17:54:59.082Z] 2f39f015ded8: Download complete [2023-10-25T17:54:59.647Z] 5eb5b503b376: Pull complete [2023-10-25T17:54:59.648Z] 5c69ac0246d0: Pull complete [2023-10-25T17:54:59.906Z] ec43610c2a17: Pull complete [2023-10-25T17:55:00.164Z] 3a2ae6a8a46f: Pull complete [2023-10-25T17:55:00.421Z] 33b1e0a273af: Pull complete [2023-10-25T17:55:00.421Z] 5d3b04190fa2: Pull complete [2023-10-25T17:55:04.653Z] 2f39f015ded8: Pull complete [2023-10-25T17:55:04.653Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-25T17:55:04.653Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-25T17:55:04.653Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T17:55:04.746Z] prd-ubuntu20.04-docker-8c-8g-10405 does not seem to be running inside a container [2023-10-25T17:55:04.777Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-25T17:55:09.133Z] $ docker top a0d6eaa823cab75020871d6ec86262747bd1739af49831bf7fd0427a14f2cecb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T17:55:09.533Z] ---> job-cost.sh [2023-10-25T17:55:09.533Z] lf-activate-venv: SKIPPING [2023-10-25T17:55:09.533Z] INFO: No Stack... [2023-10-25T17:55:09.790Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-25T17:55:10.049Z] INFO: Archiving Costs [Pipeline] sh [2023-10-25T17:55:10.331Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2023-10-25T17:55:10.331Z] + cut -d, -f6 [Pipeline] lock [2023-10-25T17:55:10.344Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-108-stack-cost] [2023-10-25T17:55:10.349Z] Resource [jenkins-edgexfoundry-device-gpio-main-108-stack-cost] did not exist. Created. [2023-10-25T17:55:10.349Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-108-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-25T17:55:11.872Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-25T17:55:11.894Z] Stashed 1 file(s) [Pipeline] } [2023-10-25T17:55:11.902Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-108-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-25T17:55:11.921Z] $ docker stop --time=1 a0d6eaa823cab75020871d6ec86262747bd1739af49831bf7fd0427a14f2cecb [2023-10-25T17:55:13.063Z] $ docker rm -f --volumes a0d6eaa823cab75020871d6ec86262747bd1739af49831bf7fd0427a14f2cecb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-25T17:56:48.010Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-10-25T17:56:48.011Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-10-25T17:56:48.011Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-25T17:56:48.011Z] go vet ./... [2023-10-25T17:57:10.094Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-25T17:57:10.094Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-25T17:57:10.094Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-25T17:57:10.704Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-25T17:57:10.715Z] $ docker stop --time=1 fc622547f5e19e680b41dbdd03987b648e6d08ecec8f37f7429c4843041f42f9 [2023-10-25T17:57:12.665Z] $ docker rm -f --volumes fc622547f5e19e680b41dbdd03987b648e6d08ecec8f37f7429c4843041f42f9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-25T17:57:13.879Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-25T17:57:13.895Z] Warning: overwriting stash ‘coverage-report’ [2023-10-25T17:57:14.323Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-25T17:57:14.715Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-25T17:57:15.039Z] + ls -al . [2023-10-25T17:57:15.039Z] total 156 [2023-10-25T17:57:15.039Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 25 17:54 . [2023-10-25T17:57:15.039Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 17:52 .. [2023-10-25T17:57:15.039Z] -rw-rw-r-- 1 jenkins jenkins 120 Oct 25 17:52 .dockerignore [2023-10-25T17:57:15.039Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 17:52 .git [2023-10-25T17:57:15.039Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 17:52 .github [2023-10-25T17:57:15.039Z] -rw-rw-r-- 1 jenkins jenkins 277 Oct 25 17:52 .gitignore [2023-10-25T17:57:15.039Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 17:52 .golangci.yml [2023-10-25T17:57:15.039Z] -rw-rw-r-- 1 jenkins jenkins 10671 Oct 25 17:52 Attribution.txt [2023-10-25T17:57:15.039Z] -rw-rw-r-- 1 jenkins jenkins 6184 Oct 25 17:52 CHANGELOG.md [2023-10-25T17:57:15.039Z] -rw-rw-r-- 1 jenkins jenkins 1542 Oct 25 17:52 Dockerfile [2023-10-25T17:57:15.039Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 17:52 GOVERNANCE.md [2023-10-25T17:57:15.039Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 25 17:52 Jenkinsfile [2023-10-25T17:57:15.039Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 17:52 LICENSE [2023-10-25T17:57:15.039Z] -rw-rw-r-- 1 jenkins jenkins 1923 Oct 25 17:52 Makefile [2023-10-25T17:57:15.039Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 25 17:52 OWNERS.md [2023-10-25T17:57:15.039Z] -rw-rw-r-- 1 jenkins jenkins 12217 Oct 25 17:52 README.md [2023-10-25T17:57:15.039Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 25 17:48 VERSION [2023-10-25T17:57:15.039Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 17:52 bin [2023-10-25T17:57:15.039Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 17:52 cmd [2023-10-25T17:57:15.039Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 25 17:54 coverage.out [2023-10-25T17:57:15.039Z] -rw-rw-r-- 1 jenkins jenkins 3698 Oct 25 17:52 go.mod [2023-10-25T17:57:15.039Z] -rw-rw-r-- 1 jenkins jenkins 35450 Oct 25 17:52 go.sum [2023-10-25T17:57:15.039Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 17:52 internal [2023-10-25T17:57:15.039Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 25 17:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:57:15.395Z] + 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=04783819bb09b7810d10db39d52ccf9a1f06c19b --label arch=arm64 --label version=3.1.0-dev.21 . [2023-10-25T17:57:15.663Z] Sending build context to Docker daemon 8.13MB [2023-10-25T17:57:15.663Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-25T17:57:15.663Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-25T17:57:15.663Z] ---> 0580820eb255 [2023-10-25T17:57:15.663Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-25T17:57:15.929Z] ---> Running in 29ac61586f5e [2023-10-25T17:57:16.195Z] Removing intermediate container 29ac61586f5e [2023-10-25T17:57:16.195Z] ---> 104fad3f85b1 [2023-10-25T17:57:16.195Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-25T17:57:16.195Z] ---> Running in 3f50ffaed02a [2023-10-25T17:57:16.466Z] Removing intermediate container 3f50ffaed02a [2023-10-25T17:57:16.466Z] ---> d859960820cd [2023-10-25T17:57:16.466Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-10-25T17:57:16.738Z] ---> Running in 1315dc76610e [2023-10-25T17:57:17.005Z] Removing intermediate container 1315dc76610e [2023-10-25T17:57:17.005Z] ---> b2d43ea0896b [2023-10-25T17:57:17.005Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-25T17:57:17.005Z] ---> Running in 5fb136b7cdf5 [2023-10-25T17:57:17.272Z] Removing intermediate container 5fb136b7cdf5 [2023-10-25T17:57:17.272Z] ---> dbfd2172eaa1 [2023-10-25T17:57:17.272Z] Step 7/25 : WORKDIR /device-gpio [2023-10-25T17:57:17.539Z] ---> Running in 475d0048843c [2023-10-25T17:57:17.807Z] Removing intermediate container 475d0048843c [2023-10-25T17:57:17.808Z] ---> 3fd3318c47a8 [2023-10-25T17:57:17.808Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-25T17:57:17.808Z] ---> Running in 1fb1ffccfb52 [2023-10-25T17:57:18.771Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-25T17:57:19.359Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-25T17:57:20.787Z] OK: 270 MiB in 56 packages [2023-10-25T17:57:22.205Z] Removing intermediate container 1fb1ffccfb52 [2023-10-25T17:57:22.205Z] ---> 5618345da4ca [2023-10-25T17:57:22.205Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-25T17:57:22.794Z] ---> 56c711a3b8fc [2023-10-25T17:57:22.794Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-25T17:57:22.794Z] ---> Running in 869af9a97d22 [2023-10-25T17:57:25.374Z] Removing intermediate container 869af9a97d22 [2023-10-25T17:57:25.374Z] ---> e396a29e29bb [2023-10-25T17:57:25.374Z] Step 11/25 : COPY . . [2023-10-25T17:57:26.339Z] ---> 462d6dc4036e [2023-10-25T17:57:26.339Z] Step 12/25 : RUN ${MAKE} [2023-10-25T17:57:26.339Z] ---> Running in 82b1227b6aea [2023-10-25T17:57:27.304Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.1.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-10-25T17:59:33.998Z] Removing intermediate container 82b1227b6aea [2023-10-25T17:59:33.998Z] ---> cd5ed830acc3 [2023-10-25T17:59:33.998Z] Step 13/25 : FROM alpine:3.18 [2023-10-25T17:59:33.998Z] 3.18: Pulling from library/alpine [2023-10-25T17:59:33.998Z] 579b34f0a95b: Pulling fs layer [2023-10-25T17:59:33.998Z] 579b34f0a95b: Verifying Checksum [2023-10-25T17:59:33.998Z] 579b34f0a95b: Download complete [2023-10-25T17:59:33.998Z] 579b34f0a95b: Pull complete [2023-10-25T17:59:33.998Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-25T17:59:33.998Z] Status: Downloaded newer image for alpine:3.18 [2023-10-25T17:59:33.998Z] ---> 3cc203321400 [2023-10-25T17:59:33.998Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-10-25T17:59:33.998Z] ---> Running in 8c19a7273816 [2023-10-25T17:59:33.998Z] Removing intermediate container 8c19a7273816 [2023-10-25T17:59:33.998Z] ---> 53f2a58e0023 [2023-10-25T17:59:33.998Z] Step 15/25 : RUN apk add --update --no-cache [2023-10-25T17:59:33.998Z] ---> Running in 95c3725a84a3 [2023-10-25T17:59:33.998Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-25T17:59:33.998Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-25T17:59:33.998Z] OK: 8 MiB in 15 packages [2023-10-25T17:59:33.998Z] Removing intermediate container 95c3725a84a3 [2023-10-25T17:59:33.998Z] ---> 3b25314f17df [2023-10-25T17:59:33.998Z] Step 16/25 : WORKDIR / [2023-10-25T17:59:33.998Z] ---> Running in cc88999a4045 [2023-10-25T17:59:33.998Z] Removing intermediate container cc88999a4045 [2023-10-25T17:59:33.998Z] ---> 5383a01d5a17 [2023-10-25T17:59:33.998Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-10-25T17:59:33.998Z] ---> 33ece8083770 [2023-10-25T17:59:33.998Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-10-25T17:59:33.998Z] ---> 41a5f135183a [2023-10-25T17:59:33.998Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-10-25T17:59:35.951Z] ---> 2ec205e25367 [2023-10-25T17:59:35.951Z] Step 20/25 : EXPOSE 59910 [2023-10-25T17:59:35.951Z] ---> Running in a9970aa96b69 [2023-10-25T17:59:35.951Z] Removing intermediate container a9970aa96b69 [2023-10-25T17:59:35.951Z] ---> 0f43bf3c2564 [2023-10-25T17:59:35.951Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-10-25T17:59:36.218Z] ---> Running in 2e5e83e9ef83 [2023-10-25T17:59:36.486Z] Removing intermediate container 2e5e83e9ef83 [2023-10-25T17:59:36.486Z] ---> 6446553630d3 [2023-10-25T17:59:36.486Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-25T17:59:36.486Z] ---> Running in be58ebf26868 [2023-10-25T17:59:36.754Z] Removing intermediate container be58ebf26868 [2023-10-25T17:59:36.754Z] ---> 43ac892161a2 [2023-10-25T17:59:36.754Z] Step 23/25 : LABEL arch=arm64 [2023-10-25T17:59:37.021Z] ---> Running in 4cafd6c5757d [2023-10-25T17:59:37.288Z] Removing intermediate container 4cafd6c5757d [2023-10-25T17:59:37.288Z] ---> bc53c25f0819 [2023-10-25T17:59:37.288Z] Step 24/25 : LABEL git_sha=04783819bb09b7810d10db39d52ccf9a1f06c19b [2023-10-25T17:59:37.288Z] ---> Running in e57c826dab31 [2023-10-25T17:59:37.556Z] Removing intermediate container e57c826dab31 [2023-10-25T17:59:37.556Z] ---> 78bcb1fbf554 [2023-10-25T17:59:37.556Z] Step 25/25 : LABEL version=3.1.0-dev.21 [2023-10-25T17:59:37.556Z] ---> Running in 86546b6d408e [2023-10-25T17:59:37.825Z] Removing intermediate container 86546b6d408e [2023-10-25T17:59:37.825Z] ---> edf711dff61b [2023-10-25T17:59:37.825Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-25T17:59:37.825Z] Successfully built edf711dff61b [2023-10-25T17:59:38.092Z] Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T17:59:38.224Z] provisioning config files... [2023-10-25T17:59:38.240Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/108@tmp/config6902136803701646551tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T17:59:38.586Z] ---> docker-login.sh [2023-10-25T17:59:38.586Z] nexus3.edgexfoundry.org:10001 [2023-10-25T17:59:38.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T17:59:38.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T17:59:38.852Z] Configure a credential helper to remove this warning. See [2023-10-25T17:59:38.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T17:59:38.852Z] [2023-10-25T17:59:38.852Z] Login Succeeded [2023-10-25T17:59:38.852Z] nexus3.edgexfoundry.org:10002 [2023-10-25T17:59:39.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T17:59:39.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T17:59:39.385Z] Configure a credential helper to remove this warning. See [2023-10-25T17:59:39.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T17:59:39.385Z] [2023-10-25T17:59:39.385Z] Login Succeeded [2023-10-25T17:59:39.385Z] nexus3.edgexfoundry.org:10003 [2023-10-25T17:59:39.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T17:59:39.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T17:59:39.652Z] Configure a credential helper to remove this warning. See [2023-10-25T17:59:39.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T17:59:39.652Z] [2023-10-25T17:59:39.652Z] Login Succeeded [2023-10-25T17:59:39.652Z] nexus3.edgexfoundry.org:10004 [2023-10-25T17:59:39.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T17:59:39.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T17:59:39.922Z] Configure a credential helper to remove this warning. See [2023-10-25T17:59:39.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T17:59:39.922Z] [2023-10-25T17:59:39.922Z] Login Succeeded [2023-10-25T17:59:39.922Z] docker.io [2023-10-25T17:59:40.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T17:59:40.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T17:59:40.456Z] Configure a credential helper to remove this warning. See [2023-10-25T17:59:40.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T17:59:40.456Z] [2023-10-25T17:59:40.456Z] Login Succeeded [2023-10-25T17:59:40.725Z] ---> docker-login.sh ends [Pipeline] } [2023-10-25T17:59:40.737Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-25T17:59:40.766Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T17:59:40.790Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2023-10-25T17:59:40.791Z] 04783819bb09b7810d10db39d52ccf9a1f06c19b [2023-10-25T17:59:40.791Z] latest [2023-10-25T17:59:40.791Z] 3.1.0-dev.21 [2023-10-25T17:59:40.791Z] 04783819bb09b7810d10db39d52ccf9a1f06c19b-3.1.0-dev.21 [2023-10-25T17:59:40.791Z] main [2023-10-25T17:59:40.791Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:59:41.146Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:04783819bb09b7810d10db39d52ccf9a1f06c19b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:59:43.427Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:04783819bb09b7810d10db39d52ccf9a1f06c19b [2023-10-25T17:59:43.427Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-10-25T17:59:43.427Z] 7613b604c5bf: Preparing [2023-10-25T17:59:43.427Z] 5a3311aeef27: Preparing [2023-10-25T17:59:43.427Z] 369196c78a99: Preparing [2023-10-25T17:59:43.427Z] 36b98577449c: Preparing [2023-10-25T17:59:43.427Z] 5f4d9fc4d98d: Preparing [2023-10-25T17:59:43.427Z] 5f4d9fc4d98d: Layer already exists [2023-10-25T17:59:43.697Z] 36b98577449c: Pushed [2023-10-25T17:59:43.697Z] 369196c78a99: Pushed [2023-10-25T17:59:43.697Z] 5a3311aeef27: Pushed [2023-10-25T17:59:50.338Z] 7613b604c5bf: Pushed [2023-10-25T17:59:50.338Z] 04783819bb09b7810d10db39d52ccf9a1f06c19b: digest: sha256:e1af5c508995b880893b0199948f09b62868dd92ae83e49a192721781da871ce size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:59:50.679Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:59:51.112Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-10-25T17:59:51.113Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-10-25T17:59:51.113Z] 7613b604c5bf: Preparing [2023-10-25T17:59:51.113Z] 5a3311aeef27: Preparing [2023-10-25T17:59:51.113Z] 369196c78a99: Preparing [2023-10-25T17:59:51.113Z] 36b98577449c: Preparing [2023-10-25T17:59:51.113Z] 5f4d9fc4d98d: Preparing [2023-10-25T17:59:51.113Z] 7613b604c5bf: Layer already exists [2023-10-25T17:59:51.113Z] 369196c78a99: Layer already exists [2023-10-25T17:59:51.113Z] 5f4d9fc4d98d: Layer already exists [2023-10-25T17:59:51.113Z] 5a3311aeef27: Layer already exists [2023-10-25T17:59:51.113Z] 36b98577449c: Layer already exists [2023-10-25T17:59:51.409Z] latest: digest: sha256:e1af5c508995b880893b0199948f09b62868dd92ae83e49a192721781da871ce size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:59:51.800Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:59:52.161Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.21 [2023-10-25T17:59:52.162Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-10-25T17:59:52.162Z] 7613b604c5bf: Preparing [2023-10-25T17:59:52.162Z] 5a3311aeef27: Preparing [2023-10-25T17:59:52.162Z] 369196c78a99: Preparing [2023-10-25T17:59:52.162Z] 36b98577449c: Preparing [2023-10-25T17:59:52.162Z] 5f4d9fc4d98d: Preparing [2023-10-25T17:59:52.162Z] 5a3311aeef27: Layer already exists [2023-10-25T17:59:52.162Z] 36b98577449c: Layer already exists [2023-10-25T17:59:52.162Z] 369196c78a99: Layer already exists [2023-10-25T17:59:52.162Z] 7613b604c5bf: Layer already exists [2023-10-25T17:59:52.162Z] 5f4d9fc4d98d: Layer already exists [2023-10-25T17:59:52.432Z] 3.1.0-dev.21: digest: sha256:e1af5c508995b880893b0199948f09b62868dd92ae83e49a192721781da871ce size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:59:52.784Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:04783819bb09b7810d10db39d52ccf9a1f06c19b-3.1.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:59:53.116Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:04783819bb09b7810d10db39d52ccf9a1f06c19b-3.1.0-dev.21 [2023-10-25T17:59:53.117Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-10-25T17:59:53.117Z] 7613b604c5bf: Preparing [2023-10-25T17:59:53.117Z] 5a3311aeef27: Preparing [2023-10-25T17:59:53.117Z] 369196c78a99: Preparing [2023-10-25T17:59:53.117Z] 36b98577449c: Preparing [2023-10-25T17:59:53.117Z] 5f4d9fc4d98d: Preparing [2023-10-25T17:59:53.117Z] 5f4d9fc4d98d: Layer already exists [2023-10-25T17:59:53.117Z] 36b98577449c: Layer already exists [2023-10-25T17:59:53.117Z] 369196c78a99: Layer already exists [2023-10-25T17:59:53.117Z] 7613b604c5bf: Layer already exists [2023-10-25T17:59:53.117Z] 5a3311aeef27: Layer already exists [2023-10-25T17:59:53.117Z] 04783819bb09b7810d10db39d52ccf9a1f06c19b-3.1.0-dev.21: digest: sha256:e1af5c508995b880893b0199948f09b62868dd92ae83e49a192721781da871ce size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:59:53.458Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:59:58.057Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2023-10-25T17:59:58.057Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-10-25T17:59:58.057Z] 7613b604c5bf: Preparing [2023-10-25T17:59:58.057Z] 5a3311aeef27: Preparing [2023-10-25T17:59:58.057Z] 369196c78a99: Preparing [2023-10-25T17:59:58.057Z] 36b98577449c: Preparing [2023-10-25T17:59:58.057Z] 5f4d9fc4d98d: Preparing [2023-10-25T17:59:58.057Z] 369196c78a99: Layer already exists [2023-10-25T17:59:58.057Z] 7613b604c5bf: Layer already exists [2023-10-25T17:59:58.057Z] 5a3311aeef27: Layer already exists [2023-10-25T17:59:58.057Z] 5f4d9fc4d98d: Layer already exists [2023-10-25T17:59:58.057Z] 36b98577449c: Layer already exists [2023-10-25T17:59:58.324Z] main: digest: sha256:e1af5c508995b880893b0199948f09b62868dd92ae83e49a192721781da871ce size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-25T17:59:58.383Z] ===================================================== [Pipeline] echo [2023-10-25T17:59:58.393Z] taggedImages: [2023-10-25T17:59:58.393Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:04783819bb09b7810d10db39d52ccf9a1f06c19b [2023-10-25T17:59:58.393Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-10-25T17:59:58.393Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.21 [2023-10-25T17:59:58.393Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:04783819bb09b7810d10db39d52ccf9a1f06c19b-3.1.0-dev.21 [2023-10-25T17:59:58.393Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:59:58.761Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-25T17:59:58.761Z] [2023-10-25T17:59:58.761Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T17:59:59.096Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-25T17:59:59.096Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-25T17:59:59.096Z] 8998bd30e6a1: Pulling fs layer [2023-10-25T17:59:59.096Z] 04944245beec: Pulling fs layer [2023-10-25T17:59:59.096Z] 699f458cf7ca: Pulling fs layer [2023-10-25T17:59:59.096Z] 765212b225bb: Pulling fs layer [2023-10-25T17:59:59.096Z] f23df028b6ca: Pulling fs layer [2023-10-25T17:59:59.096Z] d65c8cfc05b1: Pulling fs layer [2023-10-25T17:59:59.096Z] 2437ff75d9bd: Pulling fs layer [2023-10-25T17:59:59.096Z] 765212b225bb: Waiting [2023-10-25T17:59:59.096Z] d65c8cfc05b1: Waiting [2023-10-25T17:59:59.096Z] f23df028b6ca: Waiting [2023-10-25T17:59:59.096Z] 2437ff75d9bd: Waiting [2023-10-25T17:59:59.363Z] 04944245beec: Verifying Checksum [2023-10-25T17:59:59.363Z] 04944245beec: Download complete [2023-10-25T17:59:59.363Z] 765212b225bb: Verifying Checksum [2023-10-25T17:59:59.363Z] 765212b225bb: Download complete [2023-10-25T17:59:59.363Z] f23df028b6ca: Verifying Checksum [2023-10-25T17:59:59.363Z] f23df028b6ca: Download complete [2023-10-25T17:59:59.363Z] d65c8cfc05b1: Verifying Checksum [2023-10-25T17:59:59.363Z] d65c8cfc05b1: Download complete [2023-10-25T17:59:59.631Z] 699f458cf7ca: Verifying Checksum [2023-10-25T17:59:59.631Z] 699f458cf7ca: Download complete [2023-10-25T17:59:59.900Z] 8998bd30e6a1: Download complete [2023-10-25T18:00:02.483Z] 2437ff75d9bd: Verifying Checksum [2023-10-25T18:00:02.483Z] 2437ff75d9bd: Download complete [2023-10-25T18:00:05.065Z] 8998bd30e6a1: Pull complete [2023-10-25T18:00:05.065Z] 04944245beec: Pull complete [2023-10-25T18:00:06.473Z] 699f458cf7ca: Pull complete [2023-10-25T18:00:06.741Z] 765212b225bb: Pull complete [2023-10-25T18:00:07.701Z] f23df028b6ca: Pull complete [2023-10-25T18:00:11.047Z] d65c8cfc05b1: Pull complete [2023-10-25T18:00:29.251Z] 2437ff75d9bd: Pull complete [2023-10-25T18:00:29.251Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-25T18:00:29.251Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-25T18:00:29.251Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T18:00:29.439Z] prd-ubuntu20.04-docker-arm64-4c-16g-10406 does not seem to be running inside a container [2023-10-25T18:00:29.504Z] $ 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/108 -v /w/workspace/device-gpio/108:/w/workspace/device-gpio/108:rw,z -v /w/workspace/device-gpio/108@tmp:/w/workspace/device-gpio/108@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-25T18:00:31.978Z] $ docker top 43d520da9f014e5ee06e6241e2d92472f73d6e16f03723bc1dca79409be51c5e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T18:00:32.853Z] ---> job-cost.sh [2023-10-25T18:00:32.853Z] lf-activate-venv: SKIPPING [2023-10-25T18:00:32.853Z] INFO: No Stack... [2023-10-25T18:00:33.119Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-25T18:00:34.198Z] INFO: Archiving Costs [Pipeline] sh [2023-10-25T18:00:34.837Z] + cut -d, -f6 [2023-10-25T18:00:34.838Z] + cat /w/workspace/device-gpio/108/archives/cost.csv [Pipeline] lock [2023-10-25T18:00:34.895Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-108-stack-cost] [2023-10-25T18:00:34.903Z] Resource [jenkins-edgexfoundry-device-gpio-main-108-stack-cost] did not exist. Created. [2023-10-25T18:00:34.903Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-108-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-25T18:00:35.547Z] /w/workspace/device-gpio/108@tmp/durable-297e757e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-25T18:00:36.215Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-25T18:00:36.230Z] Warning: overwriting stash ‘stack-cost’ [2023-10-25T18:00:36.289Z] Stashed 1 file(s) [Pipeline] } [2023-10-25T18:00:36.298Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-108-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-25T18:00:36.310Z] $ docker stop --time=1 43d520da9f014e5ee06e6241e2d92472f73d6e16f03723bc1dca79409be51c5e [2023-10-25T18:00:38.374Z] $ docker rm -f --volumes 43d520da9f014e5ee06e6241e2d92472f73d6e16f03723bc1dca79409be51c5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-10-25T18:00:38.809Z] provisioning config files... [2023-10-25T18:00:38.816Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config7475659762289759480tmp [Pipeline] { [Pipeline] sh [2023-10-25T18:00:39.110Z] + set +x [2023-10-25T18:00:39.110Z] + curl -s https://codecov.io/bash [2023-10-25T18:00:39.110Z] + bash -s -- [2023-10-25T18:00:39.110Z] [2023-10-25T18:00:39.110Z] _____ _ [2023-10-25T18:00:39.110Z] / ____| | | [2023-10-25T18:00:39.110Z] | | ___ __| | ___ ___ _____ __ [2023-10-25T18:00:39.110Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-25T18:00:39.110Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-25T18:00:39.110Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-25T18:00:39.110Z] Bash-1.0.6 [2023-10-25T18:00:39.110Z] [2023-10-25T18:00:39.110Z] [2023-10-25T18:00:39.110Z] ==> git version 2.25.1 found [2023-10-25T18:00:39.110Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-10-25T18:00:39.110Z] Release-Date: 2020-01-08 [2023-10-25T18:00:39.110Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-10-25T18:00:39.110Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-25T18:00:39.110Z] ==> Jenkins CI detected. [2023-10-25T18:00:39.110Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2023-10-25T18:00:39.110Z] project root: . [2023-10-25T18:00:39.110Z] --> token set from env [2023-10-25T18:00:39.110Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-25T18:00:39.110Z] ==> Running gcov in . (disable via -X gcov) [2023-10-25T18:00:39.110Z] ==> Python coveragepy not found [2023-10-25T18:00:39.110Z] ==> Searching for coverage reports in: [2023-10-25T18:00:39.110Z] + . [2023-10-25T18:00:39.110Z] -> Found 1 reports [2023-10-25T18:00:39.110Z] ==> Detecting git/mercurial file structure [2023-10-25T18:00:39.369Z] ==> Reading reports [2023-10-25T18:00:39.369Z] + ./coverage.out bytes=10 [2023-10-25T18:00:39.369Z] ==> Appending adjustments [2023-10-25T18:00:39.369Z] https://docs.codecov.io/docs/fixing-reports [2023-10-25T18:00:39.369Z] + Found adjustments [2023-10-25T18:00:39.369Z] ==> Gzipping contents [2023-10-25T18:00:39.369Z] 4.0K /tmp/codecov.SsKgTb.gz [2023-10-25T18:00:39.369Z] ==> Uploading reports [2023-10-25T18:00:39.369Z] url: https://codecov.io [2023-10-25T18:00:39.369Z] query: branch=main&commit=04783819bb09b7810d10db39d52ccf9a1f06c19b&build=108&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F108%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-25T18:00:39.369Z] -> Pinging Codecov [2023-10-25T18:00:39.369Z] 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=04783819bb09b7810d10db39d52ccf9a1f06c19b&build=108&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F108%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-25T18:00:39.369Z] -> Uploading to [2023-10-25T18:00:39.369Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-25/3EC07B1A8CA8AF9BCAA0BB9F0134797F/04783819bb09b7810d10db39d52ccf9a1f06c19b/5df22f9c-2c40-47dd-9e3a-6ce226cba0c3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231025T180039Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e0af8f1f0124076d44196e0c8b708817babbce59f20384797cb75c3cac67d9bf [2023-10-25T18:00:39.628Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-25T18:00:39.628Z] Dload Upload Total Spent Left Speed [2023-10-25T18:00:39.886Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 563 0 0 100 563 0 1627 --:--:-- --:--:-- --:--:-- 1627 [2023-10-25T18:00:39.887Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/04783819bb09b7810d10db39d52ccf9a1f06c19b [Pipeline] } [2023-10-25T18:00:39.893Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-25T18:00:40.128Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-25T18:00:40.138Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T18:00:40.442Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-25T18:00:40.442Z] [2023-10-25T18:00:40.442Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T18:00:40.743Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-25T18:00:40.743Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-25T18:00:40.743Z] df9b9388f04a: Pulling fs layer [2023-10-25T18:00:40.743Z] 52dc419b0ee2: Pulling fs layer [2023-10-25T18:00:40.743Z] 25bc292e5bac: Pulling fs layer [2023-10-25T18:00:40.743Z] 114826534d7a: Pulling fs layer [2023-10-25T18:00:40.743Z] 4657fd5d0bcf: Pulling fs layer [2023-10-25T18:00:40.743Z] 6ad1cebc031e: Pulling fs layer [2023-10-25T18:00:40.743Z] 8a3aa393b2d8: Pulling fs layer [2023-10-25T18:00:40.743Z] 4657fd5d0bcf: Waiting [2023-10-25T18:00:40.743Z] 6ad1cebc031e: Waiting [2023-10-25T18:00:40.743Z] 114826534d7a: Waiting [2023-10-25T18:00:40.743Z] 8a3aa393b2d8: Waiting [2023-10-25T18:00:40.743Z] 25bc292e5bac: Verifying Checksum [2023-10-25T18:00:40.743Z] 25bc292e5bac: Download complete [2023-10-25T18:00:40.743Z] 52dc419b0ee2: Verifying Checksum [2023-10-25T18:00:40.743Z] 52dc419b0ee2: Download complete [2023-10-25T18:00:40.743Z] 4657fd5d0bcf: Download complete [2023-10-25T18:00:40.743Z] df9b9388f04a: Download complete [2023-10-25T18:00:41.001Z] 6ad1cebc031e: Verifying Checksum [2023-10-25T18:00:41.001Z] 6ad1cebc031e: Download complete [2023-10-25T18:00:41.001Z] df9b9388f04a: Pull complete [2023-10-25T18:00:41.002Z] 52dc419b0ee2: Pull complete [2023-10-25T18:00:41.002Z] 25bc292e5bac: Pull complete [2023-10-25T18:00:41.568Z] 114826534d7a: Verifying Checksum [2023-10-25T18:00:41.568Z] 114826534d7a: Download complete [2023-10-25T18:00:41.568Z] 8a3aa393b2d8: Verifying Checksum [2023-10-25T18:00:41.568Z] 8a3aa393b2d8: Download complete [2023-10-25T18:00:44.848Z] 114826534d7a: Pull complete [2023-10-25T18:00:44.848Z] 4657fd5d0bcf: Pull complete [2023-10-25T18:00:45.106Z] 6ad1cebc031e: Pull complete [2023-10-25T18:00:47.638Z] 8a3aa393b2d8: Pull complete [2023-10-25T18:00:47.638Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-25T18:00:47.638Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-25T18:00:47.638Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T18:00:47.718Z] prd-ubuntu20.04-docker-8c-8g-10405 does not seem to be running inside a container [2023-10-25T18:00:47.749Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-10-25T18:00:53.499Z] $ docker top 9dd466702942e00f60c407acf530323fbcdf96af33e8b2c3475392bd30727e20 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-25T18:00:53.562Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2023-10-25T18:00:53.841Z] + set -o pipefail [2023-10-25T18:00:53.841Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2023-10-25T18:01:01.966Z] [2023-10-25T18:01:01.966Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2023-10-25T18:01:01.966Z] [2023-10-25T18:01:01.966Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/6977c670-30f7-4551-adcc-6aa08124e801 [2023-10-25T18:01:01.966Z] [2023-10-25T18:01:01.966Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-25T18:01:01.966Z] [2023-10-25T18:01:02.534Z] [2023-10-25T18:01:02.534Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-25T18:01:02.534Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-25T18:01:02.534Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-10-25T18:01:02.545Z] $ docker stop --time=1 9dd466702942e00f60c407acf530323fbcdf96af33e8b2c3475392bd30727e20 [2023-10-25T18:01:07.037Z] $ docker rm -f --volumes 9dd466702942e00f60c407acf530323fbcdf96af33e8b2c3475392bd30727e20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-25T18:01:07.719Z] + git log --format=format:%s -1 04783819bb09b7810d10db39d52ccf9a1f06c19b [Pipeline] sh [2023-10-25T18:01:08.005Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-25T18:01:08.005Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T18:01:08.298Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T18:01:08.298Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T18:01:08.364Z] prd-ubuntu20.04-docker-8c-8g-10405 does not seem to be running inside a container [2023-10-25T18:01:08.395Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-25T18:01:08.777Z] $ docker top adbfc358478147ddf3bb6d67daafba1b6221bae05a37751f0eb5d6229d087128 -eo pid,comm [2023-10-25T18:01:08.822Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-10-25T18:01:08.822Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-25T18:01:08.860Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-25T18:01:08.860Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-25T18:01:08.965Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-25T18:01:08.967Z] $ docker exec adbfc358478147ddf3bb6d67daafba1b6221bae05a37751f0eb5d6229d087128 ssh-agent [2023-10-25T18:01:09.071Z] SSH_AUTH_SOCK=/tmp/ssh-yk0GhqB74F4P/agent.33 [2023-10-25T18:01:09.071Z] SSH_AGENT_PID=39 [2023-10-25T18:01:09.075Z] Running ssh-add (command line suppressed) [2023-10-25T18:01:09.174Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3887343200025606595.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3887343200025606595.key) [2023-10-25T18:01:09.185Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-25T18:01:09.470Z] + git semver tag [2023-10-25T18:01:09.729Z] 2023-10-25 18:01:09,654 [run_tag] DEBUG tag force:False [2023-10-25T18:01:09.729Z] 2023-10-25 18:01:09,654 [check_head_tag] DEBUG check head tag [2023-10-25T18:01:09.729Z] 2023-10-25 18:01:09,654 [execute] INFO git cat-file --batch-check [2023-10-25T18:01:09.729Z] 2023-10-25 18:01:09,655 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-10-25T18:01:09.729Z] 2023-10-25 18:01:09,658 [execute] INFO git cat-file --batch [2023-10-25T18:01:09.729Z] 2023-10-25 18:01:09,658 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-10-25T18:01:09.729Z] 2023-10-25 18:01:09,669 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-25T18:01:09.729Z] 2023-10-25 18:01:09,669 [execute] INFO git tag -a v3.1.0-dev.21 -m v3.1.0-dev.21 [2023-10-25T18:01:09.729Z] 2023-10-25 18:01:09,669 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.21', '-m', 'v3.1.0-dev.21'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-10-25T18:01:09.729Z] 2023-10-25 18:01:09,673 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-25T18:01:09.729Z] 3.1.0-dev.21 [Pipeline] } [2023-10-25T18:01:09.735Z] $ docker exec --env ******** --env ******** adbfc358478147ddf3bb6d67daafba1b6221bae05a37751f0eb5d6229d087128 ssh-agent -k [2023-10-25T18:01:09.824Z] unset SSH_AUTH_SOCK; [2023-10-25T18:01:09.825Z] unset SSH_AGENT_PID; [2023-10-25T18:01:09.825Z] echo Agent pid 39 killed; [2023-10-25T18:01:09.833Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-25T18:01:10.137Z] + git semver [Pipeline] } [2023-10-25T18:01:10.405Z] $ docker stop --time=1 adbfc358478147ddf3bb6d67daafba1b6221bae05a37751f0eb5d6229d087128 [2023-10-25T18:01:11.653Z] $ docker rm -f --volumes adbfc358478147ddf3bb6d67daafba1b6221bae05a37751f0eb5d6229d087128 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T18:01:12.026Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-25T18:01:12.026Z] [2023-10-25T18:01:12.026Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T18:01:12.321Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-25T18:01:12.321Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-25T18:01:12.321Z] ab5ef0e58194: Pulling fs layer [2023-10-25T18:01:12.321Z] 9712f1f96733: Pulling fs layer [2023-10-25T18:01:12.321Z] 63f879dbbcfc: Pulling fs layer [2023-10-25T18:01:12.321Z] 0d9ebad4ef96: Pulling fs layer [2023-10-25T18:01:12.321Z] e9a5061849ea: Pulling fs layer [2023-10-25T18:01:12.321Z] d747dcd14b5f: Pulling fs layer [2023-10-25T18:01:12.321Z] 2de7ff778b66: Pulling fs layer [2023-10-25T18:01:12.321Z] 2de7ff778b66: Waiting [2023-10-25T18:01:12.321Z] d747dcd14b5f: Waiting [2023-10-25T18:01:12.321Z] 9712f1f96733: Verifying Checksum [2023-10-25T18:01:12.321Z] 9712f1f96733: Download complete [2023-10-25T18:01:12.581Z] 63f879dbbcfc: Verifying Checksum [2023-10-25T18:01:12.581Z] 63f879dbbcfc: Download complete [2023-10-25T18:01:12.839Z] e9a5061849ea: Verifying Checksum [2023-10-25T18:01:12.839Z] e9a5061849ea: Download complete [2023-10-25T18:01:12.839Z] d747dcd14b5f: Verifying Checksum [2023-10-25T18:01:12.839Z] d747dcd14b5f: Download complete [2023-10-25T18:01:12.839Z] ab5ef0e58194: Verifying Checksum [2023-10-25T18:01:12.839Z] ab5ef0e58194: Download complete [2023-10-25T18:01:12.839Z] 0d9ebad4ef96: Verifying Checksum [2023-10-25T18:01:12.839Z] 0d9ebad4ef96: Download complete [2023-10-25T18:01:12.839Z] 2de7ff778b66: Verifying Checksum [2023-10-25T18:01:12.839Z] 2de7ff778b66: Download complete [2023-10-25T18:01:15.362Z] ab5ef0e58194: Pull complete [2023-10-25T18:01:15.362Z] 9712f1f96733: Pull complete [2023-10-25T18:01:15.927Z] 63f879dbbcfc: Pull complete [2023-10-25T18:01:19.199Z] 0d9ebad4ef96: Pull complete [2023-10-25T18:01:19.199Z] e9a5061849ea: Pull complete [2023-10-25T18:01:19.456Z] d747dcd14b5f: Pull complete [2023-10-25T18:01:20.389Z] 2de7ff778b66: Pull complete [2023-10-25T18:01:20.389Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-25T18:01:20.389Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-25T18:01:20.389Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T18:01:20.473Z] prd-ubuntu20.04-docker-8c-8g-10405 does not seem to be running inside a container [2023-10-25T18:01:20.500Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-10-25T18:01:26.613Z] $ docker top 15cdf0d26f694910db9f36187196af6851292b94a52b084e06664bbf254be695 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-25T18:01:26.674Z] provisioning config files... [2023-10-25T18:01:26.680Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1508434219395444246tmp [2023-10-25T18:01:26.689Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config15086245052775749732tmp [2023-10-25T18:01:26.699Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config17795732914557553967tmp [Pipeline] { [Pipeline] echo [2023-10-25T18:01:26.713Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T18:01:26.995Z] ---> sigul-configuration.sh [2023-10-25T18:01:26.995Z] gpg: directory `/root/.gnupg' created [2023-10-25T18:01:26.995Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-25T18:01:26.995Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-25T18:01:26.995Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-25T18:01:26.995Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-25T18:01:26.995Z] gpg: CAST5 encrypted data [2023-10-25T18:01:26.995Z] gpg: encrypted with 1 passphrase [2023-10-25T18:01:26.995Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-25T18:01:27.281Z] + mkdir /home/jenkins [2023-10-25T18:01:27.281Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-25T18:01:27.564Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-10-25T18:01:27.573Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T18:01:27.857Z] ---> sigul-install.sh [2023-10-25T18:01:27.857Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-25T18:01:28.139Z] + git tag --list [2023-10-25T18:01:28.140Z] v1.0.0 [2023-10-25T18:01:28.140Z] v2.1.0 [2023-10-25T18:01:28.140Z] v2.1.1 [2023-10-25T18:01:28.140Z] v2.2.0 [2023-10-25T18:01:28.140Z] v2.3.0 [2023-10-25T18:01:28.140Z] v3.0 [2023-10-25T18:01:28.140Z] v3.0.0 [2023-10-25T18:01:28.140Z] v3.1.0-dev.1 [2023-10-25T18:01:28.140Z] v3.1.0-dev.10 [2023-10-25T18:01:28.140Z] v3.1.0-dev.11 [2023-10-25T18:01:28.140Z] v3.1.0-dev.12 [2023-10-25T18:01:28.140Z] v3.1.0-dev.13 [2023-10-25T18:01:28.140Z] v3.1.0-dev.14 [2023-10-25T18:01:28.140Z] v3.1.0-dev.15 [2023-10-25T18:01:28.140Z] v3.1.0-dev.16 [2023-10-25T18:01:28.140Z] v3.1.0-dev.17 [2023-10-25T18:01:28.140Z] v3.1.0-dev.18 [2023-10-25T18:01:28.140Z] v3.1.0-dev.19 [2023-10-25T18:01:28.140Z] v3.1.0-dev.2 [2023-10-25T18:01:28.140Z] v3.1.0-dev.20 [2023-10-25T18:01:28.140Z] v3.1.0-dev.21 [2023-10-25T18:01:28.140Z] v3.1.0-dev.3 [2023-10-25T18:01:28.140Z] v3.1.0-dev.4 [2023-10-25T18:01:28.140Z] v3.1.0-dev.5 [2023-10-25T18:01:28.140Z] v3.1.0-dev.6 [2023-10-25T18:01:28.140Z] v3.1.0-dev.7 [2023-10-25T18:01:28.140Z] v3.1.0-dev.8 [2023-10-25T18:01:28.140Z] v3.1.0-dev.9 [Pipeline] sh [2023-10-25T18:01:28.426Z] + lftools sign git-tag v3.1.0-dev.21 [2023-10-25T18:01:28.995Z] Signing Git tag with Sigul... [2023-10-25T18:01:28.995Z] Signing v3.1.0-dev.21 [Pipeline] echo [2023-10-25T18:01:29.266Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T18:01:29.544Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-25T18:01:29.551Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-25T18:01:29.574Z] $ docker stop --time=1 15cdf0d26f694910db9f36187196af6851292b94a52b084e06664bbf254be695 [2023-10-25T18:01:30.861Z] $ docker rm -f --volumes 15cdf0d26f694910db9f36187196af6851292b94a52b084e06664bbf254be695 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-25T18:01:31.254Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-25T18:01:31.254Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T18:01:31.551Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T18:01:31.551Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T18:01:31.622Z] prd-ubuntu20.04-docker-8c-8g-10405 does not seem to be running inside a container [2023-10-25T18:01:31.655Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-25T18:01:31.970Z] $ docker top c4052682629eb6e6058cd65737ad607b7bc5eda8dedf891a3dacb65b265de878 -eo pid,comm [2023-10-25T18:01:32.019Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-10-25T18:01:32.019Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-25T18:01:32.053Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-25T18:01:32.053Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-25T18:01:32.165Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-25T18:01:32.168Z] $ docker exec c4052682629eb6e6058cd65737ad607b7bc5eda8dedf891a3dacb65b265de878 ssh-agent [2023-10-25T18:01:32.270Z] SSH_AUTH_SOCK=/tmp/ssh-Jl2E1lyhGPd7/agent.33 [2023-10-25T18:01:32.270Z] SSH_AGENT_PID=39 [2023-10-25T18:01:32.274Z] Running ssh-add (command line suppressed) [2023-10-25T18:01:32.384Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_10134367171074449279.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_10134367171074449279.key) [2023-10-25T18:01:32.396Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-25T18:01:32.679Z] + git semver bump pre [2023-10-25T18:01:32.938Z] 2023-10-25 18:01:32,838 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-25T18:01:32.938Z] 2023-10-25 18:01:32,838 [bump_version] DEBUG bumping version:3.1.0-dev.21 on axis:pre with prefix:dev [2023-10-25T18:01:32.938Z] 2023-10-25 18:01:32,838 [bump_version] DEBUG bumped version:3.1.0-dev.22 [2023-10-25T18:01:32.938Z] 2023-10-25 18:01:32,838 [write_version] DEBUG write version:3.1.0-dev.22 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True [2023-10-25T18:01:32.938Z] 2023-10-25 18:01:32,838 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-25T18:01:32.938Z] 2023-10-25 18:01:32,838 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-25T18:01:32.938Z] 2023-10-25 18:01:32,840 [execute] INFO git cat-file --batch-check [2023-10-25T18:01:32.938Z] 2023-10-25 18:01:32,841 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-25T18:01:32.938Z] 2023-10-25 18:01:32,845 [execute] INFO git cat-file --batch [2023-10-25T18:01:32.938Z] 2023-10-25 18:01:32,846 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-25T18:01:32.938Z] 2023-10-25 18:01:32,850 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-25T18:01:32.938Z] 3.1.0-dev.22 [Pipeline] } [2023-10-25T18:01:32.946Z] $ docker exec --env ******** --env ******** c4052682629eb6e6058cd65737ad607b7bc5eda8dedf891a3dacb65b265de878 ssh-agent -k [2023-10-25T18:01:33.041Z] unset SSH_AUTH_SOCK; [2023-10-25T18:01:33.041Z] unset SSH_AGENT_PID; [2023-10-25T18:01:33.041Z] echo Agent pid 39 killed; [2023-10-25T18:01:33.051Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-25T18:01:33.362Z] + git semver [Pipeline] } [2023-10-25T18:01:33.633Z] $ docker stop --time=1 c4052682629eb6e6058cd65737ad607b7bc5eda8dedf891a3dacb65b265de878 [2023-10-25T18:01:34.892Z] $ docker rm -f --volumes c4052682629eb6e6058cd65737ad607b7bc5eda8dedf891a3dacb65b265de878 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-25T18:01:35.225Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-25T18:01:35.225Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T18:01:35.524Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T18:01:35.524Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T18:01:35.590Z] prd-ubuntu20.04-docker-8c-8g-10405 does not seem to be running inside a container [2023-10-25T18:01:35.620Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-25T18:01:35.952Z] $ docker top b8090a1533dd14682e36327bc7d72fc0b26449d42a01ed8bf486d4d65604a552 -eo pid,comm [2023-10-25T18:01:35.999Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-10-25T18:01:35.999Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-25T18:01:36.034Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-25T18:01:36.034Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-25T18:01:36.141Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-25T18:01:36.143Z] $ docker exec b8090a1533dd14682e36327bc7d72fc0b26449d42a01ed8bf486d4d65604a552 ssh-agent [2023-10-25T18:01:36.250Z] SSH_AUTH_SOCK=/tmp/ssh-ju6B5eMS8aaq/agent.32 [2023-10-25T18:01:36.250Z] SSH_AGENT_PID=38 [2023-10-25T18:01:36.256Z] Running ssh-add (command line suppressed) [2023-10-25T18:01:36.364Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9519817540368519204.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9519817540368519204.key) [2023-10-25T18:01:36.380Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-25T18:01:36.664Z] + git semver push [2023-10-25T18:01:36.923Z] 2023-10-25 18:01:36,826 [run_push] DEBUG push [2023-10-25T18:01:36.923Z] 2023-10-25 18:01:36,826 [execute] INFO git cat-file --batch-check [2023-10-25T18:01:36.923Z] 2023-10-25 18:01:36,827 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-25T18:01:36.923Z] 2023-10-25 18:01:36,830 [execute] INFO git rev-list 37646bd890f0084419645b531eaad976c4975c80 -- [2023-10-25T18:01:36.923Z] 2023-10-25 18:01:36,831 [execute] DEBUG Popen(['git', 'rev-list', '37646bd890f0084419645b531eaad976c4975c80', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-25T18:01:36.923Z] 2023-10-25 18:01:36,838 [execute] INFO git fetch -v origin [2023-10-25T18:01:36.923Z] 2023-10-25 18:01:36,838 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-10-25T18:01:37.492Z] 2023-10-25 18:01:37,393 [run_push] DEBUG no remote changes detected [2023-10-25T18:01:37.492Z] 2023-10-25 18:01:37,394 [execute] INFO git push origin semver [2023-10-25T18:01:37.492Z] 2023-10-25 18:01:37,394 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-25T18:01:38.871Z] 2023-10-25 18:01:38,520 [run_push] DEBUG push all version tags [2023-10-25T18:01:38.871Z] 2023-10-25 18:01:38,521 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-25T18:01:38.871Z] 2023-10-25 18:01:38,521 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-10-25T18:01:39.439Z] 2023-10-25 18:01:39,368 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-25T18:01:39.439Z] 3.1.0-dev.22 [Pipeline] } [2023-10-25T18:01:39.447Z] $ docker exec --env ******** --env ******** b8090a1533dd14682e36327bc7d72fc0b26449d42a01ed8bf486d4d65604a552 ssh-agent -k [2023-10-25T18:01:39.527Z] unset SSH_AUTH_SOCK; [2023-10-25T18:01:39.527Z] unset SSH_AGENT_PID; [2023-10-25T18:01:39.527Z] echo Agent pid 38 killed; [2023-10-25T18:01:39.538Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-25T18:01:39.838Z] + git semver [Pipeline] } [2023-10-25T18:01:40.108Z] $ docker stop --time=1 b8090a1533dd14682e36327bc7d72fc0b26449d42a01ed8bf486d4d65604a552 [2023-10-25T18:01:41.366Z] $ docker rm -f --volumes b8090a1533dd14682e36327bc7d72fc0b26449d42a01ed8bf486d4d65604a552 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-10-25T18:01:41.925Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2023-10-25T18:01:41.925Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-10-25T18:01:41.925Z] total 16 [2023-10-25T18:01:41.925Z] drwxr-xr-x 3 root root 4096 Oct 25 17:55 . [2023-10-25T18:01:41.925Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 18:01 .. [2023-10-25T18:01:41.925Z] drwxr-xr-x 2 root root 4096 Oct 25 17:55 cost [2023-10-25T18:01:41.925Z] -rw-r--r-- 1 root root 83 Oct 25 17:55 cost.csv [2023-10-25T18:01:41.925Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2023-10-25T18:01:41.925Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-10-25T18:01:41.925Z] total 16 [2023-10-25T18:01:41.925Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 17:55 . [2023-10-25T18:01:41.925Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 18:01 .. [2023-10-25T18:01:41.925Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 17:55 cost [2023-10-25T18:01:41.925Z] -rw-r--r-- 1 jenkins jenkins 83 Oct 25 17:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-25T18:01:42.213Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T18:01:43.068Z] ---> package-listing.sh [2023-10-25T18:01:43.068Z] ++ facter osfamily [2023-10-25T18:01:43.068Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-25T18:01:43.327Z] + OS_FAMILY=debian [2023-10-25T18:01:43.327Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2023-10-25T18:01:43.327Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-25T18:01:43.327Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-25T18:01:43.327Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-25T18:01:43.327Z] + PACKAGES=/tmp/packages_start.txt [2023-10-25T18:01:43.327Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-10-25T18:01:43.327Z] + PACKAGES=/tmp/packages_end.txt [2023-10-25T18:01:43.327Z] + case "${OS_FAMILY}" in [2023-10-25T18:01:43.327Z] + dpkg -l [2023-10-25T18:01:43.327Z] + grep '^ii' [2023-10-25T18:01:43.327Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-25T18:01:43.327Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-25T18:01:43.327Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-25T18:01:43.327Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-10-25T18:01:43.327Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2023-10-25T18:01:43.327Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2023-10-25T18:01:43.337Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-25T18:01:43.612Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T18:01:44.269Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-25T18:01:44.269Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T18:01:44.378Z] prd-ubuntu20.04-docker-8c-8g-10405 does not seem to be running inside a container [2023-10-25T18:01:44.441Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-25T18:01:44.661Z] $ docker top f035ec98cc21ad5f4214718a585fa320fb352cf4c6bd937c72d0605107d525bf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-25T18:01:45.001Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-25T18:01:45.286Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-25T18:01:45.569Z] + ls /var/log/sa-host [2023-10-25T18:01:45.569Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T18:01:45.741Z] provisioning config files... [2023-10-25T18:01:45.750Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config426376880945006056tmp [Pipeline] { [Pipeline] echo [2023-10-25T18:01:45.761Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T18:01:46.041Z] ---> create-netrc.sh [Pipeline] } [2023-10-25T18:01:46.048Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-25T18:01:46.379Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-25T18:01:46.387Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T18:01:46.670Z] ---> sudo-logs.sh [2023-10-25T18:01:46.670Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-25T18:01:46.696Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T18:01:46.975Z] ---> job-cost.sh [2023-10-25T18:01:46.975Z] lf-activate-venv: SKIPPING [2023-10-25T18:01:46.975Z] DEBUG: total: 0.2199999988079071 [2023-10-25T18:01:46.975Z] INFO: Retrieving Stack Cost... [2023-10-25T18:01:47.234Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-25T18:01:47.801Z] INFO: Archiving Costs [Pipeline] echo [2023-10-25T18:01:47.810Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T18:01:48.090Z] ---> logs-deploy.sh [2023-10-25T18:01:48.090Z] lf-activate-venv: SKIPPING [2023-10-25T18:01:48.090Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/108 [2023-10-25T18:01:48.090Z] INFO: archiving workspace using pattern(s): [2023-10-25T18:01:49.025Z] Archives upload complete. [2023-10-25T18:01:49.025Z] INFO: archiving logs to Nexus