Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 690b0c9df30b882b455dec0110a7cd4f7611a33b 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-ssh12928096911636799298.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh17031125758631800565.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh1062481019607524847.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh17088529569115394163.key Verifying host key using known hosts file > 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-ssh16808402994344100.key Verifying host key using known hosts file > 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/v2]] ========================================================= [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.18 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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7036 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 690b0c9df30b882b455dec0110a7cd4f7611a33b (main) Commit message: "Merge pull request #1227 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.3.0-dev.19" > 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 690b0c9df30b882b455dec0110a7cd4f7611a33b # timeout=10 > git rev-list --no-walk 86d27a5a876ae0ae85a91145bae5663558e9d985 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-04T04:53:04.476Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-04T04:53:04.516Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-04T04:53:04.528Z] ========================================================= [2022-10-04T04:53:04.528Z] EdgeX Global Pipelines Version Info [2022-10-04T04:53:04.528Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-04T04:53:05.232Z] ------------------- [2022-10-04T04:53:05.232Z] stable info: [2022-10-04T04:53:05.232Z] ------------------- [2022-10-04T04:53:05.232Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-04T04:53:05.232Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-04T04:53:05.232Z] Message: update stable to v1.0.239 [2022-10-04T04:53:05.802Z] ------------------- [2022-10-04T04:53:05.802Z] experimental info: [2022-10-04T04:53:05.802Z] ------------------- [2022-10-04T04:53:05.802Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-04T04:53:05.802Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-04T04:53:05.802Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-04T04:53:05.965Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-10-04T04:53:05.977Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-10-04T04:53:05.991Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-04T04:53:06.004Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-04T04:53:06.018Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-04T04:53:06.028Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-04T04:53:06.045Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-04T04:53:06.059Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-10-04T04:53:06.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-04T04:53:06.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-04T04:53:06.089Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-04T04:53:06.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-10-04T04:53:06.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-04T04:53:06.126Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-04T04:53:06.136Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-04T04:53:06.149Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-10-04T04:53:06.165Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-04T04:53:06.174Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-04T04:53:06.185Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-04T04:53:06.196Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-04T04:53:06.206Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-04T04:53:06.217Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-10-04T04:53:06.228Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-04T04:53:06.241Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-04T04:53:06.251Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-04T04:53:06.262Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-04T04:53:06.274Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-04T04:53:06.284Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-10-04T04:53:06.295Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-10-04T04:53:06.306Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-10-04T04:53:06.320Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 690b0c9df30b882b455dec0110a7cd4f7611a33b [Pipeline] echo [2022-10-04T04:53:06.333Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 690b0c9 [Pipeline] echo [2022-10-04T04:53:06.344Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-04T04:53:06.387Z] provisioning config files... [2022-10-04T04:53:06.401Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14738932607004991623tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-04T04:53:06.705Z] ---> docker-login.sh [2022-10-04T04:53:06.705Z] nexus3.edgexfoundry.org:10001 [2022-10-04T04:53:06.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T04:53:07.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T04:53:07.227Z] Configure a credential helper to remove this warning. See [2022-10-04T04:53:07.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T04:53:07.227Z] [2022-10-04T04:53:07.227Z] Login Succeeded [2022-10-04T04:53:07.227Z] nexus3.edgexfoundry.org:10002 [2022-10-04T04:53:07.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T04:53:07.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T04:53:07.227Z] Configure a credential helper to remove this warning. See [2022-10-04T04:53:07.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T04:53:07.227Z] [2022-10-04T04:53:07.227Z] Login Succeeded [2022-10-04T04:53:07.227Z] nexus3.edgexfoundry.org:10003 [2022-10-04T04:53:07.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T04:53:07.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T04:53:07.487Z] Configure a credential helper to remove this warning. See [2022-10-04T04:53:07.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T04:53:07.487Z] [2022-10-04T04:53:07.487Z] Login Succeeded [2022-10-04T04:53:07.487Z] nexus3.edgexfoundry.org:10004 [2022-10-04T04:53:07.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T04:53:07.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T04:53:07.487Z] Configure a credential helper to remove this warning. See [2022-10-04T04:53:07.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T04:53:07.487Z] [2022-10-04T04:53:07.487Z] Login Succeeded [2022-10-04T04:53:07.487Z] docker.io [2022-10-04T04:53:07.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T04:53:08.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T04:53:08.004Z] Configure a credential helper to remove this warning. See [2022-10-04T04:53:08.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T04:53:08.004Z] [2022-10-04T04:53:08.004Z] Login Succeeded [2022-10-04T04:53:08.004Z] ---> docker-login.sh ends [Pipeline] } [2022-10-04T04:53:08.010Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-04T04:53:08.361Z] + git rev-list -1 --merges 690b0c9df30b882b455dec0110a7cd4f7611a33b~1..690b0c9df30b882b455dec0110a7cd4f7611a33b [Pipeline] echo [2022-10-04T04:53:08.392Z] -----------> git rev-list -1 --merges 690b0c9df30b882b455dec0110a7cd4f7611a33b~1..690b0c9df30b882b455dec0110a7cd4f7611a33b 690b0c9df30b882b455dec0110a7cd4f7611a33b [2022-10-04T04:53:08.392Z] 690b0c9df30b882b455dec0110a7cd4f7611a33b [false] [Pipeline] sh [2022-10-04T04:53:08.679Z] + git log --format=format:%s -1 690b0c9df30b882b455dec0110a7cd4f7611a33b [Pipeline] echo [2022-10-04T04:53:08.693Z] ========================================================= [2022-10-04T04:53:08.693Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-04T04:53:08.693Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-04T04:53:09.008Z] + git log --format=format:%s -1 690b0c9df30b882b455dec0110a7cd4f7611a33b [Pipeline] echo [2022-10-04T04:53:09.018Z] [semverPrep] GIT_COMMIT: 690b0c9df30b882b455dec0110a7cd4f7611a33b, Commit Message: Merge pull request #1227 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.3.0-dev.19 [Pipeline] echo [2022-10-04T04:53:09.028Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-04T04:53:09.397Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-04T04:53:09.397Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-04T04:53:09.397Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-04T04:53:09.397Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-04T04:53:09.397Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-04T04:53:09.397Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-04T04:53:09.397Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T04:53:09.810Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-04T04:53:09.810Z] [2022-10-04T04:53:09.810Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T04:53:10.108Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-04T04:53:10.108Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-04T04:53:10.108Z] b85a868b505f: Pulling fs layer [2022-10-04T04:53:10.108Z] e2be974225ed: Pulling fs layer [2022-10-04T04:53:10.108Z] 339a4e72a1f5: Pulling fs layer [2022-10-04T04:53:10.108Z] 988bab9f4d93: Pulling fs layer [2022-10-04T04:53:10.108Z] 1469e6f7b9e6: Pulling fs layer [2022-10-04T04:53:10.108Z] eaf3925da568: Pulling fs layer [2022-10-04T04:53:10.108Z] bab4dde63d76: Pulling fs layer [2022-10-04T04:53:10.108Z] bde34c3a00c8: Pulling fs layer [2022-10-04T04:53:10.108Z] b352a97aabf1: Pulling fs layer [2022-10-04T04:53:10.108Z] 4872d77fe225: Pulling fs layer [2022-10-04T04:53:10.108Z] 5851b861e8e6: Pulling fs layer [2022-10-04T04:53:10.108Z] 1469e6f7b9e6: Waiting [2022-10-04T04:53:10.108Z] eaf3925da568: Waiting [2022-10-04T04:53:10.108Z] bab4dde63d76: Waiting [2022-10-04T04:53:10.108Z] bde34c3a00c8: Waiting [2022-10-04T04:53:10.108Z] 988bab9f4d93: Waiting [2022-10-04T04:53:10.108Z] 5851b861e8e6: Waiting [2022-10-04T04:53:10.108Z] 4872d77fe225: Waiting [2022-10-04T04:53:10.108Z] b352a97aabf1: Waiting [2022-10-04T04:53:10.108Z] e2be974225ed: Verifying Checksum [2022-10-04T04:53:10.108Z] e2be974225ed: Download complete [2022-10-04T04:53:10.108Z] 988bab9f4d93: Download complete [2022-10-04T04:53:10.369Z] 1469e6f7b9e6: Verifying Checksum [2022-10-04T04:53:10.369Z] 1469e6f7b9e6: Download complete [2022-10-04T04:53:10.369Z] eaf3925da568: Verifying Checksum [2022-10-04T04:53:10.369Z] eaf3925da568: Download complete [2022-10-04T04:53:10.369Z] 339a4e72a1f5: Verifying Checksum [2022-10-04T04:53:10.369Z] 339a4e72a1f5: Download complete [2022-10-04T04:53:10.369Z] bde34c3a00c8: Verifying Checksum [2022-10-04T04:53:10.369Z] bde34c3a00c8: Download complete [2022-10-04T04:53:10.369Z] b352a97aabf1: Download complete [2022-10-04T04:53:10.369Z] 4872d77fe225: Verifying Checksum [2022-10-04T04:53:10.369Z] 4872d77fe225: Download complete [2022-10-04T04:53:10.369Z] 5851b861e8e6: Verifying Checksum [2022-10-04T04:53:10.369Z] 5851b861e8e6: Download complete [2022-10-04T04:53:10.369Z] b85a868b505f: Verifying Checksum [2022-10-04T04:53:10.369Z] b85a868b505f: Download complete [2022-10-04T04:53:10.629Z] bab4dde63d76: Verifying Checksum [2022-10-04T04:53:10.629Z] bab4dde63d76: Download complete [2022-10-04T04:53:11.569Z] b85a868b505f: Pull complete [2022-10-04T04:53:11.828Z] e2be974225ed: Pull complete [2022-10-04T04:53:12.397Z] 339a4e72a1f5: Pull complete [2022-10-04T04:53:12.397Z] 988bab9f4d93: Pull complete [2022-10-04T04:53:12.658Z] 1469e6f7b9e6: Pull complete [2022-10-04T04:53:12.916Z] eaf3925da568: Pull complete [2022-10-04T04:53:14.822Z] bab4dde63d76: Pull complete [2022-10-04T04:53:14.822Z] bde34c3a00c8: Pull complete [2022-10-04T04:53:14.822Z] b352a97aabf1: Pull complete [2022-10-04T04:53:14.822Z] 4872d77fe225: Pull complete [2022-10-04T04:53:15.081Z] 5851b861e8e6: Pull complete [2022-10-04T04:53:15.081Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-04T04:53:15.081Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-04T04:53:15.081Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T04:53:15.171Z] prd-ubuntu20.04-docker-8c-8g-7036 does not seem to be running inside a container [2022-10-04T04:53:15.205Z] $ 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 [2022-10-04T04:53:16.741Z] $ docker top 058b2a69238d81a3a910bb12f3387e0c573ef2b3ffbefc040e0ba4d9a14777d4 -eo pid,comm [2022-10-04T04:53:16.801Z] 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). [2022-10-04T04:53:16.801Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-04T04:53:16.846Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-04T04:53:16.846Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-04T04:53:16.957Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-04T04:53:16.962Z] $ docker exec 058b2a69238d81a3a910bb12f3387e0c573ef2b3ffbefc040e0ba4d9a14777d4 ssh-agent [2022-10-04T04:53:17.074Z] SSH_AUTH_SOCK=/tmp/ssh-6CJJ4mPBsVMu/agent.33 [2022-10-04T04:53:17.074Z] SSH_AGENT_PID=39 [2022-10-04T04:53:17.082Z] Running ssh-add (command line suppressed) [2022-10-04T04:53:17.191Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6135211764450273217.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6135211764450273217.key) [2022-10-04T04:53:17.207Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-04T04:53:17.496Z] + git tag --points-at HEAD [Pipeline] } [2022-10-04T04:53:17.513Z] $ docker exec --env ******** --env ******** 058b2a69238d81a3a910bb12f3387e0c573ef2b3ffbefc040e0ba4d9a14777d4 ssh-agent -k [2022-10-04T04:53:17.623Z] unset SSH_AUTH_SOCK; [2022-10-04T04:53:17.624Z] unset SSH_AGENT_PID; [2022-10-04T04:53:17.624Z] echo Agent pid 39 killed; [2022-10-04T04:53:17.633Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-04T04:53:17.660Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-04T04:53:17.660Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-04T04:53:17.769Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-04T04:53:17.772Z] $ docker exec 058b2a69238d81a3a910bb12f3387e0c573ef2b3ffbefc040e0ba4d9a14777d4 ssh-agent [2022-10-04T04:53:17.875Z] SSH_AUTH_SOCK=/tmp/ssh-Wub4ZVFmau7p/agent.71 [2022-10-04T04:53:17.875Z] SSH_AGENT_PID=77 [2022-10-04T04:53:17.884Z] Running ssh-add (command line suppressed) [2022-10-04T04:53:17.992Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1879128117009900807.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1879128117009900807.key) [2022-10-04T04:53:18.005Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-04T04:53:18.293Z] + git semver init [2022-10-04T04:53:18.552Z] 2022-10-04 04:53:18,469 [run_init] DEBUG init version:0.0.0 force:False [2022-10-04T04:53:18.552Z] 2022-10-04 04:53:18,470 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-10-04T04:53:18.552Z] 2022-10-04 04:53:18,470 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-10-04T04:53:18.552Z] 2022-10-04 04:53:18,471 [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) [2022-10-04T04:53:19.492Z] 2022-10-04 04:53:19,457 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2022-10-04T04:53:19.492Z] 2022-10-04 04:53:19,458 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2022-10-04T04:53:19.492Z] 2022-10-04 04:53:19,458 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-10-04T04:53:19.492Z] 2022-10-04 04:53:19,458 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-10-04T04:53:19.492Z] 2.3.0-dev.35 [Pipeline] } [2022-10-04T04:53:19.503Z] $ docker exec --env ******** --env ******** 058b2a69238d81a3a910bb12f3387e0c573ef2b3ffbefc040e0ba4d9a14777d4 ssh-agent -k [2022-10-04T04:53:19.605Z] unset SSH_AUTH_SOCK; [2022-10-04T04:53:19.605Z] unset SSH_AGENT_PID; [2022-10-04T04:53:19.605Z] echo Agent pid 77 killed; [2022-10-04T04:53:19.612Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-04T04:53:19.909Z] + git semver [Pipeline] } [2022-10-04T04:53:20.183Z] $ docker stop --time=1 058b2a69238d81a3a910bb12f3387e0c573ef2b3ffbefc040e0ba4d9a14777d4 [2022-10-04T04:53:21.517Z] $ docker rm -f 058b2a69238d81a3a910bb12f3387e0c573ef2b3ffbefc040e0ba4d9a14777d4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-04T04:53:21.861Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-04T04:53:22.037Z] Stashed 1 file(s) [Pipeline] echo [2022-10-04T04:53:22.039Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.35 [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 [2022-10-04T04:53:22.135Z] provisioning config files... [2022-10-04T04:53:22.157Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10044303661500025353tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-04T04:53:22.471Z] ---> docker-login.sh [2022-10-04T04:53:22.471Z] nexus3.edgexfoundry.org:10001 [2022-10-04T04:53:22.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T04:53:22.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T04:53:22.472Z] Configure a credential helper to remove this warning. See [2022-10-04T04:53:22.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T04:53:22.472Z] [2022-10-04T04:53:22.472Z] Login Succeeded [2022-10-04T04:53:22.472Z] nexus3.edgexfoundry.org:10002 [2022-10-04T04:53:22.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T04:53:22.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T04:53:22.472Z] Configure a credential helper to remove this warning. See [2022-10-04T04:53:22.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T04:53:22.472Z] [2022-10-04T04:53:22.472Z] Login Succeeded [2022-10-04T04:53:22.472Z] nexus3.edgexfoundry.org:10003 [2022-10-04T04:53:22.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T04:53:22.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T04:53:22.731Z] Configure a credential helper to remove this warning. See [2022-10-04T04:53:22.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T04:53:22.731Z] [2022-10-04T04:53:22.731Z] Login Succeeded [2022-10-04T04:53:22.731Z] nexus3.edgexfoundry.org:10004 [2022-10-04T04:53:22.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T04:53:22.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T04:53:22.731Z] Configure a credential helper to remove this warning. See [2022-10-04T04:53:22.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T04:53:22.731Z] [2022-10-04T04:53:22.731Z] Login Succeeded [2022-10-04T04:53:22.731Z] docker.io [2022-10-04T04:53:22.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T04:53:23.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T04:53:23.250Z] Configure a credential helper to remove this warning. See [2022-10-04T04:53:23.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T04:53:23.250Z] [2022-10-04T04:53:23.250Z] Login Succeeded [2022-10-04T04:53:23.250Z] ---> docker-login.sh ends [Pipeline] } [2022-10-04T04:53:23.257Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-04T04:53:23.318Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-04T04:53:23.328Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-04T04:53:23.334Z] ========================================================= [2022-10-04T04:53:23.334Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-04T04:53:23.334Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T04:53:23.636Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-04T04:53:23.636Z] Sending build context to Docker daemon 9.937MB [2022-10-04T04:53:23.637Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-04T04:53:23.637Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-04T04:53:23.637Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-04T04:53:23.637Z] 2408cc74d12b: Pulling fs layer [2022-10-04T04:53:23.637Z] ea60b727a1ce: Pulling fs layer [2022-10-04T04:53:23.637Z] 30c4a7721957: Pulling fs layer [2022-10-04T04:53:23.637Z] 370296b7ddb6: Pulling fs layer [2022-10-04T04:53:23.637Z] 7c6cee850709: Pulling fs layer [2022-10-04T04:53:23.637Z] aa9baa53a306: Pulling fs layer [2022-10-04T04:53:23.637Z] 8b309c321861: Pulling fs layer [2022-10-04T04:53:23.637Z] d8d76fd02f46: Pulling fs layer [2022-10-04T04:53:23.637Z] fa31f396de31: Pulling fs layer [2022-10-04T04:53:23.637Z] 8b309c321861: Waiting [2022-10-04T04:53:23.637Z] d8d76fd02f46: Waiting [2022-10-04T04:53:23.637Z] 370296b7ddb6: Waiting [2022-10-04T04:53:23.637Z] fa31f396de31: Waiting [2022-10-04T04:53:23.637Z] 7c6cee850709: Waiting [2022-10-04T04:53:23.637Z] aa9baa53a306: Waiting [2022-10-04T04:53:23.637Z] 30c4a7721957: Verifying Checksum [2022-10-04T04:53:23.637Z] 30c4a7721957: Download complete [2022-10-04T04:53:23.903Z] ea60b727a1ce: Verifying Checksum [2022-10-04T04:53:23.903Z] ea60b727a1ce: Download complete [2022-10-04T04:53:23.903Z] 7c6cee850709: Verifying Checksum [2022-10-04T04:53:23.903Z] 7c6cee850709: Download complete [2022-10-04T04:53:23.903Z] aa9baa53a306: Verifying Checksum [2022-10-04T04:53:23.903Z] aa9baa53a306: Download complete [2022-10-04T04:53:23.903Z] 2408cc74d12b: Verifying Checksum [2022-10-04T04:53:23.903Z] 2408cc74d12b: Download complete [2022-10-04T04:53:23.903Z] 8b309c321861: Download complete [2022-10-04T04:53:23.903Z] 2408cc74d12b: Pull complete [2022-10-04T04:53:24.171Z] ea60b727a1ce: Pull complete [2022-10-04T04:53:24.171Z] 30c4a7721957: Pull complete [2022-10-04T04:53:24.435Z] fa31f396de31: Verifying Checksum [2022-10-04T04:53:24.435Z] fa31f396de31: Download complete [2022-10-04T04:53:24.435Z] d8d76fd02f46: Verifying Checksum [2022-10-04T04:53:24.435Z] d8d76fd02f46: Download complete [2022-10-04T04:53:24.693Z] 370296b7ddb6: Verifying Checksum [2022-10-04T04:53:24.693Z] 370296b7ddb6: Download complete [2022-10-04T04:53:28.892Z] 370296b7ddb6: Pull complete [2022-10-04T04:53:28.892Z] 7c6cee850709: Pull complete [2022-10-04T04:53:28.892Z] aa9baa53a306: Pull complete [2022-10-04T04:53:28.892Z] 8b309c321861: Pull complete [2022-10-04T04:53:30.794Z] d8d76fd02f46: Pull complete [2022-10-04T04:53:31.729Z] fa31f396de31: Pull complete [2022-10-04T04:53:31.729Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-04T04:53:31.729Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-04T04:53:31.729Z] ---> cef68f9685f8 [2022-10-04T04:53:31.729Z] Step 3/11 : ARG MAKE=make build [2022-10-04T04:53:33.725Z] ---> Running in 26e601de199d [2022-10-04T04:53:33.725Z] Removing intermediate container 26e601de199d [2022-10-04T04:53:33.725Z] ---> 4934f67517dd [2022-10-04T04:53:33.725Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-04T04:53:33.725Z] ---> Running in 4ec97b91b3fe [2022-10-04T04:53:33.725Z] Removing intermediate container 4ec97b91b3fe [2022-10-04T04:53:33.725Z] ---> ee3e24bf9f0a [2022-10-04T04:53:33.725Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-04T04:53:33.725Z] ---> Running in 7e509424ddab [2022-10-04T04:53:33.984Z] Removing intermediate container 7e509424ddab [2022-10-04T04:53:33.984Z] ---> 24d749087863 [2022-10-04T04:53:33.984Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-04T04:53:33.984Z] ---> Running in b631eb51a284 [2022-10-04T04:53:34.561Z] Removing intermediate container b631eb51a284 [2022-10-04T04:53:34.561Z] ---> 1337bbdec053 [2022-10-04T04:53:34.561Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-04T04:53:34.561Z] ---> Running in f6ebcbbeeb45 [2022-10-04T04:53:34.820Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-04T04:53:35.757Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-04T04:53:36.017Z] OK: 211 MiB in 51 packages [2022-10-04T04:53:36.585Z] Removing intermediate container f6ebcbbeeb45 [2022-10-04T04:53:36.585Z] ---> 176c477bc7ae [2022-10-04T04:53:36.585Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-04T04:53:36.585Z] ---> 4d9e7c3acfff [2022-10-04T04:53:36.585Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-04T04:53:36.585Z] ---> Running in 0edf0512bcc6 [2022-10-04T04:53:37.106Z] Still waiting to schedule task [2022-10-04T04:53:37.107Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-04T04:53:54.694Z] Removing intermediate container 0edf0512bcc6 [2022-10-04T04:53:54.694Z] ---> 9e6993fe44f6 [2022-10-04T04:53:54.694Z] Step 10/11 : COPY . . [2022-10-04T04:53:54.694Z] ---> 12ca63f7daae [2022-10-04T04:53:54.694Z] Step 11/11 : RUN ${MAKE} [2022-10-04T04:53:54.694Z] ---> Running in 55515a77fdbd [2022-10-04T04:53:54.694Z] noop [2022-10-04T04:53:54.694Z] Removing intermediate container 55515a77fdbd [2022-10-04T04:53:54.694Z] ---> 596daf326cbe [2022-10-04T04:53:54.694Z] Successfully built 596daf326cbe [2022-10-04T04:53:54.694Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T04:53:55.009Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-04T04:53:55.009Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T04:53:55.074Z] prd-ubuntu20.04-docker-8c-8g-7036 does not seem to be running inside a container [2022-10-04T04:53:55.099Z] $ 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 [2022-10-04T04:53:55.486Z] $ docker top f052be97f374d753da445352ef8243e95d7928d8978aa5c0cc78847935bd9765 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-04T04:53:55.825Z] + go version [2022-10-04T04:53:55.825Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-04T04:53:55.836Z] $ docker stop --time=1 f052be97f374d753da445352ef8243e95d7928d8978aa5c0cc78847935bd9765 [2022-10-04T04:53:57.139Z] $ docker rm -f f052be97f374d753da445352ef8243e95d7928d8978aa5c0cc78847935bd9765 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T04:53:57.529Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-04T04:53:57.529Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T04:53:57.594Z] prd-ubuntu20.04-docker-8c-8g-7036 does not seem to be running inside a container [2022-10-04T04:53:57.623Z] $ 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 [2022-10-04T04:53:58.032Z] $ docker top 800cb0497cc64ffcf6869e29d8ccf371fc9e47fdd1b3f59283a78f4cf1d07f60 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-04T04:53:58.373Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2022-10-04T04:53:58.668Z] + make test [2022-10-04T04:53:58.668Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-04T04:54:05.245Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-04T04:54:20.128Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-04T04:54:20.128Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-04T04:54:20.128Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-04T04:54:20.128Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-04T04:54:20.128Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-04T04:54:20.388Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.088s coverage: 27.6% of statements [2022-10-04T04:54:20.388Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.086s coverage: 78.9% of statements [2022-10-04T04:54:20.388Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-04T04:54:20.388Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.103s coverage: 60.0% of statements [2022-10-04T04:54:20.388Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-04T04:54:20.388Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-04T04:54:20.647Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.115s coverage: 54.4% of statements [2022-10-04T04:54:20.647Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-04T04:54:20.647Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-04T04:54:20.647Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-04T04:54:20.647Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-04T04:54:20.647Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.099s coverage: 65.1% of statements [2022-10-04T04:54:20.647Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-04T04:54:20.647Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-04T04:54:20.647Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.756s coverage: 89.2% of statements [2022-10-04T04:54:20.647Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-04T04:54:20.905Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.7% of statements [2022-10-04T04:54:20.905Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-04T04:54:38.989Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-04T04:54:38.989Z] GO111MODULE=on go vet ./... [2022-10-04T04:54:41.521Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-04T04:54:41.521Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-04T04:54:41.780Z] ./bin/test-attribution-txt.sh [2022-10-04T04:54:41.780Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-04T04:54:41.780Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-04T04:54:41.780Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-04T04:54:41.780Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-04T04:54:41.792Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-04T04:54:41.804Z] $ docker stop --time=1 800cb0497cc64ffcf6869e29d8ccf371fc9e47fdd1b3f59283a78f4cf1d07f60 [2022-10-04T04:54:43.908Z] $ docker rm -f 800cb0497cc64ffcf6869e29d8ccf371fc9e47fdd1b3f59283a78f4cf1d07f60 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-04T04:54:44.421Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-04T04:54:44.473Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-04T04:54:44.938Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-04T04:54:45.224Z] + ls -al . [2022-10-04T04:54:45.225Z] total 276 [2022-10-04T04:54:45.225Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 4 04:53 . [2022-10-04T04:54:45.225Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 04:53 .. [2022-10-04T04:54:45.225Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 04:53 .dockerignore [2022-10-04T04:54:45.225Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 04:54 .git [2022-10-04T04:54:45.225Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 04:53 .github [2022-10-04T04:54:45.225Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 4 04:53 .gitignore [2022-10-04T04:54:45.225Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 4 04:53 .golangci.yml [2022-10-04T04:54:45.225Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 04:53 .semver [2022-10-04T04:54:45.225Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 4 04:53 CHANGELOG.md [2022-10-04T04:54:45.225Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 04:53 GOVERNANCE.md [2022-10-04T04:54:45.225Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 4 04:53 Jenkinsfile [2022-10-04T04:54:45.225Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 4 04:53 LICENSE [2022-10-04T04:54:45.225Z] -rw-rw-r-- 1 jenkins jenkins 2002 Oct 4 04:53 Makefile [2022-10-04T04:54:45.225Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 4 04:53 OWNERS.md [2022-10-04T04:54:45.225Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 4 04:53 README.md [2022-10-04T04:54:45.225Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 4 04:53 VERSION [2022-10-04T04:54:45.225Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 04:53 bin [2022-10-04T04:54:45.225Z] -rw-r--r-- 1 jenkins jenkins 100927 Oct 4 04:54 coverage.out [2022-10-04T04:54:45.225Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 04:53 example [2022-10-04T04:54:45.225Z] -rw-rw-r-- 1 jenkins jenkins 3412 Oct 4 04:53 go.mod [2022-10-04T04:54:45.225Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 4 04:53 go.sum [2022-10-04T04:54:45.225Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 4 04:53 internal [2022-10-04T04:54:45.225Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 04:53 openapi [2022-10-04T04:54:45.225Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 04:53 pkg [2022-10-04T04:54:45.225Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 04:53 snap [2022-10-04T04:54:45.225Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 4 04:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T04:54:45.531Z] + 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=690b0c9df30b882b455dec0110a7cd4f7611a33b --label arch=amd64 --label version=2.3.0-dev.35 . [2022-10-04T04:54:45.531Z] Sending build context to Docker daemon 10.04MB [2022-10-04T04:54:45.531Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-04T04:54:45.531Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-04T04:54:45.531Z] ---> 596daf326cbe [2022-10-04T04:54:45.531Z] Step 3/25 : ARG MAKE=make build [2022-10-04T04:54:45.790Z] ---> Running in bd45cbaa9a41 [2022-10-04T04:54:45.790Z] Removing intermediate container bd45cbaa9a41 [2022-10-04T04:54:45.790Z] ---> 8c7a0ec6ddac [2022-10-04T04:54:45.790Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-04T04:54:45.790Z] ---> Running in 13c277e86c83 [2022-10-04T04:54:46.048Z] Removing intermediate container 13c277e86c83 [2022-10-04T04:54:46.048Z] ---> 5b4032e0a510 [2022-10-04T04:54:46.048Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-04T04:54:46.048Z] ---> Running in ae588b7d795e [2022-10-04T04:54:46.048Z] Removing intermediate container ae588b7d795e [2022-10-04T04:54:46.048Z] ---> 89a5af2b90c0 [2022-10-04T04:54:46.048Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-04T04:54:46.048Z] ---> Running in 46643a1cd853 [2022-10-04T04:54:46.614Z] Removing intermediate container 46643a1cd853 [2022-10-04T04:54:46.614Z] ---> d7572f024423 [2022-10-04T04:54:46.614Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-04T04:54:46.875Z] ---> Running in 823b2314759b [2022-10-04T04:54:47.134Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-04T04:54:48.074Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-04T04:54:48.334Z] OK: 211 MiB in 51 packages [2022-10-04T04:54:48.593Z] Removing intermediate container 823b2314759b [2022-10-04T04:54:48.593Z] ---> ea4643bfc429 [2022-10-04T04:54:48.593Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-04T04:54:48.852Z] ---> 19afcdca5a39 [2022-10-04T04:54:48.852Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-04T04:54:48.852Z] ---> Running in f3e98ad8b78c [2022-10-04T04:54:49.420Z] Removing intermediate container f3e98ad8b78c [2022-10-04T04:54:49.420Z] ---> f050ff75556e [2022-10-04T04:54:49.420Z] Step 10/25 : COPY . . [2022-10-04T04:54:49.988Z] ---> 3a78f0f12d0a [2022-10-04T04:54:49.988Z] Step 11/25 : RUN ${MAKE} [2022-10-04T04:54:49.988Z] ---> Running in 3d65da52a24d [2022-10-04T04:54:50.247Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.35" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-10-04T04:55:05.995Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7037 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-10-04T04:55:06.007Z] Running in /w/workspace/device-sdk-go/110 [Pipeline] { [Pipeline] checkout [2022-10-04T04:55:06.039Z] The recommended git tool is: git [2022-10-04T04:55:08.381Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-04T04:55:10.944Z] Removing intermediate container 3d65da52a24d [2022-10-04T04:55:10.944Z] ---> ba44826dd7c7 [2022-10-04T04:55:10.944Z] Step 12/25 : FROM alpine:3.16 [2022-10-04T04:55:11.203Z] 3.16: Pulling from library/alpine [2022-10-04T04:55:11.462Z] 213ec9aee27d: Pulling fs layer [2022-10-04T04:55:11.755Z] 213ec9aee27d: Verifying Checksum [2022-10-04T04:55:11.755Z] 213ec9aee27d: Download complete [2022-10-04T04:55:11.755Z] 213ec9aee27d: Pull complete [2022-10-04T04:55:11.755Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-04T04:55:11.755Z] Status: Downloaded newer image for alpine:3.16 [2022-10-04T04:55:11.755Z] ---> 9c6f07244728 [2022-10-04T04:55:11.755Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-04T04:55:12.014Z] ---> Running in e9e449eea4cf [2022-10-04T04:55:12.014Z] Removing intermediate container e9e449eea4cf [2022-10-04T04:55:12.014Z] ---> 61ea1379f140 [2022-10-04T04:55:12.014Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-04T04:55:12.014Z] ---> Running in 69766ed2b1bb [2022-10-04T04:55:12.024Z] using credential edgex-jenkins-ssh [2022-10-04T04:55:12.040Z] Cloning the remote Git repository [2022-10-04T04:55:12.088Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-10-04T04:55:12.164Z] > git init /w/workspace/device-sdk-go/110 # timeout=10 [2022-10-04T04:55:12.582Z] Removing intermediate container 69766ed2b1bb [2022-10-04T04:55:12.582Z] ---> aaca40728f0d [2022-10-04T04:55:12.582Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-04T04:55:12.582Z] ---> Running in 22d3c373ebcd [2022-10-04T04:55:12.841Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-04T04:55:12.314Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-04T04:55:12.315Z] > git --version # timeout=10 [2022-10-04T04:55:12.335Z] > git --version # 'git version 2.25.1' [2022-10-04T04:55:12.337Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-04T04:55:12.384Z] Verifying host key using known hosts file [2022-10-04T04:55:12.581Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-04T04:55:12.594Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-04T04:55:13.781Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-04T04:55:14.041Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-04T04:55:14.300Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-04T04:55:14.300Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-04T04:55:14.300Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-04T04:55:14.557Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-04T04:55:14.557Z] Executing busybox-1.35.0-r17.trigger [2022-10-04T04:55:14.557Z] OK: 8 MiB in 19 packages [2022-10-04T04:55:14.152Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-04T04:55:14.176Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-04T04:55:15.004Z] Avoid second fetch [2022-10-04T04:55:15.005Z] Checking out Revision 690b0c9df30b882b455dec0110a7cd4f7611a33b (main) [2022-10-04T04:55:15.126Z] Removing intermediate container 22d3c373ebcd [2022-10-04T04:55:15.126Z] ---> 4792b9f7cdcb [2022-10-04T04:55:15.126Z] Step 16/25 : WORKDIR / [2022-10-04T04:55:15.126Z] ---> Running in 3217745081bb [2022-10-04T04:55:15.126Z] Removing intermediate container 3217745081bb [2022-10-04T04:55:15.126Z] ---> f140962c493e [2022-10-04T04:55:15.126Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-04T04:55:15.384Z] ---> a6ed5bd2e868 [2022-10-04T04:55:15.384Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-04T04:55:15.473Z] Commit message: "Merge pull request #1227 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.3.0-dev.19" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-04T04:55:15.952Z] ---> 87827bc90b84 [2022-10-04T04:55:15.952Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-04T04:55:15.023Z] > git config core.sparsecheckout # timeout=10 [2022-10-04T04:55:15.039Z] > git checkout -f 690b0c9df30b882b455dec0110a7cd4f7611a33b # timeout=10 [2022-10-04T04:55:16.211Z] ---> fa9e2233b08f [2022-10-04T04:55:16.211Z] Step 20/25 : EXPOSE 59999 [2022-10-04T04:55:16.211Z] ---> Running in 41be5bdfd7dc [2022-10-04T04:55:16.211Z] Removing intermediate container 41be5bdfd7dc [2022-10-04T04:55:16.211Z] ---> 2a3f8ab6e326 [2022-10-04T04:55:16.211Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-04T04:55:16.211Z] ---> Running in 546e47eb3bda [2022-10-04T04:55:16.345Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-04T04:55:16.345Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-04T04:55:16.345Z] Dload Upload Total Spent Left Speed [2022-10-04T04:55:16.345Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 93348 0 --:--:-- --:--:-- --:--:-- 94044 [2022-10-04T04:55:16.469Z] Removing intermediate container 546e47eb3bda [2022-10-04T04:55:16.469Z] ---> 707124e85a3c [2022-10-04T04:55:16.469Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-04T04:55:16.469Z] ---> Running in eefc370d1ac5 [2022-10-04T04:55:16.469Z] Removing intermediate container eefc370d1ac5 [2022-10-04T04:55:16.469Z] ---> 7c3218b74e8f [2022-10-04T04:55:16.469Z] Step 23/25 : LABEL arch=amd64 [2022-10-04T04:55:16.469Z] ---> Running in b205a7b000f3 [Pipeline] sh [2022-10-04T04:55:16.726Z] Removing intermediate container b205a7b000f3 [2022-10-04T04:55:16.726Z] ---> 3e4a9816de3a [2022-10-04T04:55:16.726Z] Step 24/25 : LABEL git_sha=690b0c9df30b882b455dec0110a7cd4f7611a33b [2022-10-04T04:55:16.726Z] ---> Running in 2ebea2276af4 [2022-10-04T04:55:16.726Z] Removing intermediate container 2ebea2276af4 [2022-10-04T04:55:16.726Z] ---> bc746eb6b577 [2022-10-04T04:55:16.726Z] Step 25/25 : LABEL version=2.3.0-dev.35 [2022-10-04T04:55:16.922Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-04T04:55:16.985Z] ---> Running in 4038484074fc [2022-10-04T04:55:16.985Z] Removing intermediate container 4038484074fc [2022-10-04T04:55:16.985Z] ---> 968b6bda33f4 [2022-10-04T04:55:16.985Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-04T04:55:16.985Z] Successfully built 968b6bda33f4 [2022-10-04T04:55:16.985Z] 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 [2022-10-04T04:55:17.253Z] + sudo tee /etc/docker/daemon.new [2022-10-04T04:55:17.253Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-04T04:55:17.253Z] { [2022-10-04T04:55:17.253Z] "registry-mirrors": [ [2022-10-04T04:55:17.253Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-04T04:55:17.253Z] ], [2022-10-04T04:55:17.253Z] "bip": "10.250.0.254/24", [2022-10-04T04:55:17.253Z] "hosts": [ [2022-10-04T04:55:17.253Z] "tcp://0.0.0.0:5555", [2022-10-04T04:55:17.253Z] "unix:///var/run/docker.sock" [2022-10-04T04:55:17.253Z] ], [2022-10-04T04:55:17.253Z] "mtu": 1458, [2022-10-04T04:55:17.253Z] "selinux-enabled": true, [2022-10-04T04:55:17.253Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-04T04:55:17.253Z] } [Pipeline] sh [2022-10-04T04:55:17.407Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-04T04:55:17.407Z] [2022-10-04T04:55:17.407Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T04:55:17.585Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-04T04:55:17.711Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-04T04:55:17.711Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-04T04:55:17.711Z] 5eb5b503b376: Pulling fs layer [2022-10-04T04:55:17.711Z] 5c69ac0246d0: Pulling fs layer [2022-10-04T04:55:17.711Z] ec43610c2a17: Pulling fs layer [2022-10-04T04:55:17.711Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-04T04:55:17.711Z] 33b1e0a273af: Pulling fs layer [2022-10-04T04:55:17.711Z] 5d3b04190fa2: Pulling fs layer [2022-10-04T04:55:17.711Z] 2f39f015ded8: Pulling fs layer [2022-10-04T04:55:17.711Z] 33b1e0a273af: Waiting [2022-10-04T04:55:17.711Z] 5d3b04190fa2: Waiting [2022-10-04T04:55:17.711Z] 2f39f015ded8: Waiting [2022-10-04T04:55:17.711Z] 3a2ae6a8a46f: Waiting [2022-10-04T04:55:17.711Z] 5c69ac0246d0: Verifying Checksum [2022-10-04T04:55:17.711Z] 5c69ac0246d0: Download complete [2022-10-04T04:55:17.711Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-04T04:55:17.711Z] 3a2ae6a8a46f: Download complete [2022-10-04T04:55:17.711Z] 33b1e0a273af: Verifying Checksum [2022-10-04T04:55:17.711Z] 33b1e0a273af: Download complete [2022-10-04T04:55:17.924Z] + sudo service docker restart [2022-10-04T04:55:17.973Z] 5d3b04190fa2: Verifying Checksum [2022-10-04T04:55:17.973Z] 5d3b04190fa2: Download complete [2022-10-04T04:55:17.973Z] ec43610c2a17: Verifying Checksum [2022-10-04T04:55:17.973Z] ec43610c2a17: Download complete [2022-10-04T04:55:17.973Z] 5eb5b503b376: Verifying Checksum [2022-10-04T04:55:17.973Z] 5eb5b503b376: Download complete [2022-10-04T04:55:18.539Z] 2f39f015ded8: Verifying Checksum [2022-10-04T04:55:18.539Z] 2f39f015ded8: Download complete [2022-10-04T04:55:19.106Z] 5eb5b503b376: Pull complete [2022-10-04T04:55:19.365Z] 5c69ac0246d0: Pull complete [2022-10-04T04:55:19.624Z] ec43610c2a17: Pull complete [2022-10-04T04:55:19.624Z] 3a2ae6a8a46f: Pull complete [2022-10-04T04:55:19.883Z] 33b1e0a273af: Pull complete [2022-10-04T04:55:20.142Z] 5d3b04190fa2: Pull complete [2022-10-04T04:55:24.328Z] 2f39f015ded8: Pull complete [2022-10-04T04:55:24.328Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-04T04:55:24.328Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-04T04:55:24.328Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T04:55:24.410Z] prd-ubuntu20.04-docker-8c-8g-7036 does not seem to be running inside a container [2022-10-04T04:55:24.443Z] $ 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 [2022-10-04T04:55:26.171Z] $ docker top d3ffa5a063ba9ebca30966b2e3a3f4febda6abde4ff1494d26a4934143ffd10f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-04T04:55:26.571Z] ---> job-cost.sh [2022-10-04T04:55:26.572Z] lf-activate-venv: SKIPPING [2022-10-04T04:55:26.572Z] INFO: No Stack... [2022-10-04T04:55:27.141Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-04T04:55:27.400Z] INFO: Archiving Costs [Pipeline] sh [2022-10-04T04:55:27.689Z] + cut -d, -f6 [2022-10-04T04:55:27.689Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [Pipeline] lock [2022-10-04T04:55:27.704Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-110-stack-cost] [2022-10-04T04:55:27.710Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-110-stack-cost] did not exist. Created. [2022-10-04T04:55:27.710Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-110-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-04T04:55:28.009Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-04T04:55:28.041Z] Stashed 1 file(s) [Pipeline] } [2022-10-04T04:55:28.048Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-110-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-04T04:55:28.064Z] $ docker stop --time=1 d3ffa5a063ba9ebca30966b2e3a3f4febda6abde4ff1494d26a4934143ffd10f [2022-10-04T04:55:29.234Z] $ docker rm -f d3ffa5a063ba9ebca30966b2e3a3f4febda6abde4ff1494d26a4934143ffd10f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-04T04:55:36.186Z] provisioning config files... [2022-10-04T04:55:36.209Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/110@tmp/config1373292905323957239tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-04T04:55:36.556Z] ---> docker-login.sh [2022-10-04T04:55:36.556Z] nexus3.edgexfoundry.org:10001 [2022-10-04T04:55:36.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T04:55:37.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T04:55:37.095Z] Configure a credential helper to remove this warning. See [2022-10-04T04:55:37.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T04:55:37.095Z] [2022-10-04T04:55:37.095Z] Login Succeeded [2022-10-04T04:55:37.095Z] nexus3.edgexfoundry.org:10002 [2022-10-04T04:55:37.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T04:55:37.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T04:55:37.633Z] Configure a credential helper to remove this warning. See [2022-10-04T04:55:37.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T04:55:37.633Z] [2022-10-04T04:55:37.633Z] Login Succeeded [2022-10-04T04:55:37.633Z] nexus3.edgexfoundry.org:10003 [2022-10-04T04:55:37.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T04:55:37.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T04:55:37.905Z] Configure a credential helper to remove this warning. See [2022-10-04T04:55:37.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T04:55:37.905Z] [2022-10-04T04:55:37.905Z] Login Succeeded [2022-10-04T04:55:37.905Z] nexus3.edgexfoundry.org:10004 [2022-10-04T04:55:38.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T04:55:38.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T04:55:38.174Z] Configure a credential helper to remove this warning. See [2022-10-04T04:55:38.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T04:55:38.174Z] [2022-10-04T04:55:38.174Z] Login Succeeded [2022-10-04T04:55:38.174Z] docker.io [2022-10-04T04:55:38.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T04:55:38.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T04:55:38.712Z] Configure a credential helper to remove this warning. See [2022-10-04T04:55:38.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T04:55:38.712Z] [2022-10-04T04:55:38.712Z] Login Succeeded [2022-10-04T04:55:38.979Z] ---> docker-login.sh ends [Pipeline] } [2022-10-04T04:55:38.991Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-04T04:55:39.138Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-04T04:55:39.150Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-04T04:55:39.158Z] ========================================================= [2022-10-04T04:55:39.158Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-04T04:55:39.158Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T04:55:39.488Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-04T04:55:39.763Z] Sending build context to Docker daemon 5.333MB [2022-10-04T04:55:39.763Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-04T04:55:39.763Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-04T04:55:40.031Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-04T04:55:40.031Z] b3c136eddcbf: Pulling fs layer [2022-10-04T04:55:40.031Z] c0a3192eca97: Pulling fs layer [2022-10-04T04:55:40.031Z] a050256f5b6f: Pulling fs layer [2022-10-04T04:55:40.031Z] 656be50a0ddc: Pulling fs layer [2022-10-04T04:55:40.031Z] 2bbca73fdf42: Pulling fs layer [2022-10-04T04:55:40.031Z] f607e4fc86c3: Pulling fs layer [2022-10-04T04:55:40.031Z] 4d572c569a2c: Pulling fs layer [2022-10-04T04:55:40.031Z] fcf976331f73: Pulling fs layer [2022-10-04T04:55:40.031Z] 2bbca73fdf42: Waiting [2022-10-04T04:55:40.031Z] f607e4fc86c3: Waiting [2022-10-04T04:55:40.031Z] 4d572c569a2c: Waiting [2022-10-04T04:55:40.031Z] fcf976331f73: Waiting [2022-10-04T04:55:40.031Z] 656be50a0ddc: Waiting [2022-10-04T04:55:40.031Z] a050256f5b6f: Download complete [2022-10-04T04:55:40.031Z] c0a3192eca97: Verifying Checksum [2022-10-04T04:55:40.031Z] c0a3192eca97: Download complete [2022-10-04T04:55:40.031Z] f607e4fc86c3: Verifying Checksum [2022-10-04T04:55:40.031Z] f607e4fc86c3: Download complete [2022-10-04T04:55:40.031Z] b3c136eddcbf: Verifying Checksum [2022-10-04T04:55:40.031Z] b3c136eddcbf: Download complete [2022-10-04T04:55:41.004Z] b3c136eddcbf: Pull complete [2022-10-04T04:55:41.004Z] fcf976331f73: Verifying Checksum [2022-10-04T04:55:41.004Z] fcf976331f73: Download complete [2022-10-04T04:55:41.606Z] c0a3192eca97: Pull complete [2022-10-04T04:55:41.877Z] a050256f5b6f: Pull complete [2022-10-04T04:55:42.478Z] 4d572c569a2c: Verifying Checksum [2022-10-04T04:55:42.478Z] 4d572c569a2c: Download complete [2022-10-04T04:55:43.064Z] 656be50a0ddc: Verifying Checksum [2022-10-04T04:55:43.064Z] 656be50a0ddc: Download complete [2022-10-04T04:55:55.426Z] 656be50a0ddc: Pull complete [2022-10-04T04:55:55.426Z] 2bbca73fdf42: Pull complete [2022-10-04T04:55:55.426Z] f607e4fc86c3: Pull complete [2022-10-04T04:56:00.786Z] 4d572c569a2c: Pull complete [2022-10-04T04:56:03.395Z] fcf976331f73: Pull complete [2022-10-04T04:56:03.395Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-04T04:56:03.395Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-04T04:56:03.395Z] ---> 3970a7415f9e [2022-10-04T04:56:03.395Z] Step 3/11 : ARG MAKE=make build [2022-10-04T04:56:04.802Z] ---> Running in 60d7f7874ef7 [2022-10-04T04:56:05.070Z] Removing intermediate container 60d7f7874ef7 [2022-10-04T04:56:05.070Z] ---> 92c27c279a7a [2022-10-04T04:56:05.070Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-04T04:56:05.070Z] ---> Running in fe9a6b9dd258 [2022-10-04T04:56:05.336Z] Removing intermediate container fe9a6b9dd258 [2022-10-04T04:56:05.336Z] ---> 62c1fa2f62b9 [2022-10-04T04:56:05.336Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-04T04:56:05.604Z] ---> Running in 1934235eabb0 [2022-10-04T04:56:05.870Z] Removing intermediate container 1934235eabb0 [2022-10-04T04:56:05.870Z] ---> 6559c3d0d83d [2022-10-04T04:56:05.870Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-04T04:56:05.870Z] ---> Running in db7554588c50 [2022-10-04T04:56:07.817Z] Removing intermediate container db7554588c50 [2022-10-04T04:56:07.817Z] ---> 6fa6309150c1 [2022-10-04T04:56:07.817Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-04T04:56:07.817Z] ---> Running in 32ecc77e4a18 [2022-10-04T04:56:08.402Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-04T04:56:09.361Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-04T04:56:10.321Z] OK: 221 MiB in 51 packages [2022-10-04T04:56:11.346Z] Removing intermediate container 32ecc77e4a18 [2022-10-04T04:56:11.346Z] ---> 1fa0619f2c70 [2022-10-04T04:56:11.346Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-04T04:56:11.620Z] ---> a96bb0f21d2e [2022-10-04T04:56:11.620Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-04T04:56:11.620Z] ---> Running in d4e88bf01f2d [2022-10-04T04:56:58.524Z] Removing intermediate container d4e88bf01f2d [2022-10-04T04:56:58.524Z] ---> 6489ade5e5e9 [2022-10-04T04:56:58.524Z] Step 10/11 : COPY . . [2022-10-04T04:56:58.524Z] ---> af3212690d4f [2022-10-04T04:56:58.524Z] Step 11/11 : RUN ${MAKE} [2022-10-04T04:56:58.524Z] ---> Running in e089694ddb96 [2022-10-04T04:56:59.487Z] noop [2022-10-04T04:57:00.073Z] Removing intermediate container e089694ddb96 [2022-10-04T04:57:00.073Z] ---> 1ae1d1c3bf34 [2022-10-04T04:57:00.073Z] Successfully built 1ae1d1c3bf34 [2022-10-04T04:57:00.073Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T04:57:00.424Z] + docker inspect -f . ci-base-image-arm64 [2022-10-04T04:57:00.424Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T04:57:00.615Z] prd-ubuntu20.04-docker-arm64-4c-16g-7037 does not seem to be running inside a container [2022-10-04T04:57:00.691Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/110 -v /w/workspace/device-sdk-go/110:/w/workspace/device-sdk-go/110:rw,z -v /w/workspace/device-sdk-go/110@tmp:/w/workspace/device-sdk-go/110@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-04T04:57:01.875Z] $ docker top a341804e23888c5e9170c406961c5938782db6153f2e150430436b61decb460b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-04T04:57:02.714Z] + go version [2022-10-04T04:57:02.714Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-04T04:57:02.734Z] $ docker stop --time=1 a341804e23888c5e9170c406961c5938782db6153f2e150430436b61decb460b [2022-10-04T04:57:04.336Z] $ docker rm -f a341804e23888c5e9170c406961c5938782db6153f2e150430436b61decb460b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T04:57:04.844Z] + docker inspect -f . ci-base-image-arm64 [2022-10-04T04:57:04.844Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T04:57:04.994Z] prd-ubuntu20.04-docker-arm64-4c-16g-7037 does not seem to be running inside a container [2022-10-04T04:57:05.055Z] $ 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/110 -v /w/workspace/device-sdk-go/110:/w/workspace/device-sdk-go/110:rw,z -v /w/workspace/device-sdk-go/110@tmp:/w/workspace/device-sdk-go/110@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-04T04:57:06.120Z] $ docker top d1000c04a8e0b16b468d933e27e48a179f707ef4b1534c59b8580706a71caf5b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-04T04:57:06.924Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/110 [Pipeline] fileExists [Pipeline] sh [2022-10-04T04:57:07.566Z] + make test [2022-10-04T04:57:07.567Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-04T04:57:39.799Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-04T04:59:31.476Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-04T04:59:31.476Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-04T04:59:31.476Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-04T04:59:31.476Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-04T04:59:31.476Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-04T04:59:31.476Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.305s coverage: 27.6% of statements [2022-10-04T04:59:31.476Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.456s coverage: 78.9% of statements [2022-10-04T04:59:31.476Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-04T04:59:31.750Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.409s coverage: 60.0% of statements [2022-10-04T04:59:31.750Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-04T04:59:31.750Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-04T04:59:36.004Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.841s coverage: 54.4% of statements [2022-10-04T04:59:36.004Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-04T04:59:36.004Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-04T04:59:36.004Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-04T04:59:36.004Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-04T04:59:36.978Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.423s coverage: 65.1% of statements [2022-10-04T04:59:36.978Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-04T04:59:36.978Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-04T04:59:39.569Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.109s coverage: 89.2% of statements [2022-10-04T04:59:39.569Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-04T04:59:40.532Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.253s coverage: 4.7% of statements [2022-10-04T04:59:40.532Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-04T04:59:41.496Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-04T04:59:41.496Z] GO111MODULE=on go vet ./... [2022-10-04T05:01:33.180Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-04T05:01:33.180Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-04T05:01:33.180Z] ./bin/test-attribution-txt.sh [2022-10-04T05:01:33.180Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-04T05:01:33.180Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-04T05:01:33.180Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-04T05:01:33.180Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-04T05:01:33.200Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-04T05:01:33.215Z] $ docker stop --time=1 d1000c04a8e0b16b468d933e27e48a179f707ef4b1534c59b8580706a71caf5b [2022-10-04T05:01:35.021Z] $ docker rm -f d1000c04a8e0b16b468d933e27e48a179f707ef4b1534c59b8580706a71caf5b [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-04T05:01:36.273Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-04T05:01:36.296Z] Warning: overwriting stash ‘coverage-report’ [2022-10-04T05:01:36.774Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-04T05:01:37.155Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-04T05:01:37.477Z] + ls -al . [2022-10-04T05:01:37.477Z] total 272 [2022-10-04T05:01:37.477Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 04:57 . [2022-10-04T05:01:37.477Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 04:55 .. [2022-10-04T05:01:37.477Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 04:55 .dockerignore [2022-10-04T05:01:37.477Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 04:55 .git [2022-10-04T05:01:37.477Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 04:55 .github [2022-10-04T05:01:37.477Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 4 04:55 .gitignore [2022-10-04T05:01:37.477Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 4 04:55 .golangci.yml [2022-10-04T05:01:37.477Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 4 04:55 CHANGELOG.md [2022-10-04T05:01:37.477Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 04:55 GOVERNANCE.md [2022-10-04T05:01:37.477Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 4 04:55 Jenkinsfile [2022-10-04T05:01:37.477Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 4 04:55 LICENSE [2022-10-04T05:01:37.477Z] -rw-rw-r-- 1 jenkins jenkins 2002 Oct 4 04:55 Makefile [2022-10-04T05:01:37.477Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 4 04:55 OWNERS.md [2022-10-04T05:01:37.477Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 4 04:55 README.md [2022-10-04T05:01:37.477Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 4 04:53 VERSION [2022-10-04T05:01:37.477Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 04:55 bin [2022-10-04T05:01:37.477Z] -rw-r--r-- 1 jenkins jenkins 100927 Oct 4 04:59 coverage.out [2022-10-04T05:01:37.477Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 04:55 example [2022-10-04T05:01:37.477Z] -rw-rw-r-- 1 jenkins jenkins 3412 Oct 4 04:55 go.mod [2022-10-04T05:01:37.477Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 4 04:55 go.sum [2022-10-04T05:01:37.477Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 4 04:55 internal [2022-10-04T05:01:37.477Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 04:55 openapi [2022-10-04T05:01:37.477Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 04:55 pkg [2022-10-04T05:01:37.477Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 04:55 snap [2022-10-04T05:01:37.477Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 4 04:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T05:01:37.819Z] + 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=690b0c9df30b882b455dec0110a7cd4f7611a33b --label arch=arm64 --label version=2.3.0-dev.35 . [2022-10-04T05:01:38.085Z] Sending build context to Docker daemon 5.435MB [2022-10-04T05:01:38.085Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-04T05:01:38.085Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-04T05:01:38.085Z] ---> 1ae1d1c3bf34 [2022-10-04T05:01:38.085Z] Step 3/25 : ARG MAKE=make build [2022-10-04T05:01:38.355Z] ---> Running in bf135a6147d0 [2022-10-04T05:01:38.623Z] Removing intermediate container bf135a6147d0 [2022-10-04T05:01:38.623Z] ---> 04e7ed50eb7a [2022-10-04T05:01:38.623Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-04T05:01:38.623Z] ---> Running in 29603e57ac0f [2022-10-04T05:01:38.890Z] Removing intermediate container 29603e57ac0f [2022-10-04T05:01:38.890Z] ---> c05cd31daf59 [2022-10-04T05:01:38.890Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-04T05:01:38.890Z] ---> Running in 8342e1e5db1d [2022-10-04T05:01:39.155Z] Removing intermediate container 8342e1e5db1d [2022-10-04T05:01:39.155Z] ---> 66c590cf373e [2022-10-04T05:01:39.155Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-04T05:01:39.422Z] ---> Running in c4020a79959a [2022-10-04T05:01:40.839Z] Removing intermediate container c4020a79959a [2022-10-04T05:01:40.839Z] ---> 761f33a811ba [2022-10-04T05:01:40.839Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-04T05:01:40.839Z] ---> Running in b93b555d81ff [2022-10-04T05:01:41.801Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-04T05:01:42.761Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-04T05:01:43.720Z] OK: 221 MiB in 51 packages [2022-10-04T05:01:44.300Z] Removing intermediate container b93b555d81ff [2022-10-04T05:01:44.300Z] ---> 5d75149f214a [2022-10-04T05:01:44.300Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-04T05:01:44.892Z] ---> b9f4dc727eb0 [2022-10-04T05:01:44.892Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-04T05:01:44.892Z] ---> Running in f4700f3a1618 [2022-10-04T05:01:46.834Z] Removing intermediate container f4700f3a1618 [2022-10-04T05:01:46.834Z] ---> 8ac3c89d8e69 [2022-10-04T05:01:46.834Z] Step 10/25 : COPY . . [2022-10-04T05:01:47.804Z] ---> 69559ec7e192 [2022-10-04T05:01:47.804Z] Step 11/25 : RUN ${MAKE} [2022-10-04T05:01:47.804Z] ---> Running in 4562d05bd128 [2022-10-04T05:01:48.760Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.35" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-10-04T05:03:55.421Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-04T05:03:55.421Z] Removing intermediate container 4562d05bd128 [2022-10-04T05:03:55.421Z] ---> 77486c22b486 [2022-10-04T05:03:55.421Z] Step 12/25 : FROM alpine:3.16 [2022-10-04T05:03:55.687Z] 3.16: Pulling from library/alpine [2022-10-04T05:03:55.953Z] 9b18e9b68314: Pulling fs layer [2022-10-04T05:03:56.221Z] 9b18e9b68314: Download complete [2022-10-04T05:03:56.487Z] 9b18e9b68314: Pull complete [2022-10-04T05:03:56.487Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-04T05:03:56.754Z] Status: Downloaded newer image for alpine:3.16 [2022-10-04T05:03:56.754Z] ---> a6215f271958 [2022-10-04T05:03:56.754Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-04T05:03:56.754Z] ---> Running in 5a1a9c6b27ce [2022-10-04T05:03:57.021Z] Removing intermediate container 5a1a9c6b27ce [2022-10-04T05:03:57.021Z] ---> 100a28fff37e [2022-10-04T05:03:57.021Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-04T05:03:57.021Z] ---> Running in 6b15f84a423a [2022-10-04T05:03:58.961Z] Removing intermediate container 6b15f84a423a [2022-10-04T05:03:58.961Z] ---> 0d539aec2590 [2022-10-04T05:03:58.961Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-04T05:03:58.961Z] ---> Running in 6c91ff38d236 [2022-10-04T05:03:59.927Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-04T05:04:00.887Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-04T05:04:01.845Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-04T05:04:01.845Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-04T05:04:01.845Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-04T05:04:02.111Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-04T05:04:02.112Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-04T05:04:02.112Z] Executing busybox-1.35.0-r17.trigger [2022-10-04T05:04:02.379Z] OK: 8 MiB in 19 packages [2022-10-04T05:04:03.340Z] Removing intermediate container 6c91ff38d236 [2022-10-04T05:04:03.340Z] ---> 38d8a2aa5212 [2022-10-04T05:04:03.340Z] Step 16/25 : WORKDIR / [2022-10-04T05:04:03.340Z] ---> Running in 0a77147dfb48 [2022-10-04T05:04:03.607Z] Removing intermediate container 0a77147dfb48 [2022-10-04T05:04:03.607Z] ---> bab2b904dfcb [2022-10-04T05:04:03.607Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-04T05:04:03.874Z] ---> 5d2eb1e833ec [2022-10-04T05:04:03.874Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-04T05:04:05.398Z] ---> 9eee18bfbd46 [2022-10-04T05:04:05.398Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-04T05:04:06.001Z] ---> 756aed31c3b3 [2022-10-04T05:04:06.001Z] Step 20/25 : EXPOSE 59999 [2022-10-04T05:04:06.001Z] ---> Running in 1bd89c652543 [2022-10-04T05:04:06.281Z] Removing intermediate container 1bd89c652543 [2022-10-04T05:04:06.281Z] ---> 0987cba263a2 [2022-10-04T05:04:06.281Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-04T05:04:06.281Z] ---> Running in 55456a098dd4 [2022-10-04T05:04:06.570Z] Removing intermediate container 55456a098dd4 [2022-10-04T05:04:06.570Z] ---> 5de09fce8f6e [2022-10-04T05:04:06.570Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-04T05:04:06.852Z] ---> Running in 439ce79d12f9 [2022-10-04T05:04:06.852Z] Removing intermediate container 439ce79d12f9 [2022-10-04T05:04:06.852Z] ---> 69f7fa562d52 [2022-10-04T05:04:06.852Z] Step 23/25 : LABEL arch=arm64 [2022-10-04T05:04:07.135Z] ---> Running in 49da9bd86e25 [2022-10-04T05:04:07.404Z] Removing intermediate container 49da9bd86e25 [2022-10-04T05:04:07.404Z] ---> 37229cee84f3 [2022-10-04T05:04:07.404Z] Step 24/25 : LABEL git_sha=690b0c9df30b882b455dec0110a7cd4f7611a33b [2022-10-04T05:04:07.404Z] ---> Running in fbec739d4a52 [2022-10-04T05:04:07.669Z] Removing intermediate container fbec739d4a52 [2022-10-04T05:04:07.669Z] ---> c1c5c3eba5c8 [2022-10-04T05:04:07.669Z] Step 25/25 : LABEL version=2.3.0-dev.35 [2022-10-04T05:04:07.669Z] ---> Running in 2cc1c03e3e00 [2022-10-04T05:04:07.937Z] Removing intermediate container 2cc1c03e3e00 [2022-10-04T05:04:07.937Z] ---> 59859523e741 [2022-10-04T05:04:07.937Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-04T05:04:07.937Z] Successfully built 59859523e741 [2022-10-04T05:04:08.203Z] 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 [2022-10-04T05:04:08.640Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-04T05:04:08.640Z] [2022-10-04T05:04:08.640Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T05:04:08.971Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-04T05:04:08.971Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-04T05:04:08.971Z] 8998bd30e6a1: Pulling fs layer [2022-10-04T05:04:08.971Z] 04944245beec: Pulling fs layer [2022-10-04T05:04:08.971Z] 699f458cf7ca: Pulling fs layer [2022-10-04T05:04:08.971Z] 765212b225bb: Pulling fs layer [2022-10-04T05:04:08.971Z] f23df028b6ca: Pulling fs layer [2022-10-04T05:04:08.971Z] d65c8cfc05b1: Pulling fs layer [2022-10-04T05:04:08.971Z] 2437ff75d9bd: Pulling fs layer [2022-10-04T05:04:08.971Z] f23df028b6ca: Waiting [2022-10-04T05:04:08.971Z] d65c8cfc05b1: Waiting [2022-10-04T05:04:08.971Z] 2437ff75d9bd: Waiting [2022-10-04T05:04:08.971Z] 765212b225bb: Waiting [2022-10-04T05:04:09.240Z] 04944245beec: Verifying Checksum [2022-10-04T05:04:09.240Z] 04944245beec: Download complete [2022-10-04T05:04:09.240Z] 765212b225bb: Verifying Checksum [2022-10-04T05:04:09.240Z] 765212b225bb: Download complete [2022-10-04T05:04:09.240Z] f23df028b6ca: Verifying Checksum [2022-10-04T05:04:09.240Z] f23df028b6ca: Download complete [2022-10-04T05:04:09.240Z] d65c8cfc05b1: Verifying Checksum [2022-10-04T05:04:09.240Z] d65c8cfc05b1: Download complete [2022-10-04T05:04:09.240Z] 699f458cf7ca: Verifying Checksum [2022-10-04T05:04:09.240Z] 699f458cf7ca: Download complete [2022-10-04T05:04:09.829Z] 8998bd30e6a1: Verifying Checksum [2022-10-04T05:04:09.829Z] 8998bd30e6a1: Download complete [2022-10-04T05:04:12.444Z] 2437ff75d9bd: Verifying Checksum [2022-10-04T05:04:12.444Z] 2437ff75d9bd: Download complete [2022-10-04T05:04:14.387Z] 8998bd30e6a1: Pull complete [2022-10-04T05:04:14.969Z] 04944245beec: Pull complete [2022-10-04T05:04:16.378Z] 699f458cf7ca: Pull complete [2022-10-04T05:04:16.378Z] 765212b225bb: Pull complete [2022-10-04T05:04:17.582Z] f23df028b6ca: Pull complete [2022-10-04T05:04:17.582Z] d65c8cfc05b1: Pull complete [2022-10-04T05:04:32.573Z] 2437ff75d9bd: Pull complete [2022-10-04T05:04:32.573Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-04T05:04:32.573Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-04T05:04:32.573Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T05:04:32.741Z] prd-ubuntu20.04-docker-arm64-4c-16g-7037 does not seem to be running inside a container [2022-10-04T05:04:32.810Z] $ 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/110 -v /w/workspace/device-sdk-go/110:/w/workspace/device-sdk-go/110:rw,z -v /w/workspace/device-sdk-go/110@tmp:/w/workspace/device-sdk-go/110@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-04T05:04:35.523Z] $ docker top 1ea887d46f3211066363d73228b9c88d4fb426ad3bc5ab57f201c11f35494e3f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-04T05:04:36.354Z] ---> job-cost.sh [2022-10-04T05:04:36.355Z] lf-activate-venv: SKIPPING [2022-10-04T05:04:36.355Z] INFO: No Stack... [2022-10-04T05:04:36.620Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-04T05:04:37.579Z] INFO: Archiving Costs [Pipeline] sh [2022-10-04T05:04:37.903Z] + cat /w/workspace/device-sdk-go/110/archives/cost.csv [2022-10-04T05:04:37.903Z] + cut -d, -f6 [Pipeline] lock [2022-10-04T05:04:38.201Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-110-stack-cost] [2022-10-04T05:04:38.209Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-110-stack-cost] did not exist. Created. [2022-10-04T05:04:38.210Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-110-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-04T05:04:38.866Z] /w/workspace/device-sdk-go/110@tmp/durable-09af2af0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-04T05:04:39.507Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-04T05:04:39.520Z] Warning: overwriting stash ‘stack-cost’ [2022-10-04T05:04:39.579Z] Stashed 1 file(s) [Pipeline] } [2022-10-04T05:04:39.586Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-110-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-04T05:04:39.607Z] $ docker stop --time=1 1ea887d46f3211066363d73228b9c88d4fb426ad3bc5ab57f201c11f35494e3f [2022-10-04T05:04:41.098Z] $ docker rm -f 1ea887d46f3211066363d73228b9c88d4fb426ad3bc5ab57f201c11f35494e3f [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 [2022-10-04T05:04:41.484Z] provisioning config files... [2022-10-04T05:04:41.491Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18187003108754032153tmp [Pipeline] { [Pipeline] sh [2022-10-04T05:04:41.782Z] + set +x [2022-10-04T05:04:41.782Z] + curl -s https://codecov.io/bash [2022-10-04T05:04:41.782Z] + bash -s -- [2022-10-04T05:04:41.782Z] [2022-10-04T05:04:41.782Z] _____ _ [2022-10-04T05:04:41.782Z] / ____| | | [2022-10-04T05:04:41.782Z] | | ___ __| | ___ ___ _____ __ [2022-10-04T05:04:41.782Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-04T05:04:41.782Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-04T05:04:41.782Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-04T05:04:41.782Z] Bash-1.0.6 [2022-10-04T05:04:41.782Z] [2022-10-04T05:04:41.782Z] [2022-10-04T05:04:41.782Z] ==> git version 2.25.1 found [2022-10-04T05:04:41.782Z] ==> 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 [2022-10-04T05:04:41.782Z] Release-Date: 2020-01-08 [2022-10-04T05:04:41.782Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-04T05:04:41.782Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-04T05:04:41.782Z] ==> Jenkins CI detected. [2022-10-04T05:04:41.782Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-10-04T05:04:41.782Z] project root: . [2022-10-04T05:04:41.782Z] --> token set from env [2022-10-04T05:04:41.782Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-04T05:04:41.782Z] ==> Running gcov in . (disable via -X gcov) [2022-10-04T05:04:41.782Z] ==> Python coveragepy not found [2022-10-04T05:04:41.782Z] ==> Searching for coverage reports in: [2022-10-04T05:04:41.782Z] + . [2022-10-04T05:04:41.782Z] -> Found 1 reports [2022-10-04T05:04:41.782Z] ==> Detecting git/mercurial file structure [2022-10-04T05:04:42.041Z] ==> Reading reports [2022-10-04T05:04:42.041Z] + ./coverage.out bytes=100927 [2022-10-04T05:04:42.041Z] ==> Appending adjustments [2022-10-04T05:04:42.041Z] https://docs.codecov.io/docs/fixing-reports [2022-10-04T05:04:42.300Z] + Found adjustments [2022-10-04T05:04:42.300Z] ==> Gzipping contents [2022-10-04T05:04:42.300Z] 16K /tmp/codecov.DtW09Z.gz [2022-10-04T05:04:42.300Z] ==> Uploading reports [2022-10-04T05:04:42.300Z] url: https://codecov.io [2022-10-04T05:04:42.300Z] query: branch=main&commit=690b0c9df30b882b455dec0110a7cd4f7611a33b&build=110&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F110%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-10-04T05:04:42.300Z] -> Pinging Codecov [2022-10-04T05:04:42.300Z] 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=690b0c9df30b882b455dec0110a7cd4f7611a33b&build=110&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F110%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-10-04T05:04:42.559Z] -> Uploading to [2022-10-04T05:04:42.559Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-04/7E55EF52A471D76F132DFD9A03CDDE97/690b0c9df30b882b455dec0110a7cd4f7611a33b/9421e27b-c416-4ee3-b2ad-15295d276888.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221004%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221004T050442Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9a76b13b5e0c2f52046ae015d83ef5b850843b3b6e4e8c7384d349c27bee109c [2022-10-04T05:04:42.559Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-04T05:04:42.559Z] Dload Upload Total Spent Left Speed [2022-10-04T05:04:42.818Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14518 0 0 100 14518 0 59257 --:--:-- --:--:-- --:--:-- 59257 [2022-10-04T05:04:42.818Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/690b0c9df30b882b455dec0110a7cd4f7611a33b [Pipeline] } [2022-10-04T05:04:42.827Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-10-04T05:04:42.992Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-10-04T05:04:43.001Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T05:04:43.286Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-10-04T05:04:43.286Z] [2022-10-04T05:04:43.286Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T05:04:43.581Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-10-04T05:04:43.581Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-10-04T05:04:43.581Z] df9b9388f04a: Pulling fs layer [2022-10-04T05:04:43.581Z] 52dc419b0ee2: Pulling fs layer [2022-10-04T05:04:43.581Z] 25bc292e5bac: Pulling fs layer [2022-10-04T05:04:43.581Z] 114826534d7a: Pulling fs layer [2022-10-04T05:04:43.581Z] 4657fd5d0bcf: Pulling fs layer [2022-10-04T05:04:43.581Z] 6ad1cebc031e: Pulling fs layer [2022-10-04T05:04:43.581Z] 8a3aa393b2d8: Pulling fs layer [2022-10-04T05:04:43.581Z] 114826534d7a: Waiting [2022-10-04T05:04:43.581Z] 8a3aa393b2d8: Waiting [2022-10-04T05:04:43.581Z] 6ad1cebc031e: Waiting [2022-10-04T05:04:43.581Z] 4657fd5d0bcf: Waiting [2022-10-04T05:04:43.581Z] 25bc292e5bac: Download complete [2022-10-04T05:04:43.581Z] 52dc419b0ee2: Verifying Checksum [2022-10-04T05:04:43.581Z] 52dc419b0ee2: Download complete [2022-10-04T05:04:43.581Z] 4657fd5d0bcf: Download complete [2022-10-04T05:04:43.581Z] df9b9388f04a: Verifying Checksum [2022-10-04T05:04:43.581Z] df9b9388f04a: Download complete [2022-10-04T05:04:43.841Z] df9b9388f04a: Pull complete [2022-10-04T05:04:43.841Z] 6ad1cebc031e: Verifying Checksum [2022-10-04T05:04:43.841Z] 6ad1cebc031e: Download complete [2022-10-04T05:04:43.841Z] 52dc419b0ee2: Pull complete [2022-10-04T05:04:44.101Z] 25bc292e5bac: Pull complete [2022-10-04T05:04:44.359Z] 114826534d7a: Download complete [2022-10-04T05:04:44.617Z] 8a3aa393b2d8: Verifying Checksum [2022-10-04T05:04:44.617Z] 8a3aa393b2d8: Download complete [2022-10-04T05:04:47.898Z] 114826534d7a: Pull complete [2022-10-04T05:04:47.898Z] 4657fd5d0bcf: Pull complete [2022-10-04T05:04:47.898Z] 6ad1cebc031e: Pull complete [2022-10-04T05:04:50.432Z] 8a3aa393b2d8: Pull complete [2022-10-04T05:04:50.432Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-10-04T05:04:50.432Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-10-04T05:04:50.432Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T05:04:50.504Z] prd-ubuntu20.04-docker-8c-8g-7036 does not seem to be running inside a container [2022-10-04T05:04:50.526Z] $ 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 [2022-10-04T05:04:52.496Z] $ docker top edae29a7d4af18eec6d6bea831fbef80563aee54780898c6dfe4f17e342de3e5 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-10-04T05:04:52.565Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2022-10-04T05:04:52.842Z] + set -o pipefail [2022-10-04T05:04:52.842Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2022-10-04T05:04:58.116Z] [2022-10-04T05:04:58.116Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-10-04T05:04:58.116Z] [2022-10-04T05:04:58.116Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/786d7dd1-b412-4e66-973f-dd4ff437e019 [2022-10-04T05:04:58.116Z] [2022-10-04T05:04:58.116Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-10-04T05:04:58.116Z] [2022-10-04T05:04:58.116Z] [2022-10-04T05:04:58.116Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2022-10-04T05:04:58.116Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2022-10-04T05:04:58.116Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2022-10-04T05:04:58.121Z] $ docker stop --time=1 edae29a7d4af18eec6d6bea831fbef80563aee54780898c6dfe4f17e342de3e5 [2022-10-04T05:05:00.262Z] $ docker rm -f edae29a7d4af18eec6d6bea831fbef80563aee54780898c6dfe4f17e342de3e5 [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 [2022-10-04T05:05:00.658Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-04T05:05:00.670Z] provisioning config files... [2022-10-04T05:05:00.678Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7102692763062687127tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-04T05:05:00.976Z] --> edgex-publish-swagger.sh [2022-10-04T05:05:00.976Z] === Publish openapi/v2 API === [2022-10-04T05:05:00.976Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-10-04T05:05:00.976Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-10-04T05:05:00.976Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-04T05:05:00.976Z] Dload Upload Total Spent Left Speed [2022-10-04T05:05:01.916Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 54700 --:--:-- --:--:-- --:--:-- 54644 100 53552 0 0 100 53552 0 54700 --:--:-- --:--:-- --:--:-- 54644 [2022-10-04T05:05:01.916Z] [2022-10-04T05:05:01.916Z] [Pipeline] } [2022-10-04T05:05:01.925Z] 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 [2022-10-04T05:05:02.301Z] + git log --format=format:%s -1 690b0c9df30b882b455dec0110a7cd4f7611a33b [Pipeline] sh [2022-10-04T05:05:02.593Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-04T05:05:02.593Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T05:05:02.888Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-04T05:05:02.888Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T05:05:02.948Z] prd-ubuntu20.04-docker-8c-8g-7036 does not seem to be running inside a container [2022-10-04T05:05:02.968Z] $ 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 [2022-10-04T05:05:03.361Z] $ docker top 10cf6cff6d7d28690ee958f10e00e16305e19eaf42fb16c07a4e07e41e72d9f1 -eo pid,comm [2022-10-04T05:05:03.418Z] 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). [2022-10-04T05:05:03.418Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-04T05:05:03.447Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-04T05:05:03.447Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-04T05:05:03.553Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-04T05:05:03.548Z] $ docker exec 10cf6cff6d7d28690ee958f10e00e16305e19eaf42fb16c07a4e07e41e72d9f1 ssh-agent [2022-10-04T05:05:03.671Z] SSH_AUTH_SOCK=/tmp/ssh-1kFXMOyDtT2c/agent.32 [2022-10-04T05:05:03.671Z] SSH_AGENT_PID=38 [2022-10-04T05:05:03.676Z] Running ssh-add (command line suppressed) [2022-10-04T05:05:03.769Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8195900400730494208.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8195900400730494208.key) [2022-10-04T05:05:03.789Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-04T05:05:04.076Z] + git semver tag [2022-10-04T05:05:04.336Z] 2022-10-04 05:05:04,227 [run_tag] DEBUG tag force:False [2022-10-04T05:05:04.336Z] 2022-10-04 05:05:04,228 [check_head_tag] DEBUG check head tag [2022-10-04T05:05:04.336Z] 2022-10-04 05:05:04,229 [execute] INFO git cat-file --batch-check [2022-10-04T05:05:04.336Z] 2022-10-04 05:05:04,229 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2022-10-04T05:05:04.336Z] 2022-10-04 05:05:04,234 [execute] INFO git cat-file --batch [2022-10-04T05:05:04.336Z] 2022-10-04 05:05:04,234 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2022-10-04T05:05:04.336Z] 2022-10-04 05:05:04,258 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-10-04T05:05:04.336Z] 2022-10-04 05:05:04,259 [execute] INFO git tag -a v2.3.0-dev.35 -m v2.3.0-dev.35 [2022-10-04T05:05:04.336Z] 2022-10-04 05:05:04,259 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.35', '-m', 'v2.3.0-dev.35'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2022-10-04T05:05:04.336Z] 2022-10-04 05:05:04,264 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-10-04T05:05:04.336Z] 2.3.0-dev.35 [Pipeline] } [2022-10-04T05:05:04.337Z] $ docker exec --env ******** --env ******** 10cf6cff6d7d28690ee958f10e00e16305e19eaf42fb16c07a4e07e41e72d9f1 ssh-agent -k [2022-10-04T05:05:04.446Z] unset SSH_AUTH_SOCK; [2022-10-04T05:05:04.447Z] unset SSH_AGENT_PID; [2022-10-04T05:05:04.447Z] echo Agent pid 38 killed; [2022-10-04T05:05:04.464Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-04T05:05:04.768Z] + git semver [Pipeline] } [2022-10-04T05:05:05.033Z] $ docker stop --time=1 10cf6cff6d7d28690ee958f10e00e16305e19eaf42fb16c07a4e07e41e72d9f1 [2022-10-04T05:05:06.391Z] $ docker rm -f 10cf6cff6d7d28690ee958f10e00e16305e19eaf42fb16c07a4e07e41e72d9f1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T05:05:06.765Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-10-04T05:05:06.765Z] [2022-10-04T05:05:06.765Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T05:05:07.062Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-10-04T05:05:07.062Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-10-04T05:05:07.062Z] ab5ef0e58194: Pulling fs layer [2022-10-04T05:05:07.062Z] 9712f1f96733: Pulling fs layer [2022-10-04T05:05:07.062Z] 63f879dbbcfc: Pulling fs layer [2022-10-04T05:05:07.062Z] 0d9ebad4ef96: Pulling fs layer [2022-10-04T05:05:07.062Z] e9a5061849ea: Pulling fs layer [2022-10-04T05:05:07.062Z] d747dcd14b5f: Pulling fs layer [2022-10-04T05:05:07.062Z] 2de7ff778b66: Pulling fs layer [2022-10-04T05:05:07.062Z] e9a5061849ea: Waiting [2022-10-04T05:05:07.062Z] d747dcd14b5f: Waiting [2022-10-04T05:05:07.062Z] 2de7ff778b66: Waiting [2022-10-04T05:05:07.062Z] 0d9ebad4ef96: Waiting [2022-10-04T05:05:07.062Z] 9712f1f96733: Verifying Checksum [2022-10-04T05:05:07.062Z] 9712f1f96733: Download complete [2022-10-04T05:05:07.662Z] 63f879dbbcfc: Verifying Checksum [2022-10-04T05:05:07.662Z] 63f879dbbcfc: Download complete [2022-10-04T05:05:07.932Z] 0d9ebad4ef96: Verifying Checksum [2022-10-04T05:05:07.932Z] 0d9ebad4ef96: Download complete [2022-10-04T05:05:07.932Z] d747dcd14b5f: Verifying Checksum [2022-10-04T05:05:07.932Z] d747dcd14b5f: Download complete [2022-10-04T05:05:07.932Z] e9a5061849ea: Verifying Checksum [2022-10-04T05:05:07.932Z] e9a5061849ea: Download complete [2022-10-04T05:05:08.191Z] ab5ef0e58194: Verifying Checksum [2022-10-04T05:05:08.191Z] ab5ef0e58194: Download complete [2022-10-04T05:05:08.191Z] 2de7ff778b66: Verifying Checksum [2022-10-04T05:05:08.191Z] 2de7ff778b66: Download complete [2022-10-04T05:05:10.721Z] ab5ef0e58194: Pull complete [2022-10-04T05:05:10.721Z] 9712f1f96733: Pull complete [2022-10-04T05:05:11.289Z] 63f879dbbcfc: Pull complete [2022-10-04T05:05:14.569Z] 0d9ebad4ef96: Pull complete [2022-10-04T05:05:14.826Z] e9a5061849ea: Pull complete [2022-10-04T05:05:14.826Z] d747dcd14b5f: Pull complete [2022-10-04T05:05:15.759Z] 2de7ff778b66: Pull complete [2022-10-04T05:05:15.759Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-10-04T05:05:15.759Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-10-04T05:05:15.759Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T05:05:15.832Z] prd-ubuntu20.04-docker-8c-8g-7036 does not seem to be running inside a container [2022-10-04T05:05:15.856Z] $ 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 [2022-10-04T05:05:18.036Z] $ docker top e030afb70398547aac7d9f4f561f81c5eaa4bba0327c2e3e340784ecc498b54f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-10-04T05:05:18.117Z] provisioning config files... [2022-10-04T05:05:18.124Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8674031313404658299tmp [2022-10-04T05:05:18.133Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16510051825765559922tmp [2022-10-04T05:05:18.142Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11845392238414518875tmp [Pipeline] { [Pipeline] echo [2022-10-04T05:05:18.157Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-04T05:05:18.439Z] ---> sigul-configuration.sh [2022-10-04T05:05:18.439Z] gpg: directory `/root/.gnupg' created [2022-10-04T05:05:18.439Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-10-04T05:05:18.439Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-10-04T05:05:18.439Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-10-04T05:05:18.439Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-10-04T05:05:18.439Z] gpg: CAST5 encrypted data [2022-10-04T05:05:18.439Z] gpg: encrypted with 1 passphrase [2022-10-04T05:05:18.439Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-10-04T05:05:18.731Z] + mkdir /home/jenkins [2022-10-04T05:05:18.731Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-10-04T05:05:19.016Z] + 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 [2022-10-04T05:05:19.024Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-04T05:05:19.310Z] ---> sigul-install.sh [2022-10-04T05:05:19.311Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-10-04T05:05:19.595Z] + git tag --list [2022-10-04T05:05:19.595Z] 0.7.1 [2022-10-04T05:05:19.595Z] delhi-tag [2022-10-04T05:05:19.595Z] v1.0.0 [2022-10-04T05:05:19.595Z] v1.1.0 [2022-10-04T05:05:19.595Z] v1.1.1 [2022-10-04T05:05:19.595Z] v1.1.2 [2022-10-04T05:05:19.595Z] v1.2.0 [2022-10-04T05:05:19.595Z] v1.2.1 [2022-10-04T05:05:19.595Z] v1.2.2 [2022-10-04T05:05:19.595Z] v1.2.3 [2022-10-04T05:05:19.595Z] v1.3.0 [2022-10-04T05:05:19.595Z] v1.4.0 [2022-10-04T05:05:19.595Z] v2.0.0 [2022-10-04T05:05:19.595Z] v2.1.0 [2022-10-04T05:05:19.595Z] v2.1.1 [2022-10-04T05:05:19.595Z] v2.1.1-dev.2 [2022-10-04T05:05:19.595Z] v2.1.1-dev.3 [2022-10-04T05:05:19.595Z] v2.2.0 [2022-10-04T05:05:19.595Z] v2.2.1-dev.1 [2022-10-04T05:05:19.595Z] v2.2.1-dev.10 [2022-10-04T05:05:19.595Z] v2.2.1-dev.11 [2022-10-04T05:05:19.595Z] v2.2.1-dev.12 [2022-10-04T05:05:19.595Z] v2.2.1-dev.13 [2022-10-04T05:05:19.595Z] v2.2.1-dev.14 [2022-10-04T05:05:19.595Z] v2.2.1-dev.2 [2022-10-04T05:05:19.595Z] v2.2.1-dev.3 [2022-10-04T05:05:19.595Z] v2.2.1-dev.4 [2022-10-04T05:05:19.595Z] v2.2.1-dev.5 [2022-10-04T05:05:19.595Z] v2.2.1-dev.6 [2022-10-04T05:05:19.595Z] v2.2.1-dev.7 [2022-10-04T05:05:19.595Z] v2.2.1-dev.8 [2022-10-04T05:05:19.595Z] v2.2.1-dev.9 [2022-10-04T05:05:19.595Z] v2.3.0-dev.14 [2022-10-04T05:05:19.595Z] v2.3.0-dev.15 [2022-10-04T05:05:19.595Z] v2.3.0-dev.16 [2022-10-04T05:05:19.595Z] v2.3.0-dev.17 [2022-10-04T05:05:19.595Z] v2.3.0-dev.18 [2022-10-04T05:05:19.595Z] v2.3.0-dev.19 [2022-10-04T05:05:19.595Z] v2.3.0-dev.20 [2022-10-04T05:05:19.595Z] v2.3.0-dev.21 [2022-10-04T05:05:19.595Z] v2.3.0-dev.22 [2022-10-04T05:05:19.595Z] v2.3.0-dev.23 [2022-10-04T05:05:19.595Z] v2.3.0-dev.24 [2022-10-04T05:05:19.595Z] v2.3.0-dev.25 [2022-10-04T05:05:19.595Z] v2.3.0-dev.26 [2022-10-04T05:05:19.595Z] v2.3.0-dev.27 [2022-10-04T05:05:19.595Z] v2.3.0-dev.28 [2022-10-04T05:05:19.595Z] v2.3.0-dev.29 [2022-10-04T05:05:19.595Z] v2.3.0-dev.30 [2022-10-04T05:05:19.595Z] v2.3.0-dev.31 [2022-10-04T05:05:19.595Z] v2.3.0-dev.32 [2022-10-04T05:05:19.595Z] v2.3.0-dev.33 [2022-10-04T05:05:19.595Z] v2.3.0-dev.34 [2022-10-04T05:05:19.595Z] v2.3.0-dev.35 [Pipeline] sh [2022-10-04T05:05:19.878Z] + lftools sign git-tag v2.3.0-dev.35 [2022-10-04T05:05:20.445Z] Signing Git tag with Sigul... [2022-10-04T05:05:20.445Z] Signing v2.3.0-dev.35 [Pipeline] echo [2022-10-04T05:05:20.712Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-04T05:05:20.996Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-10-04T05:05:21.002Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-10-04T05:05:21.010Z] $ docker stop --time=1 e030afb70398547aac7d9f4f561f81c5eaa4bba0327c2e3e340784ecc498b54f [2022-10-04T05:05:22.323Z] $ docker rm -f e030afb70398547aac7d9f4f561f81c5eaa4bba0327c2e3e340784ecc498b54f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-10-04T05:05:22.714Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-04T05:05:22.714Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T05:05:23.010Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-04T05:05:23.010Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T05:05:23.082Z] prd-ubuntu20.04-docker-8c-8g-7036 does not seem to be running inside a container [2022-10-04T05:05:23.106Z] $ 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 [2022-10-04T05:05:23.476Z] $ docker top d091e005918e038330cfd54b97e6b98e6cd9288358cd9533fa7c3f6cb03f7d72 -eo pid,comm [2022-10-04T05:05:23.538Z] 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). [2022-10-04T05:05:23.538Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-04T05:05:23.576Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-04T05:05:23.576Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-04T05:05:23.686Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-04T05:05:23.681Z] $ docker exec d091e005918e038330cfd54b97e6b98e6cd9288358cd9533fa7c3f6cb03f7d72 ssh-agent [2022-10-04T05:05:23.793Z] SSH_AUTH_SOCK=/tmp/ssh-2YX2tNe0GwG4/agent.32 [2022-10-04T05:05:23.793Z] SSH_AGENT_PID=39 [2022-10-04T05:05:23.799Z] Running ssh-add (command line suppressed) [2022-10-04T05:05:23.902Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11891893673739163666.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11891893673739163666.key) [2022-10-04T05:05:23.922Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-04T05:05:24.209Z] + git semver bump pre [2022-10-04T05:05:24.468Z] 2022-10-04 05:05:24,386 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-10-04T05:05:24.468Z] 2022-10-04 05:05:24,386 [bump_version] DEBUG bumping version:2.3.0-dev.35 on axis:pre with prefix:dev [2022-10-04T05:05:24.468Z] 2022-10-04 05:05:24,386 [bump_version] DEBUG bumped version:2.3.0-dev.36 [2022-10-04T05:05:24.468Z] 2022-10-04 05:05:24,386 [write_version] DEBUG write version:2.3.0-dev.36 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2022-10-04T05:05:24.468Z] 2022-10-04 05:05:24,386 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-10-04T05:05:24.468Z] 2022-10-04 05:05:24,386 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-10-04T05:05:24.468Z] 2022-10-04 05:05:24,388 [execute] INFO git cat-file --batch-check [2022-10-04T05:05:24.468Z] 2022-10-04 05:05:24,388 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-10-04T05:05:24.468Z] 2022-10-04 05:05:24,394 [execute] INFO git cat-file --batch [2022-10-04T05:05:24.468Z] 2022-10-04 05:05:24,394 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-10-04T05:05:24.468Z] 2022-10-04 05:05:24,400 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-10-04T05:05:24.468Z] 2.3.0-dev.36 [Pipeline] } [2022-10-04T05:05:24.470Z] $ docker exec --env ******** --env ******** d091e005918e038330cfd54b97e6b98e6cd9288358cd9533fa7c3f6cb03f7d72 ssh-agent -k [2022-10-04T05:05:24.586Z] unset SSH_AUTH_SOCK; [2022-10-04T05:05:24.586Z] unset SSH_AGENT_PID; [2022-10-04T05:05:24.586Z] echo Agent pid 39 killed; [2022-10-04T05:05:24.604Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-04T05:05:24.912Z] + git semver [Pipeline] } [2022-10-04T05:05:25.177Z] $ docker stop --time=1 d091e005918e038330cfd54b97e6b98e6cd9288358cd9533fa7c3f6cb03f7d72 [2022-10-04T05:05:26.484Z] $ docker rm -f d091e005918e038330cfd54b97e6b98e6cd9288358cd9533fa7c3f6cb03f7d72 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-04T05:05:26.837Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-04T05:05:26.837Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T05:05:27.135Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-04T05:05:27.135Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T05:05:27.199Z] prd-ubuntu20.04-docker-8c-8g-7036 does not seem to be running inside a container [2022-10-04T05:05:27.217Z] $ 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 [2022-10-04T05:05:27.581Z] $ docker top 49ecef3ff0f803b88d273fa1b259cbfbc4d30799d99a73fbd0594894c68e09ca -eo pid,comm [2022-10-04T05:05:27.635Z] 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). [2022-10-04T05:05:27.635Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-04T05:05:27.669Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-04T05:05:27.669Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-04T05:05:27.773Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-04T05:05:27.767Z] $ docker exec 49ecef3ff0f803b88d273fa1b259cbfbc4d30799d99a73fbd0594894c68e09ca ssh-agent [2022-10-04T05:05:27.875Z] SSH_AUTH_SOCK=/tmp/ssh-SF53uUk2RBjN/agent.32 [2022-10-04T05:05:27.875Z] SSH_AGENT_PID=39 [2022-10-04T05:05:27.880Z] Running ssh-add (command line suppressed) [2022-10-04T05:05:27.982Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_815088935326836398.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_815088935326836398.key) [2022-10-04T05:05:28.002Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-04T05:05:28.285Z] + git semver push [2022-10-04T05:05:28.544Z] 2022-10-04 05:05:28,447 [run_push] DEBUG push [2022-10-04T05:05:28.544Z] 2022-10-04 05:05:28,447 [execute] INFO git cat-file --batch-check [2022-10-04T05:05:28.544Z] 2022-10-04 05:05:28,448 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-10-04T05:05:28.544Z] 2022-10-04 05:05:28,452 [execute] INFO git rev-list 6e64ab3ad97127c9e72444433b8d575a52195a69 -- [2022-10-04T05:05:28.544Z] 2022-10-04 05:05:28,452 [execute] DEBUG Popen(['git', 'rev-list', '6e64ab3ad97127c9e72444433b8d575a52195a69', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-10-04T05:05:28.544Z] 2022-10-04 05:05:28,463 [execute] INFO git fetch -v origin [2022-10-04T05:05:28.544Z] 2022-10-04 05:05:28,464 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-10-04T05:05:29.112Z] 2022-10-04 05:05:29,045 [run_push] DEBUG no remote changes detected [2022-10-04T05:05:29.112Z] 2022-10-04 05:05:29,045 [execute] INFO git push origin semver [2022-10-04T05:05:29.112Z] 2022-10-04 05:05:29,046 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-10-04T05:05:30.050Z] 2022-10-04 05:05:29,810 [run_push] DEBUG push all version tags [2022-10-04T05:05:30.050Z] 2022-10-04 05:05:29,811 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-10-04T05:05:30.050Z] 2022-10-04 05:05:29,811 [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) [2022-10-04T05:05:30.987Z] 2022-10-04 05:05:30,654 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-10-04T05:05:30.987Z] 2.3.0-dev.36 [Pipeline] } [2022-10-04T05:05:30.989Z] $ docker exec --env ******** --env ******** 49ecef3ff0f803b88d273fa1b259cbfbc4d30799d99a73fbd0594894c68e09ca ssh-agent -k [2022-10-04T05:05:31.090Z] unset SSH_AUTH_SOCK; [2022-10-04T05:05:31.091Z] unset SSH_AGENT_PID; [2022-10-04T05:05:31.092Z] echo Agent pid 39 killed; [2022-10-04T05:05:31.108Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-04T05:05:31.405Z] + git semver [Pipeline] } [2022-10-04T05:05:31.669Z] $ docker stop --time=1 49ecef3ff0f803b88d273fa1b259cbfbc4d30799d99a73fbd0594894c68e09ca [2022-10-04T05:05:33.013Z] $ docker rm -f 49ecef3ff0f803b88d273fa1b259cbfbc4d30799d99a73fbd0594894c68e09ca [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 [2022-10-04T05:05:33.588Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2022-10-04T05:05:33.588Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-10-04T05:05:33.588Z] total 16 [2022-10-04T05:05:33.588Z] drwxr-xr-x 3 root root 4096 Oct 4 04:55 . [2022-10-04T05:05:33.588Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 05:05 .. [2022-10-04T05:05:33.588Z] drwxr-xr-x 2 root root 4096 Oct 4 04:55 cost [2022-10-04T05:05:33.588Z] -rw-r--r-- 1 root root 85 Oct 4 04:55 cost.csv [2022-10-04T05:05:33.588Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-10-04T05:05:33.588Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-10-04T05:05:33.588Z] total 16 [2022-10-04T05:05:33.588Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 04:55 . [2022-10-04T05:05:33.588Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 05:05 .. [2022-10-04T05:05:33.588Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 04:55 cost [2022-10-04T05:05:33.588Z] -rw-r--r-- 1 jenkins jenkins 85 Oct 4 04:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-04T05:05:33.881Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-04T05:05:34.746Z] ---> package-listing.sh [2022-10-04T05:05:34.747Z] ++ facter osfamily [2022-10-04T05:05:34.747Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-04T05:05:35.006Z] + OS_FAMILY=debian [2022-10-04T05:05:35.006Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-10-04T05:05:35.006Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-04T05:05:35.006Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-04T05:05:35.006Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-04T05:05:35.006Z] + PACKAGES=/tmp/packages_start.txt [2022-10-04T05:05:35.006Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-10-04T05:05:35.006Z] + PACKAGES=/tmp/packages_end.txt [2022-10-04T05:05:35.006Z] + case "${OS_FAMILY}" in [2022-10-04T05:05:35.006Z] + dpkg -l [2022-10-04T05:05:35.006Z] + grep '^ii' [2022-10-04T05:05:35.006Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-04T05:05:35.006Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-04T05:05:35.006Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-04T05:05:35.006Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-10-04T05:05:35.006Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-10-04T05:05:35.006Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2022-10-04T05:05:35.018Z] 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 [2022-10-04T05:05:35.297Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T05:05:35.856Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-04T05:05:35.856Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T05:05:36.004Z] prd-ubuntu20.04-docker-8c-8g-7036 does not seem to be running inside a container [2022-10-04T05:05:36.064Z] $ 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 [2022-10-04T05:05:36.319Z] $ docker top 2ee1af447d04c01b1c4847bccca2816a6a889b063eed06c4931c92b783111a50 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-04T05:05:36.679Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-04T05:05:36.966Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-04T05:05:37.251Z] + ls /var/log/sa-host [2022-10-04T05:05:37.251Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-04T05:05:37.391Z] provisioning config files... [2022-10-04T05:05:37.400Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config142098132356287531tmp [Pipeline] { [Pipeline] echo [2022-10-04T05:05:37.416Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-04T05:05:37.702Z] ---> create-netrc.sh [Pipeline] } [2022-10-04T05:05:37.709Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-04T05:05:38.033Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-04T05:05:38.046Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-04T05:05:38.331Z] ---> sudo-logs.sh [2022-10-04T05:05:38.331Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-04T05:05:38.360Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-04T05:05:38.645Z] ---> job-cost.sh [2022-10-04T05:05:38.645Z] lf-activate-venv: SKIPPING [2022-10-04T05:05:38.645Z] DEBUG: total: 0.2199999988079071 [2022-10-04T05:05:38.645Z] INFO: Retrieving Stack Cost... [2022-10-04T05:05:38.905Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-04T05:05:39.476Z] INFO: Archiving Costs [Pipeline] echo [2022-10-04T05:05:39.487Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-04T05:05:39.771Z] ---> logs-deploy.sh [2022-10-04T05:05:39.771Z] lf-activate-venv: SKIPPING [2022-10-04T05:05:39.771Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/110 [2022-10-04T05:05:39.771Z] INFO: archiving workspace using pattern(s): [2022-10-04T05:05:40.707Z] Archives upload complete. [2022-10-04T05:05:40.967Z] INFO: archiving logs to Nexus