Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 26847311c5e80852903f42d5f4b76f1d4cba51bb 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-ssh11245222550004131830.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-ssh10814455715342388697.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-sdk-go/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-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13263930777923163642.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-ssh7811996453299078948.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-sdk-go/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-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15498747832997980639.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-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 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-6605’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6612 in /w/workspace/edgexfoundry_device-sdk-go_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-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 26847311c5e80852903f42d5f4b76f1d4cba51bb (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.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 26847311c5e80852903f42d5f4b76f1d4cba51bb # timeout=10 Commit message: "fix: Change URIs for provision unit tests to go to edgexfoundry (#1514)" > git rev-list --no-walk aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-19T19:08:19.473Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-19T19:08:19.538Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-19T19:08:19.563Z] ========================================================= [2023-09-19T19:08:19.563Z] EdgeX Global Pipelines Version Info [2023-09-19T19:08:19.563Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-19T19:08:20.269Z] ------------------- [2023-09-19T19:08:20.269Z] stable info: [2023-09-19T19:08:20.269Z] ------------------- [2023-09-19T19:08:20.269Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-19T19:08:20.269Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-19T19:08:20.269Z] Message: update stable to v1.0.254 [2023-09-19T19:08:20.837Z] ------------------- [2023-09-19T19:08:20.837Z] experimental info: [2023-09-19T19:08:20.837Z] ------------------- [2023-09-19T19:08:20.837Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-19T19:08:20.837Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-19T19:08:20.837Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-19T19:08:21.009Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-19T19:08:21.022Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-19T19:08:21.037Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-19T19:08:21.055Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-19T19:08:21.070Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-19T19:08:21.086Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-19T19:08:21.098Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-19T19:08:21.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-19T19:08:21.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-19T19:08:21.131Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-19T19:08:21.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-19T19:08:21.152Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-19T19:08:21.160Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-19T19:08:21.174Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-19T19:08:21.189Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-19T19:08:21.199Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-19T19:08:21.214Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-19T19:08:21.233Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-19T19:08:21.252Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-19T19:08:21.270Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-19T19:08:21.288Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-19T19:08:21.307Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-19T19:08:21.322Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-19T19:08:21.340Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-19T19:08:21.357Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-19T19:08:21.374Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-19T19:08:21.392Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-19T19:08:21.410Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-19T19:08:21.429Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-19T19:08:21.448Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-19T19:08:21.463Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 26847311c5e80852903f42d5f4b76f1d4cba51bb [Pipeline] echo [2023-09-19T19:08:21.477Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2684731 [Pipeline] echo [2023-09-19T19:08:21.492Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T19:08:21.541Z] provisioning config files... [2023-09-19T19:08:21.553Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17800995269186224865tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T19:08:21.855Z] ---> docker-login.sh [2023-09-19T19:08:21.856Z] nexus3.edgexfoundry.org:10001 [2023-09-19T19:08:22.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T19:08:22.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T19:08:22.116Z] Configure a credential helper to remove this warning. See [2023-09-19T19:08:22.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T19:08:22.116Z] [2023-09-19T19:08:22.116Z] Login Succeeded [2023-09-19T19:08:22.116Z] nexus3.edgexfoundry.org:10002 [2023-09-19T19:08:22.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T19:08:22.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T19:08:22.376Z] Configure a credential helper to remove this warning. See [2023-09-19T19:08:22.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T19:08:22.376Z] [2023-09-19T19:08:22.376Z] Login Succeeded [2023-09-19T19:08:22.376Z] nexus3.edgexfoundry.org:10003 [2023-09-19T19:08:22.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T19:08:22.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T19:08:22.376Z] Configure a credential helper to remove this warning. See [2023-09-19T19:08:22.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T19:08:22.376Z] [2023-09-19T19:08:22.376Z] Login Succeeded [2023-09-19T19:08:22.376Z] nexus3.edgexfoundry.org:10004 [2023-09-19T19:08:22.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T19:08:22.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T19:08:22.636Z] Configure a credential helper to remove this warning. See [2023-09-19T19:08:22.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T19:08:22.636Z] [2023-09-19T19:08:22.636Z] Login Succeeded [2023-09-19T19:08:22.636Z] docker.io [2023-09-19T19:08:22.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T19:08:22.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T19:08:22.896Z] Configure a credential helper to remove this warning. See [2023-09-19T19:08:22.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T19:08:22.896Z] [2023-09-19T19:08:22.896Z] Login Succeeded [2023-09-19T19:08:22.896Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T19:08:22.904Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-19T19:08:23.294Z] + git rev-list -1 --merges 26847311c5e80852903f42d5f4b76f1d4cba51bb~1..26847311c5e80852903f42d5f4b76f1d4cba51bb [Pipeline] echo [2023-09-19T19:08:23.343Z] -----------> git rev-list -1 --merges 26847311c5e80852903f42d5f4b76f1d4cba51bb~1..26847311c5e80852903f42d5f4b76f1d4cba51bb 26847311c5e80852903f42d5f4b76f1d4cba51bb [false] [Pipeline] sh [2023-09-19T19:08:23.635Z] + git log --format=format:%s -1 26847311c5e80852903f42d5f4b76f1d4cba51bb [Pipeline] echo [2023-09-19T19:08:23.650Z] ========================================================= [2023-09-19T19:08:23.650Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-19T19:08:23.650Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T19:08:23.972Z] + git log --format=format:%s -1 26847311c5e80852903f42d5f4b76f1d4cba51bb [Pipeline] echo [2023-09-19T19:08:23.984Z] [semverPrep] GIT_COMMIT: 26847311c5e80852903f42d5f4b76f1d4cba51bb, Commit Message: fix: Change URIs for provision unit tests to go to edgexfoundry (#1514) [Pipeline] echo [2023-09-19T19:08:23.992Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-19T19:08:24.365Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-19T19:08:24.365Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-19T19:08:24.365Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-19T19:08:24.365Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-19T19:08:24.365Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-19T19:08:24.365Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-19T19:08:24.365Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T19:08:24.778Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T19:08:24.778Z] [2023-09-19T19:08:24.778Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T19:08:25.078Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T19:08:25.078Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-19T19:08:25.078Z] b85a868b505f: Pulling fs layer [2023-09-19T19:08:25.078Z] e2be974225ed: Pulling fs layer [2023-09-19T19:08:25.078Z] 339a4e72a1f5: Pulling fs layer [2023-09-19T19:08:25.078Z] 988bab9f4d93: Pulling fs layer [2023-09-19T19:08:25.078Z] 1469e6f7b9e6: Pulling fs layer [2023-09-19T19:08:25.078Z] eaf3925da568: Pulling fs layer [2023-09-19T19:08:25.078Z] bab4dde63d76: Pulling fs layer [2023-09-19T19:08:25.078Z] bde34c3a00c8: Pulling fs layer [2023-09-19T19:08:25.078Z] 1469e6f7b9e6: Waiting [2023-09-19T19:08:25.078Z] bab4dde63d76: Waiting [2023-09-19T19:08:25.078Z] 988bab9f4d93: Waiting [2023-09-19T19:08:25.078Z] b352a97aabf1: Pulling fs layer [2023-09-19T19:08:25.078Z] 4872d77fe225: Pulling fs layer [2023-09-19T19:08:25.078Z] 5851b861e8e6: Pulling fs layer [2023-09-19T19:08:25.078Z] eaf3925da568: Waiting [2023-09-19T19:08:25.078Z] b352a97aabf1: Waiting [2023-09-19T19:08:25.078Z] 4872d77fe225: Waiting [2023-09-19T19:08:25.078Z] 5851b861e8e6: Waiting [2023-09-19T19:08:25.078Z] e2be974225ed: Verifying Checksum [2023-09-19T19:08:25.078Z] e2be974225ed: Download complete [2023-09-19T19:08:25.078Z] 988bab9f4d93: Verifying Checksum [2023-09-19T19:08:25.078Z] 988bab9f4d93: Download complete [2023-09-19T19:08:25.340Z] 1469e6f7b9e6: Verifying Checksum [2023-09-19T19:08:25.340Z] 1469e6f7b9e6: Download complete [2023-09-19T19:08:25.340Z] eaf3925da568: Verifying Checksum [2023-09-19T19:08:25.340Z] eaf3925da568: Download complete [2023-09-19T19:08:25.340Z] 339a4e72a1f5: Verifying Checksum [2023-09-19T19:08:25.340Z] 339a4e72a1f5: Download complete [2023-09-19T19:08:25.340Z] bde34c3a00c8: Download complete [2023-09-19T19:08:25.340Z] b352a97aabf1: Download complete [2023-09-19T19:08:25.340Z] 4872d77fe225: Verifying Checksum [2023-09-19T19:08:25.340Z] 4872d77fe225: Download complete [2023-09-19T19:08:25.340Z] 5851b861e8e6: Verifying Checksum [2023-09-19T19:08:25.340Z] 5851b861e8e6: Download complete [2023-09-19T19:08:25.340Z] b85a868b505f: Verifying Checksum [2023-09-19T19:08:25.340Z] b85a868b505f: Download complete [2023-09-19T19:08:25.599Z] bab4dde63d76: Verifying Checksum [2023-09-19T19:08:25.599Z] bab4dde63d76: Download complete [2023-09-19T19:08:26.536Z] b85a868b505f: Pull complete [2023-09-19T19:08:26.795Z] e2be974225ed: Pull complete [2023-09-19T19:08:27.054Z] 339a4e72a1f5: Pull complete [2023-09-19T19:08:27.054Z] 988bab9f4d93: Pull complete [2023-09-19T19:08:27.313Z] 1469e6f7b9e6: Pull complete [2023-09-19T19:08:27.574Z] eaf3925da568: Pull complete [2023-09-19T19:08:29.477Z] bab4dde63d76: Pull complete [2023-09-19T19:08:29.477Z] bde34c3a00c8: Pull complete [2023-09-19T19:08:29.477Z] b352a97aabf1: Pull complete [2023-09-19T19:08:29.477Z] 4872d77fe225: Pull complete [2023-09-19T19:08:29.477Z] 5851b861e8e6: Pull complete [2023-09-19T19:08:29.477Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-19T19:08:29.477Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T19:08:29.477Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T19:08:29.561Z] prd-ubuntu20.04-docker-8c-8g-6612 does not seem to be running inside a container [2023-09-19T19:08:29.590Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-19T19:08:31.962Z] $ docker top 472ff9b5c8c6c2382cb301c8d5e2a50ff1eb5a050dcb9a2774c8252014a51eb9 -eo pid,comm [2023-09-19T19:08:32.017Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-19T19:08:32.017Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-19T19:08:32.059Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T19:08:32.059Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T19:08:32.166Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T19:08:32.168Z] $ docker exec 472ff9b5c8c6c2382cb301c8d5e2a50ff1eb5a050dcb9a2774c8252014a51eb9 ssh-agent [2023-09-19T19:08:32.274Z] SSH_AUTH_SOCK=/tmp/ssh-ssuqBkRykxM8/agent.32 [2023-09-19T19:08:32.274Z] SSH_AGENT_PID=38 [2023-09-19T19:08:32.280Z] Running ssh-add (command line suppressed) [2023-09-19T19:08:32.372Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17307296259047112381.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17307296259047112381.key) [2023-09-19T19:08:32.387Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T19:08:32.672Z] + git tag --points-at HEAD [Pipeline] } [2023-09-19T19:08:32.682Z] $ docker exec --env ******** --env ******** 472ff9b5c8c6c2382cb301c8d5e2a50ff1eb5a050dcb9a2774c8252014a51eb9 ssh-agent -k [2023-09-19T19:08:32.782Z] unset SSH_AUTH_SOCK; [2023-09-19T19:08:32.783Z] unset SSH_AGENT_PID; [2023-09-19T19:08:32.783Z] echo Agent pid 38 killed; [2023-09-19T19:08:32.792Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-19T19:08:32.821Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T19:08:32.821Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T19:08:32.932Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T19:08:32.934Z] $ docker exec 472ff9b5c8c6c2382cb301c8d5e2a50ff1eb5a050dcb9a2774c8252014a51eb9 ssh-agent [2023-09-19T19:08:33.043Z] SSH_AUTH_SOCK=/tmp/ssh-0ae5G5NWxOZN/agent.70 [2023-09-19T19:08:33.043Z] SSH_AGENT_PID=76 [2023-09-19T19:08:33.048Z] Running ssh-add (command line suppressed) [2023-09-19T19:08:33.148Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11454550749374389885.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11454550749374389885.key) [2023-09-19T19:08:33.162Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T19:08:33.448Z] + git semver init [2023-09-19T19:08:33.707Z] 2023-09-19 19:08:33,614 [run_init] DEBUG init version:0.0.0 force:False [2023-09-19T19:08:33.707Z] 2023-09-19 19:08:33,614 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-09-19T19:08:33.707Z] 2023-09-19 19:08:33,615 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2023-09-19T19:08:33.707Z] 2023-09-19 19:08:33,615 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-19T19:08:34.652Z] 2023-09-19 19:08:34,559 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2023-09-19T19:08:34.652Z] 2023-09-19 19:08:34,559 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2023-09-19T19:08:34.652Z] 2023-09-19 19:08:34,560 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-19T19:08:34.652Z] 2023-09-19 19:08:34,560 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-19T19:08:34.652Z] 3.1.0-dev.27 [Pipeline] } [2023-09-19T19:08:34.660Z] $ docker exec --env ******** --env ******** 472ff9b5c8c6c2382cb301c8d5e2a50ff1eb5a050dcb9a2774c8252014a51eb9 ssh-agent -k [2023-09-19T19:08:34.750Z] unset SSH_AUTH_SOCK; [2023-09-19T19:08:34.751Z] unset SSH_AGENT_PID; [2023-09-19T19:08:34.751Z] echo Agent pid 76 killed; [2023-09-19T19:08:34.761Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-19T19:08:35.067Z] + git semver [Pipeline] } [2023-09-19T19:08:35.337Z] $ docker stop --time=1 472ff9b5c8c6c2382cb301c8d5e2a50ff1eb5a050dcb9a2774c8252014a51eb9 [2023-09-19T19:08:36.631Z] $ docker rm -f --volumes 472ff9b5c8c6c2382cb301c8d5e2a50ff1eb5a050dcb9a2774c8252014a51eb9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T19:08:36.964Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-19T19:08:37.152Z] Stashed 1 file(s) [Pipeline] echo [2023-09-19T19:08:37.154Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.27 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T19:08:37.301Z] provisioning config files... [2023-09-19T19:08:37.310Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9350150811215119236tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T19:08:37.682Z] ---> docker-login.sh [2023-09-19T19:08:37.682Z] nexus3.edgexfoundry.org:10001 [2023-09-19T19:08:37.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T19:08:37.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T19:08:37.682Z] Configure a credential helper to remove this warning. See [2023-09-19T19:08:37.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T19:08:37.682Z] [2023-09-19T19:08:37.682Z] Login Succeeded [2023-09-19T19:08:37.682Z] nexus3.edgexfoundry.org:10002 [2023-09-19T19:08:37.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T19:08:37.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T19:08:37.682Z] Configure a credential helper to remove this warning. See [2023-09-19T19:08:37.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T19:08:37.682Z] [2023-09-19T19:08:37.682Z] Login Succeeded [2023-09-19T19:08:37.682Z] nexus3.edgexfoundry.org:10003 [2023-09-19T19:08:37.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T19:08:37.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T19:08:37.942Z] Configure a credential helper to remove this warning. See [2023-09-19T19:08:37.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T19:08:37.942Z] [2023-09-19T19:08:37.942Z] Login Succeeded [2023-09-19T19:08:37.942Z] nexus3.edgexfoundry.org:10004 [2023-09-19T19:08:37.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T19:08:37.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T19:08:37.942Z] Configure a credential helper to remove this warning. See [2023-09-19T19:08:37.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T19:08:37.942Z] [2023-09-19T19:08:37.942Z] Login Succeeded [2023-09-19T19:08:37.942Z] docker.io [2023-09-19T19:08:38.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T19:08:38.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T19:08:38.202Z] Configure a credential helper to remove this warning. See [2023-09-19T19:08:38.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T19:08:38.202Z] [2023-09-19T19:08:38.202Z] Login Succeeded [2023-09-19T19:08:38.202Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T19:08:38.209Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-19T19:08:38.274Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T19:08:38.288Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T19:08:38.301Z] ========================================================= [2023-09-19T19:08:38.301Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-19T19:08:38.301Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T19:08:38.613Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-19T19:08:38.613Z] Sending build context to Docker daemon 11.15MB [2023-09-19T19:08:38.613Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T19:08:38.613Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-19T19:08:38.613Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-19T19:08:38.613Z] 7264a8db6415: Pulling fs layer [2023-09-19T19:08:38.613Z] c4d48a809fc2: Pulling fs layer [2023-09-19T19:08:38.613Z] 4f1c88b9dad5: Pulling fs layer [2023-09-19T19:08:38.613Z] ad3a456e5733: Pulling fs layer [2023-09-19T19:08:38.613Z] 9e4f439ed901: Pulling fs layer [2023-09-19T19:08:38.613Z] feaf6a47b606: Pulling fs layer [2023-09-19T19:08:38.613Z] 5e8b037d7d82: Pulling fs layer [2023-09-19T19:08:38.613Z] 8ac70367396e: Pulling fs layer [2023-09-19T19:08:38.613Z] 9e4f439ed901: Waiting [2023-09-19T19:08:38.613Z] feaf6a47b606: Waiting [2023-09-19T19:08:38.613Z] 5e8b037d7d82: Waiting [2023-09-19T19:08:38.613Z] 6db16350a2e2: Pulling fs layer [2023-09-19T19:08:38.613Z] 9250d5d63582: Pulling fs layer [2023-09-19T19:08:38.613Z] 8ac70367396e: Waiting [2023-09-19T19:08:38.613Z] ad3a456e5733: Waiting [2023-09-19T19:08:38.613Z] c4d48a809fc2: Download complete [2023-09-19T19:08:38.872Z] ad3a456e5733: Download complete [2023-09-19T19:08:38.872Z] 9e4f439ed901: Download complete [2023-09-19T19:08:38.872Z] 7264a8db6415: Verifying Checksum [2023-09-19T19:08:38.872Z] 7264a8db6415: Download complete [2023-09-19T19:08:38.872Z] feaf6a47b606: Verifying Checksum [2023-09-19T19:08:38.872Z] feaf6a47b606: Download complete [2023-09-19T19:08:38.872Z] 7264a8db6415: Pull complete [2023-09-19T19:08:39.136Z] c4d48a809fc2: Pull complete [2023-09-19T19:08:39.398Z] 8ac70367396e: Verifying Checksum [2023-09-19T19:08:39.398Z] 8ac70367396e: Download complete [2023-09-19T19:08:39.658Z] 4f1c88b9dad5: Verifying Checksum [2023-09-19T19:08:39.658Z] 4f1c88b9dad5: Download complete [2023-09-19T19:08:39.658Z] 6db16350a2e2: Verifying Checksum [2023-09-19T19:08:39.658Z] 6db16350a2e2: Download complete [2023-09-19T19:08:39.658Z] 5e8b037d7d82: Verifying Checksum [2023-09-19T19:08:39.658Z] 5e8b037d7d82: Download complete [2023-09-19T19:08:39.917Z] 9250d5d63582: Verifying Checksum [2023-09-19T19:08:39.917Z] 9250d5d63582: Download complete [2023-09-19T19:08:42.452Z] 4f1c88b9dad5: Pull complete [2023-09-19T19:08:42.452Z] ad3a456e5733: Pull complete [2023-09-19T19:08:42.452Z] 9e4f439ed901: Pull complete [2023-09-19T19:08:42.452Z] feaf6a47b606: Pull complete [2023-09-19T19:08:44.986Z] 5e8b037d7d82: Pull complete [2023-09-19T19:08:44.986Z] 8ac70367396e: Pull complete [2023-09-19T19:08:45.552Z] 6db16350a2e2: Pull complete [2023-09-19T19:08:46.119Z] 9250d5d63582: Pull complete [2023-09-19T19:08:46.119Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-19T19:08:46.119Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-19T19:08:46.119Z] ---> fa269f55d9b9 [2023-09-19T19:08:46.119Z] Step 3/10 : ARG MAKE=make build [2023-09-19T19:08:51.393Z] ---> Running in bf45828829aa [2023-09-19T19:08:51.393Z] Removing intermediate container bf45828829aa [2023-09-19T19:08:51.393Z] ---> 313482978e92 [2023-09-19T19:08:51.393Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-19T19:08:51.393Z] ---> Running in d226ccc8f1d7 [2023-09-19T19:08:51.393Z] Removing intermediate container d226ccc8f1d7 [2023-09-19T19:08:51.393Z] ---> 44afd8cd3e7f [2023-09-19T19:08:51.393Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-19T19:08:51.393Z] ---> Running in 0160ede1429c [2023-09-19T19:08:51.393Z] Removing intermediate container 0160ede1429c [2023-09-19T19:08:51.393Z] ---> 337cc9107dbf [2023-09-19T19:08:51.393Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-19T19:08:51.393Z] ---> Running in 66a49deaef79 [2023-09-19T19:08:51.651Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T19:08:51.651Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T19:08:51.911Z] OK: 265 MiB in 56 packages [2023-09-19T19:08:52.170Z] Removing intermediate container 66a49deaef79 [2023-09-19T19:08:52.170Z] ---> 210024b904c8 [2023-09-19T19:08:52.170Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-19T19:08:52.263Z] Still waiting to schedule task [2023-09-19T19:08:52.264Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-19T19:08:52.428Z] ---> b764fe6ec00e [2023-09-19T19:08:52.428Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T19:08:52.428Z] ---> Running in 8f67796f1af4 [2023-09-19T19:09:31.143Z] Removing intermediate container 8f67796f1af4 [2023-09-19T19:09:31.143Z] ---> cc681ff75c3c [2023-09-19T19:09:31.143Z] Step 9/10 : COPY . . [2023-09-19T19:09:31.143Z] ---> b0e688042ff7 [2023-09-19T19:09:31.143Z] Step 10/10 : RUN ${MAKE} [2023-09-19T19:09:31.143Z] ---> Running in fcfcb4d79ba1 [2023-09-19T19:09:31.143Z] noop [2023-09-19T19:09:31.143Z] Removing intermediate container fcfcb4d79ba1 [2023-09-19T19:09:31.143Z] ---> cd056d87c993 [2023-09-19T19:09:31.143Z] Successfully built cd056d87c993 [2023-09-19T19:09:31.143Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T19:09:31.455Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-19T19:09:31.455Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T19:09:31.525Z] prd-ubuntu20.04-docker-8c-8g-6612 does not seem to be running inside a container [2023-09-19T19:09:31.553Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-19T19:09:31.888Z] $ docker top ebc4077345c58f127d5b8fd20ca722f32b486f4f0f9a10c6140cbde9827e0fad -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T19:09:32.220Z] + go version [2023-09-19T19:09:32.220Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-19T19:09:32.230Z] $ docker stop --time=1 ebc4077345c58f127d5b8fd20ca722f32b486f4f0f9a10c6140cbde9827e0fad [2023-09-19T19:09:33.466Z] $ docker rm -f --volumes ebc4077345c58f127d5b8fd20ca722f32b486f4f0f9a10c6140cbde9827e0fad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T19:09:33.882Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-19T19:09:33.882Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T19:09:33.955Z] prd-ubuntu20.04-docker-8c-8g-6612 does not seem to be running inside a container [2023-09-19T19:09:33.986Z] $ 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-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-19T19:09:34.306Z] $ docker top 839ead03ec731bfcf11d4eae3b34b50344427c1dd4752c40b8078561f66086e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T19:09:34.648Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-19T19:09:34.942Z] + make test [2023-09-19T19:09:34.942Z] go test -race -coverprofile=coverage.out ./... [2023-09-19T19:09:41.504Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-19T19:09:56.370Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-19T19:09:56.370Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-19T19:09:56.370Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-19T19:09:56.370Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-19T19:09:56.370Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-19T19:09:56.370Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-19T19:09:56.370Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-19T19:09:56.370Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.036s coverage: 27.6% of statements [2023-09-19T19:09:56.370Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.050s coverage: 80.2% of statements [2023-09-19T19:09:56.628Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-19T19:09:56.628Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.070s coverage: 86.0% of statements [2023-09-19T19:09:57.563Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-19T19:09:57.563Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-19T19:09:57.563Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.071s coverage: 71.8% of statements [2023-09-19T19:09:57.821Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-19T19:10:01.107Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.049s coverage: 14.4% of statements [2023-09-19T19:10:01.107Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.015s coverage: 45.6% of statements [2023-09-19T19:10:01.107Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.065s coverage: 68.5% of statements [2023-09-19T19:10:01.107Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.091s coverage: 89.2% of statements [2023-09-19T19:10:01.107Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.046s coverage: 5.5% of statements [2023-09-19T19:10:19.190Z] GO111MODULE=on go vet ./... [2023-09-19T19:10:21.089Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-19T19:10:21.348Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-19T19:10:21.348Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-19T19:10:21.364Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-19T19:10:21.379Z] $ docker stop --time=1 839ead03ec731bfcf11d4eae3b34b50344427c1dd4752c40b8078561f66086e2 [2023-09-19T19:10:24.597Z] $ docker rm -f --volumes 839ead03ec731bfcf11d4eae3b34b50344427c1dd4752c40b8078561f66086e2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T19:10:25.114Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-19T19:10:25.229Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-19T19:10:25.774Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-19T19:10:26.094Z] + ls -al . [2023-09-19T19:10:26.094Z] total 304 [2023-09-19T19:10:26.094Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 19 19:09 . [2023-09-19T19:10:26.094Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 19:08 .. [2023-09-19T19:10:26.094Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 19 19:08 .dockerignore [2023-09-19T19:10:26.094Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 19:10 .git [2023-09-19T19:10:26.094Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 19:08 .github [2023-09-19T19:10:26.094Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 19 19:08 .gitignore [2023-09-19T19:10:26.094Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 19 19:08 .golangci.yml [2023-09-19T19:10:26.094Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 19:08 .semver [2023-09-19T19:10:26.094Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 19 19:08 CHANGELOG.md [2023-09-19T19:10:26.094Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 19:08 GOVERNANCE.md [2023-09-19T19:10:26.094Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 19 19:08 Jenkinsfile [2023-09-19T19:10:26.094Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 19 19:08 LICENSE [2023-09-19T19:10:26.094Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 19 19:08 Makefile [2023-09-19T19:10:26.094Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 19 19:08 OWNERS.md [2023-09-19T19:10:26.094Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 19 19:08 README.md [2023-09-19T19:10:26.094Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 19 19:08 VERSION [2023-09-19T19:10:26.094Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 19:08 bin [2023-09-19T19:10:26.094Z] -rw-r--r-- 1 jenkins jenkins 121385 Sep 19 19:10 coverage.out [2023-09-19T19:10:26.094Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 19 19:08 example [2023-09-19T19:10:26.094Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 19 19:08 go.mod [2023-09-19T19:10:26.094Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 19 19:08 go.sum [2023-09-19T19:10:26.094Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 19:08 internal [2023-09-19T19:10:26.094Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 19:08 openapi [2023-09-19T19:10:26.094Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 19 19:08 pkg [2023-09-19T19:10:26.094Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 19:08 snap [2023-09-19T19:10:26.094Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 19 19:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T19:10:26.427Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=26847311c5e80852903f42d5f4b76f1d4cba51bb --label arch=amd64 --label version=3.1.0-dev.27 . [2023-09-19T19:10:26.427Z] Sending build context to Docker daemon 11.27MB [2023-09-19T19:10:26.427Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T19:10:26.427Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-19T19:10:26.427Z] ---> cd056d87c993 [2023-09-19T19:10:26.427Z] Step 3/23 : ARG MAKE=make build [2023-09-19T19:10:26.686Z] ---> Running in 8bff369be849 [2023-09-19T19:10:26.686Z] Removing intermediate container 8bff369be849 [2023-09-19T19:10:26.686Z] ---> 6ac170b5b4f5 [2023-09-19T19:10:26.686Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-19T19:10:26.686Z] ---> Running in 414ea42265d4 [2023-09-19T19:10:26.865Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6614 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2023-09-19T19:10:26.877Z] Running in /w/workspace/device-sdk-go/256 [Pipeline] { [Pipeline] checkout [2023-09-19T19:10:26.904Z] The recommended git tool is: git [2023-09-19T19:10:26.944Z] Removing intermediate container 414ea42265d4 [2023-09-19T19:10:26.944Z] ---> 2fdf982ca067 [2023-09-19T19:10:26.944Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-19T19:10:26.944Z] ---> Running in c4611c722155 [2023-09-19T19:10:26.944Z] Removing intermediate container c4611c722155 [2023-09-19T19:10:26.944Z] ---> 29b544b7a617 [2023-09-19T19:10:26.944Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-19T19:10:26.944Z] ---> Running in 8446bcd69cf9 [2023-09-19T19:10:27.203Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T19:10:27.461Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T19:10:27.721Z] OK: 265 MiB in 56 packages [2023-09-19T19:10:27.979Z] Removing intermediate container 8446bcd69cf9 [2023-09-19T19:10:27.979Z] ---> ff3972d37f0d [2023-09-19T19:10:27.979Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-19T19:10:28.240Z] ---> 143d2070570e [2023-09-19T19:10:28.240Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T19:10:28.240Z] ---> Running in 674e8c688522 [2023-09-19T19:10:28.807Z] Removing intermediate container 674e8c688522 [2023-09-19T19:10:28.807Z] ---> 58dbf58c7ddc [2023-09-19T19:10:28.807Z] Step 9/23 : COPY . . [2023-09-19T19:10:29.372Z] ---> c8a33cef01a5 [2023-09-19T19:10:29.372Z] Step 10/23 : RUN ${MAKE} [2023-09-19T19:10:29.372Z] ---> Running in 0e0b01ff55dd [2023-09-19T19:10:29.632Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.27 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.27" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-19T19:10:31.822Z] using credential edgex-jenkins-ssh [2023-09-19T19:10:31.836Z] Cloning the remote Git repository [2023-09-19T19:10:31.871Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-19T19:10:31.963Z] > git init /w/workspace/device-sdk-go/256 # timeout=10 [2023-09-19T19:10:32.107Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-19T19:10:32.109Z] > git --version # timeout=10 [2023-09-19T19:10:32.127Z] > git --version # 'git version 2.25.1' [2023-09-19T19:10:32.129Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-19T19:10:32.280Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-19T19:10:33.859Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-19T19:10:33.877Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-19T19:10:34.687Z] Avoid second fetch [2023-09-19T19:10:34.688Z] Checking out Revision 26847311c5e80852903f42d5f4b76f1d4cba51bb (main) [2023-09-19T19:10:35.213Z] Commit message: "fix: Change URIs for provision unit tests to go to edgexfoundry (#1514)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T19:10:34.696Z] > git config core.sparsecheckout # timeout=10 [2023-09-19T19:10:34.766Z] > git checkout -f 26847311c5e80852903f42d5f4b76f1d4cba51bb # timeout=10 [2023-09-19T19:10:36.071Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-19T19:10:36.071Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-19T19:10:36.071Z] Dload Upload Total Spent Left Speed [2023-09-19T19:10:36.071Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh [2023-09-19T19:10:36.718Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-19T19:10:37.047Z] + + sudo tee /etc/docker/daemon.newsudo [2023-09-19T19:10:37.047Z] jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-19T19:10:37.047Z] { [2023-09-19T19:10:37.047Z] "registry-mirrors": [ [2023-09-19T19:10:37.047Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-19T19:10:37.047Z] ], [2023-09-19T19:10:37.047Z] "bip": "10.250.0.254/24", [2023-09-19T19:10:37.047Z] "hosts": [ [2023-09-19T19:10:37.047Z] "tcp://0.0.0.0:5555", [2023-09-19T19:10:37.047Z] "unix:///var/run/docker.sock" [2023-09-19T19:10:37.047Z] ], [2023-09-19T19:10:37.047Z] "mtu": 1458, [2023-09-19T19:10:37.047Z] "selinux-enabled": true, [2023-09-19T19:10:37.047Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-19T19:10:37.047Z] } [Pipeline] sh [2023-09-19T19:10:37.367Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-19T19:10:37.697Z] + sudo service docker restart [2023-09-19T19:10:47.709Z] Removing intermediate container 0e0b01ff55dd [2023-09-19T19:10:47.710Z] ---> dc7b77e613f2 [2023-09-19T19:10:47.710Z] Step 11/23 : FROM alpine:3.18 [2023-09-19T19:10:47.710Z] 3.18: Pulling from library/alpine [2023-09-19T19:10:47.710Z] 7264a8db6415: Already exists [2023-09-19T19:10:47.710Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-19T19:10:47.710Z] Status: Downloaded newer image for alpine:3.18 [2023-09-19T19:10:47.710Z] ---> 7e01a0d0a1dc [2023-09-19T19:10:47.710Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-19T19:10:47.710Z] ---> Running in 7cbd27c1ba6d [2023-09-19T19:10:47.710Z] Removing intermediate container 7cbd27c1ba6d [2023-09-19T19:10:47.710Z] ---> aa3483b74d10 [2023-09-19T19:10:47.710Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-19T19:10:47.710Z] ---> Running in a8d4d428d62a [2023-09-19T19:10:47.710Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T19:10:47.710Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T19:10:47.710Z] OK: 7 MiB in 15 packages [2023-09-19T19:10:47.710Z] Removing intermediate container a8d4d428d62a [2023-09-19T19:10:47.710Z] ---> ca4e7d3e5add [2023-09-19T19:10:47.710Z] Step 14/23 : WORKDIR / [2023-09-19T19:10:47.968Z] ---> Running in c42ae508da06 [2023-09-19T19:10:47.968Z] Removing intermediate container c42ae508da06 [2023-09-19T19:10:47.968Z] ---> bcca8bc4f49e [2023-09-19T19:10:47.968Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-19T19:10:47.968Z] ---> b0a561e15999 [2023-09-19T19:10:47.968Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-19T19:10:48.908Z] ---> 55059217f536 [2023-09-19T19:10:48.908Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-19T19:10:48.908Z] ---> b024eef31a78 [2023-09-19T19:10:48.908Z] Step 18/23 : EXPOSE 59999 [2023-09-19T19:10:49.169Z] ---> Running in 60bcc44d4bbb [2023-09-19T19:10:49.169Z] Removing intermediate container 60bcc44d4bbb [2023-09-19T19:10:49.169Z] ---> 56bf00a79752 [2023-09-19T19:10:49.169Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-19T19:10:49.169Z] ---> Running in 657b149866eb [2023-09-19T19:10:49.427Z] Removing intermediate container 657b149866eb [2023-09-19T19:10:49.427Z] ---> 2a19fe24de42 [2023-09-19T19:10:49.427Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-19T19:10:49.427Z] ---> Running in 65e3c524ce43 [2023-09-19T19:10:49.684Z] Removing intermediate container 65e3c524ce43 [2023-09-19T19:10:49.684Z] ---> e8c3ab96b265 [2023-09-19T19:10:49.684Z] Step 21/23 : LABEL arch=amd64 [2023-09-19T19:10:49.684Z] ---> Running in dbf6bdf6a47b [2023-09-19T19:10:49.684Z] Removing intermediate container dbf6bdf6a47b [2023-09-19T19:10:49.684Z] ---> 791cb1305dff [2023-09-19T19:10:49.684Z] Step 22/23 : LABEL git_sha=26847311c5e80852903f42d5f4b76f1d4cba51bb [2023-09-19T19:10:49.684Z] ---> Running in 37456963fcb1 [2023-09-19T19:10:49.949Z] Removing intermediate container 37456963fcb1 [2023-09-19T19:10:49.949Z] ---> 78a8c153f138 [2023-09-19T19:10:49.949Z] Step 23/23 : LABEL version=3.1.0-dev.27 [2023-09-19T19:10:49.949Z] ---> Running in 2d43bab02d90 [2023-09-19T19:10:49.949Z] Removing intermediate container 2d43bab02d90 [2023-09-19T19:10:49.949Z] ---> 22a7881ae3e4 [2023-09-19T19:10:49.949Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-19T19:10:49.949Z] Successfully built 22a7881ae3e4 [2023-09-19T19:10:49.949Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T19:10:50.405Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T19:10:50.405Z] [2023-09-19T19:10:50.405Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T19:10:50.708Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T19:10:50.708Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-19T19:10:50.708Z] 5eb5b503b376: Pulling fs layer [2023-09-19T19:10:50.708Z] 5c69ac0246d0: Pulling fs layer [2023-09-19T19:10:50.708Z] ec43610c2a17: Pulling fs layer [2023-09-19T19:10:50.708Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-19T19:10:50.708Z] 33b1e0a273af: Pulling fs layer [2023-09-19T19:10:50.708Z] 5d3b04190fa2: Pulling fs layer [2023-09-19T19:10:50.708Z] 2f39f015ded8: Pulling fs layer [2023-09-19T19:10:50.708Z] 33b1e0a273af: Waiting [2023-09-19T19:10:50.708Z] 5d3b04190fa2: Waiting [2023-09-19T19:10:50.708Z] 3a2ae6a8a46f: Waiting [2023-09-19T19:10:50.708Z] 2f39f015ded8: Waiting [2023-09-19T19:10:50.708Z] 5c69ac0246d0: Verifying Checksum [2023-09-19T19:10:50.708Z] 5c69ac0246d0: Download complete [2023-09-19T19:10:50.708Z] 3a2ae6a8a46f: Download complete [2023-09-19T19:10:50.968Z] 33b1e0a273af: Verifying Checksum [2023-09-19T19:10:50.968Z] 33b1e0a273af: Download complete [2023-09-19T19:10:50.968Z] 5d3b04190fa2: Verifying Checksum [2023-09-19T19:10:50.968Z] 5d3b04190fa2: Download complete [2023-09-19T19:10:50.968Z] ec43610c2a17: Verifying Checksum [2023-09-19T19:10:50.968Z] ec43610c2a17: Download complete [2023-09-19T19:10:50.968Z] 5eb5b503b376: Verifying Checksum [2023-09-19T19:10:50.968Z] 5eb5b503b376: Download complete [2023-09-19T19:10:51.904Z] 2f39f015ded8: Download complete [2023-09-19T19:10:51.904Z] 5eb5b503b376: Pull complete [2023-09-19T19:10:52.167Z] 5c69ac0246d0: Pull complete [2023-09-19T19:10:52.426Z] ec43610c2a17: Pull complete [2023-09-19T19:10:52.426Z] 3a2ae6a8a46f: Pull complete [2023-09-19T19:10:52.684Z] 33b1e0a273af: Pull complete [2023-09-19T19:10:52.684Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T19:10:55.943Z] provisioning config files... [2023-09-19T19:10:55.966Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/256@tmp/config11187650144323861428tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T19:10:56.312Z] ---> docker-login.sh [2023-09-19T19:10:56.312Z] nexus3.edgexfoundry.org:10001 [2023-09-19T19:10:56.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T19:10:56.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T19:10:56.851Z] Configure a credential helper to remove this warning. See [2023-09-19T19:10:56.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T19:10:56.851Z] [2023-09-19T19:10:56.851Z] Login Succeeded [2023-09-19T19:10:56.851Z] nexus3.edgexfoundry.org:10002 [2023-09-19T19:10:56.868Z] 2f39f015ded8: Pull complete [2023-09-19T19:10:56.868Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-19T19:10:56.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T19:10:56.868Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T19:10:56.946Z] prd-ubuntu20.04-docker-8c-8g-6612 does not seem to be running inside a container [2023-09-19T19:10:56.970Z] $ 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-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-19T19:10:57.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T19:10:57.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T19:10:57.122Z] Configure a credential helper to remove this warning. See [2023-09-19T19:10:57.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T19:10:57.122Z] [2023-09-19T19:10:57.122Z] Login Succeeded [2023-09-19T19:10:57.122Z] nexus3.edgexfoundry.org:10003 [2023-09-19T19:10:57.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T19:10:57.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T19:10:57.658Z] Configure a credential helper to remove this warning. See [2023-09-19T19:10:57.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T19:10:57.658Z] [2023-09-19T19:10:57.658Z] Login Succeeded [2023-09-19T19:10:57.658Z] nexus3.edgexfoundry.org:10004 [2023-09-19T19:10:57.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T19:10:57.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T19:10:57.927Z] Configure a credential helper to remove this warning. See [2023-09-19T19:10:57.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T19:10:57.927Z] [2023-09-19T19:10:57.927Z] Login Succeeded [2023-09-19T19:10:57.927Z] docker.io [2023-09-19T19:10:58.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T19:10:58.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T19:10:58.463Z] Configure a credential helper to remove this warning. See [2023-09-19T19:10:58.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T19:10:58.463Z] [2023-09-19T19:10:58.463Z] Login Succeeded [2023-09-19T19:10:58.463Z] ---> docker-login.sh ends [2023-09-19T19:11:01.123Z] $ docker top 54db314da41af3b0cdb6abd432f7197a51b75247e6cf1fbda94ea8ae7d5898f0 -eo pid,comm [Pipeline] { [Pipeline] } [2023-09-19T19:11:01.182Z] Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-19T19:11:01.494Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T19:11:01.508Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T19:11:01.520Z] ========================================================= [2023-09-19T19:11:01.520Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-19T19:11:01.520Z] ========================================================= [2023-09-19T19:11:01.522Z] ---> job-cost.sh [2023-09-19T19:11:01.522Z] lf-activate-venv: SKIPPING [2023-09-19T19:11:01.522Z] INFO: No Stack... [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T19:11:01.850Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-19T19:11:02.091Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-19T19:11:02.117Z] Sending build context to Docker daemon 5.955MB [2023-09-19T19:11:02.117Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T19:11:02.351Z] INFO: Archiving Costs [Pipeline] sh [2023-09-19T19:11:02.384Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-19T19:11:02.384Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-19T19:11:02.384Z] 9fda8d8052c6: Pulling fs layer [2023-09-19T19:11:02.384Z] 5d54e960e981: Pulling fs layer [2023-09-19T19:11:02.384Z] c4a7e357bf2a: Pulling fs layer [2023-09-19T19:11:02.384Z] f0e02332f6b5: Pulling fs layer [2023-09-19T19:11:02.384Z] 66412af1f25a: Pulling fs layer [2023-09-19T19:11:02.384Z] 1baf3a5c0e64: Pulling fs layer [2023-09-19T19:11:02.384Z] 9a37bb91b891: Pulling fs layer [2023-09-19T19:11:02.384Z] a29adfc67d43: Pulling fs layer [2023-09-19T19:11:02.384Z] d5de9f91c1a4: Pulling fs layer [2023-09-19T19:11:02.384Z] f0e02332f6b5: Waiting [2023-09-19T19:11:02.384Z] 66412af1f25a: Waiting [2023-09-19T19:11:02.384Z] 1baf3a5c0e64: Waiting [2023-09-19T19:11:02.384Z] 9a37bb91b891: Waiting [2023-09-19T19:11:02.384Z] a29adfc67d43: Waiting [2023-09-19T19:11:02.384Z] d5de9f91c1a4: Waiting [2023-09-19T19:11:02.384Z] 5d54e960e981: Verifying Checksum [2023-09-19T19:11:02.384Z] 5d54e960e981: Download complete [2023-09-19T19:11:02.384Z] f0e02332f6b5: Download complete [2023-09-19T19:11:02.384Z] 66412af1f25a: Download complete [2023-09-19T19:11:02.646Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2023-09-19T19:11:02.646Z] + cut -d, -f6 [2023-09-19T19:11:02.651Z] 9fda8d8052c6: Download complete [Pipeline] lock [2023-09-19T19:11:02.659Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-256-stack-cost] [2023-09-19T19:11:02.666Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-256-stack-cost] did not exist. Created. [2023-09-19T19:11:02.666Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-256-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-19T19:11:02.942Z] 9a37bb91b891: Verifying Checksum [2023-09-19T19:11:02.942Z] 9a37bb91b891: Download complete [2023-09-19T19:11:02.968Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-19T19:11:03.002Z] Stashed 1 file(s) [Pipeline] } [2023-09-19T19:11:03.010Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-256-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-19T19:11:03.030Z] $ docker stop --time=1 54db314da41af3b0cdb6abd432f7197a51b75247e6cf1fbda94ea8ae7d5898f0 [2023-09-19T19:11:03.530Z] a29adfc67d43: Verifying Checksum [2023-09-19T19:11:03.530Z] a29adfc67d43: Download complete [2023-09-19T19:11:04.121Z] d5de9f91c1a4: Verifying Checksum [2023-09-19T19:11:04.121Z] d5de9f91c1a4: Download complete [2023-09-19T19:11:04.121Z] c4a7e357bf2a: Verifying Checksum [2023-09-19T19:11:04.121Z] c4a7e357bf2a: Download complete [2023-09-19T19:11:04.168Z] $ docker rm -f --volumes 54db314da41af3b0cdb6abd432f7197a51b75247e6cf1fbda94ea8ae7d5898f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-19T19:11:04.720Z] 9fda8d8052c6: Pull complete [2023-09-19T19:11:04.987Z] 1baf3a5c0e64: Verifying Checksum [2023-09-19T19:11:04.987Z] 1baf3a5c0e64: Download complete [2023-09-19T19:11:05.253Z] 5d54e960e981: Pull complete [2023-09-19T19:11:15.336Z] c4a7e357bf2a: Pull complete [2023-09-19T19:11:15.604Z] f0e02332f6b5: Pull complete [2023-09-19T19:11:15.604Z] 66412af1f25a: Pull complete [2023-09-19T19:11:23.830Z] 1baf3a5c0e64: Pull complete [2023-09-19T19:11:23.830Z] 9a37bb91b891: Pull complete [2023-09-19T19:11:25.244Z] a29adfc67d43: Pull complete [2023-09-19T19:11:26.659Z] d5de9f91c1a4: Pull complete [2023-09-19T19:11:26.659Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-19T19:11:26.659Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-19T19:11:26.659Z] ---> 746ca1b523b5 [2023-09-19T19:11:26.659Z] Step 3/10 : ARG MAKE=make build [2023-09-19T19:11:28.670Z] ---> Running in 17224c3056a7 [2023-09-19T19:11:28.670Z] Removing intermediate container 17224c3056a7 [2023-09-19T19:11:28.670Z] ---> 38f1992e6b5e [2023-09-19T19:11:28.670Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-19T19:11:28.942Z] ---> Running in 06ce7752db4f [2023-09-19T19:11:29.221Z] Removing intermediate container 06ce7752db4f [2023-09-19T19:11:29.221Z] ---> 318ece60e0d4 [2023-09-19T19:11:29.221Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-19T19:11:29.221Z] ---> Running in 5ed95d317976 [2023-09-19T19:11:29.501Z] Removing intermediate container 5ed95d317976 [2023-09-19T19:11:29.501Z] ---> 12f0b0861466 [2023-09-19T19:11:29.501Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-19T19:11:29.501Z] ---> Running in 7c2561b60e4e [2023-09-19T19:11:30.916Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T19:11:31.183Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T19:11:32.152Z] OK: 267 MiB in 56 packages [2023-09-19T19:11:33.115Z] Removing intermediate container 7c2561b60e4e [2023-09-19T19:11:33.115Z] ---> 7e637cfea38b [2023-09-19T19:11:33.115Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-19T19:11:33.381Z] ---> 91fd6b49a726 [2023-09-19T19:11:33.381Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T19:11:33.381Z] ---> Running in fcf3be0bfb88 [2023-09-19T19:12:41.242Z] Removing intermediate container fcf3be0bfb88 [2023-09-19T19:12:41.242Z] ---> 43bade00bd3d [2023-09-19T19:12:41.242Z] Step 9/10 : COPY . . [2023-09-19T19:12:41.242Z] ---> b537063536d4 [2023-09-19T19:12:41.242Z] Step 10/10 : RUN ${MAKE} [2023-09-19T19:12:41.242Z] ---> Running in 9e8604ad7b77 [2023-09-19T19:12:41.242Z] noop [2023-09-19T19:12:41.823Z] Removing intermediate container 9e8604ad7b77 [2023-09-19T19:12:41.823Z] ---> 0b7cf2c9ee89 [2023-09-19T19:12:41.823Z] Successfully built 0b7cf2c9ee89 [2023-09-19T19:12:41.823Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T19:12:42.167Z] + docker inspect -f . ci-base-image-arm64 [2023-09-19T19:12:42.167Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T19:12:42.365Z] prd-ubuntu20.04-docker-arm64-4c-16g-6614 does not seem to be running inside a container [2023-09-19T19:12:42.429Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/256 -v /w/workspace/device-sdk-go/256:/w/workspace/device-sdk-go/256:rw,z -v /w/workspace/device-sdk-go/256@tmp:/w/workspace/device-sdk-go/256@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-19T19:12:43.513Z] $ docker top 1015cbabb7f386139dfd8e5097c8e11bb577196797c5efdc369dbfd3012c5ebe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T19:12:44.321Z] + go version [2023-09-19T19:12:44.321Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-19T19:12:44.342Z] $ docker stop --time=1 1015cbabb7f386139dfd8e5097c8e11bb577196797c5efdc369dbfd3012c5ebe [2023-09-19T19:12:45.920Z] $ docker rm -f --volumes 1015cbabb7f386139dfd8e5097c8e11bb577196797c5efdc369dbfd3012c5ebe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T19:12:46.460Z] + docker inspect -f . ci-base-image-arm64 [2023-09-19T19:12:46.460Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T19:12:46.636Z] prd-ubuntu20.04-docker-arm64-4c-16g-6614 does not seem to be running inside a container [2023-09-19T19:12:46.702Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/256 -v /w/workspace/device-sdk-go/256:/w/workspace/device-sdk-go/256:rw,z -v /w/workspace/device-sdk-go/256@tmp:/w/workspace/device-sdk-go/256@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-19T19:12:47.813Z] $ docker top 530125e3cd3babe63f8981d35b0907b7818dc6d2764aad14a9b15efb3b06fca1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T19:12:48.317Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/256 [Pipeline] fileExists [Pipeline] sh [2023-09-19T19:12:48.912Z] + make test [2023-09-19T19:12:48.912Z] go test -race -coverprofile=coverage.out ./... [2023-09-19T19:13:21.126Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-19T19:14:57.743Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-19T19:14:57.743Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-19T19:14:57.743Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-19T19:14:57.743Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-19T19:14:57.743Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-19T19:14:57.743Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.192s coverage: 27.6% of statements [2023-09-19T19:15:04.396Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.282s coverage: 80.2% of statements [2023-09-19T19:15:14.472Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-19T19:15:14.472Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-19T19:15:15.427Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.374s coverage: 86.0% of statements [2023-09-19T19:15:20.781Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-19T19:15:22.184Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.419s coverage: 71.8% of statements [2023-09-19T19:15:25.532Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.309s coverage: 14.4% of statements [2023-09-19T19:15:25.532Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.725s coverage: 45.6% of statements [2023-09-19T19:15:25.532Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-19T19:15:25.532Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-19T19:15:26.975Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.433s coverage: 68.5% of statements [2023-09-19T19:15:30.313Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.405s coverage: 89.2% of statements [2023-09-19T19:15:30.579Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-19T19:15:31.982Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.227s coverage: 5.5% of statements [2023-09-19T19:15:32.938Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-19T19:15:32.938Z] GO111MODULE=on go vet ./... [2023-09-19T19:17:24.576Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-19T19:17:24.576Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-19T19:17:24.576Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-19T19:17:24.594Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-19T19:17:24.604Z] $ docker stop --time=1 530125e3cd3babe63f8981d35b0907b7818dc6d2764aad14a9b15efb3b06fca1 [2023-09-19T19:17:26.560Z] $ docker rm -f --volumes 530125e3cd3babe63f8981d35b0907b7818dc6d2764aad14a9b15efb3b06fca1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T19:17:28.149Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-19T19:17:28.172Z] Warning: overwriting stash ‘coverage-report’ [2023-09-19T19:17:28.680Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T19:17:29.047Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-19T19:17:29.359Z] + ls -al . [2023-09-19T19:17:29.359Z] total 300 [2023-09-19T19:17:29.359Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 19:12 . [2023-09-19T19:17:29.359Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 19:10 .. [2023-09-19T19:17:29.359Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 19 19:10 .dockerignore [2023-09-19T19:17:29.359Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 19:10 .git [2023-09-19T19:17:29.359Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 19:10 .github [2023-09-19T19:17:29.359Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 19 19:10 .gitignore [2023-09-19T19:17:29.359Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 19 19:10 .golangci.yml [2023-09-19T19:17:29.359Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 19 19:10 CHANGELOG.md [2023-09-19T19:17:29.359Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 19:10 GOVERNANCE.md [2023-09-19T19:17:29.359Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 19 19:10 Jenkinsfile [2023-09-19T19:17:29.359Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 19 19:10 LICENSE [2023-09-19T19:17:29.359Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 19 19:10 Makefile [2023-09-19T19:17:29.359Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 19 19:10 OWNERS.md [2023-09-19T19:17:29.359Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 19 19:10 README.md [2023-09-19T19:17:29.359Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 19 19:08 VERSION [2023-09-19T19:17:29.359Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 19:10 bin [2023-09-19T19:17:29.359Z] -rw-r--r-- 1 jenkins jenkins 121385 Sep 19 19:15 coverage.out [2023-09-19T19:17:29.359Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 19 19:10 example [2023-09-19T19:17:29.359Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 19 19:10 go.mod [2023-09-19T19:17:29.359Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 19 19:10 go.sum [2023-09-19T19:17:29.359Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 19:10 internal [2023-09-19T19:17:29.359Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 19:10 openapi [2023-09-19T19:17:29.359Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 19 19:10 pkg [2023-09-19T19:17:29.359Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 19:10 snap [2023-09-19T19:17:29.359Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 19 19:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T19:17:29.687Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=26847311c5e80852903f42d5f4b76f1d4cba51bb --label arch=arm64 --label version=3.1.0-dev.27 . [2023-09-19T19:17:29.972Z] Sending build context to Docker daemon 6.077MB [2023-09-19T19:17:29.972Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T19:17:29.972Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-19T19:17:29.972Z] ---> 0b7cf2c9ee89 [2023-09-19T19:17:29.972Z] Step 3/23 : ARG MAKE=make build [2023-09-19T19:17:30.239Z] ---> Running in 4a97c9e6d18d [2023-09-19T19:17:30.505Z] Removing intermediate container 4a97c9e6d18d [2023-09-19T19:17:30.505Z] ---> 4e2048b8e3a7 [2023-09-19T19:17:30.505Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-19T19:17:30.505Z] ---> Running in 87ffaaea51fc [2023-09-19T19:17:30.773Z] Removing intermediate container 87ffaaea51fc [2023-09-19T19:17:30.773Z] ---> d42ea5efab81 [2023-09-19T19:17:30.773Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-19T19:17:30.773Z] ---> Running in f0c2d47fca40 [2023-09-19T19:17:31.045Z] Removing intermediate container f0c2d47fca40 [2023-09-19T19:17:31.045Z] ---> 38c4d7949fd6 [2023-09-19T19:17:31.045Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-19T19:17:31.313Z] ---> Running in 2051b55b8c87 [2023-09-19T19:17:32.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T19:17:32.855Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T19:17:33.813Z] OK: 267 MiB in 56 packages [2023-09-19T19:17:34.397Z] Removing intermediate container 2051b55b8c87 [2023-09-19T19:17:34.397Z] ---> fdc6eedabdf7 [2023-09-19T19:17:34.397Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-19T19:17:34.983Z] ---> bccc42046968 [2023-09-19T19:17:34.983Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T19:17:34.983Z] ---> Running in 1bd12cc42368 [2023-09-19T19:17:36.925Z] Removing intermediate container 1bd12cc42368 [2023-09-19T19:17:36.925Z] ---> af4dac69a74e [2023-09-19T19:17:36.925Z] Step 9/23 : COPY . . [2023-09-19T19:17:38.332Z] ---> 06e1f96793ef [2023-09-19T19:17:38.332Z] Step 10/23 : RUN ${MAKE} [2023-09-19T19:17:38.332Z] ---> Running in ba592155e589 [2023-09-19T19:17:38.915Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.27 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.27" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-19T19:19:30.585Z] Removing intermediate container ba592155e589 [2023-09-19T19:19:30.585Z] ---> 7160e4fb4762 [2023-09-19T19:19:30.585Z] Step 11/23 : FROM alpine:3.18 [2023-09-19T19:19:30.585Z] 3.18: Pulling from library/alpine [2023-09-19T19:19:30.585Z] 9fda8d8052c6: Already exists [2023-09-19T19:19:30.585Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-19T19:19:30.585Z] Status: Downloaded newer image for alpine:3.18 [2023-09-19T19:19:30.585Z] ---> f6648c04cd6c [2023-09-19T19:19:30.585Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-19T19:19:30.585Z] ---> Running in b9870597d7f6 [2023-09-19T19:19:30.585Z] Removing intermediate container b9870597d7f6 [2023-09-19T19:19:30.585Z] ---> 732f406365ad [2023-09-19T19:19:30.585Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-19T19:19:30.585Z] ---> Running in 2f135d467612 [2023-09-19T19:19:30.585Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T19:19:30.585Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T19:19:30.585Z] OK: 8 MiB in 15 packages [2023-09-19T19:19:30.585Z] Removing intermediate container 2f135d467612 [2023-09-19T19:19:30.585Z] ---> 7c60f89ce19f [2023-09-19T19:19:30.585Z] Step 14/23 : WORKDIR / [2023-09-19T19:19:30.585Z] ---> Running in 4a82ad6cb827 [2023-09-19T19:19:30.585Z] Removing intermediate container 4a82ad6cb827 [2023-09-19T19:19:30.585Z] ---> eff53f12b16c [2023-09-19T19:19:30.585Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-19T19:19:30.585Z] ---> 18190cfff77e [2023-09-19T19:19:30.585Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-19T19:19:30.585Z] ---> c7a2034bcb97 [2023-09-19T19:19:30.585Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-19T19:19:30.585Z] ---> 3adc05d6dde6 [2023-09-19T19:19:30.585Z] Step 18/23 : EXPOSE 59999 [2023-09-19T19:19:30.585Z] ---> Running in 68336a7935bf [2023-09-19T19:19:30.585Z] Removing intermediate container 68336a7935bf [2023-09-19T19:19:30.585Z] ---> 3268a0624190 [2023-09-19T19:19:30.585Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-19T19:19:30.585Z] ---> Running in 08bd34ee23e0 [2023-09-19T19:19:30.585Z] Removing intermediate container 08bd34ee23e0 [2023-09-19T19:19:30.585Z] ---> f08595286eb5 [2023-09-19T19:19:30.585Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-19T19:19:30.585Z] ---> Running in 69d911de854d [2023-09-19T19:19:30.585Z] Removing intermediate container 69d911de854d [2023-09-19T19:19:30.585Z] ---> f575929b6a6f [2023-09-19T19:19:30.585Z] Step 21/23 : LABEL arch=arm64 [2023-09-19T19:19:30.585Z] ---> Running in 7fd531c482fc [2023-09-19T19:19:30.585Z] Removing intermediate container 7fd531c482fc [2023-09-19T19:19:30.585Z] ---> 0ed2dcbfbbe3 [2023-09-19T19:19:30.585Z] Step 22/23 : LABEL git_sha=26847311c5e80852903f42d5f4b76f1d4cba51bb [2023-09-19T19:19:30.585Z] ---> Running in 785fef9bbd58 [2023-09-19T19:19:30.585Z] Removing intermediate container 785fef9bbd58 [2023-09-19T19:19:30.585Z] ---> 4677ac6599d9 [2023-09-19T19:19:30.585Z] Step 23/23 : LABEL version=3.1.0-dev.27 [2023-09-19T19:19:30.585Z] ---> Running in dc84f9cb1f98 [2023-09-19T19:19:30.585Z] Removing intermediate container dc84f9cb1f98 [2023-09-19T19:19:30.585Z] ---> 4c246326e4bc [2023-09-19T19:19:30.585Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-19T19:19:30.585Z] Successfully built 4c246326e4bc [2023-09-19T19:19:30.585Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T19:19:31.001Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T19:19:31.001Z] [2023-09-19T19:19:31.001Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T19:19:31.344Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T19:19:31.344Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-19T19:19:31.344Z] 8998bd30e6a1: Pulling fs layer [2023-09-19T19:19:31.344Z] 04944245beec: Pulling fs layer [2023-09-19T19:19:31.344Z] 699f458cf7ca: Pulling fs layer [2023-09-19T19:19:31.344Z] 765212b225bb: Pulling fs layer [2023-09-19T19:19:31.344Z] f23df028b6ca: Pulling fs layer [2023-09-19T19:19:31.344Z] d65c8cfc05b1: Pulling fs layer [2023-09-19T19:19:31.344Z] 2437ff75d9bd: Pulling fs layer [2023-09-19T19:19:31.344Z] f23df028b6ca: Waiting [2023-09-19T19:19:31.344Z] d65c8cfc05b1: Waiting [2023-09-19T19:19:31.344Z] 2437ff75d9bd: Waiting [2023-09-19T19:19:31.344Z] 765212b225bb: Waiting [2023-09-19T19:19:31.665Z] 04944245beec: Verifying Checksum [2023-09-19T19:19:31.665Z] 04944245beec: Download complete [2023-09-19T19:19:31.665Z] 765212b225bb: Verifying Checksum [2023-09-19T19:19:31.665Z] 765212b225bb: Download complete [2023-09-19T19:19:31.665Z] f23df028b6ca: Download complete [2023-09-19T19:19:31.665Z] d65c8cfc05b1: Verifying Checksum [2023-09-19T19:19:31.665Z] d65c8cfc05b1: Download complete [2023-09-19T19:19:31.665Z] 699f458cf7ca: Verifying Checksum [2023-09-19T19:19:31.665Z] 699f458cf7ca: Download complete [2023-09-19T19:19:32.252Z] 8998bd30e6a1: Verifying Checksum [2023-09-19T19:19:32.252Z] 8998bd30e6a1: Download complete [2023-09-19T19:19:34.192Z] 2437ff75d9bd: Verifying Checksum [2023-09-19T19:19:34.192Z] 2437ff75d9bd: Download complete [2023-09-19T19:19:36.139Z] 8998bd30e6a1: Pull complete [2023-09-19T19:19:36.406Z] 04944245beec: Pull complete [2023-09-19T19:19:37.814Z] 699f458cf7ca: Pull complete [2023-09-19T19:19:38.082Z] 765212b225bb: Pull complete [2023-09-19T19:19:38.665Z] f23df028b6ca: Pull complete [2023-09-19T19:19:38.932Z] d65c8cfc05b1: Pull complete [2023-09-19T19:19:53.923Z] 2437ff75d9bd: Pull complete [2023-09-19T19:19:53.923Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-19T19:19:53.923Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T19:19:53.923Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T19:19:54.096Z] prd-ubuntu20.04-docker-arm64-4c-16g-6614 does not seem to be running inside a container [2023-09-19T19:19:54.155Z] $ 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-sdk-go/256 -v /w/workspace/device-sdk-go/256:/w/workspace/device-sdk-go/256:rw,z -v /w/workspace/device-sdk-go/256@tmp:/w/workspace/device-sdk-go/256@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-19T19:19:56.567Z] $ docker top eafb7eb6706a4315647687cf472df48a7f44a12e990301cbb35a0267b53be2b1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T19:19:57.070Z] ---> job-cost.sh [2023-09-19T19:19:57.336Z] lf-activate-venv: SKIPPING [2023-09-19T19:19:57.336Z] INFO: No Stack... [2023-09-19T19:19:57.914Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-19T19:19:58.492Z] INFO: Archiving Costs [Pipeline] sh [2023-09-19T19:19:58.811Z] + cat /w/workspace/device-sdk-go/256/archives/cost.csv [2023-09-19T19:19:58.811Z] + cut -d, -f6 [Pipeline] lock [2023-09-19T19:19:58.876Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-256-stack-cost] [2023-09-19T19:19:58.882Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-256-stack-cost] did not exist. Created. [2023-09-19T19:19:58.882Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-256-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-19T19:19:59.215Z] /w/workspace/device-sdk-go/256@tmp/durable-40a97e80/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-19T19:19:59.544Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-19T19:19:59.564Z] Warning: overwriting stash ‘stack-cost’ [2023-09-19T19:19:59.638Z] Stashed 1 file(s) [Pipeline] } [2023-09-19T19:19:59.644Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-256-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-19T19:19:59.661Z] $ docker stop --time=1 eafb7eb6706a4315647687cf472df48a7f44a12e990301cbb35a0267b53be2b1 [2023-09-19T19:20:01.181Z] $ docker rm -f --volumes eafb7eb6706a4315647687cf472df48a7f44a12e990301cbb35a0267b53be2b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-09-19T19:20:01.537Z] provisioning config files... [2023-09-19T19:20:01.545Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8752651999354890843tmp [Pipeline] { [Pipeline] sh [2023-09-19T19:20:01.838Z] + set +x [2023-09-19T19:20:01.838Z] + curl -s https://codecov.io/bash [2023-09-19T19:20:01.838Z] + bash -s -- [2023-09-19T19:20:01.838Z] [2023-09-19T19:20:01.838Z] _____ _ [2023-09-19T19:20:01.838Z] / ____| | | [2023-09-19T19:20:01.838Z] | | ___ __| | ___ ___ _____ __ [2023-09-19T19:20:01.838Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-19T19:20:01.838Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-19T19:20:01.838Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-19T19:20:01.838Z] Bash-1.0.6 [2023-09-19T19:20:01.838Z] [2023-09-19T19:20:01.838Z] [2023-09-19T19:20:01.838Z] ==> git version 2.25.1 found [2023-09-19T19:20:01.838Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-09-19T19:20:01.838Z] Release-Date: 2020-01-08 [2023-09-19T19:20:01.838Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-19T19:20:01.838Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-19T19:20:01.838Z] ==> Jenkins CI detected. [2023-09-19T19:20:01.838Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2023-09-19T19:20:01.838Z] project root: . [2023-09-19T19:20:01.838Z] --> token set from env [2023-09-19T19:20:01.838Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-19T19:20:02.098Z] ==> Running gcov in . (disable via -X gcov) [2023-09-19T19:20:02.098Z] ==> Python coveragepy not found [2023-09-19T19:20:02.098Z] ==> Searching for coverage reports in: [2023-09-19T19:20:02.098Z] + . [2023-09-19T19:20:02.098Z] -> Found 1 reports [2023-09-19T19:20:02.098Z] ==> Detecting git/mercurial file structure [2023-09-19T19:20:02.098Z] ==> Reading reports [2023-09-19T19:20:02.098Z] + ./coverage.out bytes=121385 [2023-09-19T19:20:02.098Z] ==> Appending adjustments [2023-09-19T19:20:02.098Z] https://docs.codecov.io/docs/fixing-reports [2023-09-19T19:20:02.357Z] + Found adjustments [2023-09-19T19:20:02.357Z] ==> Gzipping contents [2023-09-19T19:20:02.357Z] 20K /tmp/codecov.aaQD6C.gz [2023-09-19T19:20:02.357Z] ==> Uploading reports [2023-09-19T19:20:02.357Z] url: https://codecov.io [2023-09-19T19:20:02.357Z] query: branch=main&commit=26847311c5e80852903f42d5f4b76f1d4cba51bb&build=256&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F256%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-19T19:20:02.357Z] -> Pinging Codecov [2023-09-19T19:20:02.357Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=26847311c5e80852903f42d5f4b76f1d4cba51bb&build=256&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F256%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-19T19:20:02.357Z] -> Uploading to [2023-09-19T19:20:02.357Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-19/7E55EF52A471D76F132DFD9A03CDDE97/26847311c5e80852903f42d5f4b76f1d4cba51bb/0c4369ec-81ba-4dc3-8b6b-cc4844da0149.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230919%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230919T192002Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8029ca721cf4e3b6aa911a616e0e538ad8216f12f9c1c38b435eba3451991b91 [2023-09-19T19:20:02.357Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-19T19:20:02.357Z] Dload Upload Total Spent Left Speed [2023-09-19T19:20:02.614Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16544 0 0 100 16544 0 83979 --:--:-- --:--:-- --:--:-- 83979 [2023-09-19T19:20:02.614Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/26847311c5e80852903f42d5f4b76f1d4cba51bb [Pipeline] } [2023-09-19T19:20:02.620Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-19T19:20:02.828Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-19T19:20:02.836Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T19:20:03.128Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-19T19:20:03.128Z] [2023-09-19T19:20:03.128Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T19:20:03.423Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-19T19:20:03.423Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-19T19:20:03.423Z] df9b9388f04a: Pulling fs layer [2023-09-19T19:20:03.423Z] 52dc419b0ee2: Pulling fs layer [2023-09-19T19:20:03.423Z] 25bc292e5bac: Pulling fs layer [2023-09-19T19:20:03.423Z] 114826534d7a: Pulling fs layer [2023-09-19T19:20:03.423Z] 4657fd5d0bcf: Pulling fs layer [2023-09-19T19:20:03.423Z] 6ad1cebc031e: Pulling fs layer [2023-09-19T19:20:03.423Z] 8a3aa393b2d8: Pulling fs layer [2023-09-19T19:20:03.423Z] 114826534d7a: Waiting [2023-09-19T19:20:03.423Z] 4657fd5d0bcf: Waiting [2023-09-19T19:20:03.423Z] 6ad1cebc031e: Waiting [2023-09-19T19:20:03.423Z] 25bc292e5bac: Verifying Checksum [2023-09-19T19:20:03.423Z] 25bc292e5bac: Download complete [2023-09-19T19:20:03.423Z] 52dc419b0ee2: Verifying Checksum [2023-09-19T19:20:03.423Z] 52dc419b0ee2: Download complete [2023-09-19T19:20:03.423Z] 4657fd5d0bcf: Verifying Checksum [2023-09-19T19:20:03.423Z] 4657fd5d0bcf: Download complete [2023-09-19T19:20:03.423Z] df9b9388f04a: Download complete [2023-09-19T19:20:03.684Z] df9b9388f04a: Pull complete [2023-09-19T19:20:03.684Z] 52dc419b0ee2: Pull complete [2023-09-19T19:20:03.684Z] 6ad1cebc031e: Verifying Checksum [2023-09-19T19:20:03.684Z] 6ad1cebc031e: Download complete [2023-09-19T19:20:03.945Z] 25bc292e5bac: Pull complete [2023-09-19T19:20:04.531Z] 114826534d7a: Verifying Checksum [2023-09-19T19:20:04.531Z] 114826534d7a: Download complete [2023-09-19T19:20:04.531Z] 8a3aa393b2d8: Verifying Checksum [2023-09-19T19:20:04.531Z] 8a3aa393b2d8: Download complete [2023-09-19T19:20:07.810Z] 114826534d7a: Pull complete [2023-09-19T19:20:07.810Z] 4657fd5d0bcf: Pull complete [2023-09-19T19:20:08.069Z] 6ad1cebc031e: Pull complete [2023-09-19T19:20:11.354Z] 8a3aa393b2d8: Pull complete [2023-09-19T19:20:11.354Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-19T19:20:11.354Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-19T19:20:11.354Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T19:20:11.457Z] prd-ubuntu20.04-docker-8c-8g-6612 does not seem to be running inside a container [2023-09-19T19:20:11.486Z] $ 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-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-19T19:20:15.348Z] $ docker top a673c6600712520abd441f8ce2464f7f4e120bd14927d70f9d026a870717739d -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-19T19:20:15.408Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2023-09-19T19:20:15.688Z] + set -o pipefail [2023-09-19T19:20:15.688Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2023-09-19T19:20:20.964Z] [2023-09-19T19:20:20.965Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... [2023-09-19T19:20:20.965Z] [2023-09-19T19:20:20.965Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/45829ac5-d478-44b9-9942-22e6f8fc3386 [2023-09-19T19:20:20.965Z] [2023-09-19T19:20:20.965Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-19T19:20:20.965Z] [2023-09-19T19:20:21.536Z] [2023-09-19T19:20:21.536Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-19T19:20:21.536Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-19T19:20:21.536Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-19T19:20:21.552Z] $ docker stop --time=1 a673c6600712520abd441f8ce2464f7f4e120bd14927d70f9d026a870717739d [2023-09-19T19:20:24.980Z] $ docker rm -f --volumes a673c6600712520abd441f8ce2464f7f4e120bd14927d70f9d026a870717739d [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) [Pipeline] echo [2023-09-19T19:20:25.392Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T19:20:25.403Z] provisioning config files... [2023-09-19T19:20:25.411Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config550854289185467597tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T19:20:25.709Z] --> edgex-publish-swagger.sh [2023-09-19T19:20:25.709Z] === Publish openapi/v3 API === [2023-09-19T19:20:25.709Z] [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger [2023-09-19T19:20:25.709Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] [2023-09-19T19:20:25.709Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-19T19:20:25.709Z] Dload Upload Total Spent Left Speed [2023-09-19T19:20:25.969Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 109k --:--:-- --:--:-- --:--:-- 109k 100 23674 0 0 100 23674 0 49631 --:--:-- --:--:-- --:--:-- 49527 [2023-09-19T19:20:25.969Z] [2023-09-19T19:20:25.969Z] [Pipeline] } [2023-09-19T19:20:25.976Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-19T19:20:26.421Z] + git log --format=format:%s -1 26847311c5e80852903f42d5f4b76f1d4cba51bb [Pipeline] sh [2023-09-19T19:20:26.715Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-19T19:20:26.715Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T19:20:27.017Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T19:20:27.017Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T19:20:27.086Z] prd-ubuntu20.04-docker-8c-8g-6612 does not seem to be running inside a container [2023-09-19T19:20:27.118Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-19T19:20:27.533Z] $ docker top 6bfa855e8b99b7c12df346a5c1e0a5cbedca74de54f9585e997cf6eebe856668 -eo pid,comm [2023-09-19T19:20:27.581Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-19T19:20:27.581Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-19T19:20:27.627Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T19:20:27.627Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T19:20:27.747Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T19:20:27.749Z] $ docker exec 6bfa855e8b99b7c12df346a5c1e0a5cbedca74de54f9585e997cf6eebe856668 ssh-agent [2023-09-19T19:20:27.856Z] SSH_AUTH_SOCK=/tmp/ssh-wr2t9aek6ZBj/agent.32 [2023-09-19T19:20:27.856Z] SSH_AGENT_PID=38 [2023-09-19T19:20:27.863Z] Running ssh-add (command line suppressed) [2023-09-19T19:20:27.964Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7912295848056261244.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7912295848056261244.key) [2023-09-19T19:20:27.977Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T19:20:28.265Z] + git semver tag [2023-09-19T19:20:28.525Z] 2023-09-19 19:20:28,437 [run_tag] DEBUG tag force:False [2023-09-19T19:20:28.525Z] 2023-09-19 19:20:28,437 [check_head_tag] DEBUG check head tag [2023-09-19T19:20:28.525Z] 2023-09-19 19:20:28,438 [execute] INFO git cat-file --batch-check [2023-09-19T19:20:28.525Z] 2023-09-19 19:20:28,438 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-09-19T19:20:28.525Z] 2023-09-19 19:20:28,442 [execute] INFO git cat-file --batch [2023-09-19T19:20:28.525Z] 2023-09-19 19:20:28,442 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2023-09-19T19:20:28.525Z] 2023-09-19 19:20:28,458 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-19T19:20:28.525Z] 2023-09-19 19:20:28,458 [execute] INFO git tag -a v3.1.0-dev.27 -m v3.1.0-dev.27 [2023-09-19T19:20:28.525Z] 2023-09-19 19:20:28,459 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.27', '-m', 'v3.1.0-dev.27'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-19T19:20:28.525Z] 2023-09-19 19:20:28,463 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-19T19:20:28.525Z] 3.1.0-dev.27 [Pipeline] } [2023-09-19T19:20:28.534Z] $ docker exec --env ******** --env ******** 6bfa855e8b99b7c12df346a5c1e0a5cbedca74de54f9585e997cf6eebe856668 ssh-agent -k [2023-09-19T19:20:28.631Z] unset SSH_AUTH_SOCK; [2023-09-19T19:20:28.632Z] unset SSH_AGENT_PID; [2023-09-19T19:20:28.632Z] echo Agent pid 38 killed; [2023-09-19T19:20:28.649Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-19T19:20:28.954Z] + git semver [Pipeline] } [2023-09-19T19:20:29.224Z] $ docker stop --time=1 6bfa855e8b99b7c12df346a5c1e0a5cbedca74de54f9585e997cf6eebe856668 [2023-09-19T19:20:30.515Z] $ docker rm -f --volumes 6bfa855e8b99b7c12df346a5c1e0a5cbedca74de54f9585e997cf6eebe856668 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T19:20:30.915Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-19T19:20:30.915Z] [2023-09-19T19:20:30.915Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T19:20:31.273Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-19T19:20:31.273Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-19T19:20:31.273Z] ab5ef0e58194: Pulling fs layer [2023-09-19T19:20:31.273Z] 9712f1f96733: Pulling fs layer [2023-09-19T19:20:31.273Z] 63f879dbbcfc: Pulling fs layer [2023-09-19T19:20:31.273Z] 0d9ebad4ef96: Pulling fs layer [2023-09-19T19:20:31.273Z] e9a5061849ea: Pulling fs layer [2023-09-19T19:20:31.273Z] d747dcd14b5f: Pulling fs layer [2023-09-19T19:20:31.273Z] 2de7ff778b66: Pulling fs layer [2023-09-19T19:20:31.273Z] d747dcd14b5f: Waiting [2023-09-19T19:20:31.273Z] 2de7ff778b66: Waiting [2023-09-19T19:20:31.273Z] 0d9ebad4ef96: Waiting [2023-09-19T19:20:31.273Z] e9a5061849ea: Waiting [2023-09-19T19:20:31.273Z] 9712f1f96733: Verifying Checksum [2023-09-19T19:20:31.273Z] 9712f1f96733: Download complete [2023-09-19T19:20:31.846Z] 63f879dbbcfc: Verifying Checksum [2023-09-19T19:20:31.846Z] 63f879dbbcfc: Download complete [2023-09-19T19:20:31.846Z] e9a5061849ea: Verifying Checksum [2023-09-19T19:20:31.846Z] e9a5061849ea: Download complete [2023-09-19T19:20:31.846Z] d747dcd14b5f: Verifying Checksum [2023-09-19T19:20:31.846Z] d747dcd14b5f: Download complete [2023-09-19T19:20:31.846Z] 0d9ebad4ef96: Verifying Checksum [2023-09-19T19:20:31.846Z] 0d9ebad4ef96: Download complete [2023-09-19T19:20:32.105Z] ab5ef0e58194: Verifying Checksum [2023-09-19T19:20:32.105Z] ab5ef0e58194: Download complete [2023-09-19T19:20:32.105Z] 2de7ff778b66: Verifying Checksum [2023-09-19T19:20:32.105Z] 2de7ff778b66: Download complete [2023-09-19T19:20:34.652Z] ab5ef0e58194: Pull complete [2023-09-19T19:20:34.911Z] 9712f1f96733: Pull complete [2023-09-19T19:20:35.481Z] 63f879dbbcfc: Pull complete [2023-09-19T19:20:39.671Z] 0d9ebad4ef96: Pull complete [2023-09-19T19:20:39.671Z] e9a5061849ea: Pull complete [2023-09-19T19:20:39.671Z] d747dcd14b5f: Pull complete [2023-09-19T19:20:40.603Z] 2de7ff778b66: Pull complete [2023-09-19T19:20:40.603Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-19T19:20:40.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-19T19:20:40.603Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T19:20:40.675Z] prd-ubuntu20.04-docker-8c-8g-6612 does not seem to be running inside a container [2023-09-19T19:20:40.706Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-19T19:20:46.237Z] $ docker top 3d6354cafb83ad9d58c7ef675535136d71292f4cb969cd49813a988a5f186829 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-19T19:20:46.314Z] provisioning config files... [2023-09-19T19:20:46.322Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8353288208392205198tmp [2023-09-19T19:20:46.332Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10906421429449483606tmp [2023-09-19T19:20:46.341Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16827325054129664171tmp [Pipeline] { [Pipeline] echo [2023-09-19T19:20:46.354Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T19:20:46.637Z] ---> sigul-configuration.sh [2023-09-19T19:20:46.637Z] gpg: directory `/root/.gnupg' created [2023-09-19T19:20:46.637Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-19T19:20:46.637Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-19T19:20:46.637Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-19T19:20:46.637Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-19T19:20:46.637Z] gpg: CAST5 encrypted data [2023-09-19T19:20:46.637Z] gpg: encrypted with 1 passphrase [2023-09-19T19:20:46.637Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-19T19:20:46.921Z] + mkdir /home/jenkins [2023-09-19T19:20:46.921Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-19T19:20:47.206Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-09-19T19:20:47.215Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T19:20:47.501Z] ---> sigul-install.sh [2023-09-19T19:20:47.501Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-19T19:20:47.794Z] + git tag --list [2023-09-19T19:20:47.794Z] 0.7.1 [2023-09-19T19:20:47.794Z] delhi-tag [2023-09-19T19:20:47.794Z] v1.0.0 [2023-09-19T19:20:47.794Z] v1.1.0 [2023-09-19T19:20:47.794Z] v1.1.1 [2023-09-19T19:20:47.794Z] v1.1.2 [2023-09-19T19:20:47.794Z] v1.2.0 [2023-09-19T19:20:47.794Z] v1.2.1 [2023-09-19T19:20:47.794Z] v1.2.2 [2023-09-19T19:20:47.794Z] v1.2.3 [2023-09-19T19:20:47.794Z] v1.3.0 [2023-09-19T19:20:47.794Z] v1.4.0 [2023-09-19T19:20:47.794Z] v2.0.0 [2023-09-19T19:20:47.794Z] v2.1.0 [2023-09-19T19:20:47.794Z] v2.1.1 [2023-09-19T19:20:47.794Z] v2.2.0 [2023-09-19T19:20:47.794Z] v2.3.0 [2023-09-19T19:20:47.794Z] v2.3.1 [2023-09-19T19:20:47.794Z] v3.0 [2023-09-19T19:20:47.794Z] v3.0.0 [2023-09-19T19:20:47.794Z] v3.0.1-dev.1 [2023-09-19T19:20:47.794Z] v3.1.0-dev.1 [2023-09-19T19:20:47.794Z] v3.1.0-dev.10 [2023-09-19T19:20:47.794Z] v3.1.0-dev.11 [2023-09-19T19:20:47.794Z] v3.1.0-dev.12 [2023-09-19T19:20:47.794Z] v3.1.0-dev.13 [2023-09-19T19:20:47.794Z] v3.1.0-dev.14 [2023-09-19T19:20:47.794Z] v3.1.0-dev.15 [2023-09-19T19:20:47.794Z] v3.1.0-dev.16 [2023-09-19T19:20:47.794Z] v3.1.0-dev.17 [2023-09-19T19:20:47.794Z] v3.1.0-dev.18 [2023-09-19T19:20:47.794Z] v3.1.0-dev.19 [2023-09-19T19:20:47.794Z] v3.1.0-dev.2 [2023-09-19T19:20:47.794Z] v3.1.0-dev.20 [2023-09-19T19:20:47.794Z] v3.1.0-dev.21 [2023-09-19T19:20:47.794Z] v3.1.0-dev.22 [2023-09-19T19:20:47.794Z] v3.1.0-dev.23 [2023-09-19T19:20:47.794Z] v3.1.0-dev.24 [2023-09-19T19:20:47.794Z] v3.1.0-dev.25 [2023-09-19T19:20:47.794Z] v3.1.0-dev.26 [2023-09-19T19:20:47.794Z] v3.1.0-dev.27 [2023-09-19T19:20:47.794Z] v3.1.0-dev.3 [2023-09-19T19:20:47.794Z] v3.1.0-dev.4 [2023-09-19T19:20:47.794Z] v3.1.0-dev.5 [2023-09-19T19:20:47.794Z] v3.1.0-dev.6 [2023-09-19T19:20:47.794Z] v3.1.0-dev.7 [2023-09-19T19:20:47.794Z] v3.1.0-dev.8 [2023-09-19T19:20:47.794Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-19T19:20:48.081Z] + lftools sign git-tag v3.1.0-dev.27 [2023-09-19T19:20:48.650Z] Signing Git tag with Sigul... [2023-09-19T19:20:48.650Z] Signing v3.1.0-dev.27 [Pipeline] echo [2023-09-19T19:20:48.917Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T19:20:49.201Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-19T19:20:49.208Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-19T19:20:49.231Z] $ docker stop --time=1 3d6354cafb83ad9d58c7ef675535136d71292f4cb969cd49813a988a5f186829 [2023-09-19T19:20:50.554Z] $ docker rm -f --volumes 3d6354cafb83ad9d58c7ef675535136d71292f4cb969cd49813a988a5f186829 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-19T19:20:50.968Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-19T19:20:50.968Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T19:20:51.271Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T19:20:51.271Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T19:20:51.355Z] prd-ubuntu20.04-docker-8c-8g-6612 does not seem to be running inside a container [2023-09-19T19:20:51.421Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-19T19:20:52.082Z] $ docker top d92c7594f92980dc040d8cec6fd42c7348340669af580b0b847d47d68e0c91a0 -eo pid,comm [2023-09-19T19:20:52.132Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-19T19:20:52.132Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-19T19:20:52.171Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T19:20:52.171Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T19:20:52.300Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T19:20:52.303Z] $ docker exec d92c7594f92980dc040d8cec6fd42c7348340669af580b0b847d47d68e0c91a0 ssh-agent [2023-09-19T19:20:52.411Z] SSH_AUTH_SOCK=/tmp/ssh-BbSbSgzrZV63/agent.32 [2023-09-19T19:20:52.411Z] SSH_AGENT_PID=38 [2023-09-19T19:20:52.416Z] Running ssh-add (command line suppressed) [2023-09-19T19:20:52.508Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2149970058328274828.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2149970058328274828.key) [2023-09-19T19:20:52.523Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T19:20:52.812Z] + git semver bump pre [2023-09-19T19:20:53.074Z] 2023-09-19 19:20:52,988 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-19T19:20:53.074Z] 2023-09-19 19:20:52,988 [bump_version] DEBUG bumping version:3.1.0-dev.27 on axis:pre with prefix:dev [2023-09-19T19:20:53.074Z] 2023-09-19 19:20:52,988 [bump_version] DEBUG bumped version:3.1.0-dev.28 [2023-09-19T19:20:53.074Z] 2023-09-19 19:20:52,989 [write_version] DEBUG write version:3.1.0-dev.28 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2023-09-19T19:20:53.074Z] 2023-09-19 19:20:52,989 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-19T19:20:53.074Z] 2023-09-19 19:20:52,989 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-19T19:20:53.074Z] 2023-09-19 19:20:52,990 [execute] INFO git cat-file --batch-check [2023-09-19T19:20:53.074Z] 2023-09-19 19:20:52,991 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-19T19:20:53.074Z] 2023-09-19 19:20:52,995 [execute] INFO git cat-file --batch [2023-09-19T19:20:53.074Z] 2023-09-19 19:20:52,996 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-19T19:20:53.074Z] 2023-09-19 19:20:53,000 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-19T19:20:53.074Z] 3.1.0-dev.28 [Pipeline] } [2023-09-19T19:20:53.083Z] $ docker exec --env ******** --env ******** d92c7594f92980dc040d8cec6fd42c7348340669af580b0b847d47d68e0c91a0 ssh-agent -k [2023-09-19T19:20:53.176Z] unset SSH_AUTH_SOCK; [2023-09-19T19:20:53.176Z] unset SSH_AGENT_PID; [2023-09-19T19:20:53.177Z] echo Agent pid 38 killed; [2023-09-19T19:20:53.188Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-19T19:20:53.499Z] + git semver [Pipeline] } [2023-09-19T19:20:53.772Z] $ docker stop --time=1 d92c7594f92980dc040d8cec6fd42c7348340669af580b0b847d47d68e0c91a0 [2023-09-19T19:20:55.108Z] $ docker rm -f --volumes d92c7594f92980dc040d8cec6fd42c7348340669af580b0b847d47d68e0c91a0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T19:20:55.471Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-19T19:20:55.471Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T19:20:55.775Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T19:20:55.775Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T19:20:55.852Z] prd-ubuntu20.04-docker-8c-8g-6612 does not seem to be running inside a container [2023-09-19T19:20:55.881Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-19T19:20:56.227Z] $ docker top bf5db167f3b86c660f68603753c831a13e8e6b9760d33dfc3f49d80fca9088d7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-19T19:20:56.313Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T19:20:56.313Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T19:20:56.428Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T19:20:56.430Z] $ docker exec bf5db167f3b86c660f68603753c831a13e8e6b9760d33dfc3f49d80fca9088d7 ssh-agent [2023-09-19T19:20:56.536Z] SSH_AUTH_SOCK=/tmp/ssh-lmy3piofzvg6/agent.32 [2023-09-19T19:20:56.536Z] SSH_AGENT_PID=38 [2023-09-19T19:20:56.541Z] Running ssh-add (command line suppressed) [2023-09-19T19:20:56.639Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6072148645259525978.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6072148645259525978.key) [2023-09-19T19:20:56.652Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T19:20:56.938Z] + git semver push [2023-09-19T19:20:57.197Z] 2023-09-19 19:20:57,097 [run_push] DEBUG push [2023-09-19T19:20:57.197Z] 2023-09-19 19:20:57,098 [execute] INFO git cat-file --batch-check [2023-09-19T19:20:57.197Z] 2023-09-19 19:20:57,098 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-19T19:20:57.197Z] 2023-09-19 19:20:57,103 [execute] INFO git rev-list f3f00c3bdd5d76866bdc30ddd2ac6a74761ededf -- [2023-09-19T19:20:57.197Z] 2023-09-19 19:20:57,103 [execute] DEBUG Popen(['git', 'rev-list', 'f3f00c3bdd5d76866bdc30ddd2ac6a74761ededf', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-19T19:20:57.197Z] 2023-09-19 19:20:57,118 [execute] INFO git fetch -v origin [2023-09-19T19:20:57.197Z] 2023-09-19 19:20:57,119 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-19T19:20:57.765Z] 2023-09-19 19:20:57,610 [run_push] DEBUG no remote changes detected [2023-09-19T19:20:57.765Z] 2023-09-19 19:20:57,610 [execute] INFO git push origin semver [2023-09-19T19:20:57.765Z] 2023-09-19 19:20:57,611 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-19T19:20:59.143Z] 2023-09-19 19:20:59,002 [run_push] DEBUG push all version tags [2023-09-19T19:20:59.143Z] 2023-09-19 19:20:59,003 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-19T19:20:59.143Z] 2023-09-19 19:20:59,003 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-19T19:21:00.081Z] 2023-09-19 19:20:59,809 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2023-09-19T19:21:00.081Z] 3.1.0-dev.28 [Pipeline] } [2023-09-19T19:21:00.091Z] $ docker exec --env ******** --env ******** bf5db167f3b86c660f68603753c831a13e8e6b9760d33dfc3f49d80fca9088d7 ssh-agent -k [2023-09-19T19:21:00.190Z] unset SSH_AUTH_SOCK; [2023-09-19T19:21:00.190Z] unset SSH_AGENT_PID; [2023-09-19T19:21:00.190Z] echo Agent pid 38 killed; [2023-09-19T19:21:00.204Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-19T19:21:00.509Z] + git semver [Pipeline] } [2023-09-19T19:21:00.781Z] $ docker stop --time=1 bf5db167f3b86c660f68603753c831a13e8e6b9760d33dfc3f49d80fca9088d7 [2023-09-19T19:21:02.401Z] $ docker rm -f --volumes bf5db167f3b86c660f68603753c831a13e8e6b9760d33dfc3f49d80fca9088d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-09-19T19:21:02.997Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2023-09-19T19:21:02.997Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-19T19:21:02.997Z] total 16 [2023-09-19T19:21:02.997Z] drwxr-xr-x 3 root root 4096 Sep 19 19:11 . [2023-09-19T19:21:02.997Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 19:20 .. [2023-09-19T19:21:02.997Z] drwxr-xr-x 2 root root 4096 Sep 19 19:11 cost [2023-09-19T19:21:02.997Z] -rw-r--r-- 1 root root 85 Sep 19 19:11 cost.csv [2023-09-19T19:21:02.997Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-19T19:21:02.997Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2023-09-19T19:21:02.997Z] total 16 [2023-09-19T19:21:02.997Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 19:11 . [2023-09-19T19:21:02.997Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 19:20 .. [2023-09-19T19:21:02.997Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 19:11 cost [2023-09-19T19:21:02.997Z] -rw-r--r-- 1 jenkins jenkins 85 Sep 19 19:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-19T19:21:03.289Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T19:21:04.152Z] ---> package-listing.sh [2023-09-19T19:21:04.152Z] ++ facter osfamily [2023-09-19T19:21:04.152Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-19T19:21:04.410Z] + OS_FAMILY=debian [2023-09-19T19:21:04.410Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2023-09-19T19:21:04.410Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-19T19:21:04.410Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-19T19:21:04.410Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-19T19:21:04.410Z] + PACKAGES=/tmp/packages_start.txt [2023-09-19T19:21:04.410Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-09-19T19:21:04.410Z] + PACKAGES=/tmp/packages_end.txt [2023-09-19T19:21:04.410Z] + case "${OS_FAMILY}" in [2023-09-19T19:21:04.410Z] + dpkg -l [2023-09-19T19:21:04.410Z] + grep '^ii' [2023-09-19T19:21:04.410Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-19T19:21:04.410Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-19T19:21:04.410Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-19T19:21:04.410Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2023-09-19T19:21:04.410Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2023-09-19T19:21:04.410Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2023-09-19T19:21:04.420Z] 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-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-19T19:21:04.712Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T19:21:05.268Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T19:21:05.268Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T19:21:05.338Z] prd-ubuntu20.04-docker-8c-8g-6612 does not seem to be running inside a container [2023-09-19T19:21:05.369Z] $ 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-sdk-go_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-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-19T19:21:05.558Z] $ docker top fdad4925f9cc8dc844d89efe311b3f55af410e8e1a8777034e71d76de458fb59 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T19:21:05.898Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-19T19:21:06.186Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-19T19:21:06.469Z] + ls /var/log/sa-host [2023-09-19T19:21:06.469Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T19:21:06.624Z] provisioning config files... [2023-09-19T19:21:06.633Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16953503896867876625tmp [Pipeline] { [Pipeline] echo [2023-09-19T19:21:06.649Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T19:21:06.934Z] ---> create-netrc.sh [Pipeline] } [2023-09-19T19:21:06.940Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-19T19:21:07.264Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-19T19:21:07.271Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T19:21:07.651Z] ---> sudo-logs.sh [2023-09-19T19:21:07.651Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-19T19:21:07.764Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T19:21:08.109Z] ---> job-cost.sh [2023-09-19T19:21:08.109Z] lf-activate-venv: SKIPPING [2023-09-19T19:21:08.109Z] DEBUG: total: 0.2199999988079071 [2023-09-19T19:21:08.109Z] INFO: Retrieving Stack Cost... [2023-09-19T19:21:08.377Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-19T19:21:08.942Z] INFO: Archiving Costs [Pipeline] echo [2023-09-19T19:21:08.952Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T19:21:09.244Z] ---> logs-deploy.sh [2023-09-19T19:21:09.244Z] lf-activate-venv: SKIPPING [2023-09-19T19:21:09.244Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/256 [2023-09-19T19:21:09.244Z] INFO: archiving workspace using pattern(s): [2023-09-19T19:21:10.179Z] Archives upload complete. [2023-09-19T19:21:10.437Z] INFO: archiving logs to Nexus