Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 85f19cd4395ab38c9fed3c9acaecd010dfd8799e 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-ssh15817023769626367124.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh5222458432270958203.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14774914058051175613.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh5209019494140591555.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-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11025496809827171372.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-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/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-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/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 ‘prd-centos7-blackbox-4c-2g-118274’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-118228’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-118455’ is offline ‘prd-ubuntu20.04-docker-8c-8g-118461’ is offline Running on prd-ubuntu20.04-docker-8c-8g-118461 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.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-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 85f19cd4395ab38c9fed3c9acaecd010dfd8799e (main) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#193)" > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 85f19cd4395ab38c9fed3c9acaecd010dfd8799e # timeout=10 > git rev-list --no-walk d07f413e0949b87f7783902c0ab6bfd56f004149 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:25:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:25:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:25:53 ========================================================= 17:25:53 EdgeX Global Pipelines Version Info 17:25:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:25:54 ------------------- 17:25:54 stable info: 17:25:54 ------------------- 17:25:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:25:54 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:25:54 Message: update stable to v1.0.244 17:25:54 ------------------- 17:25:54 experimental info: 17:25:54 ------------------- 17:25:54 Commited By: **** collab-it+edgex@linuxfoundation.org 17:25:54 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:25:54 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 85f19cd4395ab38c9fed3c9acaecd010dfd8799e [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 85f19cd [Pipeline] echo 17:25:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:25:55 provisioning config files... 17:25:55 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6463839781808980758tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:25:55 ---> docker-login.sh 17:25:55 nexus3.edgexfoundry.org:10001 17:25:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:56 Configure a credential helper to remove this warning. See 17:25:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:56 17:25:56 Login Succeeded 17:25:56 nexus3.edgexfoundry.org:10002 17:25:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:56 Configure a credential helper to remove this warning. See 17:25:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:56 17:25:56 Login Succeeded 17:25:56 nexus3.edgexfoundry.org:10003 17:25:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:56 Configure a credential helper to remove this warning. See 17:25:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:56 17:25:56 Login Succeeded 17:25:56 nexus3.edgexfoundry.org:10004 17:25:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:56 Configure a credential helper to remove this warning. See 17:25:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:56 17:25:56 Login Succeeded 17:25:56 docker.io 17:25:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:56 Configure a credential helper to remove this warning. See 17:25:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:56 17:25:56 Login Succeeded 17:25:56 ---> docker-login.sh ends [Pipeline] } 17:25:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:25:57 + git rev-list -1 --merges 85f19cd4395ab38c9fed3c9acaecd010dfd8799e~1..85f19cd4395ab38c9fed3c9acaecd010dfd8799e [Pipeline] echo 17:25:57 -----------> git rev-list -1 --merges 85f19cd4395ab38c9fed3c9acaecd010dfd8799e~1..85f19cd4395ab38c9fed3c9acaecd010dfd8799e 85f19cd4395ab38c9fed3c9acaecd010dfd8799e [false] [Pipeline] sh 17:25:57 + git log --format=format:%s -1 85f19cd4395ab38c9fed3c9acaecd010dfd8799e [Pipeline] echo 17:25:57 ========================================================= 17:25:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:25:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:25:57 + git log --format=format:%s -1 85f19cd4395ab38c9fed3c9acaecd010dfd8799e [Pipeline] echo 17:25:57 [semverPrep] GIT_COMMIT: 85f19cd4395ab38c9fed3c9acaecd010dfd8799e, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#193) [Pipeline] echo 17:25:57 [semverPrep] This is not a build commit. [Pipeline] sh 17:25:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:25:58 + grep -v github /etc/ssh/ssh_known_hosts 17:25:58 + [ -e /tmp/ssh_known_hosts ] 17:25:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:25:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:25:58 + sudo tee -a /etc/ssh/ssh_known_hosts 17:25:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:25:58 17:25:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:25:58 0.1.4: Pulling from edgex-devops/py-git-semver 17:25:58 b85a868b505f: Pulling fs layer 17:25:58 e2be974225ed: Pulling fs layer 17:25:58 339a4e72a1f5: Pulling fs layer 17:25:58 988bab9f4d93: Pulling fs layer 17:25:58 1469e6f7b9e6: Pulling fs layer 17:25:58 eaf3925da568: Pulling fs layer 17:25:58 bab4dde63d76: Pulling fs layer 17:25:58 bde34c3a00c8: Pulling fs layer 17:25:58 b352a97aabf1: Pulling fs layer 17:25:58 4872d77fe225: Pulling fs layer 17:25:58 5851b861e8e6: Pulling fs layer 17:25:58 bde34c3a00c8: Waiting 17:25:58 1469e6f7b9e6: Waiting 17:25:58 b352a97aabf1: Waiting 17:25:58 4872d77fe225: Waiting 17:25:58 5851b861e8e6: Waiting 17:25:58 eaf3925da568: Waiting 17:25:58 bab4dde63d76: Waiting 17:25:58 988bab9f4d93: Waiting 17:25:58 e2be974225ed: Download complete 17:25:58 988bab9f4d93: Download complete 17:25:59 339a4e72a1f5: Verifying Checksum 17:25:59 339a4e72a1f5: Download complete 17:25:59 eaf3925da568: Verifying Checksum 17:25:59 eaf3925da568: Download complete 17:25:59 1469e6f7b9e6: Verifying Checksum 17:25:59 1469e6f7b9e6: Download complete 17:25:59 bde34c3a00c8: Verifying Checksum 17:25:59 bde34c3a00c8: Download complete 17:25:59 b352a97aabf1: Verifying Checksum 17:25:59 b352a97aabf1: Download complete 17:25:59 4872d77fe225: Verifying Checksum 17:25:59 4872d77fe225: Download complete 17:25:59 5851b861e8e6: Verifying Checksum 17:25:59 b85a868b505f: Verifying Checksum 17:25:59 b85a868b505f: Download complete 17:25:59 bab4dde63d76: Verifying Checksum 17:25:59 bab4dde63d76: Download complete 17:26:00 b85a868b505f: Pull complete 17:26:00 e2be974225ed: Pull complete 17:26:00 339a4e72a1f5: Pull complete 17:26:00 988bab9f4d93: Pull complete 17:26:01 1469e6f7b9e6: Pull complete 17:26:01 eaf3925da568: Pull complete 17:26:03 bab4dde63d76: Pull complete 17:26:03 bde34c3a00c8: Pull complete 17:26:03 b352a97aabf1: Pull complete 17:26:03 4872d77fe225: Pull complete 17:26:03 5851b861e8e6: Pull complete 17:26:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:26:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:26:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:26:03 prd-ubuntu20.04-docker-8c-8g-118461 does not seem to be running inside a container 17:26:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:26:04 $ docker top 7d53f488b5c746b1261d1b13587a895195a0040d4d6dcef946091bd5d7d4b1c9 -eo pid,comm 17:26:04 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). 17:26:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:26:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:26:04 [ssh-agent] Looking for ssh-agent implementation... 17:26:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:26:04 $ docker exec 7d53f488b5c746b1261d1b13587a895195a0040d4d6dcef946091bd5d7d4b1c9 ssh-agent 17:26:04 SSH_AUTH_SOCK=/tmp/ssh-8CUjmXONOvqh/agent.32 17:26:04 SSH_AGENT_PID=38 17:26:04 Running ssh-add (command line suppressed) 17:26:04 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4925659642605703265.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4925659642605703265.key) 17:26:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:26:05 + git tag --points-at HEAD [Pipeline] } 17:26:05 $ docker exec --env ******** --env ******** 7d53f488b5c746b1261d1b13587a895195a0040d4d6dcef946091bd5d7d4b1c9 ssh-agent -k 17:26:05 unset SSH_AUTH_SOCK; 17:26:05 unset SSH_AGENT_PID; 17:26:05 echo Agent pid 38 killed; 17:26:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:26:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:26:05 [ssh-agent] Looking for ssh-agent implementation... 17:26:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:26:05 $ docker exec 7d53f488b5c746b1261d1b13587a895195a0040d4d6dcef946091bd5d7d4b1c9 ssh-agent 17:26:05 SSH_AUTH_SOCK=/tmp/ssh-h5IXLiH06Imq/agent.70 17:26:05 SSH_AGENT_PID=76 17:26:05 Running ssh-add (command line suppressed) 17:26:05 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13616512481475189748.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13616512481475189748.key) 17:26:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:26:06 + git semver init 17:26:06 2022-11-07 17:26:06,226 [run_init] DEBUG init version:0.0.0 force:False 17:26:06 2022-11-07 17:26:06,227 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 17:26:06 2022-11-07 17:26:06,227 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 17:26:06 2022-11-07 17:26:06,227 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 17:26:07 2022-11-07 17:26:07,294 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 17:26:07 2022-11-07 17:26:07,295 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 17:26:07 2022-11-07 17:26:07,295 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:26:07 2022-11-07 17:26:07,295 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:26:07 2.3.0-dev.44 [Pipeline] } 17:26:07 $ docker exec --env ******** --env ******** 7d53f488b5c746b1261d1b13587a895195a0040d4d6dcef946091bd5d7d4b1c9 ssh-agent -k 17:26:07 unset SSH_AUTH_SOCK; 17:26:07 unset SSH_AGENT_PID; 17:26:07 echo Agent pid 76 killed; 17:26:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:26:08 + git semver [Pipeline] } 17:26:08 $ docker stop --time=1 7d53f488b5c746b1261d1b13587a895195a0040d4d6dcef946091bd5d7d4b1c9 17:26:09 $ docker rm -f 7d53f488b5c746b1261d1b13587a895195a0040d4d6dcef946091bd5d7d4b1c9 [Pipeline] // withDockerContainer [Pipeline] sh 17:26:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:26:10 Stashed 1 file(s) [Pipeline] echo 17:26:10 [edgeXSemver]: initialized semver on version 2.3.0-dev.44 [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 17:26:10 provisioning config files... 17:26:10 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12914604898905914652tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:26:10 ---> docker-login.sh 17:26:10 nexus3.edgexfoundry.org:10001 17:26:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:10 Configure a credential helper to remove this warning. See 17:26:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:10 17:26:10 Login Succeeded 17:26:10 nexus3.edgexfoundry.org:10002 17:26:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:10 Configure a credential helper to remove this warning. See 17:26:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:10 17:26:10 Login Succeeded 17:26:10 nexus3.edgexfoundry.org:10003 17:26:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:11 Configure a credential helper to remove this warning. See 17:26:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:11 17:26:11 Login Succeeded 17:26:11 nexus3.edgexfoundry.org:10004 17:26:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:11 Configure a credential helper to remove this warning. See 17:26:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:11 17:26:11 Login Succeeded 17:26:11 docker.io 17:26:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:11 Configure a credential helper to remove this warning. See 17:26:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:11 17:26:11 Login Succeeded 17:26:11 ---> docker-login.sh ends [Pipeline] } 17:26:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:26:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:26:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:26:11 ========================================================= 17:26:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:26:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:11 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:26:11 Sending build context to Docker daemon 27.55MB 17:26:11 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:26:11 Step 2/13 : FROM ${BASE} AS builder 17:26:12 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:26:12 213ec9aee27d: Pulling fs layer 17:26:12 4583459ba037: Pulling fs layer 17:26:12 93c1e223e6f2: Pulling fs layer 17:26:12 53926ce57604: Pulling fs layer 17:26:12 21b2b0c7a3f4: Pulling fs layer 17:26:12 22ff95d597cd: Pulling fs layer 17:26:12 12d6caf4c0d1: Pulling fs layer 17:26:12 96b7cbca73a9: Pulling fs layer 17:26:12 a7acece74701: Pulling fs layer 17:26:12 12d6caf4c0d1: Waiting 17:26:12 96b7cbca73a9: Waiting 17:26:12 21b2b0c7a3f4: Waiting 17:26:12 53926ce57604: Waiting 17:26:12 a7acece74701: Waiting 17:26:12 22ff95d597cd: Waiting 17:26:12 93c1e223e6f2: Download complete 17:26:12 4583459ba037: Verifying Checksum 17:26:12 4583459ba037: Download complete 17:26:12 21b2b0c7a3f4: Verifying Checksum 17:26:12 21b2b0c7a3f4: Download complete 17:26:12 22ff95d597cd: Verifying Checksum 17:26:12 22ff95d597cd: Download complete 17:26:12 213ec9aee27d: Download complete 17:26:12 12d6caf4c0d1: Download complete 17:26:12 213ec9aee27d: Pull complete 17:26:12 4583459ba037: Pull complete 17:26:12 93c1e223e6f2: Pull complete 17:26:13 96b7cbca73a9: Verifying Checksum 17:26:13 96b7cbca73a9: Download complete 17:26:13 53926ce57604: Verifying Checksum 17:26:13 53926ce57604: Download complete 17:26:13 a7acece74701: Verifying Checksum 17:26:13 a7acece74701: Download complete 17:26:16 53926ce57604: Pull complete 17:26:16 21b2b0c7a3f4: Pull complete 17:26:16 22ff95d597cd: Pull complete 17:26:16 12d6caf4c0d1: Pull complete 17:26:19 96b7cbca73a9: Pull complete 17:26:19 a7acece74701: Pull complete 17:26:19 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:26:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:26:19 ---> db6d94c90886 17:26:19 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:26:21 ---> Running in b462d25c4b7f 17:26:21 Removing intermediate container b462d25c4b7f 17:26:21 ---> 3625eea3757f 17:26:21 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:26:21 ---> Running in 202c605bdd3b 17:26:21 Removing intermediate container 202c605bdd3b 17:26:21 ---> c9f5ab1ee06c 17:26:21 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:26:21 ---> Running in 50742c79ff4e 17:26:21 Removing intermediate container 50742c79ff4e 17:26:21 ---> 34f7e16f6d11 17:26:21 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:26:21 ---> Running in da78d7caaed6 17:26:22 Removing intermediate container da78d7caaed6 17:26:22 ---> 9b0eb2be8b87 17:26:22 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:26:22 ---> Running in e82f119b5b17 17:26:22 Removing intermediate container e82f119b5b17 17:26:22 ---> 893ac5fd68cf 17:26:22 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:26:22 ---> Running in 6f84ff5a4dc1 17:26:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:26:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:26:22 OK: 211 MiB in 51 packages 17:26:23 Removing intermediate container 6f84ff5a4dc1 17:26:23 ---> 19f25f1b6796 17:26:23 Step 9/13 : WORKDIR /device-onvif-camera 17:26:23 ---> Running in 7e0e3dd23d53 17:26:23 Removing intermediate container 7e0e3dd23d53 17:26:23 ---> dfc271babc1c 17:26:23 Step 10/13 : COPY go.mod vendor* ./ 17:26:23 ---> d28872d1cf42 17:26:23 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:26:23 ---> Running in 719317c29e10 17:26:25 Still waiting to schedule task 17:26:25 ‘prd-centos7-blackbox-4c-2g-118274’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 17:26:25 ‘prd-ubuntu18.04-docker-8c-8g-118228’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 17:26:25 ‘prd-ubuntu20.04-docker-8c-8g-118455’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 17:26:25 ‘prd-ubuntu20.04-docker-arm64-4c-16g-118462’ is offline 17:26:41 Removing intermediate container 719317c29e10 17:26:41 ---> 36970e4dffc5 17:26:41 Step 12/13 : COPY . . 17:26:41 ---> 179d27a29732 17:26:41 Step 13/13 : RUN ${MAKE} 17:26:41 ---> Running in 1cc016219b3b 17:26:41 noop 17:26:41 Removing intermediate container 1cc016219b3b 17:26:41 ---> 984678860700 17:26:41 Successfully built 984678860700 17:26:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:41 + docker inspect -f . ci-base-image-x86_64 17:26:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:26:41 prd-ubuntu20.04-docker-8c-8g-118461 does not seem to be running inside a container 17:26:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:26:42 $ docker top edc497aaf69462164eed4d05cb76c53fb64b7bf1956652d2f59167db3468004c -eo pid,comm [Pipeline] { [Pipeline] sh 17:26:42 + go version 17:26:42 go version go1.18.7 linux/amd64 [Pipeline] } 17:26:42 $ docker stop --time=1 edc497aaf69462164eed4d05cb76c53fb64b7bf1956652d2f59167db3468004c 17:26:43 $ docker rm -f edc497aaf69462164eed4d05cb76c53fb64b7bf1956652d2f59167db3468004c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:44 + docker inspect -f . ci-base-image-x86_64 17:26:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:26:44 prd-ubuntu20.04-docker-8c-8g-118461 does not seem to be running inside a container 17:26:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:26:44 $ docker top ed0c7a6c14acc9b1bae4da4c77df40dda57642210eefdd5e7d57e139c9bbae51 -eo pid,comm [Pipeline] { [Pipeline] sh 17:26:45 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 17:26:45 + make test 17:26:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:26:45 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:26:55 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:26:58 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.036s coverage: 29.3% of statements 17:26:58 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:26:58 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.337s coverage: 86.5% of statements 17:27:05 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." 17:27:05 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:27:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:27:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:27:08 ./bin/test-attribution-txt.sh [Pipeline] echo 17:27:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:27:08 $ docker stop --time=1 ed0c7a6c14acc9b1bae4da4c77df40dda57642210eefdd5e7d57e139c9bbae51 17:27:10 $ docker rm -f ed0c7a6c14acc9b1bae4da4c77df40dda57642210eefdd5e7d57e139c9bbae51 [Pipeline] // withDockerContainer [Pipeline] sh 17:27:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:27:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:27:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:27:11 + ls -al . 17:27:11 total 248 17:27:11 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 17:26 . 17:27:11 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:25 .. 17:27:11 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 17:26 .git 17:27:11 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:25 .github 17:27:11 -rw-rw-r-- 1 jenkins jenkins 496 Nov 7 17:25 .gitignore 17:27:11 -rw-rw-r-- 1 jenkins jenkins 42 Nov 7 17:25 .golangci.yml 17:27:11 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 17:26 .semver 17:27:11 -rw-rw-r-- 1 jenkins jenkins 9739 Nov 7 17:25 Attribution.txt 17:27:11 -rw-rw-r-- 1 jenkins jenkins 6312 Nov 7 17:25 CHANGELOG.md 17:27:11 -rw-rw-r-- 1 jenkins jenkins 1637 Nov 7 17:25 Dockerfile 17:27:11 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 17:25 GOVERNANCE.md 17:27:11 -rw-rw-r-- 1 jenkins jenkins 734 Nov 7 17:25 Jenkinsfile 17:27:11 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 7 17:25 LICENSE 17:27:11 -rw-rw-r-- 1 jenkins jenkins 2858 Nov 7 17:25 Makefile 17:27:11 -rw-rw-r-- 1 jenkins jenkins 625 Nov 7 17:25 OWNERS.md 17:27:11 -rw-rw-r-- 1 jenkins jenkins 6595 Nov 7 17:25 README.md 17:27:11 -rw-rw-r-- 1 jenkins jenkins 12 Nov 7 17:26 VERSION 17:27:11 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:25 bin 17:27:11 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:25 cmd 17:27:11 -rw-r--r-- 1 jenkins jenkins 79184 Nov 7 17:26 coverage.out 17:27:11 drwxrwxr-x 6 jenkins jenkins 4096 Nov 7 17:25 doc 17:27:11 -rw-rw-r-- 1 jenkins jenkins 3694 Nov 7 17:25 go.mod 17:27:11 -rw-rw-r-- 1 jenkins jenkins 46119 Nov 7 17:25 go.sum 17:27:11 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:25 internal 17:27:11 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:25 snap 17:27:11 -rw-rw-r-- 1 jenkins jenkins 236 Nov 7 17:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:11 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=85f19cd4395ab38c9fed3c9acaecd010dfd8799e --label arch=amd64 --label version=2.3.0-dev.44 . 17:27:11 Sending build context to Docker daemon 27.63MB 17:27:11 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:27:11 Step 2/26 : FROM ${BASE} AS builder 17:27:11 ---> 984678860700 17:27:11 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:27:12 ---> Running in 1874b8a75341 17:27:12 Removing intermediate container 1874b8a75341 17:27:12 ---> 29104631b2d1 17:27:12 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:27:12 ---> Running in 2e366b7f4443 17:27:12 Removing intermediate container 2e366b7f4443 17:27:12 ---> d474a4838155 17:27:12 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:27:12 ---> Running in 5aa07bc81532 17:27:12 Removing intermediate container 5aa07bc81532 17:27:12 ---> 1b7b9ce85879 17:27:12 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:27:12 ---> Running in a486bbc54f7d 17:27:12 Removing intermediate container a486bbc54f7d 17:27:12 ---> 0e048de4ee6c 17:27:12 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:27:12 ---> Running in 2e0aac09b2fa 17:27:12 Removing intermediate container 2e0aac09b2fa 17:27:12 ---> 860fd38f5f03 17:27:12 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:27:12 ---> Running in ce665eb3f941 17:27:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:27:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:27:13 OK: 211 MiB in 51 packages 17:27:13 Removing intermediate container ce665eb3f941 17:27:13 ---> 134850a15a26 17:27:13 Step 9/26 : WORKDIR /device-onvif-camera 17:27:13 ---> Running in 8fc83a23a201 17:27:14 Removing intermediate container 8fc83a23a201 17:27:14 ---> 531eeafaaea8 17:27:14 Step 10/26 : COPY go.mod vendor* ./ 17:27:14 ---> 34b75e3109b9 17:27:14 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:27:14 ---> Running in 47e4c2849633 17:27:15 Removing intermediate container 47e4c2849633 17:27:15 ---> a53c0f552b09 17:27:15 Step 12/26 : COPY . . 17:27:15 ---> a42d7eae8d9d 17:27:15 Step 13/26 : RUN ${MAKE} 17:27:15 ---> Running in eff7c61315ec 17:27:16 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.44 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 17:27:38 Removing intermediate container eff7c61315ec 17:27:38 ---> 52df1be188d8 17:27:38 Step 14/26 : FROM alpine:3.16 17:27:38 3.16: Pulling from library/alpine 17:27:38 213ec9aee27d: Already exists 17:27:38 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:27:38 Status: Downloaded newer image for alpine:3.16 17:27:38 ---> 9c6f07244728 17:27:38 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:27:38 ---> Running in 1c0a314ef325 17:27:38 Removing intermediate container 1c0a314ef325 17:27:38 ---> 345f1cdc6324 17:27:38 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 17:27:38 ---> Running in 56c4f8948cfb 17:27:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:27:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:27:38 (1/6) Installing dumb-init (1.2.5-r1) 17:27:38 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:27:38 (3/6) Installing libsodium (1.0.18-r0) 17:27:38 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:27:38 (5/6) Installing libzmq (4.3.4-r0) 17:27:38 (6/6) Installing zeromq (4.3.4-r0) 17:27:38 Executing busybox-1.35.0-r17.trigger 17:27:38 OK: 8 MiB in 20 packages 17:27:38 Removing intermediate container 56c4f8948cfb 17:27:38 ---> 3c97a99bceac 17:27:38 Step 17/26 : WORKDIR / 17:27:38 ---> Running in 87b55cdbc924 17:27:38 Removing intermediate container 87b55cdbc924 17:27:38 ---> f17ae8c3d30a 17:27:38 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:27:38 ---> b88fd53c828a 17:27:38 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:27:38 ---> 228111363f46 17:27:38 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:27:38 ---> 90f3b6146f7f 17:27:38 Step 21/26 : EXPOSE 59984 17:27:38 ---> Running in 058cbb930a95 17:27:38 Removing intermediate container 058cbb930a95 17:27:38 ---> 95e85399ff82 17:27:38 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:27:38 ---> Running in 2caf80d3242f 17:27:38 Removing intermediate container 2caf80d3242f 17:27:38 ---> 7fb9a0dbc3e6 17:27:38 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:27:38 ---> Running in a74d741aa69a 17:27:38 Removing intermediate container a74d741aa69a 17:27:38 ---> f8db95ce0c3b 17:27:38 Step 24/26 : LABEL arch=amd64 17:27:39 ---> Running in ec2c4168eca6 17:27:39 Removing intermediate container ec2c4168eca6 17:27:39 ---> 7366f6aa915a 17:27:39 Step 25/26 : LABEL git_sha=85f19cd4395ab38c9fed3c9acaecd010dfd8799e 17:27:39 ---> Running in 87fece4293df 17:27:39 Removing intermediate container 87fece4293df 17:27:39 ---> e5138cdf3133 17:27:39 Step 26/26 : LABEL version=2.3.0-dev.44 17:27:39 ---> Running in 93aa0e64c65a 17:27:39 Removing intermediate container 93aa0e64c65a 17:27:39 ---> b92bfe5ba65a 17:27:39 [Warning] One or more build-args [ARCH] were not consumed 17:27:39 Successfully built b92bfe5ba65a 17:27:39 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:27:39 provisioning config files... 17:27:39 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17860740297890202007tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:27:39 ---> docker-login.sh 17:27:39 nexus3.edgexfoundry.org:10001 17:27:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:39 Configure a credential helper to remove this warning. See 17:27:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:39 17:27:39 Login Succeeded 17:27:39 nexus3.edgexfoundry.org:10002 17:27:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:39 Configure a credential helper to remove this warning. See 17:27:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:39 17:27:39 Login Succeeded 17:27:39 nexus3.edgexfoundry.org:10003 17:27:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:40 Configure a credential helper to remove this warning. See 17:27:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:40 17:27:40 Login Succeeded 17:27:40 nexus3.edgexfoundry.org:10004 17:27:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:40 Configure a credential helper to remove this warning. See 17:27:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:40 17:27:40 Login Succeeded 17:27:40 docker.io 17:27:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:40 Configure a credential helper to remove this warning. See 17:27:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:40 17:27:40 Login Succeeded 17:27:40 ---> docker-login.sh ends [Pipeline] } 17:27:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:27:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:27:40 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 17:27:40 85f19cd4395ab38c9fed3c9acaecd010dfd8799e 17:27:40 latest 17:27:40 2.3.0-dev.44 17:27:40 85f19cd4395ab38c9fed3c9acaecd010dfd8799e-2.3.0-dev.44 17:27:40 main 17:27:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:41 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:85f19cd4395ab38c9fed3c9acaecd010dfd8799e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:41 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:85f19cd4395ab38c9fed3c9acaecd010dfd8799e 17:27:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:27:41 ea44349831ef: Preparing 17:27:41 2029e2cc2b6c: Preparing 17:27:41 17c6b14c6d59: Preparing 17:27:41 8f125c766f3b: Preparing 17:27:41 994393dc58e7: Preparing 17:27:41 994393dc58e7: Layer already exists 17:27:41 ea44349831ef: Pushed 17:27:41 2029e2cc2b6c: Pushed 17:27:41 8f125c766f3b: Pushed 17:27:44 17c6b14c6d59: Pushed 17:27:44 85f19cd4395ab38c9fed3c9acaecd010dfd8799e: digest: sha256:ce3704a57b11802bfb03547d7832140804d1ec5a2a23eb3ed5463a725e3c31dd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:44 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:44 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 17:27:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:27:44 ea44349831ef: Preparing 17:27:44 2029e2cc2b6c: Preparing 17:27:44 17c6b14c6d59: Preparing 17:27:44 8f125c766f3b: Preparing 17:27:44 994393dc58e7: Preparing 17:27:44 17c6b14c6d59: Layer already exists 17:27:44 ea44349831ef: Layer already exists 17:27:44 8f125c766f3b: Layer already exists 17:27:44 2029e2cc2b6c: Layer already exists 17:27:44 994393dc58e7: Layer already exists 17:27:44 latest: digest: sha256:ce3704a57b11802bfb03547d7832140804d1ec5a2a23eb3ed5463a725e3c31dd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:45 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.44 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:45 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.44 17:27:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:27:45 ea44349831ef: Preparing 17:27:45 2029e2cc2b6c: Preparing 17:27:45 17c6b14c6d59: Preparing 17:27:45 8f125c766f3b: Preparing 17:27:45 994393dc58e7: Preparing 17:27:45 994393dc58e7: Layer already exists 17:27:45 ea44349831ef: Layer already exists 17:27:45 17c6b14c6d59: Layer already exists 17:27:45 2029e2cc2b6c: Layer already exists 17:27:45 8f125c766f3b: Layer already exists 17:27:45 2.3.0-dev.44: digest: sha256:ce3704a57b11802bfb03547d7832140804d1ec5a2a23eb3ed5463a725e3c31dd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:45 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:85f19cd4395ab38c9fed3c9acaecd010dfd8799e-2.3.0-dev.44 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:46 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:85f19cd4395ab38c9fed3c9acaecd010dfd8799e-2.3.0-dev.44 17:27:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:27:46 ea44349831ef: Preparing 17:27:46 2029e2cc2b6c: Preparing 17:27:46 17c6b14c6d59: Preparing 17:27:46 8f125c766f3b: Preparing 17:27:46 994393dc58e7: Preparing 17:27:46 17c6b14c6d59: Layer already exists 17:27:46 ea44349831ef: Layer already exists 17:27:46 8f125c766f3b: Layer already exists 17:27:46 994393dc58e7: Layer already exists 17:27:46 2029e2cc2b6c: Layer already exists 17:27:46 85f19cd4395ab38c9fed3c9acaecd010dfd8799e-2.3.0-dev.44: digest: sha256:ce3704a57b11802bfb03547d7832140804d1ec5a2a23eb3ed5463a725e3c31dd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:46 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:46 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 17:27:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:27:46 ea44349831ef: Preparing 17:27:46 2029e2cc2b6c: Preparing 17:27:46 17c6b14c6d59: Preparing 17:27:46 8f125c766f3b: Preparing 17:27:46 994393dc58e7: Preparing 17:27:46 994393dc58e7: Layer already exists 17:27:46 17c6b14c6d59: Layer already exists 17:27:46 8f125c766f3b: Layer already exists 17:27:46 ea44349831ef: Layer already exists 17:27:46 2029e2cc2b6c: Layer already exists 17:27:46 main: digest: sha256:ce3704a57b11802bfb03547d7832140804d1ec5a2a23eb3ed5463a725e3c31dd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:27:46 ===================================================== [Pipeline] echo 17:27:46 taggedImages: 17:27:46 - nexus3.edgexfoundry.org:10004/device-onvif-camera:85f19cd4395ab38c9fed3c9acaecd010dfd8799e 17:27:46 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 17:27:46 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.44 17:27:46 - nexus3.edgexfoundry.org:10004/device-onvif-camera:85f19cd4395ab38c9fed3c9acaecd010dfd8799e-2.3.0-dev.44 17:27:46 - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:27:47 17:27:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:27:47 latest: Pulling from edgex-lftools-log-publisher 17:27:47 5eb5b503b376: Pulling fs layer 17:27:47 5c69ac0246d0: Pulling fs layer 17:27:47 ec43610c2a17: Pulling fs layer 17:27:47 3a2ae6a8a46f: Pulling fs layer 17:27:47 33b1e0a273af: Pulling fs layer 17:27:47 5d3b04190fa2: Pulling fs layer 17:27:47 2f39f015ded8: Pulling fs layer 17:27:47 3a2ae6a8a46f: Waiting 17:27:47 33b1e0a273af: Waiting 17:27:47 5d3b04190fa2: Waiting 17:27:47 2f39f015ded8: Waiting 17:27:47 5c69ac0246d0: Download complete 17:27:47 3a2ae6a8a46f: Verifying Checksum 17:27:47 3a2ae6a8a46f: Download complete 17:27:47 ec43610c2a17: Verifying Checksum 17:27:47 ec43610c2a17: Download complete 17:27:47 33b1e0a273af: Verifying Checksum 17:27:47 33b1e0a273af: Download complete 17:27:47 5d3b04190fa2: Download complete 17:27:47 5eb5b503b376: Verifying Checksum 17:27:47 5eb5b503b376: Download complete 17:27:48 2f39f015ded8: Download complete 17:27:48 5eb5b503b376: Pull complete 17:27:48 5c69ac0246d0: Pull complete 17:27:49 ec43610c2a17: Pull complete 17:27:49 3a2ae6a8a46f: Pull complete 17:27:49 33b1e0a273af: Pull complete 17:27:49 5d3b04190fa2: Pull complete 17:27:53 2f39f015ded8: Pull complete 17:27:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:27:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:27:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:27:54 prd-ubuntu20.04-docker-8c-8g-118461 does not seem to be running inside a container 17:27:54 $ 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/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:27:55 $ docker top 4a54e67c4adb739007d21c081c4210aabae74bdfdbc6965831cac489068bb307 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:27:56 ---> job-cost.sh 17:27:56 lf-activate-venv: SKIPPING 17:27:56 INFO: No Stack... 17:27:56 INFO: Retrieving Pricing Info for: v3-standard-8 17:27:56 INFO: Archiving Costs [Pipeline] sh 17:27:56 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 17:27:56 + cut -d, -f6 [Pipeline] lock 17:27:56 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-83-stack-cost] 17:27:56 Resource [jenkins-edgexfoundry-device-onvif-camera-main-83-stack-cost] did not exist. Created. 17:27:56 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-83-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:27:57 + echo total: 0.2199999988079071 [Pipeline] stash 17:27:57 Stashed 1 file(s) [Pipeline] } 17:27:57 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-83-stack-cost] [Pipeline] // lock [Pipeline] } 17:27:57 $ docker stop --time=1 4a54e67c4adb739007d21c081c4210aabae74bdfdbc6965831cac489068bb307 17:27:58 $ docker rm -f 4a54e67c4adb739007d21c081c4210aabae74bdfdbc6965831cac489068bb307 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:28:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118467 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 17:28:50 Running in /w/workspace/device-onvif-camera/83 [Pipeline] { [Pipeline] checkout 17:28:50 The recommended git tool is: git 17:28:56 using credential edgex-jenkins-ssh 17:28:56 Cloning the remote Git repository 17:28:56 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:28:56 > git init /w/workspace/device-onvif-camera/83 # timeout=10 17:28:56 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:28:56 > git --version # timeout=10 17:28:57 > git --version # 'git version 2.25.1' 17:28:57 using GIT_SSH to set credentials SSH Credentials for GitHub 17:28:57 Verifying host key using known hosts file 17:28:57 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. 17:28:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:28:59 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:28:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:29:00 Avoid second fetch 17:29:00 Checking out Revision 85f19cd4395ab38c9fed3c9acaecd010dfd8799e (main) 17:29:00 > git config core.sparsecheckout # timeout=10 17:29:00 > git checkout -f 85f19cd4395ab38c9fed3c9acaecd010dfd8799e # timeout=10 17:29:01 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#193)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:29:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:29:02 % Total % Received % Xferd Average Speed Time Time Time Current 17:29:02 Dload Upload Total Spent Left Speed 17:29:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 180k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh 17:29:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:29:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:29:03 + sudo tee /etc/docker/daemon.new 17:29:03 { 17:29:03 "registry-mirrors": [ 17:29:03 "https://nexus3.edgexfoundry.org:10001" 17:29:03 ], 17:29:03 "bip": "10.250.0.254/24", 17:29:03 "hosts": [ 17:29:03 "tcp://0.0.0.0:5555", 17:29:03 "unix:///var/run/docker.sock" 17:29:03 ], 17:29:03 "mtu": 1458, 17:29:03 "selinux-enabled": true, 17:29:03 "seccomp-profile": "/etc/docker/seccomp.json" 17:29:03 } [Pipeline] sh 17:29:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:29:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:29:22 provisioning config files... 17:29:22 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/83@tmp/config2939454153584532791tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:29:22 ---> docker-login.sh 17:29:22 nexus3.edgexfoundry.org:10001 17:29:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:23 Configure a credential helper to remove this warning. See 17:29:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:23 17:29:23 Login Succeeded 17:29:23 nexus3.edgexfoundry.org:10002 17:29:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:23 Configure a credential helper to remove this warning. See 17:29:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:23 17:29:23 Login Succeeded 17:29:23 nexus3.edgexfoundry.org:10003 17:29:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:23 Configure a credential helper to remove this warning. See 17:29:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:23 17:29:23 Login Succeeded 17:29:23 nexus3.edgexfoundry.org:10004 17:29:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:24 Configure a credential helper to remove this warning. See 17:29:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:24 17:29:24 Login Succeeded 17:29:24 docker.io 17:29:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:30 Configure a credential helper to remove this warning. See 17:29:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:30 17:29:30 Login Succeeded 17:29:30 ---> docker-login.sh ends [Pipeline] } 17:29:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:29:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:29:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:29:30 ========================================================= 17:29:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:29:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:30 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:29:31 Sending build context to Docker daemon 20.44MB 17:29:31 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:29:31 Step 2/13 : FROM ${BASE} AS builder 17:29:32 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:29:32 9b18e9b68314: Pulling fs layer 17:29:32 35d82f9e3411: Pulling fs layer 17:29:32 e16973657156: Pulling fs layer 17:29:32 fc693d55d65f: Pulling fs layer 17:29:32 7e9fc2657dce: Pulling fs layer 17:29:32 dda99020689f: Pulling fs layer 17:29:32 db1c61fa0a46: Pulling fs layer 17:29:32 891c053d2c06: Pulling fs layer 17:29:32 7e9fc2657dce: Waiting 17:29:32 fc693d55d65f: Waiting 17:29:32 db1c61fa0a46: Waiting 17:29:32 dda99020689f: Waiting 17:29:32 e16973657156: Verifying Checksum 17:29:32 e16973657156: Download complete 17:29:32 35d82f9e3411: Verifying Checksum 17:29:32 35d82f9e3411: Download complete 17:29:32 7e9fc2657dce: Download complete 17:29:32 dda99020689f: Verifying Checksum 17:29:32 dda99020689f: Download complete 17:29:32 9b18e9b68314: Verifying Checksum 17:29:32 9b18e9b68314: Download complete 17:29:33 9b18e9b68314: Pull complete 17:29:34 35d82f9e3411: Pull complete 17:29:34 e16973657156: Pull complete 17:29:34 891c053d2c06: Verifying Checksum 17:29:34 891c053d2c06: Download complete 17:29:36 db1c61fa0a46: Verifying Checksum 17:29:36 db1c61fa0a46: Download complete 17:29:36 fc693d55d65f: Verifying Checksum 17:29:36 fc693d55d65f: Download complete 17:29:51 fc693d55d65f: Pull complete 17:29:51 7e9fc2657dce: Pull complete 17:29:51 dda99020689f: Pull complete 17:29:56 db1c61fa0a46: Pull complete 17:29:59 891c053d2c06: Pull complete 17:29:59 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:29:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:29:59 ---> f96f9c87975a 17:29:59 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:30:01 ---> Running in 570f2dc32c00 17:30:01 Removing intermediate container 570f2dc32c00 17:30:01 ---> 532a07e4531f 17:30:01 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:30:01 ---> Running in ffceb1eb716c 17:30:02 Removing intermediate container ffceb1eb716c 17:30:02 ---> c347571393d2 17:30:02 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:30:02 ---> Running in 840c27014b9c 17:30:02 Removing intermediate container 840c27014b9c 17:30:02 ---> 172df2086f8b 17:30:02 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:30:02 ---> Running in 4e0f488a2ce1 17:30:03 Removing intermediate container 4e0f488a2ce1 17:30:03 ---> c500f59edf45 17:30:03 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:30:03 ---> Running in 8d6a32504fa6 17:30:03 Removing intermediate container 8d6a32504fa6 17:30:03 ---> df0ffe7d5d44 17:30:03 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:30:03 ---> Running in 913e2e153b05 17:30:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:30:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:30:06 OK: 221 MiB in 51 packages 17:30:07 Removing intermediate container 913e2e153b05 17:30:07 ---> 4e29e50de87f 17:30:07 Step 9/13 : WORKDIR /device-onvif-camera 17:30:07 ---> Running in e0f89e6cd016 17:30:08 Removing intermediate container e0f89e6cd016 17:30:08 ---> e4c870562106 17:30:08 Step 10/13 : COPY go.mod vendor* ./ 17:30:08 ---> 7cf85b34925c 17:30:08 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:30:08 ---> Running in 96c02879d750 17:31:16 Removing intermediate container 96c02879d750 17:31:16 ---> d0443b7aba0e 17:31:16 Step 12/13 : COPY . . 17:31:16 ---> 8f905baa11b3 17:31:16 Step 13/13 : RUN ${MAKE} 17:31:16 ---> Running in 64c63f3b5b9c 17:31:16 noop 17:31:16 Removing intermediate container 64c63f3b5b9c 17:31:16 ---> abd7cae6e058 17:31:16 Successfully built abd7cae6e058 17:31:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:17 + docker inspect -f . ci-base-image-arm64 17:31:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:31:17 prd-ubuntu20.04-docker-arm64-4c-16g-118467 does not seem to be running inside a container 17:31:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/83 -v /w/workspace/device-onvif-camera/83:/w/workspace/device-onvif-camera/83:rw,z -v /w/workspace/device-onvif-camera/83@tmp:/w/workspace/device-onvif-camera/83@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:31:19 $ docker top b5e7d6aba8156b9c8df6965e9976fb6997fdf97c092d9f8896aa063acd4aded7 -eo pid,comm [Pipeline] { [Pipeline] sh 17:31:19 + go version 17:31:19 go version go1.18.7 linux/arm64 [Pipeline] } 17:31:19 $ docker stop --time=1 b5e7d6aba8156b9c8df6965e9976fb6997fdf97c092d9f8896aa063acd4aded7 17:31:21 $ docker rm -f b5e7d6aba8156b9c8df6965e9976fb6997fdf97c092d9f8896aa063acd4aded7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:22 + docker inspect -f . ci-base-image-arm64 17:31:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:31:22 prd-ubuntu20.04-docker-arm64-4c-16g-118467 does not seem to be running inside a container 17:31:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/83 -v /w/workspace/device-onvif-camera/83:/w/workspace/device-onvif-camera/83:rw,z -v /w/workspace/device-onvif-camera/83@tmp:/w/workspace/device-onvif-camera/83@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:31:23 $ docker top 8dea0371d0ee53e953647c049596a21ab4f94c97b0a90a8dc25468cd427fb87e -eo pid,comm [Pipeline] { [Pipeline] sh 17:31:24 + git config --global --add safe.directory /w/workspace/device-onvif-camera/83 [Pipeline] fileExists [Pipeline] sh 17:31:25 + make test 17:31:25 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:31:27 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:33:49 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:33:50 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.328s coverage: 29.3% of statements 17:33:50 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:34:09 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.018s coverage: 86.5% of statements 17:34:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:34:09 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:34:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:34:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:34:48 ./bin/test-attribution-txt.sh [Pipeline] echo 17:34:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:34:48 $ docker stop --time=1 8dea0371d0ee53e953647c049596a21ab4f94c97b0a90a8dc25468cd427fb87e 17:34:49 $ docker rm -f 8dea0371d0ee53e953647c049596a21ab4f94c97b0a90a8dc25468cd427fb87e [Pipeline] // withDockerContainer [Pipeline] sh 17:34:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:34:51 Warning: overwriting stash ‘coverage-report’ 17:34:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:34:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:34:52 + ls -al . 17:34:52 total 244 17:34:52 drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 17:31 . 17:34:52 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:28 .. 17:34:52 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 17:29 .git 17:34:52 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:29 .github 17:34:52 -rw-rw-r-- 1 jenkins jenkins 496 Nov 7 17:29 .gitignore 17:34:52 -rw-rw-r-- 1 jenkins jenkins 42 Nov 7 17:29 .golangci.yml 17:34:52 -rw-rw-r-- 1 jenkins jenkins 9739 Nov 7 17:29 Attribution.txt 17:34:52 -rw-rw-r-- 1 jenkins jenkins 6312 Nov 7 17:29 CHANGELOG.md 17:34:52 -rw-rw-r-- 1 jenkins jenkins 1637 Nov 7 17:29 Dockerfile 17:34:52 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 17:29 GOVERNANCE.md 17:34:52 -rw-rw-r-- 1 jenkins jenkins 734 Nov 7 17:29 Jenkinsfile 17:34:52 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 7 17:29 LICENSE 17:34:52 -rw-rw-r-- 1 jenkins jenkins 2858 Nov 7 17:29 Makefile 17:34:52 -rw-rw-r-- 1 jenkins jenkins 625 Nov 7 17:29 OWNERS.md 17:34:52 -rw-rw-r-- 1 jenkins jenkins 6595 Nov 7 17:29 README.md 17:34:52 -rw-rw-r-- 1 jenkins jenkins 12 Nov 7 17:26 VERSION 17:34:52 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:29 bin 17:34:52 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:29 cmd 17:34:52 -rw-r--r-- 1 jenkins jenkins 79184 Nov 7 17:34 coverage.out 17:34:52 drwxrwxr-x 6 jenkins jenkins 4096 Nov 7 17:29 doc 17:34:52 -rw-rw-r-- 1 jenkins jenkins 3694 Nov 7 17:29 go.mod 17:34:52 -rw-rw-r-- 1 jenkins jenkins 46119 Nov 7 17:29 go.sum 17:34:52 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:29 internal 17:34:52 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:29 snap 17:34:52 -rw-rw-r-- 1 jenkins jenkins 236 Nov 7 17:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:52 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=85f19cd4395ab38c9fed3c9acaecd010dfd8799e --label arch=arm64 --label version=2.3.0-dev.44 . 17:34:53 Sending build context to Docker daemon 20.52MB 17:34:53 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:34:53 Step 2/26 : FROM ${BASE} AS builder 17:34:53 ---> abd7cae6e058 17:34:53 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:34:53 ---> Running in 458ae7b7747e 17:34:54 Removing intermediate container 458ae7b7747e 17:34:54 ---> 4d2b9405b70f 17:34:54 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:34:54 ---> Running in 1ff718ce1985 17:34:54 Removing intermediate container 1ff718ce1985 17:34:54 ---> ce85e34aed0d 17:34:54 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:34:54 ---> Running in cf4b0d2e57e3 17:34:55 Removing intermediate container cf4b0d2e57e3 17:34:55 ---> 0450735cfd98 17:34:55 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:34:55 ---> Running in 3730becf3925 17:34:55 Removing intermediate container 3730becf3925 17:34:55 ---> 4fe75fb11060 17:34:55 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:34:55 ---> Running in 9a189d7fb314 17:34:55 Removing intermediate container 9a189d7fb314 17:34:55 ---> ce64a068dfa8 17:34:55 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:34:55 ---> Running in b6b13f63731a 17:34:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:34:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:34:59 OK: 221 MiB in 51 packages 17:35:00 Removing intermediate container b6b13f63731a 17:35:00 ---> 7164175336ca 17:35:00 Step 9/26 : WORKDIR /device-onvif-camera 17:35:00 ---> Running in d5b970280772 17:35:00 Removing intermediate container d5b970280772 17:35:00 ---> dc68782a0fdc 17:35:00 Step 10/26 : COPY go.mod vendor* ./ 17:35:01 ---> 2840c9a78528 17:35:01 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:35:01 ---> Running in 925c5dac5f65 17:35:04 Removing intermediate container 925c5dac5f65 17:35:04 ---> 65ab2dc757ad 17:35:04 Step 12/26 : COPY . . 17:35:06 ---> 30ba60a93725 17:35:06 Step 13/26 : RUN ${MAKE} 17:35:06 ---> Running in 8179d83af7f0 17:35:07 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.44 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 17:38:14 Removing intermediate container 8179d83af7f0 17:38:14 ---> dc22e300e539 17:38:14 Step 14/26 : FROM alpine:3.16 17:38:14 3.16: Pulling from library/alpine 17:38:14 9b18e9b68314: Already exists 17:38:14 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:38:14 Status: Downloaded newer image for alpine:3.16 17:38:14 ---> a6215f271958 17:38:14 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:38:14 ---> Running in c1eee4484218 17:38:14 Removing intermediate container c1eee4484218 17:38:14 ---> e540599f81c9 17:38:14 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 17:38:14 ---> Running in 067f10d7f3a8 17:38:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:38:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:38:15 (1/6) Installing dumb-init (1.2.5-r1) 17:38:15 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:38:15 (3/6) Installing libsodium (1.0.18-r0) 17:38:15 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:38:15 (5/6) Installing libzmq (4.3.4-r0) 17:38:15 (6/6) Installing zeromq (4.3.4-r0) 17:38:15 Executing busybox-1.35.0-r17.trigger 17:38:15 OK: 8 MiB in 20 packages 17:38:16 Removing intermediate container 067f10d7f3a8 17:38:16 ---> 28a06b54e64b 17:38:16 Step 17/26 : WORKDIR / 17:38:16 ---> Running in 1962de11eddd 17:38:17 Removing intermediate container 1962de11eddd 17:38:17 ---> fe0317fa77ca 17:38:17 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:38:18 ---> 16099d224aa6 17:38:18 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:38:19 ---> 4dd3661865e2 17:38:19 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:38:19 ---> a93a373c1e3b 17:38:19 Step 21/26 : EXPOSE 59984 17:38:20 ---> Running in 6877004b0e82 17:38:20 Removing intermediate container 6877004b0e82 17:38:20 ---> 977f19942576 17:38:20 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:38:20 ---> Running in 398bc8f5b160 17:38:20 Removing intermediate container 398bc8f5b160 17:38:20 ---> ed71c6c56125 17:38:20 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:38:20 ---> Running in 89628185d01b 17:38:21 Removing intermediate container 89628185d01b 17:38:21 ---> b9648bdb26d3 17:38:21 Step 24/26 : LABEL arch=arm64 17:38:21 ---> Running in c66302f7cceb 17:38:21 Removing intermediate container c66302f7cceb 17:38:21 ---> ed5a39938735 17:38:21 Step 25/26 : LABEL git_sha=85f19cd4395ab38c9fed3c9acaecd010dfd8799e 17:38:21 ---> Running in cdd2acd3f640 17:38:22 Removing intermediate container cdd2acd3f640 17:38:22 ---> 59b26abefaab 17:38:22 Step 26/26 : LABEL version=2.3.0-dev.44 17:38:22 ---> Running in aad0020ebe44 17:38:22 Removing intermediate container aad0020ebe44 17:38:22 ---> b3aadf7fb4b1 17:38:22 [Warning] One or more build-args [ARCH] were not consumed 17:38:22 Successfully built b3aadf7fb4b1 17:38:22 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:38:22 provisioning config files... 17:38:22 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/83@tmp/config12059125118486322562tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:38:23 ---> docker-login.sh 17:38:23 nexus3.edgexfoundry.org:10001 17:38:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:23 Configure a credential helper to remove this warning. See 17:38:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:23 17:38:23 Login Succeeded 17:38:23 nexus3.edgexfoundry.org:10002 17:38:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:23 Configure a credential helper to remove this warning. See 17:38:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:23 17:38:23 Login Succeeded 17:38:23 nexus3.edgexfoundry.org:10003 17:38:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:24 Configure a credential helper to remove this warning. See 17:38:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:24 17:38:24 Login Succeeded 17:38:24 nexus3.edgexfoundry.org:10004 17:38:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:24 Configure a credential helper to remove this warning. See 17:38:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:24 17:38:24 Login Succeeded 17:38:24 docker.io 17:38:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:25 Configure a credential helper to remove this warning. See 17:38:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:25 17:38:25 Login Succeeded 17:38:25 ---> docker-login.sh ends [Pipeline] } 17:38:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:38:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:38:25 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 17:38:25 85f19cd4395ab38c9fed3c9acaecd010dfd8799e 17:38:25 latest 17:38:25 2.3.0-dev.44 17:38:25 85f19cd4395ab38c9fed3c9acaecd010dfd8799e-2.3.0-dev.44 17:38:25 main 17:38:25 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:26 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:85f19cd4395ab38c9fed3c9acaecd010dfd8799e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:26 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:85f19cd4395ab38c9fed3c9acaecd010dfd8799e 17:38:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:38:26 2107094bb20a: Preparing 17:38:26 a3e031aebee3: Preparing 17:38:26 2ca1b62b9d29: Preparing 17:38:26 ab044f34ce9b: Preparing 17:38:26 5d3e392a13a0: Preparing 17:38:26 5d3e392a13a0: Layer already exists 17:38:26 a3e031aebee3: Pushed 17:38:26 2107094bb20a: Pushed 17:38:27 ab044f34ce9b: Pushed 17:38:33 2ca1b62b9d29: Pushed 17:38:33 85f19cd4395ab38c9fed3c9acaecd010dfd8799e: digest: sha256:ed71cc42181234d2ec661fce3815f8758235446b1d37930f7b017541628d1790 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:33 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:33 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 17:38:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:38:33 2107094bb20a: Preparing 17:38:33 a3e031aebee3: Preparing 17:38:33 2ca1b62b9d29: Preparing 17:38:33 ab044f34ce9b: Preparing 17:38:33 5d3e392a13a0: Preparing 17:38:33 2107094bb20a: Layer already exists 17:38:33 2ca1b62b9d29: Layer already exists 17:38:33 5d3e392a13a0: Layer already exists 17:38:33 a3e031aebee3: Layer already exists 17:38:33 ab044f34ce9b: Layer already exists 17:38:33 latest: digest: sha256:ed71cc42181234d2ec661fce3815f8758235446b1d37930f7b017541628d1790 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:34 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.44 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:34 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.44 17:38:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:38:34 2107094bb20a: Preparing 17:38:34 a3e031aebee3: Preparing 17:38:34 2ca1b62b9d29: Preparing 17:38:34 ab044f34ce9b: Preparing 17:38:34 5d3e392a13a0: Preparing 17:38:34 2107094bb20a: Layer already exists 17:38:34 a3e031aebee3: Layer already exists 17:38:34 5d3e392a13a0: Layer already exists 17:38:34 2ca1b62b9d29: Layer already exists 17:38:34 ab044f34ce9b: Layer already exists 17:38:34 2.3.0-dev.44: digest: sha256:ed71cc42181234d2ec661fce3815f8758235446b1d37930f7b017541628d1790 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:35 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:85f19cd4395ab38c9fed3c9acaecd010dfd8799e-2.3.0-dev.44 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:35 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:85f19cd4395ab38c9fed3c9acaecd010dfd8799e-2.3.0-dev.44 17:38:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:38:35 2107094bb20a: Preparing 17:38:35 a3e031aebee3: Preparing 17:38:35 2ca1b62b9d29: Preparing 17:38:35 ab044f34ce9b: Preparing 17:38:35 5d3e392a13a0: Preparing 17:38:35 a3e031aebee3: Layer already exists 17:38:35 5d3e392a13a0: Layer already exists 17:38:35 2107094bb20a: Layer already exists 17:38:35 ab044f34ce9b: Layer already exists 17:38:35 2ca1b62b9d29: Layer already exists 17:38:35 85f19cd4395ab38c9fed3c9acaecd010dfd8799e-2.3.0-dev.44: digest: sha256:ed71cc42181234d2ec661fce3815f8758235446b1d37930f7b017541628d1790 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:36 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:36 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 17:38:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:38:36 2107094bb20a: Preparing 17:38:36 a3e031aebee3: Preparing 17:38:36 2ca1b62b9d29: Preparing 17:38:36 ab044f34ce9b: Preparing 17:38:36 5d3e392a13a0: Preparing 17:38:36 2107094bb20a: Layer already exists 17:38:36 ab044f34ce9b: Layer already exists 17:38:36 2ca1b62b9d29: Layer already exists 17:38:36 a3e031aebee3: Layer already exists 17:38:36 5d3e392a13a0: Layer already exists 17:38:36 main: digest: sha256:ed71cc42181234d2ec661fce3815f8758235446b1d37930f7b017541628d1790 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:38:36 ===================================================== [Pipeline] echo 17:38:36 taggedImages: 17:38:36 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:85f19cd4395ab38c9fed3c9acaecd010dfd8799e 17:38:36 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 17:38:36 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.44 17:38:36 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:85f19cd4395ab38c9fed3c9acaecd010dfd8799e-2.3.0-dev.44 17:38:36 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:38:37 17:38:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:38:37 arm64: Pulling from edgex-lftools-log-publisher 17:38:37 8998bd30e6a1: Pulling fs layer 17:38:37 04944245beec: Pulling fs layer 17:38:37 699f458cf7ca: Pulling fs layer 17:38:37 765212b225bb: Pulling fs layer 17:38:37 f23df028b6ca: Pulling fs layer 17:38:37 d65c8cfc05b1: Pulling fs layer 17:38:37 2437ff75d9bd: Pulling fs layer 17:38:37 765212b225bb: Waiting 17:38:37 f23df028b6ca: Waiting 17:38:37 d65c8cfc05b1: Waiting 17:38:37 2437ff75d9bd: Waiting 17:38:37 04944245beec: Verifying Checksum 17:38:37 04944245beec: Download complete 17:38:37 765212b225bb: Verifying Checksum 17:38:37 765212b225bb: Download complete 17:38:37 f23df028b6ca: Verifying Checksum 17:38:37 f23df028b6ca: Download complete 17:38:37 d65c8cfc05b1: Verifying Checksum 17:38:37 d65c8cfc05b1: Download complete 17:38:38 699f458cf7ca: Verifying Checksum 17:38:38 699f458cf7ca: Download complete 17:38:38 8998bd30e6a1: Verifying Checksum 17:38:38 8998bd30e6a1: Download complete 17:38:41 2437ff75d9bd: Verifying Checksum 17:38:41 2437ff75d9bd: Download complete 17:38:42 8998bd30e6a1: Pull complete 17:38:43 04944245beec: Pull complete 17:38:44 699f458cf7ca: Pull complete 17:38:44 765212b225bb: Pull complete 17:38:45 f23df028b6ca: Pull complete 17:38:45 d65c8cfc05b1: Pull complete 17:39:00 2437ff75d9bd: Pull complete 17:39:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:39:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:39:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:39:01 prd-ubuntu20.04-docker-arm64-4c-16g-118467 does not seem to be running inside a container 17:39:01 $ 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-onvif-camera/83 -v /w/workspace/device-onvif-camera/83:/w/workspace/device-onvif-camera/83:rw,z -v /w/workspace/device-onvif-camera/83@tmp:/w/workspace/device-onvif-camera/83@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:39:04 $ docker top d2abf96f9fe100920974b4127aba542f6e64bea4e83af474ee6df2383aed8b1e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:39:05 ---> job-cost.sh 17:39:05 lf-activate-venv: SKIPPING 17:39:05 INFO: No Stack... 17:39:06 INFO: Retrieving Pricing Info for: v3-standard-4 17:39:07 INFO: Archiving Costs [Pipeline] sh 17:39:07 + + cutcat -d, /w/workspace/device-onvif-camera/83/archives/cost.csv -f6 17:39:07 [Pipeline] lock 17:39:07 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-83-stack-cost] 17:39:07 Resource [jenkins-edgexfoundry-device-onvif-camera-main-83-stack-cost] did not exist. Created. 17:39:07 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-83-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:39:08 /w/workspace/device-onvif-camera/83@tmp/durable-db733711/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:39:09 + echo total: 0.10999999940395355 [Pipeline] stash 17:39:09 Warning: overwriting stash ‘stack-cost’ 17:39:09 Stashed 1 file(s) [Pipeline] } 17:39:09 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-83-stack-cost] [Pipeline] // lock [Pipeline] } 17:39:09 $ docker stop --time=1 d2abf96f9fe100920974b4127aba542f6e64bea4e83af474ee6df2383aed8b1e 17:39:10 $ docker rm -f d2abf96f9fe100920974b4127aba542f6e64bea4e83af474ee6df2383aed8b1e [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 17:39:11 provisioning config files... 17:39:11 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13259679283776982445tmp [Pipeline] { [Pipeline] sh 17:39:11 + set +x 17:39:11 + bash -s -- 17:39:11 + curl -s https://codecov.io/bash 17:39:11 17:39:11 _____ _ 17:39:11 / ____| | | 17:39:11 | | ___ __| | ___ ___ _____ __ 17:39:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:39:11 | |___| (_) | (_| | __/ (_| (_) \ V / 17:39:11 \_____\___/ \__,_|\___|\___\___/ \_/ 17:39:11 Bash-1.0.6 17:39:11 17:39:11 17:39:11 ==> git version 2.25.1 found 17:39:11 ==> 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 17:39:11 Release-Date: 2020-01-08 17:39:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:39:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:39:11 ==> Jenkins CI detected. 17:39:11 current dir:  /w/workspace/foundry_device-onvif-camera_main 17:39:11 project root: . 17:39:11 --> token set from env 17:39:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:39:11 ==> Running gcov in . (disable via -X gcov) 17:39:11 ==> Python coveragepy not found 17:39:11 ==> Searching for coverage reports in: 17:39:11 + . 17:39:11 -> Found 1 reports 17:39:11 ==> Detecting git/mercurial file structure 17:39:11 ==> Reading reports 17:39:11 + ./coverage.out bytes=79184 17:39:11 ==> Appending adjustments 17:39:11 https://docs.codecov.io/docs/fixing-reports 17:39:12 + Found adjustments 17:39:12 ==> Gzipping contents 17:39:12 12K /tmp/codecov.4DTAHP.gz 17:39:12 ==> Uploading reports 17:39:12 url: https://codecov.io 17:39:12 query: branch=main&commit=85f19cd4395ab38c9fed3c9acaecd010dfd8799e&build=83&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F83%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:39:12 -> Pinging Codecov 17:39:12 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=main&commit=85f19cd4395ab38c9fed3c9acaecd010dfd8799e&build=83&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F83%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:39:12 -> Uploading to 17:39:12 https://storage.googleapis.com/codecov/v4/raw/2022-11-07/F29A59C45E3A92E06B3E522C9905F8EF/85f19cd4395ab38c9fed3c9acaecd010dfd8799e/aae8481e-8651-4b2f-a37c-ade7888719f5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T173912Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6b9a7f1d68b251e1a9bb3c8d5c2159a99fe5f34fe0d6cc120491305a1e6c2fdd 17:39:12 % Total % Received % Xferd Average Speed Time Time Time Current 17:39:12 Dload Upload Total Spent Left Speed 17:39:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10853 0 0 100 10853 0 53463 --:--:-- --:--:-- --:--:-- 53200 100 10853 0 0 100 10853 0 47186 --:--:-- --:--:-- --:--:-- 46982 17:39:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/85f19cd4395ab38c9fed3c9acaecd010dfd8799e [Pipeline] } 17:39:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:39:12 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:39:12 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:39:13 17:39:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:39:13 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:39:13 df9b9388f04a: Pulling fs layer 17:39:13 52dc419b0ee2: Pulling fs layer 17:39:13 25bc292e5bac: Pulling fs layer 17:39:13 114826534d7a: Pulling fs layer 17:39:13 4657fd5d0bcf: Pulling fs layer 17:39:13 6ad1cebc031e: Pulling fs layer 17:39:13 8a3aa393b2d8: Pulling fs layer 17:39:13 114826534d7a: Waiting 17:39:13 4657fd5d0bcf: Waiting 17:39:13 8a3aa393b2d8: Waiting 17:39:13 6ad1cebc031e: Waiting 17:39:13 25bc292e5bac: Verifying Checksum 17:39:13 25bc292e5bac: Download complete 17:39:13 52dc419b0ee2: Verifying Checksum 17:39:13 52dc419b0ee2: Download complete 17:39:13 4657fd5d0bcf: Verifying Checksum 17:39:13 4657fd5d0bcf: Download complete 17:39:13 df9b9388f04a: Download complete 17:39:13 df9b9388f04a: Pull complete 17:39:13 6ad1cebc031e: Verifying Checksum 17:39:13 6ad1cebc031e: Download complete 17:39:13 52dc419b0ee2: Pull complete 17:39:13 25bc292e5bac: Pull complete 17:39:14 114826534d7a: Verifying Checksum 17:39:14 114826534d7a: Download complete 17:39:14 8a3aa393b2d8: Verifying Checksum 17:39:14 8a3aa393b2d8: Download complete 17:39:17 114826534d7a: Pull complete 17:39:17 4657fd5d0bcf: Pull complete 17:39:17 6ad1cebc031e: Pull complete 17:39:20 8a3aa393b2d8: Pull complete 17:39:20 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:39:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:39:20 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:39:21 prd-ubuntu20.04-docker-8c-8g-118461 does not seem to be running inside a container 17:39:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 17:39:22 $ docker top 8f286054ea37dc5138e311cb8ad0b4362b01d2cae6882d7c41ebb84bd5a35ed4 -eo pid,comm [Pipeline] { [Pipeline] echo 17:39:22 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 17:39:23 + set -o pipefail 17:39:23 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 17:39:28 17:39:28 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 17:39:28 17:39:28 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/f33cee8f-5915-4bfd-88de-59ca57905d93 17:39:28 17:39:28 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 17:39:28 17:39:28 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:39:28 17:39:29 17:39:29 A medium severity vulnerability was found in the Snyk CLI versions you are using. 17:39:29 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 17:39:29 More details here: https://snyk.co/ue1NS [Pipeline] } 17:39:29 $ docker stop --time=1 8f286054ea37dc5138e311cb8ad0b4362b01d2cae6882d7c41ebb84bd5a35ed4 17:39:31 $ docker rm -f 8f286054ea37dc5138e311cb8ad0b4362b01d2cae6882d7c41ebb84bd5a35ed4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 17:39:31 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:39:31 provisioning config files... 17:39:31 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config18306723440928665643tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:39:31 --> edgex-publish-swagger.sh 17:39:31 === Publish doc/openapi/v2 API === 17:39:31 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 17:39:31 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 17:39:31 % Total % Received % Xferd Average Speed Time Time Time Current 17:39:31 Dload Upload Total Spent Left Speed 17:39:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 547k --:--:-- --:--:-- --:--:-- 547k 17:39:32 17:39:32 [Pipeline] } 17:39:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:39:33 + git log --format=format:%s -1 85f19cd4395ab38c9fed3c9acaecd010dfd8799e [Pipeline] sh 17:39:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:39:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:39:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:39:33 prd-ubuntu20.04-docker-8c-8g-118461 does not seem to be running inside a container 17:39:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:39:34 $ docker top 7e431e029c7f437c6e9f1663b4b13129e38cf8e08e101bc06f52f6098809e60d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:39:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:39:34 [ssh-agent] Looking for ssh-agent implementation... 17:39:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:39:34 $ docker exec 7e431e029c7f437c6e9f1663b4b13129e38cf8e08e101bc06f52f6098809e60d ssh-agent 17:39:34 SSH_AUTH_SOCK=/tmp/ssh-2mzy6SN8n3i7/agent.32 17:39:34 SSH_AGENT_PID=39 17:39:34 Running ssh-add (command line suppressed) 17:39:34 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3392322954918099986.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3392322954918099986.key) 17:39:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:39:34 + git semver tag 17:39:35 2022-11-07 17:39:35,184 [run_tag] DEBUG tag force:False 17:39:35 2022-11-07 17:39:35,184 [check_head_tag] DEBUG check head tag 17:39:35 2022-11-07 17:39:35,185 [execute] INFO git cat-file --batch-check 17:39:35 2022-11-07 17:39:35,186 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 17:39:35 2022-11-07 17:39:35,189 [execute] INFO git cat-file --batch 17:39:35 2022-11-07 17:39:35,189 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 17:39:35 2022-11-07 17:39:35,215 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:39:35 2022-11-07 17:39:35,215 [execute] INFO git tag -a v2.3.0-dev.44 -m v2.3.0-dev.44 17:39:35 2022-11-07 17:39:35,215 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.44', '-m', 'v2.3.0-dev.44'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 17:39:35 2022-11-07 17:39:35,220 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:39:35 2.3.0-dev.44 [Pipeline] } 17:39:35 $ docker exec --env ******** --env ******** 7e431e029c7f437c6e9f1663b4b13129e38cf8e08e101bc06f52f6098809e60d ssh-agent -k 17:39:35 unset SSH_AUTH_SOCK; 17:39:35 unset SSH_AGENT_PID; 17:39:35 echo Agent pid 39 killed; 17:39:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:39:35 + git semver [Pipeline] } 17:39:35 $ docker stop --time=1 7e431e029c7f437c6e9f1663b4b13129e38cf8e08e101bc06f52f6098809e60d 17:39:37 $ docker rm -f 7e431e029c7f437c6e9f1663b4b13129e38cf8e08e101bc06f52f6098809e60d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:39:37 17:39:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:39:37 0.23.1-centos7: Pulling from edgex-lftools 17:39:37 ab5ef0e58194: Pulling fs layer 17:39:37 9712f1f96733: Pulling fs layer 17:39:37 63f879dbbcfc: Pulling fs layer 17:39:37 0d9ebad4ef96: Pulling fs layer 17:39:37 e9a5061849ea: Pulling fs layer 17:39:37 d747dcd14b5f: Pulling fs layer 17:39:37 2de7ff778b66: Pulling fs layer 17:39:37 d747dcd14b5f: Waiting 17:39:37 0d9ebad4ef96: Waiting 17:39:37 2de7ff778b66: Waiting 17:39:37 e9a5061849ea: Waiting 17:39:37 9712f1f96733: Verifying Checksum 17:39:37 9712f1f96733: Download complete 17:39:38 63f879dbbcfc: Verifying Checksum 17:39:38 63f879dbbcfc: Download complete 17:39:38 0d9ebad4ef96: Verifying Checksum 17:39:38 0d9ebad4ef96: Download complete 17:39:38 d747dcd14b5f: Verifying Checksum 17:39:38 d747dcd14b5f: Download complete 17:39:38 e9a5061849ea: Verifying Checksum 17:39:38 e9a5061849ea: Download complete 17:39:38 ab5ef0e58194: Download complete 17:39:38 2de7ff778b66: Verifying Checksum 17:39:38 2de7ff778b66: Download complete 17:39:41 ab5ef0e58194: Pull complete 17:39:41 9712f1f96733: Pull complete 17:39:41 63f879dbbcfc: Pull complete 17:39:45 0d9ebad4ef96: Pull complete 17:39:45 e9a5061849ea: Pull complete 17:39:45 d747dcd14b5f: Pull complete 17:39:46 2de7ff778b66: Pull complete 17:39:46 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:39:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:39:46 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:39:46 prd-ubuntu20.04-docker-8c-8g-118461 does not seem to be running inside a container 17:39:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 17:39:48 $ docker top 3da0956e2820692690223ab0c185525cc6c21dda5869d4c0f89885c11ab86c84 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:39:48 provisioning config files... 17:39:48 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15358093011570443132tmp 17:39:48 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5275700688335790159tmp 17:39:48 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9114168743233052214tmp [Pipeline] { [Pipeline] echo 17:39:48 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:39:48 ---> sigul-configuration.sh 17:39:48 gpg: directory `/root/.gnupg' created 17:39:48 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:39:48 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:39:48 gpg: keyring `/root/.gnupg/secring.gpg' created 17:39:48 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:39:48 gpg: CAST5 encrypted data 17:39:48 gpg: encrypted with 1 passphrase 17:39:48 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:39:49 + mkdir /home/jenkins 17:39:49 + mkdir /home/jenkins/sigul [Pipeline] sh 17:39:49 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 17:39:49 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:39:49 ---> sigul-install.sh 17:39:49 Sigul already installed; skipping installation. [Pipeline] sh 17:39:50 + git tag --list 17:39:50 v0.0.0 17:39:50 v0.0.1-dev.1 17:39:50 v0.0.1-dev.10 17:39:50 v0.0.1-dev.11 17:39:50 v0.0.1-dev.12 17:39:50 v0.0.1-dev.13 17:39:50 v0.0.1-dev.14 17:39:50 v0.0.1-dev.15 17:39:50 v0.0.1-dev.16 17:39:50 v0.0.1-dev.17 17:39:50 v0.0.1-dev.18 17:39:50 v0.0.1-dev.19 17:39:50 v0.0.1-dev.2 17:39:50 v0.0.1-dev.20 17:39:50 v0.0.1-dev.21 17:39:50 v0.0.1-dev.22 17:39:50 v0.0.1-dev.23 17:39:50 v0.0.1-dev.24 17:39:50 v0.0.1-dev.25 17:39:50 v0.0.1-dev.26 17:39:50 v0.0.1-dev.27 17:39:50 v0.0.1-dev.28 17:39:50 v0.0.1-dev.3 17:39:50 v0.0.1-dev.4 17:39:50 v0.0.1-dev.5 17:39:50 v0.0.1-dev.6 17:39:50 v0.0.1-dev.7 17:39:50 v0.0.1-dev.8 17:39:50 v0.0.1-dev.9 17:39:50 v2.2.0 17:39:50 v2.2.0-dev.29 17:39:50 v2.2.0-dev.30 17:39:50 v2.2.0-dev.31 17:39:50 v2.2.0-dev.32 17:39:50 v2.2.0-dev.33 17:39:50 v2.2.0-dev.34 17:39:50 v2.2.0-dev.35 17:39:50 v2.3.0-dev.1 17:39:50 v2.3.0-dev.10 17:39:50 v2.3.0-dev.11 17:39:50 v2.3.0-dev.12 17:39:50 v2.3.0-dev.13 17:39:50 v2.3.0-dev.14 17:39:50 v2.3.0-dev.15 17:39:50 v2.3.0-dev.16 17:39:50 v2.3.0-dev.17 17:39:50 v2.3.0-dev.18 17:39:50 v2.3.0-dev.19 17:39:50 v2.3.0-dev.2 17:39:50 v2.3.0-dev.20 17:39:50 v2.3.0-dev.21 17:39:50 v2.3.0-dev.22 17:39:50 v2.3.0-dev.23 17:39:50 v2.3.0-dev.24 17:39:50 v2.3.0-dev.25 17:39:50 v2.3.0-dev.26 17:39:50 v2.3.0-dev.27 17:39:50 v2.3.0-dev.28 17:39:50 v2.3.0-dev.29 17:39:50 v2.3.0-dev.3 17:39:50 v2.3.0-dev.30 17:39:50 v2.3.0-dev.31 17:39:50 v2.3.0-dev.32 17:39:50 v2.3.0-dev.33 17:39:50 v2.3.0-dev.34 17:39:50 v2.3.0-dev.35 17:39:50 v2.3.0-dev.36 17:39:50 v2.3.0-dev.37 17:39:50 v2.3.0-dev.38 17:39:50 v2.3.0-dev.39 17:39:50 v2.3.0-dev.4 17:39:50 v2.3.0-dev.40 17:39:50 v2.3.0-dev.41 17:39:50 v2.3.0-dev.42 17:39:50 v2.3.0-dev.43 17:39:50 v2.3.0-dev.44 17:39:50 v2.3.0-dev.5 17:39:50 v2.3.0-dev.6 17:39:50 v2.3.0-dev.7 17:39:50 v2.3.0-dev.8 17:39:50 v2.3.0-dev.9 [Pipeline] sh 17:39:50 + lftools sign git-tag v2.3.0-dev.44 17:39:50 Signing Git tag with Sigul... 17:39:50 Signing v2.3.0-dev.44 [Pipeline] echo 17:39:51 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:39:51 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:39:51 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:39:51 $ docker stop --time=1 3da0956e2820692690223ab0c185525cc6c21dda5869d4c0f89885c11ab86c84 17:39:53 $ docker rm -f 3da0956e2820692690223ab0c185525cc6c21dda5869d4c0f89885c11ab86c84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:39:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:39:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:39:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:39:53 prd-ubuntu20.04-docker-8c-8g-118461 does not seem to be running inside a container 17:39:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:39:54 $ docker top 5cf32c97c62f735d5c7a41ce9d5c9437270f2f430a78b32485dbe3a6106e2203 -eo pid,comm 17:39:54 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). 17:39:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:39:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:39:54 [ssh-agent] Looking for ssh-agent implementation... 17:39:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:39:54 $ docker exec 5cf32c97c62f735d5c7a41ce9d5c9437270f2f430a78b32485dbe3a6106e2203 ssh-agent 17:39:54 SSH_AUTH_SOCK=/tmp/ssh-AANxYNtdG9Nv/agent.32 17:39:54 SSH_AGENT_PID=38 17:39:54 Running ssh-add (command line suppressed) 17:39:54 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4417596220234989040.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4417596220234989040.key) 17:39:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:39:54 + git semver bump pre 17:39:55 2022-11-07 17:39:55,160 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:39:55 2022-11-07 17:39:55,160 [bump_version] DEBUG bumping version:2.3.0-dev.44 on axis:pre with prefix:dev 17:39:55 2022-11-07 17:39:55,161 [bump_version] DEBUG bumped version:2.3.0-dev.45 17:39:55 2022-11-07 17:39:55,161 [write_version] DEBUG write version:2.3.0-dev.45 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 17:39:55 2022-11-07 17:39:55,161 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:39:55 2022-11-07 17:39:55,161 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 17:39:55 2022-11-07 17:39:55,162 [execute] INFO git cat-file --batch-check 17:39:55 2022-11-07 17:39:55,163 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:39:55 2022-11-07 17:39:55,167 [execute] INFO git cat-file --batch 17:39:55 2022-11-07 17:39:55,168 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:39:55 2022-11-07 17:39:55,173 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:39:55 2.3.0-dev.45 [Pipeline] } 17:39:55 $ docker exec --env ******** --env ******** 5cf32c97c62f735d5c7a41ce9d5c9437270f2f430a78b32485dbe3a6106e2203 ssh-agent -k 17:39:55 unset SSH_AUTH_SOCK; 17:39:55 unset SSH_AGENT_PID; 17:39:55 echo Agent pid 38 killed; 17:39:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:39:55 + git semver [Pipeline] } 17:39:55 $ docker stop --time=1 5cf32c97c62f735d5c7a41ce9d5c9437270f2f430a78b32485dbe3a6106e2203 17:39:57 $ docker rm -f 5cf32c97c62f735d5c7a41ce9d5c9437270f2f430a78b32485dbe3a6106e2203 [Pipeline] // withDockerContainer [Pipeline] sh 17:39:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:39:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:39:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:39:57 prd-ubuntu20.04-docker-8c-8g-118461 does not seem to be running inside a container 17:39:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:39:58 $ docker top 11d9380e17b08ca2e1bc46892699ba0faa93578cdbde13106b962b8757a6fa1c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:39:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:39:58 [ssh-agent] Looking for ssh-agent implementation... 17:39:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:39:58 $ docker exec 11d9380e17b08ca2e1bc46892699ba0faa93578cdbde13106b962b8757a6fa1c ssh-agent 17:39:58 SSH_AUTH_SOCK=/tmp/ssh-YUaD4q7O6awa/agent.32 17:39:58 SSH_AGENT_PID=38 17:39:58 Running ssh-add (command line suppressed) 17:39:58 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2688191160369235550.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2688191160369235550.key) 17:39:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:39:59 + git semver push 17:39:59 2022-11-07 17:39:59,278 [run_push] DEBUG push 17:39:59 2022-11-07 17:39:59,279 [execute] INFO git cat-file --batch-check 17:39:59 2022-11-07 17:39:59,279 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:39:59 2022-11-07 17:39:59,282 [execute] INFO git rev-list 6d76db1d73bdf564fe849daf7360cd06d18ce0d8 -- 17:39:59 2022-11-07 17:39:59,282 [execute] DEBUG Popen(['git', 'rev-list', '6d76db1d73bdf564fe849daf7360cd06d18ce0d8', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:39:59 2022-11-07 17:39:59,288 [execute] INFO git fetch -v origin 17:39:59 2022-11-07 17:39:59,288 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 17:39:59 2022-11-07 17:39:59,836 [run_push] DEBUG no remote changes detected 17:39:59 2022-11-07 17:39:59,836 [execute] INFO git push origin semver 17:39:59 2022-11-07 17:39:59,837 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:40:00 2022-11-07 17:40:00,639 [run_push] DEBUG push all version tags 17:40:00 2022-11-07 17:40:00,640 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:40:00 2022-11-07 17:40:00,640 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 17:40:01 2022-11-07 17:40:01,459 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:40:01 2.3.0-dev.45 [Pipeline] } 17:40:01 $ docker exec --env ******** --env ******** 11d9380e17b08ca2e1bc46892699ba0faa93578cdbde13106b962b8757a6fa1c ssh-agent -k 17:40:01 unset SSH_AUTH_SOCK; 17:40:01 unset SSH_AGENT_PID; 17:40:01 echo Agent pid 38 killed; 17:40:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:40:02 + git semver [Pipeline] } 17:40:02 $ docker stop --time=1 11d9380e17b08ca2e1bc46892699ba0faa93578cdbde13106b962b8757a6fa1c 17:40:03 $ docker rm -f 11d9380e17b08ca2e1bc46892699ba0faa93578cdbde13106b962b8757a6fa1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:40:04 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 17:40:04 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 17:40:04 total 16 17:40:04 drwxr-xr-x 3 root root 4096 Nov 7 17:27 . 17:40:04 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 17:39 .. 17:40:04 drwxr-xr-x 2 root root 4096 Nov 7 17:27 cost 17:40:04 -rw-r--r-- 1 root root 90 Nov 7 17:27 cost.csv 17:40:04 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 17:40:04 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 17:40:04 total 16 17:40:04 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 17:27 . 17:40:04 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 17:39 .. 17:40:04 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 17:27 cost 17:40:04 -rw-r--r-- 1 jenkins jenkins 90 Nov 7 17:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:40:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:40:05 ---> package-listing.sh 17:40:05 ++ facter osfamily 17:40:05 ++ tr '[:upper:]' '[:lower:]' 17:40:05 + OS_FAMILY=debian 17:40:05 + workspace=/w/workspace/foundry_device-onvif-camera_main 17:40:05 + START_PACKAGES=/tmp/packages_start.txt 17:40:05 + END_PACKAGES=/tmp/packages_end.txt 17:40:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:40:05 + PACKAGES=/tmp/packages_start.txt 17:40:05 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 17:40:05 + PACKAGES=/tmp/packages_end.txt 17:40:05 + case "${OS_FAMILY}" in 17:40:05 + dpkg -l 17:40:05 + grep '^ii' 17:40:05 + '[' -f /tmp/packages_start.txt ']' 17:40:05 + '[' -f /tmp/packages_end.txt ']' 17:40:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:40:05 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 17:40:05 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 17:40:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 17:40:05 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/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:40:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:40:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:06 prd-ubuntu20.04-docker-8c-8g-118461 does not seem to be running inside a container 17:40:06 $ 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/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:40:07 $ docker top 9546152cafb5358261a0fe488d14c8188d9036acfec30df408b4ed36c8b1372b -eo pid,comm [Pipeline] { [Pipeline] sh 17:40:07 + touch /tmp/pre-build-complete [Pipeline] sh 17:40:07 + mkdir -p /var/log/sysstat [Pipeline] sh 17:40:07 + ls /var/log/sa-host 17:40:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:40:07 provisioning config files... 17:40:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config230266678270554534tmp [Pipeline] { [Pipeline] echo 17:40:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:40:08 ---> create-netrc.sh [Pipeline] } 17:40:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:40:08 ---> python-tools-install.sh [Pipeline] echo 17:40:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:40:08 ---> sudo-logs.sh 17:40:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:40:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:40:09 ---> job-cost.sh 17:40:09 lf-activate-venv: SKIPPING 17:40:09 DEBUG: total: 0.2199999988079071 17:40:09 INFO: Retrieving Stack Cost... 17:40:09 INFO: Retrieving Pricing Info for: v3-standard-8 17:40:09 INFO: Archiving Costs [Pipeline] echo 17:40:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:40:10 ---> logs-deploy.sh 17:40:10 lf-activate-venv: SKIPPING 17:40:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/83 17:40:10 INFO: archiving workspace using pattern(s): 17:40:11 Archives upload complete. 17:40:11 INFO: archiving logs to Nexus