Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c86f3382c5af20230a0e7f19b8225d91b13900b4+8250e301d92a025f83865f5663963929d81085da (5b308c9c2604722f27659a54039670c8c78dec14) 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-ssh1450379400047290914.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh2097994547506805586.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-1244/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-1244/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4628555532215201252.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh11857982874911912446.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1244/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-1244/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15149319148945600592.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-117438 in /w/workspace/gexfoundry_device-sdk-go_PR-1244 [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-1244 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1244/head:refs/remotes/origin/PR-1244 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8250e301d92a025f83865f5663963929d81085da into PR head commit c86f3382c5af20230a0e7f19b8225d91b13900b4 Merge succeeded, producing 97257b8796e026a7d5e717dffd91c696e8afa037 Checking out Revision 97257b8796e026a7d5e717dffd91c696e8afa037 (PR-1244) > git config core.sparsecheckout # timeout=10 > git checkout -f c86f3382c5af20230a0e7f19b8225d91b13900b4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 8250e301d92a025f83865f5663963929d81085da # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 97257b8796e026a7d5e717dffd91c696e8afa037 # timeout=10 Commit message: "Merge commit '8250e301d92a025f83865f5663963929d81085da' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 958d654d46e124f578525c94fc4c2683daa14816 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-27T06:41:15.962Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-27T06:41:16.021Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-27T06:41:16.031Z] ========================================================= [2022-10-27T06:41:16.031Z] EdgeX Global Pipelines Version Info [2022-10-27T06:41:16.031Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-27T06:41:16.735Z] ------------------- [2022-10-27T06:41:16.735Z] stable info: [2022-10-27T06:41:16.735Z] ------------------- [2022-10-27T06:41:16.735Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-27T06:41:16.735Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-27T06:41:16.735Z] Message: update stable to v1.0.243 [2022-10-27T06:41:17.307Z] ------------------- [2022-10-27T06:41:17.307Z] experimental info: [2022-10-27T06:41:17.307Z] ------------------- [2022-10-27T06:41:17.307Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-27T06:41:17.307Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-27T06:41:17.307Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-27T06:41:17.466Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-10-27T06:41:17.479Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-10-27T06:41:17.489Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-27T06:41:17.497Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-27T06:41:17.505Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-27T06:41:17.512Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-27T06:41:17.521Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-27T06:41:17.547Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-10-27T06:41:17.562Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-27T06:41:17.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-27T06:41:17.586Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-27T06:41:17.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-10-27T06:41:17.623Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-27T06:41:17.644Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-27T06:41:17.661Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-27T06:41:17.678Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-10-27T06:41:17.695Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-27T06:41:17.713Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-27T06:41:17.728Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-27T06:41:17.745Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-27T06:41:17.756Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-27T06:41:17.770Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-10-27T06:41:17.781Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-27T06:41:17.798Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-27T06:41:17.817Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-27T06:41:17.838Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-27T06:41:17.855Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-27T06:41:17.870Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1244 [Pipeline] echo [2022-10-27T06:41:17.881Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1244 [Pipeline] echo [2022-10-27T06:41:17.894Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1244 [Pipeline] echo [2022-10-27T06:41:17.903Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 97257b8796e026a7d5e717dffd91c696e8afa037 [Pipeline] echo [2022-10-27T06:41:17.914Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 97257b8 [Pipeline] echo [2022-10-27T06:41:17.924Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-27T06:41:17.966Z] provisioning config files... [2022-10-27T06:41:17.979Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config1494149059369619097tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-27T06:41:18.283Z] ---> docker-login.sh [2022-10-27T06:41:18.284Z] nexus3.edgexfoundry.org:10001 [2022-10-27T06:41:18.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T06:41:19.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T06:41:19.114Z] Configure a credential helper to remove this warning. See [2022-10-27T06:41:19.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T06:41:19.114Z] [2022-10-27T06:41:19.114Z] Login Succeeded [2022-10-27T06:41:19.114Z] nexus3.edgexfoundry.org:10002 [2022-10-27T06:41:19.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T06:41:19.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T06:41:19.114Z] Configure a credential helper to remove this warning. See [2022-10-27T06:41:19.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T06:41:19.114Z] [2022-10-27T06:41:19.114Z] Login Succeeded [2022-10-27T06:41:19.114Z] nexus3.edgexfoundry.org:10003 [2022-10-27T06:41:19.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T06:41:19.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T06:41:19.114Z] Configure a credential helper to remove this warning. See [2022-10-27T06:41:19.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T06:41:19.114Z] [2022-10-27T06:41:19.114Z] Login Succeeded [2022-10-27T06:41:19.114Z] nexus3.edgexfoundry.org:10004 [2022-10-27T06:41:19.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T06:41:19.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T06:41:19.376Z] Configure a credential helper to remove this warning. See [2022-10-27T06:41:19.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T06:41:19.376Z] [2022-10-27T06:41:19.376Z] Login Succeeded [2022-10-27T06:41:19.376Z] docker.io [2022-10-27T06:41:19.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T06:41:19.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T06:41:19.636Z] Configure a credential helper to remove this warning. See [2022-10-27T06:41:19.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T06:41:19.636Z] [2022-10-27T06:41:19.636Z] Login Succeeded [2022-10-27T06:41:19.636Z] ---> docker-login.sh ends [Pipeline] } [2022-10-27T06:41:19.644Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-27T06:41:19.994Z] + git rev-list -1 --merges 97257b8796e026a7d5e717dffd91c696e8afa037~1..97257b8796e026a7d5e717dffd91c696e8afa037 [Pipeline] echo [2022-10-27T06:41:20.020Z] -----------> git rev-list -1 --merges 97257b8796e026a7d5e717dffd91c696e8afa037~1..97257b8796e026a7d5e717dffd91c696e8afa037 97257b8796e026a7d5e717dffd91c696e8afa037 [2022-10-27T06:41:20.020Z] 97257b8796e026a7d5e717dffd91c696e8afa037 [false] [Pipeline] sh [2022-10-27T06:41:20.310Z] + git log --format=format:%s -1 97257b8796e026a7d5e717dffd91c696e8afa037 [Pipeline] echo [2022-10-27T06:41:20.324Z] ========================================================= [2022-10-27T06:41:20.324Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-27T06:41:20.324Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-27T06:41:20.650Z] + git log --format=format:%s -1 97257b8796e026a7d5e717dffd91c696e8afa037 [Pipeline] echo [2022-10-27T06:41:20.662Z] [semverPrep] GIT_COMMIT: 97257b8796e026a7d5e717dffd91c696e8afa037, Commit Message: Merge commit '8250e301d92a025f83865f5663963929d81085da' into HEAD [Pipeline] echo [2022-10-27T06:41:20.668Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-27T06:41:21.019Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-27T06:41:21.019Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-27T06:41:21.019Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-27T06:41:21.019Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-27T06:41:21.019Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-27T06:41:21.019Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-27T06:41:21.019Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T06:41:21.438Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-27T06:41:21.438Z] [2022-10-27T06:41:21.438Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T06:41:21.738Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-27T06:41:21.738Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-27T06:41:21.738Z] b85a868b505f: Pulling fs layer [2022-10-27T06:41:21.738Z] e2be974225ed: Pulling fs layer [2022-10-27T06:41:21.738Z] 339a4e72a1f5: Pulling fs layer [2022-10-27T06:41:21.738Z] 988bab9f4d93: Pulling fs layer [2022-10-27T06:41:21.738Z] 1469e6f7b9e6: Pulling fs layer [2022-10-27T06:41:21.738Z] eaf3925da568: Pulling fs layer [2022-10-27T06:41:21.738Z] bab4dde63d76: Pulling fs layer [2022-10-27T06:41:21.738Z] bde34c3a00c8: Pulling fs layer [2022-10-27T06:41:21.738Z] b352a97aabf1: Pulling fs layer [2022-10-27T06:41:21.738Z] 4872d77fe225: Pulling fs layer [2022-10-27T06:41:21.738Z] 5851b861e8e6: Pulling fs layer [2022-10-27T06:41:21.738Z] bab4dde63d76: Waiting [2022-10-27T06:41:21.738Z] bde34c3a00c8: Waiting [2022-10-27T06:41:21.738Z] b352a97aabf1: Waiting [2022-10-27T06:41:21.738Z] 4872d77fe225: Waiting [2022-10-27T06:41:21.738Z] 5851b861e8e6: Waiting [2022-10-27T06:41:21.738Z] 988bab9f4d93: Waiting [2022-10-27T06:41:21.738Z] 1469e6f7b9e6: Waiting [2022-10-27T06:41:21.738Z] eaf3925da568: Waiting [2022-10-27T06:41:21.738Z] e2be974225ed: Verifying Checksum [2022-10-27T06:41:21.738Z] e2be974225ed: Download complete [2022-10-27T06:41:21.738Z] 988bab9f4d93: Verifying Checksum [2022-10-27T06:41:21.997Z] 1469e6f7b9e6: Verifying Checksum [2022-10-27T06:41:21.997Z] 1469e6f7b9e6: Download complete [2022-10-27T06:41:21.997Z] 339a4e72a1f5: Verifying Checksum [2022-10-27T06:41:21.997Z] 339a4e72a1f5: Download complete [2022-10-27T06:41:21.997Z] eaf3925da568: Verifying Checksum [2022-10-27T06:41:21.997Z] eaf3925da568: Download complete [2022-10-27T06:41:21.997Z] bde34c3a00c8: Verifying Checksum [2022-10-27T06:41:21.997Z] bde34c3a00c8: Download complete [2022-10-27T06:41:21.997Z] b352a97aabf1: Download complete [2022-10-27T06:41:21.997Z] 4872d77fe225: Download complete [2022-10-27T06:41:21.997Z] 5851b861e8e6: Verifying Checksum [2022-10-27T06:41:21.997Z] 5851b861e8e6: Download complete [2022-10-27T06:41:21.997Z] b85a868b505f: Download complete [2022-10-27T06:41:22.255Z] bab4dde63d76: Verifying Checksum [2022-10-27T06:41:22.255Z] bab4dde63d76: Download complete [2022-10-27T06:41:23.193Z] b85a868b505f: Pull complete [2022-10-27T06:41:23.452Z] e2be974225ed: Pull complete [2022-10-27T06:41:24.022Z] 339a4e72a1f5: Pull complete [2022-10-27T06:41:24.022Z] 988bab9f4d93: Pull complete [2022-10-27T06:41:24.282Z] 1469e6f7b9e6: Pull complete [2022-10-27T06:41:24.282Z] eaf3925da568: Pull complete [2022-10-27T06:41:26.189Z] bab4dde63d76: Pull complete [2022-10-27T06:41:26.189Z] bde34c3a00c8: Pull complete [2022-10-27T06:41:26.448Z] b352a97aabf1: Pull complete [2022-10-27T06:41:26.448Z] 4872d77fe225: Pull complete [2022-10-27T06:41:26.707Z] 5851b861e8e6: Pull complete [2022-10-27T06:41:26.707Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-27T06:41:26.707Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-27T06:41:26.707Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-27T06:41:26.832Z] prd-ubuntu20.04-docker-8c-8g-117438 does not seem to be running inside a container [2022-10-27T06:41:26.865Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-27T06:41:28.546Z] $ docker top 2b0e909df6b33788a7f7f9907a20bfa06f7abdb0f7e2c4ce827722212ae3560e -eo pid,comm [2022-10-27T06:41:28.600Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-27T06:41:28.600Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-27T06:41:28.630Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-27T06:41:28.630Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-27T06:41:28.738Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-27T06:41:28.745Z] $ docker exec 2b0e909df6b33788a7f7f9907a20bfa06f7abdb0f7e2c4ce827722212ae3560e ssh-agent [2022-10-27T06:41:28.840Z] SSH_AUTH_SOCK=/tmp/ssh-lWDDlrN0M2Rg/agent.33 [2022-10-27T06:41:28.840Z] SSH_AGENT_PID=39 [2022-10-27T06:41:28.846Z] Running ssh-add (command line suppressed) [2022-10-27T06:41:28.953Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_7068244696682232809.key (/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_7068244696682232809.key) [2022-10-27T06:41:28.959Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-27T06:41:29.240Z] + git tag --points-at HEAD [Pipeline] } [2022-10-27T06:41:29.259Z] $ docker exec --env ******** --env ******** 2b0e909df6b33788a7f7f9907a20bfa06f7abdb0f7e2c4ce827722212ae3560e ssh-agent -k [2022-10-27T06:41:29.345Z] unset SSH_AUTH_SOCK; [2022-10-27T06:41:29.345Z] unset SSH_AGENT_PID; [2022-10-27T06:41:29.345Z] echo Agent pid 39 killed; [2022-10-27T06:41:29.350Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-27T06:41:29.373Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-27T06:41:29.373Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-27T06:41:29.475Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-27T06:41:29.482Z] $ docker exec 2b0e909df6b33788a7f7f9907a20bfa06f7abdb0f7e2c4ce827722212ae3560e ssh-agent [2022-10-27T06:41:29.580Z] SSH_AUTH_SOCK=/tmp/ssh-aJVjlSuvXUnr/agent.71 [2022-10-27T06:41:29.580Z] SSH_AGENT_PID=77 [2022-10-27T06:41:29.585Z] Running ssh-add (command line suppressed) [2022-10-27T06:41:29.699Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_4659696185902040577.key (/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_4659696185902040577.key) [2022-10-27T06:41:29.712Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-27T06:41:29.997Z] + git semver init [2022-10-27T06:41:30.257Z] 2022-10-27 06:41:30,211 [run_init] DEBUG init version:0.0.0 force:False [2022-10-27T06:41:30.257Z] 2022-10-27 06:41:30,212 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver [2022-10-27T06:41:30.257Z] 2022-10-27 06:41:30,212 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver [2022-10-27T06:41:30.257Z] 2022-10-27 06:41:30,212 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1244, universal_newlines=False, shell=None, istream=None) [2022-10-27T06:41:31.638Z] 2022-10-27 06:41:31,330 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.git/info/exclude [2022-10-27T06:41:31.638Z] 2022-10-27 06:41:31,331 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver/PR-1244 with force:False [2022-10-27T06:41:31.638Z] 2022-10-27 06:41:31,331 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver/PR-1244 [2022-10-27T06:41:31.638Z] 2022-10-27 06:41:31,334 [execute] INFO git cat-file --batch-check [2022-10-27T06:41:31.638Z] 2022-10-27 06:41:31,335 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver, universal_newlines=False, shell=None, istream=) [2022-10-27T06:41:31.638Z] 2022-10-27 06:41:31,340 [execute] INFO git cat-file --batch [2022-10-27T06:41:31.638Z] 2022-10-27 06:41:31,341 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver, universal_newlines=False, shell=None, istream=) [2022-10-27T06:41:31.638Z] 2022-10-27 06:41:31,344 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver/PR-1244 [2022-10-27T06:41:31.638Z] 0.0.0 [Pipeline] } [2022-10-27T06:41:31.653Z] $ docker exec --env ******** --env ******** 2b0e909df6b33788a7f7f9907a20bfa06f7abdb0f7e2c4ce827722212ae3560e ssh-agent -k [2022-10-27T06:41:31.760Z] unset SSH_AUTH_SOCK; [2022-10-27T06:41:31.760Z] unset SSH_AGENT_PID; [2022-10-27T06:41:31.761Z] echo Agent pid 77 killed; [2022-10-27T06:41:31.764Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-27T06:41:32.059Z] + git semver [Pipeline] } [2022-10-27T06:41:32.336Z] $ docker stop --time=1 2b0e909df6b33788a7f7f9907a20bfa06f7abdb0f7e2c4ce827722212ae3560e [2022-10-27T06:41:33.671Z] $ docker rm -f 2b0e909df6b33788a7f7f9907a20bfa06f7abdb0f7e2c4ce827722212ae3560e [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-27T06:41:33.994Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-27T06:41:34.161Z] Stashed 1 file(s) [Pipeline] echo [2022-10-27T06:41:34.164Z] [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 [2022-10-27T06:41:34.283Z] provisioning config files... [2022-10-27T06:41:34.294Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config2656682724667496555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-27T06:41:34.591Z] ---> docker-login.sh [2022-10-27T06:41:34.591Z] nexus3.edgexfoundry.org:10001 [2022-10-27T06:41:34.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T06:41:34.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T06:41:34.591Z] Configure a credential helper to remove this warning. See [2022-10-27T06:41:34.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T06:41:34.591Z] [2022-10-27T06:41:34.591Z] Login Succeeded [2022-10-27T06:41:34.591Z] nexus3.edgexfoundry.org:10002 [2022-10-27T06:41:34.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T06:41:34.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T06:41:34.591Z] Configure a credential helper to remove this warning. See [2022-10-27T06:41:34.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T06:41:34.592Z] [2022-10-27T06:41:34.592Z] Login Succeeded [2022-10-27T06:41:34.592Z] nexus3.edgexfoundry.org:10003 [2022-10-27T06:41:34.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T06:41:34.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T06:41:34.850Z] Configure a credential helper to remove this warning. See [2022-10-27T06:41:34.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T06:41:34.850Z] [2022-10-27T06:41:34.850Z] Login Succeeded [2022-10-27T06:41:34.850Z] nexus3.edgexfoundry.org:10004 [2022-10-27T06:41:34.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T06:41:34.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T06:41:34.851Z] Configure a credential helper to remove this warning. See [2022-10-27T06:41:34.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T06:41:34.851Z] [2022-10-27T06:41:34.851Z] Login Succeeded [2022-10-27T06:41:34.851Z] docker.io [2022-10-27T06:41:34.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T06:41:35.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T06:41:35.419Z] Configure a credential helper to remove this warning. See [2022-10-27T06:41:35.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T06:41:35.419Z] [2022-10-27T06:41:35.419Z] Login Succeeded [2022-10-27T06:41:35.419Z] ---> docker-login.sh ends [Pipeline] } [2022-10-27T06:41:35.427Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-27T06:41:35.494Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-27T06:41:35.504Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-27T06:41:35.510Z] ========================================================= [2022-10-27T06:41:35.510Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-27T06:41:35.510Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T06:41:35.811Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-27T06:41:35.811Z] Sending build context to Docker daemon 10.11MB [2022-10-27T06:41:35.811Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-10-27T06:41:35.811Z] Step 2/10 : FROM ${BASE} AS builder [2022-10-27T06:41:35.811Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-27T06:41:35.811Z] 213ec9aee27d: Pulling fs layer [2022-10-27T06:41:35.811Z] 4583459ba037: Pulling fs layer [2022-10-27T06:41:35.811Z] 93c1e223e6f2: Pulling fs layer [2022-10-27T06:41:35.811Z] 53926ce57604: Pulling fs layer [2022-10-27T06:41:35.811Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-27T06:41:35.811Z] 30f14e443154: Pulling fs layer [2022-10-27T06:41:35.811Z] 801331c1e519: Pulling fs layer [2022-10-27T06:41:35.811Z] 99cc6dd402b0: Pulling fs layer [2022-10-27T06:41:35.811Z] 7d9ed39f4882: Pulling fs layer [2022-10-27T06:41:35.811Z] 53926ce57604: Waiting [2022-10-27T06:41:35.811Z] 21b2b0c7a3f4: Waiting [2022-10-27T06:41:35.811Z] 30f14e443154: Waiting [2022-10-27T06:41:35.811Z] 801331c1e519: Waiting [2022-10-27T06:41:35.811Z] 99cc6dd402b0: Waiting [2022-10-27T06:41:35.811Z] 7d9ed39f4882: Waiting [2022-10-27T06:41:35.811Z] 93c1e223e6f2: Verifying Checksum [2022-10-27T06:41:35.811Z] 93c1e223e6f2: Download complete [2022-10-27T06:41:35.811Z] 4583459ba037: Download complete [2022-10-27T06:41:36.073Z] 21b2b0c7a3f4: Download complete [2022-10-27T06:41:36.073Z] 30f14e443154: Download complete [2022-10-27T06:41:36.073Z] 213ec9aee27d: Verifying Checksum [2022-10-27T06:41:36.073Z] 213ec9aee27d: Download complete [2022-10-27T06:41:36.073Z] 801331c1e519: Verifying Checksum [2022-10-27T06:41:36.073Z] 801331c1e519: Download complete [2022-10-27T06:41:36.073Z] 213ec9aee27d: Pull complete [2022-10-27T06:41:36.347Z] 4583459ba037: Pull complete [2022-10-27T06:41:36.347Z] 93c1e223e6f2: Pull complete [2022-10-27T06:41:36.611Z] 7d9ed39f4882: Verifying Checksum [2022-10-27T06:41:36.611Z] 7d9ed39f4882: Download complete [2022-10-27T06:41:36.611Z] 99cc6dd402b0: Verifying Checksum [2022-10-27T06:41:36.611Z] 99cc6dd402b0: Download complete [2022-10-27T06:41:36.611Z] 53926ce57604: Verifying Checksum [2022-10-27T06:41:36.611Z] 53926ce57604: Download complete [2022-10-27T06:41:40.800Z] 53926ce57604: Pull complete [2022-10-27T06:41:40.800Z] 21b2b0c7a3f4: Pull complete [2022-10-27T06:41:40.800Z] 30f14e443154: Pull complete [2022-10-27T06:41:40.800Z] 801331c1e519: Pull complete [2022-10-27T06:41:42.707Z] 99cc6dd402b0: Pull complete [2022-10-27T06:41:43.646Z] 7d9ed39f4882: Pull complete [2022-10-27T06:41:43.646Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-27T06:41:43.646Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-27T06:41:43.646Z] ---> 1dedd983c030 [2022-10-27T06:41:43.646Z] Step 3/10 : ARG MAKE=make build [2022-10-27T06:41:45.555Z] ---> Running in f6c0617597e8 [2022-10-27T06:41:45.555Z] Removing intermediate container f6c0617597e8 [2022-10-27T06:41:45.555Z] ---> 3d1916dddf7c [2022-10-27T06:41:45.555Z] Step 4/10 : WORKDIR /device-sdk-go [2022-10-27T06:41:45.555Z] ---> Running in 672b9203cc12 [2022-10-27T06:41:45.812Z] Removing intermediate container 672b9203cc12 [2022-10-27T06:41:45.812Z] ---> 2fb0a609de8a [2022-10-27T06:41:45.812Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-27T06:41:45.812Z] ---> Running in 595d07f85c83 [2022-10-27T06:41:45.812Z] Removing intermediate container 595d07f85c83 [2022-10-27T06:41:45.812Z] ---> 611fc72d126f [2022-10-27T06:41:45.812Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-27T06:41:45.812Z] ---> Running in 27e7e03fbaa9 [2022-10-27T06:41:46.070Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-27T06:41:46.329Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-27T06:41:46.586Z] OK: 211 MiB in 51 packages [2022-10-27T06:41:46.844Z] Removing intermediate container 27e7e03fbaa9 [2022-10-27T06:41:46.844Z] ---> f83f4d8a6d25 [2022-10-27T06:41:46.844Z] Step 7/10 : COPY go.mod vendor* ./ [2022-10-27T06:41:47.102Z] ---> 96ffb174a2b8 [2022-10-27T06:41:47.102Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-27T06:41:47.102Z] ---> Running in ec10dc1c0987 [2022-10-27T06:41:49.239Z] Still waiting to schedule task [2022-10-27T06:41:49.239Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-27T06:42:05.187Z] Removing intermediate container ec10dc1c0987 [2022-10-27T06:42:05.187Z] ---> 3e9b3a62dc59 [2022-10-27T06:42:05.187Z] Step 9/10 : COPY . . [2022-10-27T06:42:05.187Z] ---> cd2237c59613 [2022-10-27T06:42:05.187Z] Step 10/10 : RUN ${MAKE} [2022-10-27T06:42:05.187Z] ---> Running in 36b314b8af13 [2022-10-27T06:42:05.187Z] noop [2022-10-27T06:42:05.187Z] Removing intermediate container 36b314b8af13 [2022-10-27T06:42:05.187Z] ---> 15c75a14d111 [2022-10-27T06:42:05.187Z] Successfully built 15c75a14d111 [2022-10-27T06:42:05.187Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T06:42:05.503Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-27T06:42:05.504Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-27T06:42:05.579Z] prd-ubuntu20.04-docker-8c-8g-117438 does not seem to be running inside a container [2022-10-27T06:42:05.608Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@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 ******** ci-base-image-x86_64 cat [2022-10-27T06:42:06.006Z] $ docker top 9e7d2c18e3cfcf2f5088f394d1b30d29a3cc92f5c84bb50aac628d4884769956 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-27T06:42:06.345Z] + go version [2022-10-27T06:42:06.345Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-27T06:42:06.359Z] $ docker stop --time=1 9e7d2c18e3cfcf2f5088f394d1b30d29a3cc92f5c84bb50aac628d4884769956 [2022-10-27T06:42:07.650Z] $ docker rm -f 9e7d2c18e3cfcf2f5088f394d1b30d29a3cc92f5c84bb50aac628d4884769956 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T06:42:08.060Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-27T06:42:08.060Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-27T06:42:08.127Z] prd-ubuntu20.04-docker-8c-8g-117438 does not seem to be running inside a container [2022-10-27T06:42:08.155Z] $ 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-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@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 ******** ci-base-image-x86_64 cat [2022-10-27T06:42:08.522Z] $ docker top c71adfef9210241b5f322279e3335960706da34340973974757da571b75812c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-27T06:42:08.859Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1244 [Pipeline] fileExists [Pipeline] sh [2022-10-27T06:42:09.152Z] + make test [2022-10-27T06:42:09.152Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-27T06:42:15.710Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-27T06:42:27.903Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-27T06:42:27.903Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-27T06:42:27.903Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-27T06:42:27.903Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-27T06:42:27.903Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-27T06:42:27.903Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 27.6% of statements [2022-10-27T06:42:27.903Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.048s coverage: 78.9% of statements [2022-10-27T06:42:27.903Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-27T06:42:27.903Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.094s coverage: 73.1% of statements [2022-10-27T06:42:27.903Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-27T06:42:27.903Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-27T06:42:28.469Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.100s coverage: 54.4% of statements [2022-10-27T06:42:28.469Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-27T06:42:28.469Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-27T06:42:28.469Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-27T06:42:28.469Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-27T06:42:28.469Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.075s coverage: 65.1% of statements [2022-10-27T06:42:28.469Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-27T06:42:28.469Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-27T06:42:28.469Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.743s coverage: 89.2% of statements [2022-10-27T06:42:28.469Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-27T06:42:28.727Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements [2022-10-27T06:42:28.727Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-27T06:42:43.590Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-27T06:42:43.590Z] GO111MODULE=on go vet ./... [2022-10-27T06:42:45.485Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-27T06:42:45.485Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-27T06:42:45.485Z] ./bin/test-attribution-txt.sh [2022-10-27T06:42:45.743Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-27T06:42:45.743Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-27T06:42:45.743Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-27T06:42:45.743Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-27T06:42:45.754Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-27T06:42:45.769Z] $ docker stop --time=1 c71adfef9210241b5f322279e3335960706da34340973974757da571b75812c9 [2022-10-27T06:42:48.066Z] $ docker rm -f c71adfef9210241b5f322279e3335960706da34340973974757da571b75812c9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-27T06:42:48.560Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-27T06:42:48.618Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-27T06:42:49.108Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-27T06:42:49.387Z] + ls -al . [2022-10-27T06:42:49.387Z] total 280 [2022-10-27T06:42:49.387Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 27 06:42 . [2022-10-27T06:42:49.387Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 06:41 .. [2022-10-27T06:42:49.387Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 27 06:41 .dockerignore [2022-10-27T06:42:49.387Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 06:42 .git [2022-10-27T06:42:49.387Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 06:41 .github [2022-10-27T06:42:49.387Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 27 06:41 .gitignore [2022-10-27T06:42:49.387Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 27 06:41 .golangci.yml [2022-10-27T06:42:49.387Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 27 06:41 .semver [2022-10-27T06:42:49.387Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 27 06:41 CHANGELOG.md [2022-10-27T06:42:49.387Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 27 06:41 GOVERNANCE.md [2022-10-27T06:42:49.387Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 27 06:41 Jenkinsfile [2022-10-27T06:42:49.387Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 27 06:41 LICENSE [2022-10-27T06:42:49.387Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 27 06:41 Makefile [2022-10-27T06:42:49.387Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 27 06:41 OWNERS.md [2022-10-27T06:42:49.387Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 27 06:41 README.md [2022-10-27T06:42:49.387Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 27 06:41 VERSION [2022-10-27T06:42:49.387Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 06:41 bin [2022-10-27T06:42:49.387Z] -rw-r--r-- 1 jenkins jenkins 101759 Oct 27 06:42 coverage.out [2022-10-27T06:42:49.387Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 27 06:41 example [2022-10-27T06:42:49.387Z] -rw-rw-r-- 1 jenkins jenkins 3389 Oct 27 06:41 go.mod [2022-10-27T06:42:49.388Z] -rw-rw-r-- 1 jenkins jenkins 44684 Oct 27 06:41 go.sum [2022-10-27T06:42:49.388Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 27 06:41 internal [2022-10-27T06:42:49.388Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 06:41 openapi [2022-10-27T06:42:49.388Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 27 06:41 pkg [2022-10-27T06:42:49.388Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 06:41 snap [2022-10-27T06:42:49.388Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 27 06:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T06:42:49.690Z] + 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=97257b8796e026a7d5e717dffd91c696e8afa037 --label arch=amd64 --label version=0.0.0 . [2022-10-27T06:42:49.690Z] Sending build context to Docker daemon 10.22MB [2022-10-27T06:42:49.690Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-10-27T06:42:49.690Z] Step 2/23 : FROM ${BASE} AS builder [2022-10-27T06:42:49.690Z] ---> 15c75a14d111 [2022-10-27T06:42:49.690Z] Step 3/23 : ARG MAKE=make build [2022-10-27T06:42:49.690Z] ---> Running in 79bed6f2bf1d [2022-10-27T06:42:49.948Z] Removing intermediate container 79bed6f2bf1d [2022-10-27T06:42:49.948Z] ---> 8b182171a08c [2022-10-27T06:42:49.948Z] Step 4/23 : WORKDIR /device-sdk-go [2022-10-27T06:42:49.948Z] ---> Running in a631e05c471c [2022-10-27T06:42:49.948Z] Removing intermediate container a631e05c471c [2022-10-27T06:42:49.948Z] ---> 84dccf3608f8 [2022-10-27T06:42:49.948Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-27T06:42:49.948Z] ---> Running in cda01087945c [2022-10-27T06:42:50.206Z] Removing intermediate container cda01087945c [2022-10-27T06:42:50.206Z] ---> eefd2266ee49 [2022-10-27T06:42:50.206Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-27T06:42:50.206Z] ---> Running in 3594206331e7 [2022-10-27T06:42:50.466Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-27T06:42:50.466Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-27T06:42:50.725Z] OK: 211 MiB in 51 packages [2022-10-27T06:42:50.984Z] Removing intermediate container 3594206331e7 [2022-10-27T06:42:50.984Z] ---> 427b4ee5b3e2 [2022-10-27T06:42:50.984Z] Step 7/23 : COPY go.mod vendor* ./ [2022-10-27T06:42:51.246Z] ---> 2344f6a31125 [2022-10-27T06:42:51.246Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-27T06:42:51.246Z] ---> Running in 4f3fc84b4c06 [2022-10-27T06:42:51.812Z] Removing intermediate container 4f3fc84b4c06 [2022-10-27T06:42:51.812Z] ---> 84d800e9b21b [2022-10-27T06:42:51.812Z] Step 9/23 : COPY . . [2022-10-27T06:42:52.072Z] ---> 8d968b0d03ef [2022-10-27T06:42:52.072Z] Step 10/23 : RUN ${MAKE} [2022-10-27T06:42:52.072Z] ---> Running in 2acafb9ecf50 [2022-10-27T06:42:52.332Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-10-27T06:43:10.400Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-27T06:43:11.334Z] Removing intermediate container 2acafb9ecf50 [2022-10-27T06:43:11.334Z] ---> 7e8e9db733fd [2022-10-27T06:43:11.334Z] Step 11/23 : FROM alpine:3.16 [2022-10-27T06:43:11.897Z] 3.16: Pulling from library/alpine [2022-10-27T06:43:11.897Z] 213ec9aee27d: Already exists [2022-10-27T06:43:12.154Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-27T06:43:12.154Z] Status: Downloaded newer image for alpine:3.16 [2022-10-27T06:43:12.154Z] ---> 9c6f07244728 [2022-10-27T06:43:12.155Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-27T06:43:12.155Z] ---> Running in 445804fd90c7 [2022-10-27T06:43:12.155Z] Removing intermediate container 445804fd90c7 [2022-10-27T06:43:12.155Z] ---> 6266bfab9ea1 [2022-10-27T06:43:12.155Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2022-10-27T06:43:12.412Z] ---> Running in da432ce1e38c [2022-10-27T06:43:12.671Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-27T06:43:12.671Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-27T06:43:12.930Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-27T06:43:12.930Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-27T06:43:12.930Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-27T06:43:12.930Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-27T06:43:12.930Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-27T06:43:12.930Z] Executing busybox-1.35.0-r17.trigger [2022-10-27T06:43:12.930Z] OK: 8 MiB in 19 packages [2022-10-27T06:43:13.188Z] Removing intermediate container da432ce1e38c [2022-10-27T06:43:13.188Z] ---> edefecf10055 [2022-10-27T06:43:13.188Z] Step 14/23 : WORKDIR / [2022-10-27T06:43:13.188Z] ---> Running in 6fdc7bc84f4b [2022-10-27T06:43:13.446Z] Removing intermediate container 6fdc7bc84f4b [2022-10-27T06:43:13.446Z] ---> a7b8642b9987 [2022-10-27T06:43:13.446Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-27T06:43:13.446Z] ---> 8e892cdc4056 [2022-10-27T06:43:13.446Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-27T06:43:14.012Z] ---> c3ccf930495b [2022-10-27T06:43:14.012Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-27T06:43:14.144Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117439 in /w/workspace/gexfoundry_device-sdk-go_PR-1244 [Pipeline] { [Pipeline] ws [2022-10-27T06:43:14.157Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2022-10-27T06:43:14.189Z] The recommended git tool is: git [2022-10-27T06:43:14.268Z] ---> 82db15509ea3 [2022-10-27T06:43:14.268Z] Step 18/23 : EXPOSE 59999 [2022-10-27T06:43:14.268Z] ---> Running in 47471b51fbd8 [2022-10-27T06:43:14.268Z] Removing intermediate container 47471b51fbd8 [2022-10-27T06:43:14.268Z] ---> 66f218493db9 [2022-10-27T06:43:14.268Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2022-10-27T06:43:14.268Z] ---> Running in 02bd6565394e [2022-10-27T06:43:14.525Z] Removing intermediate container 02bd6565394e [2022-10-27T06:43:14.525Z] ---> 67e8c946ae6c [2022-10-27T06:43:14.525Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-27T06:43:14.525Z] ---> Running in 1d359ef97fec [2022-10-27T06:43:14.525Z] Removing intermediate container 1d359ef97fec [2022-10-27T06:43:14.525Z] ---> f08f824e32a3 [2022-10-27T06:43:14.525Z] Step 21/23 : LABEL arch=amd64 [2022-10-27T06:43:14.525Z] ---> Running in c11f776b69d0 [2022-10-27T06:43:14.784Z] Removing intermediate container c11f776b69d0 [2022-10-27T06:43:14.784Z] ---> 0ec77a5012e0 [2022-10-27T06:43:14.784Z] Step 22/23 : LABEL git_sha=97257b8796e026a7d5e717dffd91c696e8afa037 [2022-10-27T06:43:14.784Z] ---> Running in 854c1988c3b2 [2022-10-27T06:43:14.784Z] Removing intermediate container 854c1988c3b2 [2022-10-27T06:43:14.784Z] ---> 8966fcfb50ba [2022-10-27T06:43:14.784Z] Step 23/23 : LABEL version=0.0.0 [2022-10-27T06:43:14.784Z] ---> Running in 6faa101c9032 [2022-10-27T06:43:15.043Z] Removing intermediate container 6faa101c9032 [2022-10-27T06:43:15.043Z] ---> e4b25aa2a738 [2022-10-27T06:43:15.043Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-27T06:43:15.043Z] Successfully built e4b25aa2a738 [2022-10-27T06:43:15.043Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T06:43:15.477Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-27T06:43:15.477Z] [2022-10-27T06:43:15.477Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T06:43:15.776Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-27T06:43:15.776Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-27T06:43:15.776Z] 5eb5b503b376: Pulling fs layer [2022-10-27T06:43:15.776Z] 5c69ac0246d0: Pulling fs layer [2022-10-27T06:43:15.776Z] ec43610c2a17: Pulling fs layer [2022-10-27T06:43:15.776Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-27T06:43:15.776Z] 33b1e0a273af: Pulling fs layer [2022-10-27T06:43:15.776Z] 5d3b04190fa2: Pulling fs layer [2022-10-27T06:43:15.776Z] 2f39f015ded8: Pulling fs layer [2022-10-27T06:43:15.776Z] 3a2ae6a8a46f: Waiting [2022-10-27T06:43:15.776Z] 33b1e0a273af: Waiting [2022-10-27T06:43:15.776Z] 5c69ac0246d0: Verifying Checksum [2022-10-27T06:43:15.776Z] 5c69ac0246d0: Download complete [2022-10-27T06:43:15.776Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-27T06:43:15.776Z] 3a2ae6a8a46f: Download complete [2022-10-27T06:43:15.776Z] 33b1e0a273af: Verifying Checksum [2022-10-27T06:43:15.776Z] 33b1e0a273af: Download complete [2022-10-27T06:43:15.776Z] ec43610c2a17: Verifying Checksum [2022-10-27T06:43:15.776Z] ec43610c2a17: Download complete [2022-10-27T06:43:15.776Z] 5d3b04190fa2: Verifying Checksum [2022-10-27T06:43:15.776Z] 5d3b04190fa2: Download complete [2022-10-27T06:43:16.035Z] 5eb5b503b376: Verifying Checksum [2022-10-27T06:43:16.035Z] 5eb5b503b376: Download complete [2022-10-27T06:43:16.602Z] 2f39f015ded8: Download complete [2022-10-27T06:43:17.169Z] 5eb5b503b376: Pull complete [2022-10-27T06:43:17.427Z] 5c69ac0246d0: Pull complete [2022-10-27T06:43:17.993Z] ec43610c2a17: Pull complete [2022-10-27T06:43:17.993Z] 3a2ae6a8a46f: Pull complete [2022-10-27T06:43:17.993Z] 33b1e0a273af: Pull complete [2022-10-27T06:43:18.250Z] 5d3b04190fa2: Pull complete [2022-10-27T06:43:18.801Z] using credential edgex-jenkins-ssh [2022-10-27T06:43:18.822Z] Cloning the remote Git repository [2022-10-27T06:43:18.851Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-10-27T06:43:18.924Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2022-10-27T06:43:19.063Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-27T06:43:19.064Z] > git --version # timeout=10 [2022-10-27T06:43:19.083Z] > git --version # 'git version 2.25.1' [2022-10-27T06:43:19.085Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-27T06:43:19.121Z] Verifying host key using known hosts file [2022-10-27T06:43:19.312Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-27T06:43:19.333Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-27T06:43:20.884Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-27T06:43:20.905Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-27T06:43:22.431Z] 2f39f015ded8: Pull complete [2022-10-27T06:43:22.431Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-27T06:43:22.431Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-27T06:43:22.431Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-27T06:43:22.432Z] Merging remotes/origin/main commit 8250e301d92a025f83865f5663963929d81085da into PR head commit c86f3382c5af20230a0e7f19b8225d91b13900b4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-27T06:43:22.509Z] prd-ubuntu20.04-docker-8c-8g-117438 does not seem to be running inside a container [2022-10-27T06:43:22.538Z] $ 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-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@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-lftools-log-publisher:latest cat [2022-10-27T06:43:22.738Z] Merge succeeded, producing a2cbac808847926cba089165f83d8f8e6b4e2b12 [2022-10-27T06:43:22.739Z] Checking out Revision a2cbac808847926cba089165f83d8f8e6b4e2b12 (PR-1244) [2022-10-27T06:43:21.769Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-27T06:43:21.806Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-27T06:43:21.807Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-27T06:43:21.811Z] Verifying host key using known hosts file [2022-10-27T06:43:21.817Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-27T06:43:21.827Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1244/head:refs/remotes/origin/PR-1244 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-27T06:43:22.437Z] > git config core.sparsecheckout # timeout=10 [2022-10-27T06:43:22.452Z] > git checkout -f c86f3382c5af20230a0e7f19b8225d91b13900b4 # timeout=10 [2022-10-27T06:43:22.554Z] > git remote # timeout=10 [2022-10-27T06:43:22.573Z] > git config --get remote.origin.url # timeout=10 [2022-10-27T06:43:22.595Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-27T06:43:22.601Z] Verifying host key using known hosts file [2022-10-27T06:43:22.604Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-27T06:43:22.612Z] > git merge 8250e301d92a025f83865f5663963929d81085da # timeout=10 [2022-10-27T06:43:22.710Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-27T06:43:22.734Z] > git config core.sparsecheckout # timeout=10 [2022-10-27T06:43:22.754Z] > git checkout -f a2cbac808847926cba089165f83d8f8e6b4e2b12 # timeout=10 [2022-10-27T06:43:24.320Z] $ docker top 0c05b918e608fd81d3741ab25a4542f6521972d484b4c32578b034f217d081fb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-27T06:43:24.721Z] ---> job-cost.sh [2022-10-27T06:43:24.721Z] lf-activate-venv: SKIPPING [2022-10-27T06:43:24.721Z] INFO: No Stack... [2022-10-27T06:43:24.979Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-27T06:43:25.238Z] INFO: Archiving Costs [Pipeline] sh [2022-10-27T06:43:25.523Z] + + cat /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives/cost.csv [2022-10-27T06:43:25.523Z] cut -d, -f6 [Pipeline] lock [2022-10-27T06:43:25.534Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1244-4-stack-cost] [2022-10-27T06:43:25.540Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-4-stack-cost] did not exist. Created. [2022-10-27T06:43:25.541Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1244-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-27T06:43:25.836Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-27T06:43:25.867Z] Stashed 1 file(s) [Pipeline] } [2022-10-27T06:43:25.873Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-27T06:43:25.898Z] $ docker stop --time=1 0c05b918e608fd81d3741ab25a4542f6521972d484b4c32578b034f217d081fb [2022-10-27T06:43:26.273Z] Commit message: "Merge commit '8250e301d92a025f83865f5663963929d81085da' into HEAD" [2022-10-27T06:43:26.303Z] First time build. Skipping changelog. [2022-10-27T06:43:26.794Z] [2022-10-27T06:43:26.794Z] GitHub has been notified of this commit’s build result [2022-10-27T06:43:26.794Z] [2022-10-27T06:43:27.086Z] $ docker rm -f 0c05b918e608fd81d3741ab25a4542f6521972d484b4c32578b034f217d081fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-27T06:43:26.274Z] > git rev-list --no-walk 958d654d46e124f578525c94fc4c2683daa14816 # timeout=10 [2022-10-27T06:43:27.698Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-27T06:43:27.698Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-27T06:43:27.698Z] Dload Upload Total Spent Left Speed [2022-10-27T06:43:27.698Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 77790 0 --:--:-- --:--:-- --:--:-- 77790 [Pipeline] sh [2022-10-27T06:43:28.402Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-27T06:43:28.745Z] + sudo tee /etc/docker/daemon.new [2022-10-27T06:43:28.745Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-27T06:43:28.745Z] { [2022-10-27T06:43:28.745Z] "registry-mirrors": [ [2022-10-27T06:43:28.745Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-27T06:43:28.745Z] ], [2022-10-27T06:43:28.745Z] "bip": "10.250.0.254/24", [2022-10-27T06:43:28.745Z] "hosts": [ [2022-10-27T06:43:28.745Z] "tcp://0.0.0.0:5555", [2022-10-27T06:43:28.745Z] "unix:///var/run/docker.sock" [2022-10-27T06:43:28.745Z] ], [2022-10-27T06:43:28.745Z] "mtu": 1458, [2022-10-27T06:43:28.745Z] "selinux-enabled": true, [2022-10-27T06:43:28.745Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-27T06:43:28.745Z] } [Pipeline] sh [2022-10-27T06:43:29.081Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-27T06:43:29.411Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-27T06:43:47.679Z] provisioning config files... [2022-10-27T06:43:47.704Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config16394399283932458345tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-27T06:43:48.050Z] ---> docker-login.sh [2022-10-27T06:43:48.050Z] nexus3.edgexfoundry.org:10001 [2022-10-27T06:43:48.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T06:43:48.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T06:43:48.640Z] Configure a credential helper to remove this warning. See [2022-10-27T06:43:48.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T06:43:48.640Z] [2022-10-27T06:43:48.640Z] Login Succeeded [2022-10-27T06:43:48.640Z] nexus3.edgexfoundry.org:10002 [2022-10-27T06:43:48.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T06:43:49.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T06:43:49.182Z] Configure a credential helper to remove this warning. See [2022-10-27T06:43:49.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T06:43:49.182Z] [2022-10-27T06:43:49.182Z] Login Succeeded [2022-10-27T06:43:49.182Z] nexus3.edgexfoundry.org:10003 [2022-10-27T06:43:49.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T06:43:49.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T06:43:49.452Z] Configure a credential helper to remove this warning. See [2022-10-27T06:43:49.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T06:43:49.452Z] [2022-10-27T06:43:49.452Z] Login Succeeded [2022-10-27T06:43:49.452Z] nexus3.edgexfoundry.org:10004 [2022-10-27T06:43:49.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T06:43:49.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T06:43:49.724Z] Configure a credential helper to remove this warning. See [2022-10-27T06:43:49.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T06:43:49.724Z] [2022-10-27T06:43:49.724Z] Login Succeeded [2022-10-27T06:43:49.724Z] docker.io [2022-10-27T06:43:49.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T06:43:50.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T06:43:50.261Z] Configure a credential helper to remove this warning. See [2022-10-27T06:43:50.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T06:43:50.261Z] [2022-10-27T06:43:50.261Z] Login Succeeded [2022-10-27T06:43:50.261Z] ---> docker-login.sh ends [Pipeline] } [2022-10-27T06:43:50.275Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-27T06:43:50.418Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-27T06:43:50.428Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-27T06:43:50.435Z] ========================================================= [2022-10-27T06:43:50.435Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-27T06:43:50.435Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T06:43:50.765Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-27T06:43:51.033Z] Sending build context to Docker daemon 5.454MB [2022-10-27T06:43:51.033Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-10-27T06:43:51.033Z] Step 2/10 : FROM ${BASE} AS builder [2022-10-27T06:43:51.305Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-27T06:43:51.305Z] 9b18e9b68314: Pulling fs layer [2022-10-27T06:43:51.305Z] d32db5db7311: Pulling fs layer [2022-10-27T06:43:51.305Z] d0c4b47475fc: Pulling fs layer [2022-10-27T06:43:51.305Z] 5831b945b038: Pulling fs layer [2022-10-27T06:43:51.305Z] 86bbec2aaacd: Pulling fs layer [2022-10-27T06:43:51.305Z] e10730c5d714: Pulling fs layer [2022-10-27T06:43:51.305Z] 5dd5c2283517: Pulling fs layer [2022-10-27T06:43:51.305Z] d5ac0230b979: Pulling fs layer [2022-10-27T06:43:51.305Z] 5831b945b038: Waiting [2022-10-27T06:43:51.305Z] e10730c5d714: Waiting [2022-10-27T06:43:51.305Z] 86bbec2aaacd: Waiting [2022-10-27T06:43:51.305Z] d5ac0230b979: Waiting [2022-10-27T06:43:51.305Z] 5dd5c2283517: Waiting [2022-10-27T06:43:51.305Z] d0c4b47475fc: Verifying Checksum [2022-10-27T06:43:51.305Z] d0c4b47475fc: Download complete [2022-10-27T06:43:51.305Z] d32db5db7311: Download complete [2022-10-27T06:43:51.305Z] 86bbec2aaacd: Download complete [2022-10-27T06:43:51.305Z] e10730c5d714: Verifying Checksum [2022-10-27T06:43:51.305Z] e10730c5d714: Download complete [2022-10-27T06:43:51.305Z] 9b18e9b68314: Verifying Checksum [2022-10-27T06:43:51.305Z] 9b18e9b68314: Download complete [2022-10-27T06:43:52.280Z] 9b18e9b68314: Pull complete [2022-10-27T06:43:52.280Z] d5ac0230b979: Verifying Checksum [2022-10-27T06:43:52.280Z] d5ac0230b979: Download complete [2022-10-27T06:43:52.873Z] d32db5db7311: Pull complete [2022-10-27T06:43:53.141Z] d0c4b47475fc: Pull complete [2022-10-27T06:43:53.415Z] 5dd5c2283517: Verifying Checksum [2022-10-27T06:43:53.415Z] 5dd5c2283517: Download complete [2022-10-27T06:43:54.386Z] 5831b945b038: Verifying Checksum [2022-10-27T06:43:54.386Z] 5831b945b038: Download complete [2022-10-27T06:44:06.724Z] 5831b945b038: Pull complete [2022-10-27T06:44:06.724Z] 86bbec2aaacd: Pull complete [2022-10-27T06:44:06.724Z] e10730c5d714: Pull complete [2022-10-27T06:44:13.387Z] 5dd5c2283517: Pull complete [2022-10-27T06:44:14.802Z] d5ac0230b979: Pull complete [2022-10-27T06:44:14.802Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-27T06:44:14.802Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-27T06:44:14.802Z] ---> 59b3b1a385d4 [2022-10-27T06:44:14.802Z] Step 3/10 : ARG MAKE=make build [2022-10-27T06:44:17.384Z] ---> Running in 71e242ad2688 [2022-10-27T06:44:17.384Z] Removing intermediate container 71e242ad2688 [2022-10-27T06:44:17.384Z] ---> a0e3a39b62ba [2022-10-27T06:44:17.384Z] Step 4/10 : WORKDIR /device-sdk-go [2022-10-27T06:44:17.384Z] ---> Running in 0d13f40ae71f [2022-10-27T06:44:17.650Z] Removing intermediate container 0d13f40ae71f [2022-10-27T06:44:17.650Z] ---> cc0ec2a52173 [2022-10-27T06:44:17.650Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-27T06:44:17.650Z] ---> Running in 3cc54826fde2 [2022-10-27T06:44:17.921Z] Removing intermediate container 3cc54826fde2 [2022-10-27T06:44:17.921Z] ---> f501e7eda4fa [2022-10-27T06:44:17.921Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-27T06:44:17.921Z] ---> Running in 7fe2b172218d [2022-10-27T06:44:19.333Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-27T06:44:19.333Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-27T06:44:20.290Z] OK: 221 MiB in 51 packages [2022-10-27T06:44:20.873Z] Removing intermediate container 7fe2b172218d [2022-10-27T06:44:20.873Z] ---> e6ed31801728 [2022-10-27T06:44:20.873Z] Step 7/10 : COPY go.mod vendor* ./ [2022-10-27T06:44:21.467Z] ---> baa8ba78c404 [2022-10-27T06:44:21.467Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-27T06:44:21.467Z] ---> Running in 1f20003265b0 [2022-10-27T06:45:17.876Z] Removing intermediate container 1f20003265b0 [2022-10-27T06:45:17.876Z] ---> 3ebc8e602578 [2022-10-27T06:45:17.876Z] Step 9/10 : COPY . . [2022-10-27T06:45:17.876Z] ---> 083f046aa942 [2022-10-27T06:45:17.876Z] Step 10/10 : RUN ${MAKE} [2022-10-27T06:45:17.876Z] ---> Running in 878dd8676bd1 [2022-10-27T06:45:17.876Z] noop [2022-10-27T06:45:17.876Z] Removing intermediate container 878dd8676bd1 [2022-10-27T06:45:17.876Z] ---> a2d022e10d32 [2022-10-27T06:45:17.876Z] Successfully built a2d022e10d32 [2022-10-27T06:45:17.876Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T06:45:18.216Z] + docker inspect -f . ci-base-image-arm64 [2022-10-27T06:45:18.216Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-27T06:45:18.376Z] prd-ubuntu20.04-docker-arm64-4c-16g-117439 does not seem to be running inside a container [2022-10-27T06:45:18.437Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** ci-base-image-arm64 cat [2022-10-27T06:45:19.479Z] $ docker top 54c22d5761ae6b7ec1dfd6d59a818398fcb00d1cc6557a4e72e835fc5f31e8bd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-27T06:45:19.950Z] + go version [2022-10-27T06:45:20.218Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-27T06:45:20.241Z] $ docker stop --time=1 54c22d5761ae6b7ec1dfd6d59a818398fcb00d1cc6557a4e72e835fc5f31e8bd [2022-10-27T06:45:21.763Z] $ docker rm -f 54c22d5761ae6b7ec1dfd6d59a818398fcb00d1cc6557a4e72e835fc5f31e8bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T06:45:22.248Z] + docker inspect -f . ci-base-image-arm64 [2022-10-27T06:45:22.248Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-27T06:45:22.409Z] prd-ubuntu20.04-docker-arm64-4c-16g-117439 does not seem to be running inside a container [2022-10-27T06:45:22.471Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** ci-base-image-arm64 cat [2022-10-27T06:45:23.463Z] $ docker top 42f44d9f3de96949b387359b33bda4da746dada755975f8bc09fdfff43c72d3c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-27T06:45:23.941Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh [2022-10-27T06:45:24.261Z] + make test [2022-10-27T06:45:24.261Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-27T06:45:56.493Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-27T06:47:48.180Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-27T06:47:48.180Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-27T06:47:48.180Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-27T06:47:48.180Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-27T06:47:48.180Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-27T06:47:48.180Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.390s coverage: 27.6% of statements [2022-10-27T06:47:48.180Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.310s coverage: 78.9% of statements [2022-10-27T06:47:48.180Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-27T06:47:58.278Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.657s coverage: 73.1% of statements [2022-10-27T06:47:58.278Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-27T06:47:58.278Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-27T06:48:00.891Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.577s coverage: 54.4% of statements [2022-10-27T06:48:00.891Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-27T06:48:00.891Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-27T06:48:00.891Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-27T06:48:00.891Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-27T06:48:01.474Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.469s coverage: 65.1% of statements [2022-10-27T06:48:01.474Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-27T06:48:01.474Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-27T06:48:01.474Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.819s coverage: 89.2% of statements [2022-10-27T06:48:01.474Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-27T06:48:02.433Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.230s coverage: 4.7% of statements [2022-10-27T06:48:02.433Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-27T06:48:03.011Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-27T06:48:03.011Z] GO111MODULE=on go vet ./... [2022-10-27T06:49:39.645Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-27T06:49:39.645Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-27T06:49:39.645Z] ./bin/test-attribution-txt.sh [2022-10-27T06:49:39.645Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-27T06:49:39.645Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-27T06:49:39.645Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-27T06:49:39.645Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-27T06:49:39.666Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-27T06:49:39.687Z] $ docker stop --time=1 42f44d9f3de96949b387359b33bda4da746dada755975f8bc09fdfff43c72d3c [2022-10-27T06:49:41.665Z] $ docker rm -f 42f44d9f3de96949b387359b33bda4da746dada755975f8bc09fdfff43c72d3c [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-27T06:49:43.083Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-27T06:49:43.106Z] Warning: overwriting stash ‘coverage-report’ [2022-10-27T06:49:43.560Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-27T06:49:43.930Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-27T06:49:44.243Z] + ls -al . [2022-10-27T06:49:44.243Z] total 276 [2022-10-27T06:49:44.243Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 27 06:45 . [2022-10-27T06:49:44.243Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 06:43 .. [2022-10-27T06:49:44.243Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 27 06:43 .dockerignore [2022-10-27T06:49:44.243Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 06:43 .git [2022-10-27T06:49:44.243Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 06:43 .github [2022-10-27T06:49:44.243Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 27 06:43 .gitignore [2022-10-27T06:49:44.243Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 27 06:43 .golangci.yml [2022-10-27T06:49:44.243Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 27 06:43 CHANGELOG.md [2022-10-27T06:49:44.243Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 27 06:43 GOVERNANCE.md [2022-10-27T06:49:44.243Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 27 06:43 Jenkinsfile [2022-10-27T06:49:44.243Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 27 06:43 LICENSE [2022-10-27T06:49:44.243Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 27 06:43 Makefile [2022-10-27T06:49:44.243Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 27 06:43 OWNERS.md [2022-10-27T06:49:44.243Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 27 06:43 README.md [2022-10-27T06:49:44.243Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 27 06:41 VERSION [2022-10-27T06:49:44.243Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 06:43 bin [2022-10-27T06:49:44.243Z] -rw-r--r-- 1 jenkins jenkins 101759 Oct 27 06:48 coverage.out [2022-10-27T06:49:44.243Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 27 06:43 example [2022-10-27T06:49:44.243Z] -rw-rw-r-- 1 jenkins jenkins 3389 Oct 27 06:43 go.mod [2022-10-27T06:49:44.243Z] -rw-rw-r-- 1 jenkins jenkins 44684 Oct 27 06:43 go.sum [2022-10-27T06:49:44.243Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 27 06:43 internal [2022-10-27T06:49:44.243Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 06:43 openapi [2022-10-27T06:49:44.243Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 27 06:43 pkg [2022-10-27T06:49:44.243Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 06:43 snap [2022-10-27T06:49:44.243Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 27 06:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T06:49:44.577Z] + 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=a2cbac808847926cba089165f83d8f8e6b4e2b12 --label arch=arm64 --label version=0.0.0 . [2022-10-27T06:49:44.851Z] Sending build context to Docker daemon 5.557MB [2022-10-27T06:49:44.851Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-10-27T06:49:44.851Z] Step 2/23 : FROM ${BASE} AS builder [2022-10-27T06:49:44.851Z] ---> a2d022e10d32 [2022-10-27T06:49:44.851Z] Step 3/23 : ARG MAKE=make build [2022-10-27T06:49:45.120Z] ---> Running in 497a95be85ea [2022-10-27T06:49:45.387Z] Removing intermediate container 497a95be85ea [2022-10-27T06:49:45.387Z] ---> 529b0842850d [2022-10-27T06:49:45.387Z] Step 4/23 : WORKDIR /device-sdk-go [2022-10-27T06:49:45.387Z] ---> Running in d841898ba10a [2022-10-27T06:49:45.656Z] Removing intermediate container d841898ba10a [2022-10-27T06:49:45.656Z] ---> 99d13cd1c7ec [2022-10-27T06:49:45.656Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-27T06:49:45.924Z] ---> Running in fb72603b16bb [2022-10-27T06:49:46.190Z] Removing intermediate container fb72603b16bb [2022-10-27T06:49:46.190Z] ---> 223a0c90e013 [2022-10-27T06:49:46.190Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-27T06:49:46.190Z] ---> Running in 0c5e6e4aacbe [2022-10-27T06:49:47.239Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-27T06:49:47.511Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-27T06:49:48.508Z] OK: 221 MiB in 51 packages [2022-10-27T06:49:49.111Z] Removing intermediate container 0c5e6e4aacbe [2022-10-27T06:49:49.111Z] ---> c2c5dc254fe7 [2022-10-27T06:49:49.111Z] Step 7/23 : COPY go.mod vendor* ./ [2022-10-27T06:49:49.715Z] ---> bf6955b42402 [2022-10-27T06:49:49.715Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-27T06:49:49.715Z] ---> Running in 3f97e45e86dc [2022-10-27T06:49:51.668Z] Removing intermediate container 3f97e45e86dc [2022-10-27T06:49:51.668Z] ---> ba7a84aa6499 [2022-10-27T06:49:51.668Z] Step 9/23 : COPY . . [2022-10-27T06:49:53.078Z] ---> 9cc804fc0359 [2022-10-27T06:49:53.078Z] Step 10/23 : RUN ${MAKE} [2022-10-27T06:49:53.078Z] ---> Running in b6abf0e36449 [2022-10-27T06:49:53.662Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-10-27T06:52:00.367Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-27T06:52:00.367Z] Removing intermediate container b6abf0e36449 [2022-10-27T06:52:00.367Z] ---> fa68915a915e [2022-10-27T06:52:00.367Z] Step 11/23 : FROM alpine:3.16 [2022-10-27T06:52:00.632Z] 3.16: Pulling from library/alpine [2022-10-27T06:52:00.632Z] 9b18e9b68314: Already exists [2022-10-27T06:52:00.895Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-27T06:52:00.895Z] Status: Downloaded newer image for alpine:3.16 [2022-10-27T06:52:00.895Z] ---> a6215f271958 [2022-10-27T06:52:00.895Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-27T06:52:00.895Z] ---> Running in 6663291bdb53 [2022-10-27T06:52:01.168Z] Removing intermediate container 6663291bdb53 [2022-10-27T06:52:01.168Z] ---> e3a0b4872f08 [2022-10-27T06:52:01.168Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2022-10-27T06:52:01.441Z] ---> Running in dd995ad31488 [2022-10-27T06:52:02.401Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-27T06:52:02.401Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-27T06:52:03.358Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-27T06:52:03.358Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-27T06:52:03.358Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-27T06:52:03.358Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-27T06:52:03.358Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-27T06:52:03.358Z] Executing busybox-1.35.0-r17.trigger [2022-10-27T06:52:03.358Z] OK: 8 MiB in 19 packages [2022-10-27T06:52:04.320Z] Removing intermediate container dd995ad31488 [2022-10-27T06:52:04.320Z] ---> 7f2a2b4e1260 [2022-10-27T06:52:04.320Z] Step 14/23 : WORKDIR / [2022-10-27T06:52:04.320Z] ---> Running in b2ba377828a7 [2022-10-27T06:52:04.587Z] Removing intermediate container b2ba377828a7 [2022-10-27T06:52:04.587Z] ---> c78fea769aa5 [2022-10-27T06:52:04.587Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-27T06:52:05.169Z] ---> 6dfd240a0005 [2022-10-27T06:52:05.169Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-27T06:52:06.574Z] ---> 72d2aa34810c [2022-10-27T06:52:06.574Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-27T06:52:07.155Z] ---> 02714d653ac7 [2022-10-27T06:52:07.155Z] Step 18/23 : EXPOSE 59999 [2022-10-27T06:52:07.155Z] ---> Running in ad9584795551 [2022-10-27T06:52:07.420Z] Removing intermediate container ad9584795551 [2022-10-27T06:52:07.420Z] ---> 0db04c606853 [2022-10-27T06:52:07.420Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2022-10-27T06:52:07.420Z] ---> Running in 1231705fe370 [2022-10-27T06:52:07.685Z] Removing intermediate container 1231705fe370 [2022-10-27T06:52:07.685Z] ---> cb642e4db875 [2022-10-27T06:52:07.685Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-27T06:52:07.685Z] ---> Running in ae0cd3aa40e7 [2022-10-27T06:52:07.951Z] Removing intermediate container ae0cd3aa40e7 [2022-10-27T06:52:07.951Z] ---> 84bffcf4a64a [2022-10-27T06:52:07.951Z] Step 21/23 : LABEL arch=arm64 [2022-10-27T06:52:07.951Z] ---> Running in f140fb358379 [2022-10-27T06:52:08.224Z] Removing intermediate container f140fb358379 [2022-10-27T06:52:08.224Z] ---> 13864e7d1ad9 [2022-10-27T06:52:08.224Z] Step 22/23 : LABEL git_sha=a2cbac808847926cba089165f83d8f8e6b4e2b12 [2022-10-27T06:52:08.492Z] ---> Running in 0becede95ce6 [2022-10-27T06:52:08.757Z] Removing intermediate container 0becede95ce6 [2022-10-27T06:52:08.757Z] ---> fa06b504f6e8 [2022-10-27T06:52:08.757Z] Step 23/23 : LABEL version=0.0.0 [2022-10-27T06:52:08.757Z] ---> Running in 2e12d3dfd904 [2022-10-27T06:52:09.022Z] Removing intermediate container 2e12d3dfd904 [2022-10-27T06:52:09.022Z] ---> 04ba7fa89c4c [2022-10-27T06:52:09.022Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-27T06:52:09.022Z] Successfully built 04ba7fa89c4c [2022-10-27T06:52:09.022Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T06:52:09.446Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-27T06:52:09.447Z] [2022-10-27T06:52:09.447Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T06:52:09.777Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-27T06:52:09.777Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-27T06:52:09.777Z] 8998bd30e6a1: Pulling fs layer [2022-10-27T06:52:09.777Z] 04944245beec: Pulling fs layer [2022-10-27T06:52:09.777Z] 699f458cf7ca: Pulling fs layer [2022-10-27T06:52:09.777Z] 765212b225bb: Pulling fs layer [2022-10-27T06:52:09.777Z] f23df028b6ca: Pulling fs layer [2022-10-27T06:52:09.777Z] d65c8cfc05b1: Pulling fs layer [2022-10-27T06:52:09.777Z] 2437ff75d9bd: Pulling fs layer [2022-10-27T06:52:09.777Z] 765212b225bb: Waiting [2022-10-27T06:52:09.777Z] f23df028b6ca: Waiting [2022-10-27T06:52:09.777Z] d65c8cfc05b1: Waiting [2022-10-27T06:52:09.777Z] 2437ff75d9bd: Waiting [2022-10-27T06:52:10.046Z] 04944245beec: Verifying Checksum [2022-10-27T06:52:10.046Z] 04944245beec: Download complete [2022-10-27T06:52:10.046Z] 765212b225bb: Verifying Checksum [2022-10-27T06:52:10.046Z] 765212b225bb: Download complete [2022-10-27T06:52:10.046Z] f23df028b6ca: Verifying Checksum [2022-10-27T06:52:10.046Z] f23df028b6ca: Download complete [2022-10-27T06:52:10.046Z] d65c8cfc05b1: Verifying Checksum [2022-10-27T06:52:10.046Z] d65c8cfc05b1: Download complete [2022-10-27T06:52:10.046Z] 699f458cf7ca: Verifying Checksum [2022-10-27T06:52:10.046Z] 699f458cf7ca: Download complete [2022-10-27T06:52:10.627Z] 8998bd30e6a1: Verifying Checksum [2022-10-27T06:52:10.627Z] 8998bd30e6a1: Download complete [2022-10-27T06:52:12.563Z] 2437ff75d9bd: Verifying Checksum [2022-10-27T06:52:12.563Z] 2437ff75d9bd: Download complete [2022-10-27T06:52:14.499Z] 8998bd30e6a1: Pull complete [2022-10-27T06:52:14.763Z] 04944245beec: Pull complete [2022-10-27T06:52:15.717Z] 699f458cf7ca: Pull complete [2022-10-27T06:52:15.983Z] 765212b225bb: Pull complete [2022-10-27T06:52:16.940Z] f23df028b6ca: Pull complete [2022-10-27T06:52:16.940Z] d65c8cfc05b1: Pull complete [2022-10-27T06:52:31.919Z] 2437ff75d9bd: Pull complete [2022-10-27T06:52:31.919Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-27T06:52:31.919Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-27T06:52:31.919Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-27T06:52:32.093Z] prd-ubuntu20.04-docker-arm64-4c-16g-117439 does not seem to be running inside a container [2022-10-27T06:52:32.162Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-27T06:52:34.668Z] $ docker top 6856750e464f83b7142f05b423fc860e199027388c06bd7a643df80a74163a84 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-27T06:52:35.492Z] ---> job-cost.sh [2022-10-27T06:52:35.493Z] lf-activate-venv: SKIPPING [2022-10-27T06:52:35.493Z] INFO: No Stack... [2022-10-27T06:52:36.073Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-27T06:52:36.654Z] INFO: Archiving Costs [Pipeline] sh [2022-10-27T06:52:37.286Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2022-10-27T06:52:37.286Z] + cut -d, -f6 [Pipeline] lock [2022-10-27T06:52:37.344Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1244-4-stack-cost] [2022-10-27T06:52:37.351Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-4-stack-cost] did not exist. Created. [2022-10-27T06:52:37.351Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1244-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-27T06:52:37.681Z] /w/workspace/device-sdk-go/4@tmp/durable-b60df4a3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-27T06:52:38.021Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-27T06:52:38.046Z] Warning: overwriting stash ‘stack-cost’ [2022-10-27T06:52:38.097Z] Stashed 1 file(s) [Pipeline] } [2022-10-27T06:52:38.103Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-27T06:52:38.131Z] $ docker stop --time=1 6856750e464f83b7142f05b423fc860e199027388c06bd7a643df80a74163a84 [2022-10-27T06:52:39.599Z] $ docker rm -f 6856750e464f83b7142f05b423fc860e199027388c06bd7a643df80a74163a84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-27T06:52:40.000Z] provisioning config files... [2022-10-27T06:52:40.006Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config3990911577732673369tmp [Pipeline] { [Pipeline] sh [2022-10-27T06:52:40.293Z] + set +x [2022-10-27T06:52:40.293Z] + curl -s https://codecov.io/bash+ [2022-10-27T06:52:40.293Z] bash -s -- [2022-10-27T06:52:40.293Z] [2022-10-27T06:52:40.293Z] _____ _ [2022-10-27T06:52:40.293Z] / ____| | | [2022-10-27T06:52:40.293Z] | | ___ __| | ___ ___ _____ __ [2022-10-27T06:52:40.293Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-27T06:52:40.293Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-27T06:52:40.293Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-27T06:52:40.293Z] Bash-1.0.6 [2022-10-27T06:52:40.293Z] [2022-10-27T06:52:40.293Z] [2022-10-27T06:52:40.293Z] ==> git version 2.25.1 found [2022-10-27T06:52:40.293Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-27T06:52:40.293Z] Release-Date: 2020-01-08 [2022-10-27T06:52:40.293Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-27T06:52:40.293Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-27T06:52:40.293Z] ==> Jenkins CI detected. [2022-10-27T06:52:40.293Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1244 [2022-10-27T06:52:40.293Z] project root: . [2022-10-27T06:52:40.293Z] --> token set from env [2022-10-27T06:52:40.293Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-27T06:52:40.293Z] ==> Running gcov in . (disable via -X gcov) [2022-10-27T06:52:40.293Z] ==> Python coveragepy not found [2022-10-27T06:52:40.293Z] ==> Searching for coverage reports in: [2022-10-27T06:52:40.293Z] + . [2022-10-27T06:52:40.293Z] -> Found 1 reports [2022-10-27T06:52:40.293Z] ==> Detecting git/mercurial file structure [2022-10-27T06:52:40.293Z] ==> Reading reports [2022-10-27T06:52:40.293Z] + ./coverage.out bytes=101759 [2022-10-27T06:52:40.552Z] ==> Appending adjustments [2022-10-27T06:52:40.552Z] https://docs.codecov.io/docs/fixing-reports [2022-10-27T06:52:40.811Z] + Found adjustments [2022-10-27T06:52:40.811Z] ==> Gzipping contents [2022-10-27T06:52:40.811Z] 16K /tmp/codecov.94WJJr.gz [2022-10-27T06:52:40.811Z] ==> Uploading reports [2022-10-27T06:52:40.811Z] url: https://codecov.io [2022-10-27T06:52:40.812Z] query: branch=PR-1244&commit=97257b8796e026a7d5e717dffd91c696e8afa037&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1244%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1244&job=&cmd_args= [2022-10-27T06:52:40.812Z] -> Pinging Codecov [2022-10-27T06:52:40.812Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1244&commit=97257b8796e026a7d5e717dffd91c696e8afa037&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1244%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1244&job=&cmd_args= [2022-10-27T06:52:41.072Z] -> Uploading to [2022-10-27T06:52:41.072Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-27/7E55EF52A471D76F132DFD9A03CDDE97/97257b8796e026a7d5e717dffd91c696e8afa037/aa73b07d-832b-4216-aca6-ffebd4aa16c7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221027%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221027T065240Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5734451b270b881164a94bb0eff3689ad7f1934492ef0e4e63f3cea492b2b24f [2022-10-27T06:52:41.072Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-27T06:52:41.072Z] Dload Upload Total Spent Left Speed [2022-10-27T06:52:41.330Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14701 0 0 100 14701 0 60250 --:--:-- --:--:-- --:--:-- 60250 [2022-10-27T06:52:41.330Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/97257b8796e026a7d5e717dffd91c696e8afa037 [Pipeline] } [2022-10-27T06:52:41.339Z] 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 [2022-10-27T06:52:42.004Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives ] [2022-10-27T06:52:42.004Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives [2022-10-27T06:52:42.004Z] total 16 [2022-10-27T06:52:42.004Z] drwxr-xr-x 3 root root 4096 Oct 27 06:43 . [2022-10-27T06:52:42.004Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 27 06:43 .. [2022-10-27T06:52:42.004Z] drwxr-xr-x 2 root root 4096 Oct 27 06:43 cost [2022-10-27T06:52:42.004Z] -rw-r--r-- 1 root root 86 Oct 27 06:43 cost.csv [2022-10-27T06:52:42.004Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives [2022-10-27T06:52:42.004Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives [2022-10-27T06:52:42.004Z] total 16 [2022-10-27T06:52:42.004Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 27 06:43 . [2022-10-27T06:52:42.004Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 27 06:43 .. [2022-10-27T06:52:42.004Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 27 06:43 cost [2022-10-27T06:52:42.004Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 27 06:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-27T06:52:42.293Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-27T06:52:43.148Z] ---> package-listing.sh [2022-10-27T06:52:43.149Z] ++ facter osfamily [2022-10-27T06:52:43.149Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-27T06:52:43.407Z] + OS_FAMILY=debian [2022-10-27T06:52:43.407Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1244 [2022-10-27T06:52:43.407Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-27T06:52:43.407Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-27T06:52:43.407Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-27T06:52:43.407Z] + PACKAGES=/tmp/packages_start.txt [2022-10-27T06:52:43.407Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1244 ']' [2022-10-27T06:52:43.407Z] + PACKAGES=/tmp/packages_end.txt [2022-10-27T06:52:43.407Z] + case "${OS_FAMILY}" in [2022-10-27T06:52:43.407Z] + dpkg -l [2022-10-27T06:52:43.407Z] + grep '^ii' [2022-10-27T06:52:43.407Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-27T06:52:43.407Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-27T06:52:43.407Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-27T06:52:43.407Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1244 ']' [2022-10-27T06:52:43.407Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives/ [2022-10-27T06:52:43.407Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives/ [Pipeline] echo [2022-10-27T06:52:43.417Z] 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-1244/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-27T06:52:43.695Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T06:52:44.254Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-27T06:52:44.254Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-27T06:52:44.315Z] prd-ubuntu20.04-docker-8c-8g-117438 does not seem to be running inside a container [2022-10-27T06:52:44.341Z] $ 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-1244/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-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-27T06:52:44.549Z] $ docker top a4c0d084e74223ab23c8bcd5e14a5ac912087252dfef6569a3e13bb9bfe09596 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-27T06:52:44.878Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-27T06:52:45.162Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-27T06:52:45.449Z] + ls /var/log/sa-host [2022-10-27T06:52:45.449Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-27T06:52:45.596Z] provisioning config files... [2022-10-27T06:52:45.605Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config15227224337978451233tmp [Pipeline] { [Pipeline] echo [2022-10-27T06:52:45.615Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-27T06:52:45.897Z] ---> create-netrc.sh [Pipeline] } [2022-10-27T06:52:45.904Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-27T06:52:46.222Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-27T06:52:46.230Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-27T06:52:46.514Z] ---> sudo-logs.sh [2022-10-27T06:52:46.514Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-27T06:52:46.535Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-27T06:52:46.815Z] ---> job-cost.sh [2022-10-27T06:52:46.815Z] lf-activate-venv: SKIPPING [2022-10-27T06:52:46.815Z] DEBUG: total: 0.2199999988079071 [2022-10-27T06:52:46.815Z] INFO: Retrieving Stack Cost... [2022-10-27T06:52:47.074Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-27T06:52:47.640Z] INFO: Archiving Costs [Pipeline] echo [2022-10-27T06:52:47.650Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-27T06:52:47.932Z] ---> logs-deploy.sh [2022-10-27T06:52:47.932Z] lf-activate-venv: SKIPPING [2022-10-27T06:52:47.932Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1244/4 [2022-10-27T06:52:47.932Z] INFO: archiving workspace using pattern(s): [2022-10-27T06:52:48.865Z] Archives upload complete. [2022-10-27T06:52:48.865Z] INFO: archiving logs to Nexus