Pull request #1379 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ab99ac020c4ef8666ef85bc46b0905445c54f9fd+76ea4d1458b486cd84374d1f970a86ad0e64425c (83b777e40d13d8c2579f61974d3898ffcaa7ba72) 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-ssh8630851224693125095.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh8090901217167766141.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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/PR-1379/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/PR-1379/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6864989706570386859.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh15651842702160058537.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1379/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/PR-1379/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11744830800234347774.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-143’ Running on prd-ubuntu20.04-docker-8c-8g-145 in /w/workspace/gexfoundry_device-sdk-go_PR-1379 [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/gexfoundry_device-sdk-go_PR-1379 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1379/head:refs/remotes/origin/PR-1379 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 76ea4d1458b486cd84374d1f970a86ad0e64425c into PR head commit ab99ac020c4ef8666ef85bc46b0905445c54f9fd Merge succeeded, producing ab99ac020c4ef8666ef85bc46b0905445c54f9fd Checking out Revision ab99ac020c4ef8666ef85bc46b0905445c54f9fd (PR-1379) > git config core.sparsecheckout # timeout=10 > git checkout -f ab99ac020c4ef8666ef85bc46b0905445c54f9fd # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 76ea4d1458b486cd84374d1f970a86ad0e64425c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ab99ac020c4ef8666ef85bc46b0905445c54f9fd # timeout=10 Commit message: "feat: enable regex for executing GET command" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-14T11:58:38.586Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-14T11:58:38.639Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-14T11:58:38.652Z] ========================================================= [2023-03-14T11:58:38.652Z] EdgeX Global Pipelines Version Info [2023-03-14T11:58:38.652Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 80aabb1c874f424bf8d06b0cf54dc412a46b3c19 # timeout=10 [2023-03-14T11:58:39.365Z] ------------------- [2023-03-14T11:58:39.365Z] stable info: [2023-03-14T11:58:39.365Z] ------------------- [2023-03-14T11:58:39.365Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-14T11:58:39.365Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T11:58:39.365Z] Message: update stable to v1.0.245 [2023-03-14T11:58:39.970Z] ------------------- [2023-03-14T11:58:39.970Z] experimental info: [2023-03-14T11:58:39.970Z] ------------------- [2023-03-14T11:58:39.970Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-14T11:58:39.970Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T11:58:39.970Z] Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-14T11:58:40.142Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-14T11:58:40.156Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-14T11:58:40.166Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-14T11:58:40.176Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-14T11:58:40.189Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-14T11:58:40.201Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-14T11:58:40.212Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-14T11:58:40.225Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-14T11:58:40.235Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-14T11:58:40.246Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-14T11:58:40.257Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-14T11:58:40.270Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-14T11:58:40.283Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-14T11:58:40.298Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-14T11:58:40.311Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T11:58:40.322Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T11:58:40.333Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T11:58:40.344Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T11:58:40.357Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-14T11:58:40.368Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-14T11:58:40.379Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-14T11:58:40.392Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-14T11:58:40.406Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-14T11:58:40.422Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-14T11:58:40.433Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-14T11:58:40.447Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-14T11:58:40.457Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-14T11:58:40.471Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1379 [Pipeline] echo [2023-03-14T11:58:40.487Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1379 [Pipeline] echo [2023-03-14T11:58:40.500Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1379 [Pipeline] echo [2023-03-14T11:58:40.509Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ab99ac020c4ef8666ef85bc46b0905445c54f9fd [Pipeline] echo [2023-03-14T11:58:40.520Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ab99ac0 [Pipeline] echo [2023-03-14T11:58:40.531Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T11:58:40.580Z] provisioning config files... [2023-03-14T11:58:40.592Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/config6219849632199541046tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T11:58:40.889Z] ---> docker-login.sh [2023-03-14T11:58:40.889Z] nexus3.edgexfoundry.org:10001 [2023-03-14T11:58:41.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T11:58:41.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T11:58:41.410Z] Configure a credential helper to remove this warning. See [2023-03-14T11:58:41.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T11:58:41.410Z] [2023-03-14T11:58:41.410Z] Login Succeeded [2023-03-14T11:58:41.410Z] nexus3.edgexfoundry.org:10002 [2023-03-14T11:58:41.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T11:58:41.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T11:58:41.410Z] Configure a credential helper to remove this warning. See [2023-03-14T11:58:41.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T11:58:41.410Z] [2023-03-14T11:58:41.410Z] Login Succeeded [2023-03-14T11:58:41.410Z] nexus3.edgexfoundry.org:10003 [2023-03-14T11:58:41.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T11:58:41.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T11:58:41.671Z] Configure a credential helper to remove this warning. See [2023-03-14T11:58:41.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T11:58:41.671Z] [2023-03-14T11:58:41.671Z] Login Succeeded [2023-03-14T11:58:41.671Z] nexus3.edgexfoundry.org:10004 [2023-03-14T11:58:41.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T11:58:41.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T11:58:41.671Z] Configure a credential helper to remove this warning. See [2023-03-14T11:58:41.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T11:58:41.671Z] [2023-03-14T11:58:41.671Z] Login Succeeded [2023-03-14T11:58:41.671Z] docker.io [2023-03-14T11:58:41.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T11:58:41.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T11:58:41.931Z] Configure a credential helper to remove this warning. See [2023-03-14T11:58:41.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T11:58:41.931Z] [2023-03-14T11:58:41.931Z] Login Succeeded [2023-03-14T11:58:41.931Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T11:58:41.939Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-14T11:58:42.308Z] + git rev-list -1 --merges ab99ac020c4ef8666ef85bc46b0905445c54f9fd~1..ab99ac020c4ef8666ef85bc46b0905445c54f9fd [Pipeline] echo [2023-03-14T11:58:42.365Z] -----------> git rev-list -1 --merges ab99ac020c4ef8666ef85bc46b0905445c54f9fd~1..ab99ac020c4ef8666ef85bc46b0905445c54f9fd ab99ac020c4ef8666ef85bc46b0905445c54f9fd [false] [Pipeline] sh [2023-03-14T11:58:42.666Z] + git log --format=format:%s -1 ab99ac020c4ef8666ef85bc46b0905445c54f9fd [Pipeline] echo [2023-03-14T11:58:42.680Z] ========================================================= [2023-03-14T11:58:42.680Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-14T11:58:42.680Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T11:58:42.993Z] + git log --format=format:%s -1 ab99ac020c4ef8666ef85bc46b0905445c54f9fd [Pipeline] echo [2023-03-14T11:58:43.002Z] [semverPrep] GIT_COMMIT: ab99ac020c4ef8666ef85bc46b0905445c54f9fd, Commit Message: feat: enable regex for executing GET command [Pipeline] echo [2023-03-14T11:58:43.012Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-14T11:58:43.379Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-14T11:58:43.379Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-14T11:58:43.379Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-14T11:58:43.379Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-14T11:58:43.379Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-14T11:58:43.379Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-14T11:58:43.379Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T11:58:43.785Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T11:58:43.785Z] [2023-03-14T11:58:43.785Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T11:58:44.089Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T11:58:44.089Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-14T11:58:44.089Z] b85a868b505f: Pulling fs layer [2023-03-14T11:58:44.089Z] e2be974225ed: Pulling fs layer [2023-03-14T11:58:44.089Z] 339a4e72a1f5: Pulling fs layer [2023-03-14T11:58:44.089Z] 988bab9f4d93: Pulling fs layer [2023-03-14T11:58:44.089Z] 1469e6f7b9e6: Pulling fs layer [2023-03-14T11:58:44.089Z] eaf3925da568: Pulling fs layer [2023-03-14T11:58:44.089Z] bab4dde63d76: Pulling fs layer [2023-03-14T11:58:44.089Z] bde34c3a00c8: Pulling fs layer [2023-03-14T11:58:44.089Z] b352a97aabf1: Pulling fs layer [2023-03-14T11:58:44.089Z] 4872d77fe225: Pulling fs layer [2023-03-14T11:58:44.089Z] 5851b861e8e6: Pulling fs layer [2023-03-14T11:58:44.089Z] 988bab9f4d93: Waiting [2023-03-14T11:58:44.089Z] 1469e6f7b9e6: Waiting [2023-03-14T11:58:44.089Z] b352a97aabf1: Waiting [2023-03-14T11:58:44.089Z] bde34c3a00c8: Waiting [2023-03-14T11:58:44.089Z] eaf3925da568: Waiting [2023-03-14T11:58:44.089Z] 4872d77fe225: Waiting [2023-03-14T11:58:44.089Z] 5851b861e8e6: Waiting [2023-03-14T11:58:44.089Z] e2be974225ed: Verifying Checksum [2023-03-14T11:58:44.089Z] e2be974225ed: Download complete [2023-03-14T11:58:44.089Z] 988bab9f4d93: Verifying Checksum [2023-03-14T11:58:44.089Z] 988bab9f4d93: Download complete [2023-03-14T11:58:44.350Z] 1469e6f7b9e6: Verifying Checksum [2023-03-14T11:58:44.350Z] 1469e6f7b9e6: Download complete [2023-03-14T11:58:44.350Z] 339a4e72a1f5: Verifying Checksum [2023-03-14T11:58:44.350Z] 339a4e72a1f5: Download complete [2023-03-14T11:58:44.350Z] eaf3925da568: Verifying Checksum [2023-03-14T11:58:44.350Z] bde34c3a00c8: Verifying Checksum [2023-03-14T11:58:44.350Z] bde34c3a00c8: Download complete [2023-03-14T11:58:44.350Z] b352a97aabf1: Download complete [2023-03-14T11:58:44.350Z] 4872d77fe225: Verifying Checksum [2023-03-14T11:58:44.350Z] 4872d77fe225: Download complete [2023-03-14T11:58:44.350Z] 5851b861e8e6: Verifying Checksum [2023-03-14T11:58:44.350Z] 5851b861e8e6: Download complete [2023-03-14T11:58:44.350Z] b85a868b505f: Download complete [2023-03-14T11:58:44.609Z] bab4dde63d76: Verifying Checksum [2023-03-14T11:58:44.609Z] bab4dde63d76: Download complete [2023-03-14T11:58:45.545Z] b85a868b505f: Pull complete [2023-03-14T11:58:45.804Z] e2be974225ed: Pull complete [2023-03-14T11:58:46.372Z] 339a4e72a1f5: Pull complete [2023-03-14T11:58:46.372Z] 988bab9f4d93: Pull complete [2023-03-14T11:58:46.631Z] 1469e6f7b9e6: Pull complete [2023-03-14T11:58:46.631Z] eaf3925da568: Pull complete [2023-03-14T11:58:48.531Z] bab4dde63d76: Pull complete [2023-03-14T11:58:48.531Z] bde34c3a00c8: Pull complete [2023-03-14T11:58:48.791Z] b352a97aabf1: Pull complete [2023-03-14T11:58:48.791Z] 4872d77fe225: Pull complete [2023-03-14T11:58:49.050Z] 5851b861e8e6: Pull complete [2023-03-14T11:58:49.050Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-14T11:58:49.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T11:58:49.050Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T11:58:49.170Z] prd-ubuntu20.04-docker-8c-8g-145 does not seem to be running inside a container [2023-03-14T11:58:49.207Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1379 -v /w/workspace/gexfoundry_device-sdk-go_PR-1379:/w/workspace/gexfoundry_device-sdk-go_PR-1379:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1379@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-14T11:58:52.074Z] $ docker top 9ec8eb440396b75b5b7a9899fc8e3892139125f5cd658a151f4f7426987a30b2 -eo pid,comm [2023-03-14T11:58:52.129Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-14T11:58:52.129Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-14T11:58:52.157Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T11:58:52.157Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T11:58:52.259Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T11:58:52.285Z] $ docker exec 9ec8eb440396b75b5b7a9899fc8e3892139125f5cd658a151f4f7426987a30b2 ssh-agent [2023-03-14T11:58:52.385Z] SSH_AUTH_SOCK=/tmp/ssh-4n1GZmVLr4cy/agent.32 [2023-03-14T11:58:52.385Z] SSH_AGENT_PID=38 [2023-03-14T11:58:52.401Z] Running ssh-add (command line suppressed) [2023-03-14T11:58:52.507Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/private_key_6568538336939820775.key (/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/private_key_6568538336939820775.key) [2023-03-14T11:58:52.521Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T11:58:52.810Z] + git tag --points-at HEAD [Pipeline] } [2023-03-14T11:58:52.825Z] $ docker exec --env ******** --env ******** 9ec8eb440396b75b5b7a9899fc8e3892139125f5cd658a151f4f7426987a30b2 ssh-agent -k [2023-03-14T11:58:52.913Z] unset SSH_AUTH_SOCK; [2023-03-14T11:58:52.913Z] unset SSH_AGENT_PID; [2023-03-14T11:58:52.913Z] echo Agent pid 38 killed; [2023-03-14T11:58:52.920Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-14T11:58:52.942Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T11:58:52.942Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T11:58:53.051Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T11:58:53.057Z] $ docker exec 9ec8eb440396b75b5b7a9899fc8e3892139125f5cd658a151f4f7426987a30b2 ssh-agent [2023-03-14T11:58:53.159Z] SSH_AUTH_SOCK=/tmp/ssh-rG5Je6aM7xAd/agent.71 [2023-03-14T11:58:53.159Z] SSH_AGENT_PID=77 [2023-03-14T11:58:53.164Z] Running ssh-add (command line suppressed) [2023-03-14T11:58:53.268Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/private_key_15183737943074646766.key (/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/private_key_15183737943074646766.key) [2023-03-14T11:58:53.276Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T11:58:53.560Z] + git semver init [2023-03-14T11:58:53.820Z] 2023-03-14 11:58:53,731 [run_init] DEBUG init version:0.0.0 force:False [2023-03-14T11:58:53.820Z] 2023-03-14 11:58:53,732 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver [2023-03-14T11:58:53.820Z] 2023-03-14 11:58:53,733 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver [2023-03-14T11:58:53.820Z] 2023-03-14 11:58:53,733 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1379, universal_newlines=False, shell=None, istream=None) [2023-03-14T11:58:54.757Z] 2023-03-14 11:58:54,673 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379/.git/info/exclude [2023-03-14T11:58:54.757Z] 2023-03-14 11:58:54,674 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver/PR-1379 with force:False [2023-03-14T11:58:54.757Z] 2023-03-14 11:58:54,674 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver/PR-1379 [2023-03-14T11:58:54.758Z] 2023-03-14 11:58:54,676 [execute] INFO git cat-file --batch-check [2023-03-14T11:58:54.758Z] 2023-03-14 11:58:54,676 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T11:58:54.758Z] 2023-03-14 11:58:54,682 [execute] INFO git cat-file --batch [2023-03-14T11:58:54.758Z] 2023-03-14 11:58:54,682 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T11:58:54.758Z] 2023-03-14 11:58:54,687 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1379/.semver/PR-1379 [2023-03-14T11:58:54.758Z] 0.0.0 [Pipeline] } [2023-03-14T11:58:54.773Z] $ docker exec --env ******** --env ******** 9ec8eb440396b75b5b7a9899fc8e3892139125f5cd658a151f4f7426987a30b2 ssh-agent -k [2023-03-14T11:58:54.874Z] unset SSH_AUTH_SOCK; [2023-03-14T11:58:54.875Z] unset SSH_AGENT_PID; [2023-03-14T11:58:54.875Z] echo Agent pid 77 killed; [2023-03-14T11:58:54.880Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-14T11:58:55.178Z] + git semver [Pipeline] } [2023-03-14T11:58:55.456Z] $ docker stop --time=1 9ec8eb440396b75b5b7a9899fc8e3892139125f5cd658a151f4f7426987a30b2 [2023-03-14T11:58:56.769Z] $ docker rm -f --volumes 9ec8eb440396b75b5b7a9899fc8e3892139125f5cd658a151f4f7426987a30b2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T11:58:57.103Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-14T11:58:57.296Z] Stashed 1 file(s) [Pipeline] echo [2023-03-14T11:58:57.299Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T11:58:57.452Z] provisioning config files... [2023-03-14T11:58:57.461Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/config2217036072814394183tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T11:58:57.757Z] ---> docker-login.sh [2023-03-14T11:58:57.758Z] nexus3.edgexfoundry.org:10001 [2023-03-14T11:58:57.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T11:58:57.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T11:58:57.758Z] Configure a credential helper to remove this warning. See [2023-03-14T11:58:57.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T11:58:57.758Z] [2023-03-14T11:58:57.758Z] Login Succeeded [2023-03-14T11:58:57.758Z] nexus3.edgexfoundry.org:10002 [2023-03-14T11:58:57.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T11:58:57.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T11:58:57.758Z] Configure a credential helper to remove this warning. See [2023-03-14T11:58:57.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T11:58:57.758Z] [2023-03-14T11:58:57.758Z] Login Succeeded [2023-03-14T11:58:57.758Z] nexus3.edgexfoundry.org:10003 [2023-03-14T11:58:58.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T11:58:58.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T11:58:58.018Z] Configure a credential helper to remove this warning. See [2023-03-14T11:58:58.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T11:58:58.018Z] [2023-03-14T11:58:58.018Z] Login Succeeded [2023-03-14T11:58:58.018Z] nexus3.edgexfoundry.org:10004 [2023-03-14T11:58:58.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T11:58:58.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T11:58:58.018Z] Configure a credential helper to remove this warning. See [2023-03-14T11:58:58.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T11:58:58.018Z] [2023-03-14T11:58:58.018Z] Login Succeeded [2023-03-14T11:58:58.018Z] docker.io [2023-03-14T11:58:58.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T11:58:58.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T11:58:58.277Z] Configure a credential helper to remove this warning. See [2023-03-14T11:58:58.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T11:58:58.277Z] [2023-03-14T11:58:58.277Z] Login Succeeded [2023-03-14T11:58:58.277Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T11:58:58.285Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T11:58:58.338Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T11:58:58.350Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T11:58:58.357Z] ========================================================= [2023-03-14T11:58:58.357Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-14T11:58:58.357Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T11:58:58.666Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-14T11:58:58.666Z] Sending build context to Docker daemon 10.82MB [2023-03-14T11:58:58.666Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-14T11:58:58.666Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-14T11:58:58.930Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-14T11:58:58.930Z] 63b65145d645: Pulling fs layer [2023-03-14T11:58:58.930Z] a2d21d5440eb: Pulling fs layer [2023-03-14T11:58:58.930Z] 935e6c44a52c: Pulling fs layer [2023-03-14T11:58:58.930Z] 94cc34f8dd06: Pulling fs layer [2023-03-14T11:58:58.930Z] 30dea6a524f1: Pulling fs layer [2023-03-14T11:58:58.930Z] a2aff8979fd8: Pulling fs layer [2023-03-14T11:58:58.930Z] 6808be2612f2: Pulling fs layer [2023-03-14T11:58:58.930Z] f25807f1079a: Pulling fs layer [2023-03-14T11:58:58.930Z] 94cc34f8dd06: Waiting [2023-03-14T11:58:58.930Z] 30dea6a524f1: Waiting [2023-03-14T11:58:58.930Z] a2aff8979fd8: Waiting [2023-03-14T11:58:58.930Z] 6808be2612f2: Waiting [2023-03-14T11:58:58.930Z] f25807f1079a: Waiting [2023-03-14T11:58:58.930Z] a2d21d5440eb: Download complete [2023-03-14T11:58:58.930Z] 94cc34f8dd06: Download complete [2023-03-14T11:58:58.930Z] 30dea6a524f1: Download complete [2023-03-14T11:58:58.930Z] 63b65145d645: Verifying Checksum [2023-03-14T11:58:58.930Z] 63b65145d645: Download complete [2023-03-14T11:58:58.930Z] a2aff8979fd8: Verifying Checksum [2023-03-14T11:58:58.930Z] a2aff8979fd8: Download complete [2023-03-14T11:58:59.204Z] 63b65145d645: Pull complete [2023-03-14T11:58:59.204Z] a2d21d5440eb: Pull complete [2023-03-14T11:58:59.783Z] f25807f1079a: Verifying Checksum [2023-03-14T11:58:59.783Z] f25807f1079a: Download complete [2023-03-14T11:58:59.783Z] 935e6c44a52c: Verifying Checksum [2023-03-14T11:58:59.783Z] 935e6c44a52c: Download complete [2023-03-14T11:59:00.041Z] 6808be2612f2: Verifying Checksum [2023-03-14T11:59:00.041Z] 6808be2612f2: Download complete [2023-03-14T11:59:03.342Z] 935e6c44a52c: Pull complete [2023-03-14T11:59:03.342Z] 94cc34f8dd06: Pull complete [2023-03-14T11:59:03.342Z] 30dea6a524f1: Pull complete [2023-03-14T11:59:03.600Z] a2aff8979fd8: Pull complete [2023-03-14T11:59:06.132Z] 6808be2612f2: Pull complete [2023-03-14T11:59:06.390Z] f25807f1079a: Pull complete [2023-03-14T11:59:06.390Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-14T11:59:06.390Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-14T11:59:06.390Z] ---> 3b553350e43f [2023-03-14T11:59:06.390Z] Step 3/10 : ARG MAKE=make build [2023-03-14T11:59:10.587Z] ---> Running in 96d57e178d38 [2023-03-14T11:59:10.587Z] Removing intermediate container 96d57e178d38 [2023-03-14T11:59:10.587Z] ---> 3cdf5694c94f [2023-03-14T11:59:10.587Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-14T11:59:10.587Z] ---> Running in cb4c6b728328 [2023-03-14T11:59:10.846Z] Removing intermediate container cb4c6b728328 [2023-03-14T11:59:10.846Z] ---> 0bef64693f7c [2023-03-14T11:59:10.846Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-14T11:59:10.846Z] ---> Running in 41eb19351237 [2023-03-14T11:59:10.846Z] Removing intermediate container 41eb19351237 [2023-03-14T11:59:10.846Z] ---> cc3cb48f6af6 [2023-03-14T11:59:10.846Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-14T11:59:10.846Z] ---> Running in 5f9b6e97180a [2023-03-14T11:59:11.106Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T11:59:11.365Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T11:59:11.623Z] OK: 265 MiB in 53 packages [2023-03-14T11:59:11.883Z] Removing intermediate container 5f9b6e97180a [2023-03-14T11:59:11.883Z] ---> 4b685b962c87 [2023-03-14T11:59:11.883Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-14T11:59:11.883Z] ---> 02ed6f5bd41d [2023-03-14T11:59:11.883Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T11:59:12.142Z] ---> Running in c4848c587bed [2023-03-14T11:59:12.407Z] Still waiting to schedule task [2023-03-14T11:59:12.407Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-144’ [2023-03-14T11:59:44.271Z] Removing intermediate container c4848c587bed [2023-03-14T11:59:44.271Z] ---> 9f45206c510f [2023-03-14T11:59:44.271Z] Step 9/10 : COPY . . [2023-03-14T11:59:44.271Z] ---> 711be6051b49 [2023-03-14T11:59:44.271Z] Step 10/10 : RUN ${MAKE} [2023-03-14T11:59:44.271Z] ---> Running in 2e8e1a028e37 [2023-03-14T11:59:44.271Z] noop [2023-03-14T11:59:44.530Z] Removing intermediate container 2e8e1a028e37 [2023-03-14T11:59:44.530Z] ---> 6db262e0cb2f [2023-03-14T11:59:44.530Z] Successfully built 6db262e0cb2f [2023-03-14T11:59:44.530Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T11:59:44.829Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T11:59:44.829Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T11:59:44.890Z] prd-ubuntu20.04-docker-8c-8g-145 does not seem to be running inside a container [2023-03-14T11:59:44.920Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1379 -v /w/workspace/gexfoundry_device-sdk-go_PR-1379:/w/workspace/gexfoundry_device-sdk-go_PR-1379:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1379@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-14T11:59:45.228Z] $ docker top db48a66f46aeae004ed861c3569d7a7f767a1eb436780c896370d71671d4aa7f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T11:59:45.560Z] + go version [2023-03-14T11:59:45.560Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-14T11:59:45.572Z] $ docker stop --time=1 db48a66f46aeae004ed861c3569d7a7f767a1eb436780c896370d71671d4aa7f [2023-03-14T11:59:46.823Z] $ docker rm -f --volumes db48a66f46aeae004ed861c3569d7a7f767a1eb436780c896370d71671d4aa7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T11:59:47.194Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T11:59:47.194Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T11:59:47.259Z] prd-ubuntu20.04-docker-8c-8g-145 does not seem to be running inside a container [2023-03-14T11:59:47.288Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1379 -v /w/workspace/gexfoundry_device-sdk-go_PR-1379:/w/workspace/gexfoundry_device-sdk-go_PR-1379:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1379@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-14T11:59:47.643Z] $ docker top aee39e4e1482f061476561610cc3048fa95277082f483599d563002e544864ec -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T11:59:47.974Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1379 [Pipeline] fileExists [Pipeline] sh [2023-03-14T11:59:48.267Z] + make test [2023-03-14T11:59:48.267Z] go test -race -coverprofile=coverage.out ./... [2023-03-14T11:59:54.829Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-14T12:00:09.698Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-14T12:00:09.698Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-14T12:00:09.698Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-14T12:00:09.698Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-14T12:00:09.698Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-14T12:00:09.955Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.048s coverage: 27.6% of statements [2023-03-14T12:00:10.213Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-14T12:00:10.213Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-14T12:00:10.213Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.063s coverage: 78.9% of statements [2023-03-14T12:00:10.213Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.072s coverage: 86.0% of statements [2023-03-14T12:00:11.146Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-14T12:00:11.146Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-14T12:00:11.146Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.093s coverage: 75.7% of statements [2023-03-14T12:00:11.404Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-14T12:00:11.404Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-14T12:00:12.340Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-14T12:00:14.242Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.063s coverage: 14.9% of statements [2023-03-14T12:00:14.242Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.069s coverage: 65.7% of statements [2023-03-14T12:00:14.242Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.503s coverage: 89.2% of statements [2023-03-14T12:00:14.242Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.5% of statements [2023-03-14T12:00:32.317Z] GO111MODULE=on go vet ./... [2023-03-14T12:00:36.503Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T12:00:36.503Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T12:00:36.503Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-14T12:00:36.514Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T12:00:36.532Z] $ docker stop --time=1 aee39e4e1482f061476561610cc3048fa95277082f483599d563002e544864ec [2023-03-14T12:00:40.112Z] $ docker rm -f --volumes aee39e4e1482f061476561610cc3048fa95277082f483599d563002e544864ec [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T12:00:40.637Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T12:00:40.694Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-14T12:00:41.203Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T12:00:41.489Z] + ls -al . [2023-03-14T12:00:41.489Z] total 276 [2023-03-14T12:00:41.489Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 11:59 . [2023-03-14T12:00:41.489Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 11:58 .. [2023-03-14T12:00:41.489Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 14 11:58 .dockerignore [2023-03-14T12:00:41.489Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 11:58 .git [2023-03-14T12:00:41.489Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 11:58 .github [2023-03-14T12:00:41.489Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 14 11:58 .gitignore [2023-03-14T12:00:41.489Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 14 11:58 .golangci.yml [2023-03-14T12:00:41.489Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 11:58 .semver [2023-03-14T12:00:41.489Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 14 11:58 CHANGELOG.md [2023-03-14T12:00:41.489Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 11:58 GOVERNANCE.md [2023-03-14T12:00:41.489Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 14 11:58 Jenkinsfile [2023-03-14T12:00:41.489Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 14 11:58 LICENSE [2023-03-14T12:00:41.489Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 14 11:58 Makefile [2023-03-14T12:00:41.489Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 14 11:58 OWNERS.md [2023-03-14T12:00:41.489Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 14 11:58 README.md [2023-03-14T12:00:41.489Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 11:58 VERSION [2023-03-14T12:00:41.489Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 11:58 bin [2023-03-14T12:00:41.489Z] -rw-r--r-- 1 jenkins jenkins 109922 Mar 14 12:00 coverage.out [2023-03-14T12:00:41.489Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 14 11:58 example [2023-03-14T12:00:41.489Z] -rw-rw-r-- 1 jenkins jenkins 3278 Mar 14 11:58 go.mod [2023-03-14T12:00:41.489Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 14 11:58 go.sum [2023-03-14T12:00:41.489Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 11:58 internal [2023-03-14T12:00:41.489Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 11:58 openapi [2023-03-14T12:00:41.489Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 14 11:58 pkg [2023-03-14T12:00:41.489Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 11:58 snap [2023-03-14T12:00:41.489Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 14 11:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T12:00:41.789Z] + 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=ab99ac020c4ef8666ef85bc46b0905445c54f9fd --label arch=amd64 --label version=0.0.0 . [2023-03-14T12:00:41.789Z] Sending build context to Docker daemon 10.93MB [2023-03-14T12:00:41.789Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-14T12:00:41.789Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-14T12:00:41.789Z] ---> 6db262e0cb2f [2023-03-14T12:00:41.789Z] Step 3/23 : ARG MAKE=make build [2023-03-14T12:00:42.049Z] ---> Running in e3e2c4784da0 [2023-03-14T12:00:42.049Z] Removing intermediate container e3e2c4784da0 [2023-03-14T12:00:42.049Z] ---> 00b38f7cbdaf [2023-03-14T12:00:42.049Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-14T12:00:42.049Z] ---> Running in ecbc15ee221d [2023-03-14T12:00:42.049Z] Removing intermediate container ecbc15ee221d [2023-03-14T12:00:42.049Z] ---> 2aa59c3d8ead [2023-03-14T12:00:42.049Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-14T12:00:42.308Z] ---> Running in 1f4a864bed80 [2023-03-14T12:00:42.308Z] Removing intermediate container 1f4a864bed80 [2023-03-14T12:00:42.308Z] ---> 70facdd95a35 [2023-03-14T12:00:42.308Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-14T12:00:42.308Z] ---> Running in 04c6b6781c49 [2023-03-14T12:00:42.566Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T12:00:42.825Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T12:00:43.083Z] OK: 265 MiB in 53 packages [2023-03-14T12:00:43.342Z] Removing intermediate container 04c6b6781c49 [2023-03-14T12:00:43.342Z] ---> e57dfaeee9c1 [2023-03-14T12:00:43.342Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-14T12:00:43.342Z] ---> 6578fbeccb93 [2023-03-14T12:00:43.342Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T12:00:43.342Z] ---> Running in 2d5e2712f19d [2023-03-14T12:00:44.278Z] Removing intermediate container 2d5e2712f19d [2023-03-14T12:00:44.278Z] ---> 8b79cb0b0a9d [2023-03-14T12:00:44.278Z] Step 9/23 : COPY . . [2023-03-14T12:00:44.843Z] ---> 85e9329868a1 [2023-03-14T12:00:44.843Z] Step 10/23 : RUN ${MAKE} [2023-03-14T12:00:44.843Z] ---> Running in cde743e8a486 [2023-03-14T12:00:45.101Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-14T12:01:07.032Z] Removing intermediate container cde743e8a486 [2023-03-14T12:01:07.032Z] ---> 987ca3f55029 [2023-03-14T12:01:07.032Z] Step 11/23 : FROM alpine:3.16 [2023-03-14T12:01:07.032Z] 3.16: Pulling from library/alpine [2023-03-14T12:01:07.032Z] ef5531b6e74e: Pulling fs layer [2023-03-14T12:01:07.032Z] ef5531b6e74e: Verifying Checksum [2023-03-14T12:01:07.032Z] ef5531b6e74e: Pull complete [2023-03-14T12:01:07.032Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-14T12:01:07.032Z] Status: Downloaded newer image for alpine:3.16 [2023-03-14T12:01:07.032Z] ---> dfd21b5a31f5 [2023-03-14T12:01:07.032Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-14T12:01:07.032Z] ---> Running in 8d58af4f2138 [2023-03-14T12:01:07.032Z] Removing intermediate container 8d58af4f2138 [2023-03-14T12:01:07.032Z] ---> 340bd4a2c297 [2023-03-14T12:01:07.032Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-14T12:01:07.032Z] ---> Running in 020df6824024 [2023-03-14T12:01:07.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-14T12:01:07.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-14T12:01:07.032Z] OK: 6 MiB in 14 packages [2023-03-14T12:01:07.032Z] Removing intermediate container 020df6824024 [2023-03-14T12:01:07.032Z] ---> f511ad0b8a57 [2023-03-14T12:01:07.032Z] Step 14/23 : WORKDIR / [2023-03-14T12:01:07.032Z] ---> Running in 7e34ba8254ce [2023-03-14T12:01:07.032Z] Removing intermediate container 7e34ba8254ce [2023-03-14T12:01:07.032Z] ---> c986774d9768 [2023-03-14T12:01:07.032Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-14T12:01:07.032Z] ---> 803845727038 [2023-03-14T12:01:07.032Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-14T12:01:07.032Z] ---> 7619dba8185a [2023-03-14T12:01:07.032Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-14T12:01:07.032Z] ---> 5db2d8d19b6b [2023-03-14T12:01:07.032Z] Step 18/23 : EXPOSE 59999 [2023-03-14T12:01:07.032Z] ---> Running in 857df802fae5 [2023-03-14T12:01:07.032Z] Removing intermediate container 857df802fae5 [2023-03-14T12:01:07.032Z] ---> a9400808d71c [2023-03-14T12:01:07.032Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-14T12:01:07.032Z] ---> Running in 21118f12ed02 [2023-03-14T12:01:07.032Z] Removing intermediate container 21118f12ed02 [2023-03-14T12:01:07.032Z] ---> 049a1a42186d [2023-03-14T12:01:07.032Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-14T12:01:07.032Z] ---> Running in 951b4b3e4d6f [2023-03-14T12:01:07.032Z] Removing intermediate container 951b4b3e4d6f [2023-03-14T12:01:07.032Z] ---> 0b0d8dbecdc4 [2023-03-14T12:01:07.032Z] Step 21/23 : LABEL arch=amd64 [2023-03-14T12:01:07.032Z] ---> Running in 7347b55d2235 [2023-03-14T12:01:07.291Z] Removing intermediate container 7347b55d2235 [2023-03-14T12:01:07.291Z] ---> 199da9ddfda9 [2023-03-14T12:01:07.291Z] Step 22/23 : LABEL git_sha=ab99ac020c4ef8666ef85bc46b0905445c54f9fd [2023-03-14T12:01:07.291Z] ---> Running in 29e48d878731 [2023-03-14T12:01:07.291Z] Removing intermediate container 29e48d878731 [2023-03-14T12:01:07.291Z] ---> 11968f3ed23f [2023-03-14T12:01:07.291Z] Step 23/23 : LABEL version=0.0.0 [2023-03-14T12:01:07.291Z] ---> Running in 4fdd624223b6 [2023-03-14T12:01:07.291Z] Removing intermediate container 4fdd624223b6 [2023-03-14T12:01:07.291Z] ---> ebdbad011b86 [2023-03-14T12:01:07.291Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T12:01:07.291Z] Successfully built ebdbad011b86 [2023-03-14T12:01:07.291Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T12:01:07.706Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T12:01:07.706Z] [2023-03-14T12:01:07.706Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T12:01:08.008Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T12:01:08.008Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-14T12:01:08.008Z] 5eb5b503b376: Pulling fs layer [2023-03-14T12:01:08.008Z] 5c69ac0246d0: Pulling fs layer [2023-03-14T12:01:08.008Z] ec43610c2a17: Pulling fs layer [2023-03-14T12:01:08.008Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-14T12:01:08.008Z] 33b1e0a273af: Pulling fs layer [2023-03-14T12:01:08.008Z] 5d3b04190fa2: Pulling fs layer [2023-03-14T12:01:08.008Z] 2f39f015ded8: Pulling fs layer [2023-03-14T12:01:08.008Z] 3a2ae6a8a46f: Waiting [2023-03-14T12:01:08.008Z] 33b1e0a273af: Waiting [2023-03-14T12:01:08.008Z] 2f39f015ded8: Waiting [2023-03-14T12:01:08.008Z] 5c69ac0246d0: Verifying Checksum [2023-03-14T12:01:08.008Z] 5c69ac0246d0: Download complete [2023-03-14T12:01:08.008Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-14T12:01:08.008Z] 3a2ae6a8a46f: Download complete [2023-03-14T12:01:08.268Z] 33b1e0a273af: Verifying Checksum [2023-03-14T12:01:08.268Z] 33b1e0a273af: Download complete [2023-03-14T12:01:08.268Z] 5d3b04190fa2: Verifying Checksum [2023-03-14T12:01:08.268Z] 5d3b04190fa2: Download complete [2023-03-14T12:01:08.268Z] ec43610c2a17: Download complete [2023-03-14T12:01:08.268Z] 5eb5b503b376: Verifying Checksum [2023-03-14T12:01:08.268Z] 5eb5b503b376: Download complete [2023-03-14T12:01:09.202Z] 2f39f015ded8: Verifying Checksum [2023-03-14T12:01:09.202Z] 2f39f015ded8: Download complete [2023-03-14T12:01:09.459Z] 5eb5b503b376: Pull complete [2023-03-14T12:01:09.716Z] 5c69ac0246d0: Pull complete [2023-03-14T12:01:09.975Z] ec43610c2a17: Pull complete [2023-03-14T12:01:10.234Z] 3a2ae6a8a46f: Pull complete [2023-03-14T12:01:10.494Z] 33b1e0a273af: Pull complete [2023-03-14T12:01:10.494Z] 5d3b04190fa2: Pull complete [2023-03-14T12:01:14.680Z] 2f39f015ded8: Pull complete [2023-03-14T12:01:14.680Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-14T12:01:14.680Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T12:01:14.680Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T12:01:14.768Z] prd-ubuntu20.04-docker-8c-8g-145 does not seem to be running inside a container [2023-03-14T12:01:14.801Z] $ 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/gexfoundry_device-sdk-go_PR-1379 -v /w/workspace/gexfoundry_device-sdk-go_PR-1379:/w/workspace/gexfoundry_device-sdk-go_PR-1379:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1379@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-14T12:01:18.374Z] $ docker top d40473a13350bd2d5536ce077648550453eab241b243a38ab343578a773253f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T12:01:18.776Z] ---> job-cost.sh [2023-03-14T12:01:18.776Z] lf-activate-venv: SKIPPING [2023-03-14T12:01:18.776Z] INFO: No Stack... [2023-03-14T12:01:19.035Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T12:01:19.293Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T12:01:19.577Z] + + cut -d, -f6 [2023-03-14T12:01:19.577Z] cat /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives/cost.csv [Pipeline] lock [2023-03-14T12:01:19.591Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1379-2-stack-cost] [2023-03-14T12:01:19.596Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1379-2-stack-cost] did not exist. Created. [2023-03-14T12:01:19.596Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1379-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T12:01:19.890Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-14T12:01:19.921Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T12:01:19.930Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1379-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T12:01:19.948Z] $ docker stop --time=1 d40473a13350bd2d5536ce077648550453eab241b243a38ab343578a773253f9 [2023-03-14T12:01:21.102Z] $ docker rm -f --volumes d40473a13350bd2d5536ce077648550453eab241b243a38ab343578a773253f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-14T12:02:47.729Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-146 in /w/workspace/gexfoundry_device-sdk-go_PR-1379 [Pipeline] { [Pipeline] ws [2023-03-14T12:02:47.741Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-03-14T12:02:47.782Z] The recommended git tool is: git [2023-03-14T12:02:53.606Z] using credential edgex-jenkins-ssh [2023-03-14T12:02:54.094Z] Cloning the remote Git repository [2023-03-14T12:02:54.181Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-14T12:02:54.296Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-03-14T12:02:54.461Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-14T12:02:54.462Z] > git --version # timeout=10 [2023-03-14T12:02:54.487Z] > git --version # 'git version 2.25.1' [2023-03-14T12:02:54.490Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T12:02:54.656Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T12:02:56.361Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-14T12:02:56.406Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T12:02:58.071Z] Merging remotes/origin/main commit 76ea4d1458b486cd84374d1f970a86ad0e64425c into PR head commit ab99ac020c4ef8666ef85bc46b0905445c54f9fd [2023-03-14T12:02:57.327Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-14T12:02:57.380Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-14T12:02:57.381Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T12:02:57.398Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1379/head:refs/remotes/origin/PR-1379 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-14T12:02:58.094Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T12:02:58.395Z] Merge succeeded, producing ab99ac020c4ef8666ef85bc46b0905445c54f9fd [2023-03-14T12:02:58.396Z] Checking out Revision ab99ac020c4ef8666ef85bc46b0905445c54f9fd (PR-1379) [2023-03-14T12:02:58.173Z] > git checkout -f ab99ac020c4ef8666ef85bc46b0905445c54f9fd # timeout=10 [2023-03-14T12:02:58.288Z] > git remote # timeout=10 [2023-03-14T12:02:58.312Z] > git config --get remote.origin.url # timeout=10 [2023-03-14T12:02:58.331Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T12:02:58.346Z] > git merge 76ea4d1458b486cd84374d1f970a86ad0e64425c # timeout=10 [2023-03-14T12:02:58.379Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-14T12:02:58.406Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T12:02:58.425Z] > git checkout -f ab99ac020c4ef8666ef85bc46b0905445c54f9fd # timeout=10 [2023-03-14T12:03:01.986Z] Commit message: "feat: enable regex for executing GET command" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T12:03:02.942Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-14T12:03:02.943Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T12:03:02.943Z] Dload Upload Total Spent Left Speed [2023-03-14T12:03:02.943Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 58223 0 --:--:-- --:--:-- --:--:-- 58223 [Pipeline] sh [2023-03-14T12:03:03.780Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-14T12:03:04.127Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-14T12:03:04.127Z] + sudo tee /etc/docker/daemon.new [2023-03-14T12:03:04.127Z] { [2023-03-14T12:03:04.127Z] "registry-mirrors": [ [2023-03-14T12:03:04.127Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-14T12:03:04.127Z] ], [2023-03-14T12:03:04.127Z] "bip": "10.250.0.254/24", [2023-03-14T12:03:04.127Z] "hosts": [ [2023-03-14T12:03:04.127Z] "tcp://0.0.0.0:5555", [2023-03-14T12:03:04.128Z] "unix:///var/run/docker.sock" [2023-03-14T12:03:04.128Z] ], [2023-03-14T12:03:04.128Z] "mtu": 1458, [2023-03-14T12:03:04.128Z] "selinux-enabled": true, [2023-03-14T12:03:04.128Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-14T12:03:04.128Z] } [Pipeline] sh [2023-03-14T12:03:04.479Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-14T12:03:04.822Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T12:03:23.128Z] provisioning config files... [2023-03-14T12:03:23.158Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config9825892531147696511tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T12:03:23.518Z] ---> docker-login.sh [2023-03-14T12:03:23.518Z] nexus3.edgexfoundry.org:10001 [2023-03-14T12:03:24.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T12:03:24.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T12:03:24.109Z] Configure a credential helper to remove this warning. See [2023-03-14T12:03:24.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T12:03:24.109Z] [2023-03-14T12:03:24.109Z] Login Succeeded [2023-03-14T12:03:24.109Z] nexus3.edgexfoundry.org:10002 [2023-03-14T12:03:24.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T12:03:24.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T12:03:24.649Z] Configure a credential helper to remove this warning. See [2023-03-14T12:03:24.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T12:03:24.649Z] [2023-03-14T12:03:24.649Z] Login Succeeded [2023-03-14T12:03:24.649Z] nexus3.edgexfoundry.org:10003 [2023-03-14T12:03:24.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T12:03:24.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T12:03:24.920Z] Configure a credential helper to remove this warning. See [2023-03-14T12:03:24.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T12:03:24.920Z] [2023-03-14T12:03:24.920Z] Login Succeeded [2023-03-14T12:03:24.920Z] nexus3.edgexfoundry.org:10004 [2023-03-14T12:03:25.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T12:03:25.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T12:03:25.193Z] Configure a credential helper to remove this warning. See [2023-03-14T12:03:25.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T12:03:25.193Z] [2023-03-14T12:03:25.193Z] Login Succeeded [2023-03-14T12:03:25.193Z] docker.io [2023-03-14T12:03:25.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T12:03:25.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T12:03:25.736Z] Configure a credential helper to remove this warning. See [2023-03-14T12:03:25.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T12:03:25.736Z] [2023-03-14T12:03:25.736Z] Login Succeeded [2023-03-14T12:03:25.736Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T12:03:25.752Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T12:03:26.045Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T12:03:26.060Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T12:03:26.069Z] ========================================================= [2023-03-14T12:03:26.070Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-14T12:03:26.070Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T12:03:26.432Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-14T12:03:27.028Z] Sending build context to Docker daemon 5.827MB [2023-03-14T12:03:27.028Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-14T12:03:27.028Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-14T12:03:27.028Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-14T12:03:27.028Z] af6eaf76a39c: Pulling fs layer [2023-03-14T12:03:27.028Z] 55522c791124: Pulling fs layer [2023-03-14T12:03:27.028Z] ce5c4a1c91eb: Pulling fs layer [2023-03-14T12:03:27.028Z] 169dfbe0d373: Pulling fs layer [2023-03-14T12:03:27.028Z] e1ff8fa3b103: Pulling fs layer [2023-03-14T12:03:27.028Z] 169dfbe0d373: Waiting [2023-03-14T12:03:27.028Z] 52ebb69f0ebf: Pulling fs layer [2023-03-14T12:03:27.028Z] 5abe8eddf0d5: Pulling fs layer [2023-03-14T12:03:27.028Z] e1ff8fa3b103: Waiting [2023-03-14T12:03:27.028Z] 5abe8eddf0d5: Waiting [2023-03-14T12:03:27.028Z] 52ebb69f0ebf: Waiting [2023-03-14T12:03:27.028Z] 55522c791124: Download complete [2023-03-14T12:03:27.298Z] 169dfbe0d373: Verifying Checksum [2023-03-14T12:03:27.298Z] 169dfbe0d373: Download complete [2023-03-14T12:03:27.298Z] e1ff8fa3b103: Verifying Checksum [2023-03-14T12:03:27.298Z] e1ff8fa3b103: Download complete [2023-03-14T12:03:27.298Z] af6eaf76a39c: Verifying Checksum [2023-03-14T12:03:27.298Z] af6eaf76a39c: Download complete [2023-03-14T12:03:28.290Z] 5abe8eddf0d5: Verifying Checksum [2023-03-14T12:03:28.290Z] 5abe8eddf0d5: Download complete [2023-03-14T12:03:28.290Z] af6eaf76a39c: Pull complete [2023-03-14T12:03:28.887Z] 55522c791124: Pull complete [2023-03-14T12:03:29.863Z] ce5c4a1c91eb: Verifying Checksum [2023-03-14T12:03:29.863Z] ce5c4a1c91eb: Download complete [2023-03-14T12:03:29.863Z] 52ebb69f0ebf: Verifying Checksum [2023-03-14T12:03:29.863Z] 52ebb69f0ebf: Download complete [2023-03-14T12:03:42.229Z] ce5c4a1c91eb: Pull complete [2023-03-14T12:03:42.230Z] 169dfbe0d373: Pull complete [2023-03-14T12:03:42.230Z] e1ff8fa3b103: Pull complete [2023-03-14T12:03:47.726Z] 52ebb69f0ebf: Pull complete [2023-03-14T12:03:49.704Z] 5abe8eddf0d5: Pull complete [2023-03-14T12:03:49.704Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-14T12:03:49.704Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-14T12:03:49.704Z] ---> 6cb57ee374ae [2023-03-14T12:03:49.704Z] Step 3/10 : ARG MAKE=make build [2023-03-14T12:03:51.670Z] ---> Running in 90b796f7380c [2023-03-14T12:03:51.670Z] Removing intermediate container 90b796f7380c [2023-03-14T12:03:51.670Z] ---> 7856f48ebc72 [2023-03-14T12:03:51.670Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-14T12:03:51.936Z] ---> Running in 24a70acad04f [2023-03-14T12:03:52.206Z] Removing intermediate container 24a70acad04f [2023-03-14T12:03:52.206Z] ---> a1f2dbef2619 [2023-03-14T12:03:52.206Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-14T12:03:52.206Z] ---> Running in 0412504b5de5 [2023-03-14T12:03:52.477Z] Removing intermediate container 0412504b5de5 [2023-03-14T12:03:52.477Z] ---> 498ab78b8e35 [2023-03-14T12:03:52.477Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-14T12:03:52.749Z] ---> Running in ab0a44dfc973 [2023-03-14T12:03:53.712Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T12:03:54.296Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T12:03:55.268Z] OK: 263 MiB in 53 packages [2023-03-14T12:03:56.236Z] Removing intermediate container ab0a44dfc973 [2023-03-14T12:03:56.236Z] ---> 5beea3ca7fc8 [2023-03-14T12:03:56.236Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-14T12:03:56.821Z] ---> 2610e0731fac [2023-03-14T12:03:56.821Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T12:03:56.821Z] ---> Running in e06c755f2ec6 [2023-03-14T12:05:04.727Z] Removing intermediate container e06c755f2ec6 [2023-03-14T12:05:04.727Z] ---> 80cf5c9df2e3 [2023-03-14T12:05:04.727Z] Step 9/10 : COPY . . [2023-03-14T12:05:04.727Z] ---> c150e3f42952 [2023-03-14T12:05:04.727Z] Step 10/10 : RUN ${MAKE} [2023-03-14T12:05:04.727Z] ---> Running in 99e8c20c53a3 [2023-03-14T12:05:04.727Z] noop [2023-03-14T12:05:04.727Z] Removing intermediate container 99e8c20c53a3 [2023-03-14T12:05:04.727Z] ---> 18317fecacde [2023-03-14T12:05:04.727Z] Successfully built 18317fecacde [2023-03-14T12:05:04.727Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T12:05:05.076Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T12:05:05.076Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T12:05:05.300Z] prd-ubuntu20.04-docker-arm64-4c-16g-146 does not seem to be running inside a container [2023-03-14T12:05:05.368Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-14T12:05:06.670Z] $ docker top 2791852ded293bd4ce04851726e526ce784a0b3f129328b9d7c72e14489e382c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T12:05:07.522Z] + go version [2023-03-14T12:05:07.522Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-14T12:05:07.545Z] $ docker stop --time=1 2791852ded293bd4ce04851726e526ce784a0b3f129328b9d7c72e14489e382c [2023-03-14T12:05:09.241Z] $ docker rm -f --volumes 2791852ded293bd4ce04851726e526ce784a0b3f129328b9d7c72e14489e382c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T12:05:09.779Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T12:05:09.779Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T12:05:09.963Z] prd-ubuntu20.04-docker-arm64-4c-16g-146 does not seem to be running inside a container [2023-03-14T12:05:10.035Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-14T12:05:11.316Z] $ docker top 3f4bcfc20a3ff189b17e7c90b63fb3ca62c7d1188bcfe9b847479aaf870dd6bf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T12:05:12.166Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-14T12:05:12.830Z] + make test [2023-03-14T12:05:12.830Z] go test -race -coverprofile=coverage.out ./... [2023-03-14T12:05:59.699Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-14T12:08:21.435Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-14T12:08:21.435Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-14T12:08:21.435Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-14T12:08:21.435Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-14T12:08:21.435Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-14T12:08:22.400Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.231s coverage: 27.6% of statements [2023-03-14T12:08:27.756Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.263s coverage: 78.9% of statements [2023-03-14T12:08:42.776Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-14T12:08:42.776Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-14T12:08:42.776Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.377s coverage: 86.0% of statements [2023-03-14T12:08:49.433Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-14T12:08:49.433Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.450s coverage: 75.7% of statements [2023-03-14T12:08:53.692Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-14T12:08:55.115Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-14T12:08:55.115Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-14T12:08:56.532Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.261s coverage: 14.9% of statements [2023-03-14T12:08:56.532Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.441s coverage: 65.7% of statements [2023-03-14T12:09:01.884Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-14T12:09:01.884Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 2.708s coverage: 89.2% of statements [2023-03-14T12:09:01.884Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.261s coverage: 5.5% of statements [2023-03-14T12:09:02.469Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-14T12:09:02.469Z] GO111MODULE=on go vet ./... [2023-03-14T12:11:39.262Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T12:11:39.262Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T12:11:39.262Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-14T12:11:39.283Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T12:11:39.298Z] $ docker stop --time=1 3f4bcfc20a3ff189b17e7c90b63fb3ca62c7d1188bcfe9b847479aaf870dd6bf [2023-03-14T12:11:41.158Z] $ docker rm -f --volumes 3f4bcfc20a3ff189b17e7c90b63fb3ca62c7d1188bcfe9b847479aaf870dd6bf [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T12:11:42.764Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T12:11:42.786Z] Warning: overwriting stash ‘coverage-report’ [2023-03-14T12:11:43.361Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T12:11:43.721Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T12:11:44.039Z] + ls -al . [2023-03-14T12:11:44.039Z] total 272 [2023-03-14T12:11:44.039Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 12:05 . [2023-03-14T12:11:44.039Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 12:02 .. [2023-03-14T12:11:44.039Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 14 12:02 .dockerignore [2023-03-14T12:11:44.039Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 12:02 .git [2023-03-14T12:11:44.039Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 12:02 .github [2023-03-14T12:11:44.039Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 14 12:02 .gitignore [2023-03-14T12:11:44.039Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 14 12:02 .golangci.yml [2023-03-14T12:11:44.039Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 14 12:02 CHANGELOG.md [2023-03-14T12:11:44.039Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 12:02 GOVERNANCE.md [2023-03-14T12:11:44.039Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 14 12:02 Jenkinsfile [2023-03-14T12:11:44.039Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 14 12:02 LICENSE [2023-03-14T12:11:44.039Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 14 12:02 Makefile [2023-03-14T12:11:44.039Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 14 12:02 OWNERS.md [2023-03-14T12:11:44.039Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 14 12:02 README.md [2023-03-14T12:11:44.039Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 11:58 VERSION [2023-03-14T12:11:44.039Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 12:02 bin [2023-03-14T12:11:44.039Z] -rw-r--r-- 1 jenkins jenkins 109923 Mar 14 12:09 coverage.out [2023-03-14T12:11:44.039Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 14 12:02 example [2023-03-14T12:11:44.039Z] -rw-rw-r-- 1 jenkins jenkins 3278 Mar 14 12:02 go.mod [2023-03-14T12:11:44.039Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 14 12:02 go.sum [2023-03-14T12:11:44.039Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 12:02 internal [2023-03-14T12:11:44.039Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 12:02 openapi [2023-03-14T12:11:44.039Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 14 12:02 pkg [2023-03-14T12:11:44.039Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 12:02 snap [2023-03-14T12:11:44.039Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 14 12:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T12:11:44.381Z] + 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=ab99ac020c4ef8666ef85bc46b0905445c54f9fd --label arch=arm64 --label version=0.0.0 . [2023-03-14T12:11:44.983Z] Sending build context to Docker daemon 5.937MB [2023-03-14T12:11:44.983Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-14T12:11:44.983Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-14T12:11:44.983Z] ---> 18317fecacde [2023-03-14T12:11:44.983Z] Step 3/23 : ARG MAKE=make build [2023-03-14T12:11:44.983Z] ---> Running in 20e516939327 [2023-03-14T12:11:45.252Z] Removing intermediate container 20e516939327 [2023-03-14T12:11:45.252Z] ---> 5461b3611ea3 [2023-03-14T12:11:45.252Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-14T12:11:45.520Z] ---> Running in 9338bf147b42 [2023-03-14T12:11:45.788Z] Removing intermediate container 9338bf147b42 [2023-03-14T12:11:45.788Z] ---> 560bff43f289 [2023-03-14T12:11:45.788Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-14T12:11:45.788Z] ---> Running in 8c67dd387f39 [2023-03-14T12:11:46.057Z] Removing intermediate container 8c67dd387f39 [2023-03-14T12:11:46.057Z] ---> 9f77ca5693c3 [2023-03-14T12:11:46.057Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-14T12:11:46.057Z] ---> Running in bd50f8337970 [2023-03-14T12:11:47.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T12:11:47.749Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T12:11:49.168Z] OK: 263 MiB in 53 packages [2023-03-14T12:11:49.753Z] Removing intermediate container bd50f8337970 [2023-03-14T12:11:49.753Z] ---> 3455081061ed [2023-03-14T12:11:49.753Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-14T12:11:50.338Z] ---> eeee70b9a2eb [2023-03-14T12:11:50.338Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T12:11:50.338Z] ---> Running in 54c3455c268e [2023-03-14T12:11:53.033Z] Removing intermediate container 54c3455c268e [2023-03-14T12:11:53.033Z] ---> 164d692e41c0 [2023-03-14T12:11:53.033Z] Step 9/23 : COPY . . [2023-03-14T12:11:54.484Z] ---> 09c4134dc9b3 [2023-03-14T12:11:54.484Z] Step 10/23 : RUN ${MAKE} [2023-03-14T12:11:54.484Z] ---> Running in 32e9e5723d69 [2023-03-14T12:11:55.922Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-14T12:14:17.631Z] Removing intermediate container 32e9e5723d69 [2023-03-14T12:14:17.631Z] ---> e1da79720b5e [2023-03-14T12:14:17.631Z] Step 11/23 : FROM alpine:3.16 [2023-03-14T12:14:17.631Z] 3.16: Pulling from library/alpine [2023-03-14T12:14:17.631Z] 3760b48202b3: Pulling fs layer [2023-03-14T12:14:17.631Z] 3760b48202b3: Download complete [2023-03-14T12:14:17.631Z] 3760b48202b3: Pull complete [2023-03-14T12:14:17.631Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-14T12:14:17.631Z] Status: Downloaded newer image for alpine:3.16 [2023-03-14T12:14:17.631Z] ---> 4c81e5bf8899 [2023-03-14T12:14:17.631Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-14T12:14:17.631Z] ---> Running in ff1ba13740bc [2023-03-14T12:14:17.631Z] Removing intermediate container ff1ba13740bc [2023-03-14T12:14:17.631Z] ---> 8960e586cef7 [2023-03-14T12:14:17.631Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-14T12:14:17.631Z] ---> Running in 0a12242989e3 [2023-03-14T12:14:18.594Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-14T12:14:18.863Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-14T12:14:19.826Z] OK: 5 MiB in 14 packages [2023-03-14T12:14:20.787Z] Removing intermediate container 0a12242989e3 [2023-03-14T12:14:20.788Z] ---> 1680f72fca79 [2023-03-14T12:14:20.788Z] Step 14/23 : WORKDIR / [2023-03-14T12:14:20.788Z] ---> Running in 48e37944c297 [2023-03-14T12:14:21.055Z] Removing intermediate container 48e37944c297 [2023-03-14T12:14:21.055Z] ---> 5a5c38d86c1e [2023-03-14T12:14:21.055Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-14T12:14:21.642Z] ---> 4c4d85da14e3 [2023-03-14T12:14:21.642Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-14T12:14:23.053Z] ---> dc201853e00e [2023-03-14T12:14:23.053Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-14T12:14:23.638Z] ---> 5481050d028d [2023-03-14T12:14:23.638Z] Step 18/23 : EXPOSE 59999 [2023-03-14T12:14:23.638Z] ---> Running in be10d40c309d [2023-03-14T12:14:23.910Z] Removing intermediate container be10d40c309d [2023-03-14T12:14:23.910Z] ---> 7621e0485458 [2023-03-14T12:14:23.910Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-14T12:14:24.178Z] ---> Running in c663c0205b62 [2023-03-14T12:14:24.446Z] Removing intermediate container c663c0205b62 [2023-03-14T12:14:24.446Z] ---> aee4e4f76339 [2023-03-14T12:14:24.446Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-14T12:14:24.446Z] ---> Running in ca107138f441 [2023-03-14T12:14:24.713Z] Removing intermediate container ca107138f441 [2023-03-14T12:14:24.713Z] ---> 52cb537a7330 [2023-03-14T12:14:24.713Z] Step 21/23 : LABEL arch=arm64 [2023-03-14T12:14:24.713Z] ---> Running in ec1f833ee291 [2023-03-14T12:14:24.982Z] Removing intermediate container ec1f833ee291 [2023-03-14T12:14:24.982Z] ---> a86e0f605095 [2023-03-14T12:14:24.982Z] Step 22/23 : LABEL git_sha=ab99ac020c4ef8666ef85bc46b0905445c54f9fd [2023-03-14T12:14:25.249Z] ---> Running in 477e1df2b8b3 [2023-03-14T12:14:25.517Z] Removing intermediate container 477e1df2b8b3 [2023-03-14T12:14:25.517Z] ---> 3a53157b98b3 [2023-03-14T12:14:25.517Z] Step 23/23 : LABEL version=0.0.0 [2023-03-14T12:14:25.517Z] ---> Running in 923f01c4e4c8 [2023-03-14T12:14:25.784Z] Removing intermediate container 923f01c4e4c8 [2023-03-14T12:14:25.784Z] ---> 0c46d8529d1b [2023-03-14T12:14:25.784Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T12:14:26.052Z] Successfully built 0c46d8529d1b [2023-03-14T12:14:26.052Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T12:14:26.462Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T12:14:26.463Z] [2023-03-14T12:14:26.463Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T12:14:26.789Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T12:14:26.790Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-14T12:14:26.790Z] 8998bd30e6a1: Pulling fs layer [2023-03-14T12:14:26.790Z] 04944245beec: Pulling fs layer [2023-03-14T12:14:26.790Z] 699f458cf7ca: Pulling fs layer [2023-03-14T12:14:26.790Z] 765212b225bb: Pulling fs layer [2023-03-14T12:14:26.790Z] f23df028b6ca: Pulling fs layer [2023-03-14T12:14:26.790Z] d65c8cfc05b1: Pulling fs layer [2023-03-14T12:14:26.790Z] 2437ff75d9bd: Pulling fs layer [2023-03-14T12:14:26.790Z] f23df028b6ca: Waiting [2023-03-14T12:14:26.790Z] d65c8cfc05b1: Waiting [2023-03-14T12:14:26.790Z] 2437ff75d9bd: Waiting [2023-03-14T12:14:26.790Z] 765212b225bb: Waiting [2023-03-14T12:14:27.061Z] 04944245beec: Verifying Checksum [2023-03-14T12:14:27.061Z] 04944245beec: Download complete [2023-03-14T12:14:27.061Z] 765212b225bb: Verifying Checksum [2023-03-14T12:14:27.061Z] 765212b225bb: Download complete [2023-03-14T12:14:27.061Z] f23df028b6ca: Verifying Checksum [2023-03-14T12:14:27.061Z] f23df028b6ca: Download complete [2023-03-14T12:14:27.061Z] d65c8cfc05b1: Verifying Checksum [2023-03-14T12:14:27.061Z] d65c8cfc05b1: Download complete [2023-03-14T12:14:27.331Z] 699f458cf7ca: Verifying Checksum [2023-03-14T12:14:27.331Z] 699f458cf7ca: Download complete [2023-03-14T12:14:27.599Z] 8998bd30e6a1: Download complete [2023-03-14T12:14:30.182Z] 2437ff75d9bd: Verifying Checksum [2023-03-14T12:14:30.182Z] 2437ff75d9bd: Download complete [2023-03-14T12:14:32.129Z] 8998bd30e6a1: Pull complete [2023-03-14T12:14:32.397Z] 04944245beec: Pull complete [2023-03-14T12:14:33.807Z] 699f458cf7ca: Pull complete [2023-03-14T12:14:33.807Z] 765212b225bb: Pull complete [2023-03-14T12:14:35.754Z] f23df028b6ca: Pull complete [2023-03-14T12:14:35.754Z] d65c8cfc05b1: Pull complete [2023-03-14T12:14:50.753Z] 2437ff75d9bd: Pull complete [2023-03-14T12:14:50.753Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-14T12:14:50.753Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T12:14:50.753Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T12:14:50.952Z] prd-ubuntu20.04-docker-arm64-4c-16g-146 does not seem to be running inside a container [2023-03-14T12:14:51.016Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-14T12:14:53.847Z] $ docker top f2e19adcd372efe46283fb7fa95bf9565930ee363a789aa2af397da0c86698aa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T12:14:54.703Z] ---> job-cost.sh [2023-03-14T12:14:54.703Z] lf-activate-venv: SKIPPING [2023-03-14T12:14:54.703Z] INFO: No Stack... [2023-03-14T12:14:54.970Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-14T12:14:55.927Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T12:14:56.560Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-03-14T12:14:56.560Z] + cut -d, -f6 [Pipeline] lock [2023-03-14T12:14:56.630Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1379-2-stack-cost] [2023-03-14T12:14:56.636Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1379-2-stack-cost] did not exist. Created. [2023-03-14T12:14:56.636Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1379-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T12:14:57.326Z] /w/workspace/device-sdk-go/2@tmp/durable-47a6caef/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-14T12:14:57.977Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-14T12:14:57.997Z] Warning: overwriting stash ‘stack-cost’ [2023-03-14T12:14:58.080Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T12:14:58.086Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1379-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T12:14:58.106Z] $ docker stop --time=1 f2e19adcd372efe46283fb7fa95bf9565930ee363a789aa2af397da0c86698aa [2023-03-14T12:14:59.631Z] $ docker rm -f --volumes f2e19adcd372efe46283fb7fa95bf9565930ee363a789aa2af397da0c86698aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-14T12:15:00.053Z] provisioning config files... [2023-03-14T12:15:00.060Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/config6201366257652568991tmp [Pipeline] { [Pipeline] sh [2023-03-14T12:15:00.349Z] + set +x [2023-03-14T12:15:00.349Z] + curl -s https://codecov.io/bash [2023-03-14T12:15:00.349Z] + bash -s -- [2023-03-14T12:15:00.349Z] [2023-03-14T12:15:00.350Z] _____ _ [2023-03-14T12:15:00.350Z] / ____| | | [2023-03-14T12:15:00.350Z] | | ___ __| | ___ ___ _____ __ [2023-03-14T12:15:00.350Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-14T12:15:00.350Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-14T12:15:00.350Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-14T12:15:00.350Z] Bash-1.0.6 [2023-03-14T12:15:00.350Z] [2023-03-14T12:15:00.350Z] [2023-03-14T12:15:00.350Z] ==> git version 2.25.1 found [2023-03-14T12:15:00.350Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-14T12:15:00.350Z] Release-Date: 2020-01-08 [2023-03-14T12:15:00.350Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-14T12:15:00.350Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-14T12:15:00.350Z] ==> Jenkins CI detected. [2023-03-14T12:15:00.350Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1379 [2023-03-14T12:15:00.350Z] project root: . [2023-03-14T12:15:00.350Z] --> token set from env [2023-03-14T12:15:00.350Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-14T12:15:00.350Z] ==> Running gcov in . (disable via -X gcov) [2023-03-14T12:15:00.350Z] ==> Python coveragepy not found [2023-03-14T12:15:00.350Z] ==> Searching for coverage reports in: [2023-03-14T12:15:00.350Z] + . [2023-03-14T12:15:00.350Z] -> Found 1 reports [2023-03-14T12:15:00.350Z] ==> Detecting git/mercurial file structure [2023-03-14T12:15:00.350Z] ==> Reading reports [2023-03-14T12:15:00.608Z] + ./coverage.out bytes=109923 [2023-03-14T12:15:00.608Z] ==> Appending adjustments [2023-03-14T12:15:00.608Z] https://docs.codecov.io/docs/fixing-reports [2023-03-14T12:15:00.867Z] + Found adjustments [2023-03-14T12:15:00.867Z] ==> Gzipping contents [2023-03-14T12:15:00.867Z] 16K /tmp/codecov.B84sbY.gz [2023-03-14T12:15:00.867Z] ==> Uploading reports [2023-03-14T12:15:00.867Z] url: https://codecov.io [2023-03-14T12:15:00.867Z] query: branch=PR-1379&commit=ab99ac020c4ef8666ef85bc46b0905445c54f9fd&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1379%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1379&job=&cmd_args= [2023-03-14T12:15:00.867Z] -> Pinging Codecov [2023-03-14T12:15:00.867Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1379&commit=ab99ac020c4ef8666ef85bc46b0905445c54f9fd&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1379%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1379&job=&cmd_args= [2023-03-14T12:15:00.867Z] -> Uploading to [2023-03-14T12:15:00.867Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-14/7E55EF52A471D76F132DFD9A03CDDE97/ab99ac020c4ef8666ef85bc46b0905445c54f9fd/46e84b4d-e648-4845-b4a0-89a07c9b2871.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230314%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230314T121500Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bf74fe2f70a47cdf68a5a9641bf6db1535032a811f3b235a040a50a443c66e6c [2023-03-14T12:15:00.867Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T12:15:00.867Z] Dload Upload Total Spent Left Speed [2023-03-14T12:15:01.127Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15253 0 0 100 15253 0 75137 --:--:-- --:--:-- --:--:-- 74769 100 15253 0 0 100 15253 0 65745 --:--:-- --:--:-- --:--:-- 65745 [2023-03-14T12:15:01.127Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/ab99ac020c4ef8666ef85bc46b0905445c54f9fd [Pipeline] } [2023-03-14T12:15:01.133Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-14T12:15:01.753Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives ] [2023-03-14T12:15:01.753Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives [2023-03-14T12:15:01.753Z] total 16 [2023-03-14T12:15:01.753Z] drwxr-xr-x 3 root root 4096 Mar 14 12:01 . [2023-03-14T12:15:01.753Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 12:01 .. [2023-03-14T12:15:01.753Z] drwxr-xr-x 2 root root 4096 Mar 14 12:01 cost [2023-03-14T12:15:01.753Z] -rw-r--r-- 1 root root 86 Mar 14 12:01 cost.csv [2023-03-14T12:15:01.753Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives [2023-03-14T12:15:01.753Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives [2023-03-14T12:15:01.753Z] total 16 [2023-03-14T12:15:01.753Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 12:01 . [2023-03-14T12:15:01.753Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 12:01 .. [2023-03-14T12:15:01.753Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 12:01 cost [2023-03-14T12:15:01.753Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 14 12:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-14T12:15:02.041Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T12:15:02.897Z] ---> package-listing.sh [2023-03-14T12:15:02.897Z] ++ facter osfamily [2023-03-14T12:15:02.897Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-14T12:15:03.155Z] + OS_FAMILY=debian [2023-03-14T12:15:03.155Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1379 [2023-03-14T12:15:03.155Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-14T12:15:03.155Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-14T12:15:03.155Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-14T12:15:03.155Z] + PACKAGES=/tmp/packages_start.txt [2023-03-14T12:15:03.155Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1379 ']' [2023-03-14T12:15:03.155Z] + PACKAGES=/tmp/packages_end.txt [2023-03-14T12:15:03.155Z] + case "${OS_FAMILY}" in [2023-03-14T12:15:03.155Z] + dpkg -l [2023-03-14T12:15:03.155Z] + grep '^ii' [2023-03-14T12:15:03.155Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-14T12:15:03.155Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-14T12:15:03.155Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-14T12:15:03.155Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1379 ']' [2023-03-14T12:15:03.155Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives/ [2023-03-14T12:15:03.155Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1379/archives/ [Pipeline] echo [2023-03-14T12:15:03.165Z] 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/gexfoundry_device-sdk-go_PR-1379/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-14T12:15:03.440Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T12:15:04.003Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T12:15:04.003Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T12:15:04.064Z] prd-ubuntu20.04-docker-8c-8g-145 does not seem to be running inside a container [2023-03-14T12:15:04.093Z] $ 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/gexfoundry_device-sdk-go_PR-1379/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1379 -v /w/workspace/gexfoundry_device-sdk-go_PR-1379:/w/workspace/gexfoundry_device-sdk-go_PR-1379:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1379@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-14T12:15:04.365Z] $ docker top b7653fdf444042909e5db8043a64c0bb63e4537bb48f999cd42ab11c441f6ad3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T12:15:04.708Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-14T12:15:04.996Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-14T12:15:05.282Z] + ls /var/log/sa-host [2023-03-14T12:15:05.282Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T12:15:05.423Z] provisioning config files... [2023-03-14T12:15:05.433Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1379@tmp/config11698773211146688565tmp [Pipeline] { [Pipeline] echo [2023-03-14T12:15:05.446Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T12:15:05.728Z] ---> create-netrc.sh [Pipeline] } [2023-03-14T12:15:05.735Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-14T12:15:06.049Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-14T12:15:06.057Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T12:15:06.338Z] ---> sudo-logs.sh [2023-03-14T12:15:06.338Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-14T12:15:06.369Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T12:15:06.653Z] ---> job-cost.sh [2023-03-14T12:15:06.653Z] lf-activate-venv: SKIPPING [2023-03-14T12:15:06.653Z] DEBUG: total: 0.2199999988079071 [2023-03-14T12:15:06.653Z] INFO: Retrieving Stack Cost... [2023-03-14T12:15:07.221Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T12:15:07.481Z] INFO: Archiving Costs [Pipeline] echo [2023-03-14T12:15:07.492Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T12:15:07.772Z] ---> logs-deploy.sh [2023-03-14T12:15:07.772Z] lf-activate-venv: SKIPPING [2023-03-14T12:15:07.772Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1379/2 [2023-03-14T12:15:07.772Z] INFO: archiving workspace using pattern(s): [2023-03-14T12:15:08.712Z] Archives upload complete. [2023-03-14T12:15:08.712Z] INFO: archiving logs to Nexus