Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3b1bc18db7597dbaf746352fd3998179838ce784 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-ssh12578205073726785289.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7428143910712732266.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-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-ssh326605328474932028.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15927723612692979386.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-ssh3533143282231325397.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6886 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 3b1bc18db7597dbaf746352fd3998179838ce784 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#170)" > 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 3b1bc18db7597dbaf746352fd3998179838ce784 # timeout=10 > git rev-list --no-walk 2a5a153b38960530813a839b4b25ddc04c5f9660 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:17:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:17:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:17:30 ========================================================= 16:17:30 EdgeX Global Pipelines Version Info 16:17:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:17:30 ------------------- 16:17:30 stable info: 16:17:30 ------------------- 16:17:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:17:30 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 16:17:30 Message: update stable to v1.0.239 16:17:31 ------------------- 16:17:31 experimental info: 16:17:31 ------------------- 16:17:31 Commited By: **** collab-it+edgex@linuxfoundation.org 16:17:31 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 16:17:31 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3b1bc18db7597dbaf746352fd3998179838ce784 [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3b1bc18 [Pipeline] echo 16:17:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:17:31 provisioning config files... 16:17:31 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4795047788621175570tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:17:32 ---> docker-login.sh 16:17:32 nexus3.edgexfoundry.org:10001 16:17:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:32 Configure a credential helper to remove this warning. See 16:17:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:32 16:17:32 Login Succeeded 16:17:32 nexus3.edgexfoundry.org:10002 16:17:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:32 Configure a credential helper to remove this warning. See 16:17:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:32 16:17:32 Login Succeeded 16:17:32 nexus3.edgexfoundry.org:10003 16:17:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:32 Configure a credential helper to remove this warning. See 16:17:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:32 16:17:32 Login Succeeded 16:17:32 nexus3.edgexfoundry.org:10004 16:17:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:32 Configure a credential helper to remove this warning. See 16:17:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:32 16:17:32 Login Succeeded 16:17:32 docker.io 16:17:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:33 Configure a credential helper to remove this warning. See 16:17:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:33 16:17:33 Login Succeeded 16:17:33 ---> docker-login.sh ends [Pipeline] } 16:17:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:17:33 + git rev-list -1 --merges 3b1bc18db7597dbaf746352fd3998179838ce784~1..3b1bc18db7597dbaf746352fd3998179838ce784 [Pipeline] echo 16:17:33 -----------> git rev-list -1 --merges 3b1bc18db7597dbaf746352fd3998179838ce784~1..3b1bc18db7597dbaf746352fd3998179838ce784 3b1bc18db7597dbaf746352fd3998179838ce784 [false] [Pipeline] sh 16:17:33 + git log --format=format:%s -1 3b1bc18db7597dbaf746352fd3998179838ce784 [Pipeline] echo 16:17:33 ========================================================= 16:17:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:17:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:17:34 + git log --format=format:%s -1 3b1bc18db7597dbaf746352fd3998179838ce784 [Pipeline] echo 16:17:34 [semverPrep] GIT_COMMIT: 3b1bc18db7597dbaf746352fd3998179838ce784, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#170) [Pipeline] echo 16:17:34 [semverPrep] This is not a build commit. [Pipeline] sh 16:17:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:17:34 + grep -v github /etc/ssh/ssh_known_hosts 16:17:34 + [ -e /tmp/ssh_known_hosts ] 16:17:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:17:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:17:34 + sudo tee -a /etc/ssh/ssh_known_hosts 16:17:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:17:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:17:34 16:17:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:17:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:17:35 0.1.4: Pulling from edgex-devops/py-git-semver 16:17:35 b85a868b505f: Pulling fs layer 16:17:35 e2be974225ed: Pulling fs layer 16:17:35 339a4e72a1f5: Pulling fs layer 16:17:35 988bab9f4d93: Pulling fs layer 16:17:35 1469e6f7b9e6: Pulling fs layer 16:17:35 eaf3925da568: Pulling fs layer 16:17:35 bab4dde63d76: Pulling fs layer 16:17:35 bde34c3a00c8: Pulling fs layer 16:17:35 b352a97aabf1: Pulling fs layer 16:17:35 4872d77fe225: Pulling fs layer 16:17:35 5851b861e8e6: Pulling fs layer 16:17:35 bab4dde63d76: Waiting 16:17:35 5851b861e8e6: Waiting 16:17:35 4872d77fe225: Waiting 16:17:35 bde34c3a00c8: Waiting 16:17:35 eaf3925da568: Waiting 16:17:35 b352a97aabf1: Waiting 16:17:35 1469e6f7b9e6: Waiting 16:17:35 988bab9f4d93: Waiting 16:17:35 e2be974225ed: Download complete 16:17:35 988bab9f4d93: Verifying Checksum 16:17:35 988bab9f4d93: Download complete 16:17:35 1469e6f7b9e6: Verifying Checksum 16:17:35 1469e6f7b9e6: Download complete 16:17:35 339a4e72a1f5: Verifying Checksum 16:17:35 339a4e72a1f5: Download complete 16:17:35 eaf3925da568: Verifying Checksum 16:17:35 eaf3925da568: Download complete 16:17:35 bde34c3a00c8: Verifying Checksum 16:17:35 bde34c3a00c8: Download complete 16:17:35 b352a97aabf1: Download complete 16:17:35 4872d77fe225: Verifying Checksum 16:17:35 4872d77fe225: Download complete 16:17:35 5851b861e8e6: Download complete 16:17:35 b85a868b505f: Verifying Checksum 16:17:35 b85a868b505f: Download complete 16:17:35 bab4dde63d76: Verifying Checksum 16:17:35 bab4dde63d76: Download complete 16:17:36 b85a868b505f: Pull complete 16:17:37 e2be974225ed: Pull complete 16:17:37 339a4e72a1f5: Pull complete 16:17:37 988bab9f4d93: Pull complete 16:17:37 1469e6f7b9e6: Pull complete 16:17:37 eaf3925da568: Pull complete 16:17:39 bab4dde63d76: Pull complete 16:17:39 bde34c3a00c8: Pull complete 16:17:39 b352a97aabf1: Pull complete 16:17:39 4872d77fe225: Pull complete 16:17:39 5851b861e8e6: Pull complete 16:17:39 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:17:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:17:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:17:40 prd-ubuntu20.04-docker-8c-8g-6886 does not seem to be running inside a container 16:17:40 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:17:41 $ docker top f41d0f082a70ee4b5e098245045ab5afdd52a4465ad1f19b9793025feaa45b6d -eo pid,comm 16:17:41 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). 16:17:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:17:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:17:41 [ssh-agent] Looking for ssh-agent implementation... 16:17:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:17:41 $ docker exec f41d0f082a70ee4b5e098245045ab5afdd52a4465ad1f19b9793025feaa45b6d ssh-agent 16:17:41 SSH_AUTH_SOCK=/tmp/ssh-fFDdc0Tg1J7Z/agent.33 16:17:41 SSH_AGENT_PID=39 16:17:41 Running ssh-add (command line suppressed) 16:17:42 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3445790204290827359.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3445790204290827359.key) 16:17:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:17:42 + git tag --points-at HEAD [Pipeline] } 16:17:42 $ docker exec --env ******** --env ******** f41d0f082a70ee4b5e098245045ab5afdd52a4465ad1f19b9793025feaa45b6d ssh-agent -k 16:17:42 unset SSH_AUTH_SOCK; 16:17:42 unset SSH_AGENT_PID; 16:17:42 echo Agent pid 39 killed; 16:17:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:17:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:17:42 [ssh-agent] Looking for ssh-agent implementation... 16:17:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:17:42 $ docker exec f41d0f082a70ee4b5e098245045ab5afdd52a4465ad1f19b9793025feaa45b6d ssh-agent 16:17:42 SSH_AUTH_SOCK=/tmp/ssh-K3bjvZKrdie2/agent.71 16:17:42 SSH_AGENT_PID=77 16:17:42 Running ssh-add (command line suppressed) 16:17:42 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6910057258724034818.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6910057258724034818.key) 16:17:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:17:43 + git semver init 16:17:43 2022-10-03 16:17:43,331 [run_init] DEBUG init version:0.0.0 force:False 16:17:43 2022-10-03 16:17:43,332 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 16:17:43 2022-10-03 16:17:43,332 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 16:17:43 2022-10-03 16:17:43,332 [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) 16:17:44 2022-10-03 16:17:44,263 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 16:17:44 2022-10-03 16:17:44,263 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 16:17:44 2022-10-03 16:17:44,263 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:17:44 2022-10-03 16:17:44,264 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:17:44 2.3.0-dev.27 [Pipeline] } 16:17:44 $ docker exec --env ******** --env ******** f41d0f082a70ee4b5e098245045ab5afdd52a4465ad1f19b9793025feaa45b6d ssh-agent -k 16:17:44 unset SSH_AUTH_SOCK; 16:17:44 unset SSH_AGENT_PID; 16:17:44 echo Agent pid 77 killed; 16:17:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:17:44 + git semver [Pipeline] } 16:17:45 $ docker stop --time=1 f41d0f082a70ee4b5e098245045ab5afdd52a4465ad1f19b9793025feaa45b6d 16:17:46 $ docker rm -f f41d0f082a70ee4b5e098245045ab5afdd52a4465ad1f19b9793025feaa45b6d [Pipeline] // withDockerContainer [Pipeline] sh 16:17:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:17:46 Stashed 1 file(s) [Pipeline] echo 16:17:46 [edgeXSemver]: initialized semver on version 2.3.0-dev.27 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:17:47 provisioning config files... 16:17:47 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config274013090582663008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:17:47 ---> docker-login.sh 16:17:47 nexus3.edgexfoundry.org:10001 16:17:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:47 Configure a credential helper to remove this warning. See 16:17:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:47 16:17:47 Login Succeeded 16:17:47 nexus3.edgexfoundry.org:10002 16:17:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:47 Configure a credential helper to remove this warning. See 16:17:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:47 16:17:47 Login Succeeded 16:17:47 nexus3.edgexfoundry.org:10003 16:17:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:47 Configure a credential helper to remove this warning. See 16:17:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:47 16:17:47 Login Succeeded 16:17:47 nexus3.edgexfoundry.org:10004 16:17:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:47 Configure a credential helper to remove this warning. See 16:17:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:47 16:17:47 Login Succeeded 16:17:47 docker.io 16:17:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:48 Configure a credential helper to remove this warning. See 16:17:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:48 16:17:48 Login Succeeded 16:17:48 ---> docker-login.sh ends [Pipeline] } 16:17:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:17:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:17:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:17:48 ========================================================= 16:17:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:17:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:17:48 + 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 . 16:17:48 Sending build context to Docker daemon 20.76MB 16:17:48 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 16:17:48 Step 2/14 : FROM ${BASE} AS builder 16:17:49 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:17:49 2408cc74d12b: Pulling fs layer 16:17:49 ea60b727a1ce: Pulling fs layer 16:17:49 30c4a7721957: Pulling fs layer 16:17:49 370296b7ddb6: Pulling fs layer 16:17:49 7c6cee850709: Pulling fs layer 16:17:49 370296b7ddb6: Waiting 16:17:49 aa9baa53a306: Pulling fs layer 16:17:49 7c6cee850709: Waiting 16:17:49 8b309c321861: Pulling fs layer 16:17:49 d8d76fd02f46: Pulling fs layer 16:17:49 aa9baa53a306: Waiting 16:17:49 8b309c321861: Waiting 16:17:49 fa31f396de31: Pulling fs layer 16:17:49 d8d76fd02f46: Waiting 16:17:49 fa31f396de31: Waiting 16:17:49 30c4a7721957: Download complete 16:17:49 ea60b727a1ce: Verifying Checksum 16:17:49 ea60b727a1ce: Download complete 16:17:49 7c6cee850709: Verifying Checksum 16:17:49 7c6cee850709: Download complete 16:17:49 aa9baa53a306: Verifying Checksum 16:17:49 aa9baa53a306: Download complete 16:17:49 2408cc74d12b: Verifying Checksum 16:17:49 2408cc74d12b: Download complete 16:17:49 8b309c321861: Verifying Checksum 16:17:49 8b309c321861: Download complete 16:17:49 2408cc74d12b: Pull complete 16:17:49 ea60b727a1ce: Pull complete 16:17:49 30c4a7721957: Pull complete 16:17:49 fa31f396de31: Verifying Checksum 16:17:49 fa31f396de31: Download complete 16:17:49 d8d76fd02f46: Verifying Checksum 16:17:49 d8d76fd02f46: Download complete 16:17:49 370296b7ddb6: Download complete 16:17:54 370296b7ddb6: Pull complete 16:17:54 7c6cee850709: Pull complete 16:17:54 aa9baa53a306: Pull complete 16:17:54 8b309c321861: Pull complete 16:17:56 d8d76fd02f46: Pull complete 16:17:57 fa31f396de31: Pull complete 16:17:57 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 16:17:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:17:57 ---> cef68f9685f8 16:17:57 Step 3/14 : ARG ADD_BUILD_TAGS="" 16:17:59 ---> Running in d0f73ed3594e 16:17:59 Removing intermediate container d0f73ed3594e 16:17:59 ---> 84732bef2f6a 16:17:59 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:17:59 ---> Running in 650445b76879 16:17:59 Removing intermediate container 650445b76879 16:17:59 ---> 07439a09a084 16:17:59 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:17:59 ---> Running in ba6717093b3e 16:17:59 Removing intermediate container ba6717093b3e 16:17:59 ---> bdde6e5041fa 16:17:59 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 16:17:59 ---> Running in bac97d6aaa65 16:17:59 Removing intermediate container bac97d6aaa65 16:17:59 ---> f9462712a686 16:17:59 Step 7/14 : LABEL Name=edgex-device-onvif-camera 16:17:59 ---> Running in 49c416f2f563 16:17:59 Removing intermediate container 49c416f2f563 16:17:59 ---> 5eaacedb60e1 16:17:59 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:17:59 ---> Running in b5e3d4fe369d 16:18:00 Removing intermediate container b5e3d4fe369d 16:18:00 ---> 1352c911c1f1 16:18:00 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:18:00 ---> Running in 368ae9f3292b 16:18:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:18:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:18:01 Still waiting to schedule task 16:18:01 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 16:18:02 OK: 211 MiB in 51 packages 16:18:02 Removing intermediate container 368ae9f3292b 16:18:02 ---> 232918b6a8cf 16:18:02 Step 10/14 : WORKDIR /device-onvif-camera 16:18:02 ---> Running in 2ab717c157b5 16:18:02 Removing intermediate container 2ab717c157b5 16:18:02 ---> 38f45d9b29c2 16:18:02 Step 11/14 : COPY go.mod vendor* ./ 16:18:02 ---> 3f9d7e09b8d1 16:18:02 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:18:02 ---> Running in f8538a86374f 16:18:29 Removing intermediate container f8538a86374f 16:18:29 ---> a1bd4304c6eb 16:18:29 Step 13/14 : COPY . . 16:18:29 ---> 50a72a28e2ed 16:18:29 Step 14/14 : RUN ${MAKE} 16:18:29 ---> Running in f9cb39dd5b0c 16:18:29 noop 16:18:29 Removing intermediate container f9cb39dd5b0c 16:18:29 ---> fb368b6c7204 16:18:29 Successfully built fb368b6c7204 16:18:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:29 + docker inspect -f . ci-base-image-x86_64 16:18:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:18:29 prd-ubuntu20.04-docker-8c-8g-6886 does not seem to be running inside a container 16:18:29 $ 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 ******** ci-base-image-x86_64 cat 16:18:30 $ docker top dc0676cbc2c6adf97d5a1a9b1dcf48919b3b7cc4ba4451c23597b58108f4288b -eo pid,comm [Pipeline] { [Pipeline] sh 16:18:30 + go version 16:18:30 go version go1.18.3 linux/amd64 [Pipeline] } 16:18:30 $ docker stop --time=1 dc0676cbc2c6adf97d5a1a9b1dcf48919b3b7cc4ba4451c23597b58108f4288b 16:18:31 $ docker rm -f dc0676cbc2c6adf97d5a1a9b1dcf48919b3b7cc4ba4451c23597b58108f4288b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:32 + docker inspect -f . ci-base-image-x86_64 16:18:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:18:32 prd-ubuntu20.04-docker-8c-8g-6886 does not seem to be running inside a container 16:18:32 $ 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 ******** ci-base-image-x86_64 cat 16:18:32 $ docker top 1dc49ca7a75c148f22357bea0ac193bf50274cf29395e9bd7ae396962d4498c8 -eo pid,comm [Pipeline] { [Pipeline] sh 16:18:32 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 16:18:33 + make test 16:18:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:18:33 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:18:45 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:18:45 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.037s coverage: 28.2% of statements 16:18:45 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:18:45 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.430s coverage: 86.5% of statements 16:18:54 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." 16:18:54 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:18:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:18:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:18:57 ./bin/test-attribution-txt.sh [Pipeline] echo 16:18:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:18:57 $ docker stop --time=1 1dc49ca7a75c148f22357bea0ac193bf50274cf29395e9bd7ae396962d4498c8 16:18:59 $ docker rm -f 1dc49ca7a75c148f22357bea0ac193bf50274cf29395e9bd7ae396962d4498c8 [Pipeline] // withDockerContainer [Pipeline] sh 16:18:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:18:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:19:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:19:00 + ls -al . 16:19:00 total 236 16:19:00 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 16:18 . 16:19:00 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 16:17 .. 16:19:00 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 16:18 .git 16:19:00 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 16:17 .github 16:19:00 -rw-rw-r-- 1 jenkins jenkins 418 Oct 3 16:17 .gitignore 16:19:00 -rw-rw-r-- 1 jenkins jenkins 42 Oct 3 16:17 .golangci.yml 16:19:00 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 16:17 .semver 16:19:00 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 3 16:17 Attribution.txt 16:19:00 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 3 16:17 CHANGELOG.md 16:19:00 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 3 16:17 Dockerfile 16:19:00 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 16:17 GOVERNANCE.md 16:19:00 -rw-rw-r-- 1 jenkins jenkins 734 Oct 3 16:17 Jenkinsfile 16:19:00 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 3 16:17 LICENSE 16:19:00 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 3 16:17 Makefile 16:19:00 -rw-rw-r-- 1 jenkins jenkins 625 Oct 3 16:17 OWNERS.md 16:19:00 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 3 16:17 README.md 16:19:00 -rw-rw-r-- 1 jenkins jenkins 12 Oct 3 16:17 VERSION 16:19:00 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 16:17 bin 16:19:00 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 16:17 cmd 16:19:00 -rw-r--r-- 1 jenkins jenkins 78461 Oct 3 16:18 coverage.out 16:19:00 drwxrwxr-x 6 jenkins jenkins 4096 Oct 3 16:17 doc 16:19:00 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 3 16:17 go.mod 16:19:00 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 3 16:17 go.sum 16:19:00 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 16:17 internal 16:19:00 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 16:17 snap 16:19:00 -rw-rw-r-- 1 jenkins jenkins 236 Oct 3 16:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:19:00 + 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=3b1bc18db7597dbaf746352fd3998179838ce784 --label arch=amd64 --label version=2.3.0-dev.27 . 16:19:00 Sending build context to Docker daemon 20.84MB 16:19:00 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 16:19:00 Step 2/27 : FROM ${BASE} AS builder 16:19:00 ---> fb368b6c7204 16:19:00 Step 3/27 : ARG ADD_BUILD_TAGS="" 16:19:01 ---> Running in 3169d6bd446b 16:19:01 Removing intermediate container 3169d6bd446b 16:19:01 ---> 2187d900ec14 16:19:01 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:19:01 ---> Running in c282675bb889 16:19:01 Removing intermediate container c282675bb889 16:19:01 ---> 81d92dcda6d0 16:19:01 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:19:01 ---> Running in 60ea2e4d2622 16:19:01 Removing intermediate container 60ea2e4d2622 16:19:01 ---> 6808423e8b46 16:19:01 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 16:19:01 ---> Running in 04b5645fe6fd 16:19:01 Removing intermediate container 04b5645fe6fd 16:19:01 ---> 9c2b04fe91d1 16:19:01 Step 7/27 : LABEL Name=edgex-device-onvif-camera 16:19:01 ---> Running in f150f289f97d 16:19:01 Removing intermediate container f150f289f97d 16:19:01 ---> b78064f88011 16:19:01 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:19:01 ---> Running in f56fa3044d8f 16:19:02 Removing intermediate container f56fa3044d8f 16:19:02 ---> 3835a7481e7d 16:19:02 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:19:02 ---> Running in ed5eeeb578eb 16:19:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:19:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:19:04 OK: 211 MiB in 51 packages 16:19:04 Removing intermediate container ed5eeeb578eb 16:19:04 ---> a6853c1df87b 16:19:04 Step 10/27 : WORKDIR /device-onvif-camera 16:19:04 ---> Running in 85f90582e7cf 16:19:04 Removing intermediate container 85f90582e7cf 16:19:04 ---> 927938cf67dd 16:19:04 Step 11/27 : COPY go.mod vendor* ./ 16:19:04 ---> 4458f90c5019 16:19:04 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:19:04 ---> Running in 359138ec3bb8 16:19:05 Removing intermediate container 359138ec3bb8 16:19:05 ---> 5d0a70744463 16:19:05 Step 13/27 : COPY . . 16:19:06 ---> 606034f8baae 16:19:06 Step 14/27 : RUN ${MAKE} 16:19:06 ---> Running in 4bd35e7509a4 16:19:06 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.27 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 16:19:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6887 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 16:19:32 Running in /w/workspace/device-onvif-camera/66 [Pipeline] { [Pipeline] checkout 16:19:32 The recommended git tool is: git 16:19:32 Removing intermediate container 4bd35e7509a4 16:19:32 ---> 00c522ea00e7 16:19:32 Step 15/27 : FROM alpine:3.16 16:19:32 3.16: Pulling from library/alpine 16:19:32 213ec9aee27d: Pulling fs layer 16:19:32 213ec9aee27d: Verifying Checksum 16:19:32 213ec9aee27d: Download complete 16:19:32 213ec9aee27d: Pull complete 16:19:32 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:19:32 Status: Downloaded newer image for alpine:3.16 16:19:32 ---> 9c6f07244728 16:19:32 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:19:32 ---> Running in 206510440a46 16:19:32 Removing intermediate container 206510440a46 16:19:32 ---> 91f2613ecc0f 16:19:32 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 16:19:32 ---> Running in 86a5483d16ea 16:19:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:19:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:19:32 (1/6) Installing dumb-init (1.2.5-r1) 16:19:32 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:19:32 (3/6) Installing libsodium (1.0.18-r0) 16:19:32 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:19:32 (5/6) Installing libzmq (4.3.4-r0) 16:19:32 (6/6) Installing zeromq (4.3.4-r0) 16:19:32 Executing busybox-1.35.0-r17.trigger 16:19:32 OK: 8 MiB in 20 packages 16:19:32 Removing intermediate container 86a5483d16ea 16:19:32 ---> 601ee5eb064c 16:19:32 Step 18/27 : WORKDIR / 16:19:32 ---> Running in c8e892cf1fd0 16:19:32 Removing intermediate container c8e892cf1fd0 16:19:32 ---> 6eec306c419f 16:19:32 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 16:19:32 ---> 736b68ac4aa9 16:19:32 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 16:19:32 ---> b91bc51661e6 16:19:32 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:19:32 ---> bfb01fc43ebb 16:19:32 Step 22/27 : EXPOSE 59984 16:19:32 ---> Running in 0741e4cf1049 16:19:32 Removing intermediate container 0741e4cf1049 16:19:32 ---> 80d25fb482d3 16:19:32 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 16:19:32 ---> Running in adab34cfb3f8 16:19:32 Removing intermediate container adab34cfb3f8 16:19:32 ---> b6df8f71268e 16:19:32 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:19:32 ---> Running in 413764b2f86d 16:19:32 Removing intermediate container 413764b2f86d 16:19:32 ---> 543c784775bb 16:19:32 Step 25/27 : LABEL arch=amd64 16:19:32 ---> Running in 5d731538e657 16:19:32 Removing intermediate container 5d731538e657 16:19:32 ---> b5fb48b90ed2 16:19:32 Step 26/27 : LABEL git_sha=3b1bc18db7597dbaf746352fd3998179838ce784 16:19:32 ---> Running in 84a6160d50fb 16:19:32 Removing intermediate container 84a6160d50fb 16:19:32 ---> c46d10fe39bf 16:19:32 Step 27/27 : LABEL version=2.3.0-dev.27 16:19:32 ---> Running in a1e49a98ace9 16:19:32 Removing intermediate container a1e49a98ace9 16:19:32 ---> 2c32ce06e046 16:19:32 [Warning] One or more build-args [ARCH] were not consumed 16:19:32 Successfully built 2c32ce06e046 16:19:32 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 16:19:32 provisioning config files... 16:19:32 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8913100130055661846tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:19:33 ---> docker-login.sh 16:19:33 nexus3.edgexfoundry.org:10001 16:19:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:33 Configure a credential helper to remove this warning. See 16:19:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:33 16:19:33 Login Succeeded 16:19:33 nexus3.edgexfoundry.org:10002 16:19:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:33 Configure a credential helper to remove this warning. See 16:19:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:33 16:19:33 Login Succeeded 16:19:33 nexus3.edgexfoundry.org:10003 16:19:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:33 Configure a credential helper to remove this warning. See 16:19:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:33 16:19:33 Login Succeeded 16:19:33 nexus3.edgexfoundry.org:10004 16:19:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:33 Configure a credential helper to remove this warning. See 16:19:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:33 16:19:33 Login Succeeded 16:19:33 docker.io 16:19:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:33 Configure a credential helper to remove this warning. See 16:19:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:33 16:19:33 Login Succeeded 16:19:33 ---> docker-login.sh ends [Pipeline] } 16:19:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:19:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:19:33 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 16:19:33 3b1bc18db7597dbaf746352fd3998179838ce784 16:19:33 latest 16:19:33 2.3.0-dev.27 16:19:33 3b1bc18db7597dbaf746352fd3998179838ce784-2.3.0-dev.27 16:19:33 main 16:19:33 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:19:34 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3b1bc18db7597dbaf746352fd3998179838ce784 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:19:34 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3b1bc18db7597dbaf746352fd3998179838ce784 16:19:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:19:34 bdbcbad5101a: Preparing 16:19:34 850a18784902: Preparing 16:19:34 c169e2bcb2a7: Preparing 16:19:34 03d709411b09: Preparing 16:19:34 994393dc58e7: Preparing 16:19:34 994393dc58e7: Layer already exists 16:19:34 bdbcbad5101a: Pushed 16:19:34 850a18784902: Pushed 16:19:34 03d709411b09: Pushed 16:19:36 using credential edgex-jenkins-ssh 16:19:36 Cloning the remote Git repository 16:19:37 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 16:19:38 c169e2bcb2a7: Pushed 16:19:38 3b1bc18db7597dbaf746352fd3998179838ce784: digest: sha256:965e2a02f2b2261b0ab4052d4559a0d4cfc13292750bc2aee354a0201baa8e73 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:19:37 > git init /w/workspace/device-onvif-camera/66 # timeout=10 16:19:37 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 16:19:37 > git --version # timeout=10 16:19:37 > git --version # 'git version 2.25.1' 16:19:37 using GIT_SSH to set credentials SSH Credentials for GitHub 16:19:37 Verifying host key using known hosts file 16:19:37 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. 16:19:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:19:38 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:19:38 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 16:19:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:19:38 bdbcbad5101a: Preparing 16:19:38 850a18784902: Preparing 16:19:38 c169e2bcb2a7: Preparing 16:19:38 03d709411b09: Preparing 16:19:38 994393dc58e7: Preparing 16:19:38 03d709411b09: Layer already exists 16:19:38 850a18784902: Layer already exists 16:19:38 994393dc58e7: Layer already exists 16:19:38 bdbcbad5101a: Layer already exists 16:19:38 c169e2bcb2a7: Layer already exists 16:19:38 latest: digest: sha256:965e2a02f2b2261b0ab4052d4559a0d4cfc13292750bc2aee354a0201baa8e73 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:19:38 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:19:39 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.27 16:19:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:19:39 bdbcbad5101a: Preparing 16:19:39 850a18784902: Preparing 16:19:39 c169e2bcb2a7: Preparing 16:19:39 03d709411b09: Preparing 16:19:39 994393dc58e7: Preparing 16:19:39 994393dc58e7: Layer already exists 16:19:39 c169e2bcb2a7: Layer already exists 16:19:39 03d709411b09: Layer already exists 16:19:39 bdbcbad5101a: Layer already exists 16:19:39 850a18784902: Layer already exists 16:19:39 2.3.0-dev.27: digest: sha256:965e2a02f2b2261b0ab4052d4559a0d4cfc13292750bc2aee354a0201baa8e73 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:19:38 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 16:19:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:19:39 Avoid second fetch 16:19:39 Checking out Revision 3b1bc18db7597dbaf746352fd3998179838ce784 (main) 16:19:39 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3b1bc18db7597dbaf746352fd3998179838ce784-2.3.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:19:39 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3b1bc18db7597dbaf746352fd3998179838ce784-2.3.0-dev.27 16:19:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:19:39 bdbcbad5101a: Preparing 16:19:39 850a18784902: Preparing 16:19:39 c169e2bcb2a7: Preparing 16:19:39 03d709411b09: Preparing 16:19:39 994393dc58e7: Preparing 16:19:39 03d709411b09: Layer already exists 16:19:39 850a18784902: Layer already exists 16:19:39 bdbcbad5101a: Layer already exists 16:19:39 c169e2bcb2a7: Layer already exists 16:19:39 994393dc58e7: Layer already exists 16:19:39 3b1bc18db7597dbaf746352fd3998179838ce784-2.3.0-dev.27: digest: sha256:965e2a02f2b2261b0ab4052d4559a0d4cfc13292750bc2aee354a0201baa8e73 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:19:40 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv 16:19:40 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#170)" [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:19:40 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 16:19:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:19:40 bdbcbad5101a: Preparing 16:19:40 850a18784902: Preparing 16:19:40 c169e2bcb2a7: Preparing 16:19:40 03d709411b09: Preparing 16:19:40 994393dc58e7: Preparing 16:19:40 03d709411b09: Layer already exists 16:19:40 850a18784902: Layer already exists 16:19:40 bdbcbad5101a: Layer already exists 16:19:40 c169e2bcb2a7: Layer already exists 16:19:40 994393dc58e7: Layer already exists 16:19:40 main: digest: sha256:965e2a02f2b2261b0ab4052d4559a0d4cfc13292750bc2aee354a0201baa8e73 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:19:40 ===================================================== [Pipeline] echo 16:19:40 taggedImages: 16:19:40 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3b1bc18db7597dbaf746352fd3998179838ce784 16:19:40 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 16:19:40 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.27 16:19:40 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3b1bc18db7597dbaf746352fd3998179838ce784-2.3.0-dev.27 16:19:40 - 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 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:19:39 > git config core.sparsecheckout # timeout=10 16:19:39 > git checkout -f 3b1bc18db7597dbaf746352fd3998179838ce784 # timeout=10 16:19:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:19:40 16:19:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:19:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:19:41 % Total % Received % Xferd Average Speed Time Time Time Current 16:19:41 Dload Upload Total Spent Left Speed 16:19:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 86315 0 --:--:-- --:--:-- --:--:-- 86910 16:19:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:19:41 latest: Pulling from edgex-lftools-log-publisher 16:19:41 5eb5b503b376: Pulling fs layer 16:19:41 5c69ac0246d0: Pulling fs layer 16:19:41 ec43610c2a17: Pulling fs layer 16:19:41 3a2ae6a8a46f: Pulling fs layer 16:19:41 33b1e0a273af: Pulling fs layer 16:19:41 5d3b04190fa2: Pulling fs layer 16:19:41 2f39f015ded8: Pulling fs layer 16:19:41 33b1e0a273af: Waiting 16:19:41 5d3b04190fa2: Waiting 16:19:41 3a2ae6a8a46f: Waiting 16:19:41 2f39f015ded8: Waiting 16:19:41 5c69ac0246d0: Verifying Checksum 16:19:41 5c69ac0246d0: Download complete 16:19:41 3a2ae6a8a46f: Verifying Checksum 16:19:41 3a2ae6a8a46f: Download complete 16:19:41 33b1e0a273af: Verifying Checksum 16:19:41 33b1e0a273af: Download complete 16:19:41 5d3b04190fa2: Verifying Checksum 16:19:41 5d3b04190fa2: Download complete 16:19:41 ec43610c2a17: Verifying Checksum 16:19:41 ec43610c2a17: Download complete 16:19:41 5eb5b503b376: Download complete [Pipeline] sh 16:19:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:19:42 2f39f015ded8: Download complete 16:19:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:19:42 + sudo tee /etc/docker/daemon.new 16:19:42 { 16:19:42 "registry-mirrors": [ 16:19:42 "https://nexus3.edgexfoundry.org:10001" 16:19:42 ], 16:19:42 "bip": "10.250.0.254/24", 16:19:42 "hosts": [ 16:19:42 "tcp://0.0.0.0:5555", 16:19:42 "unix:///var/run/docker.sock" 16:19:42 ], 16:19:42 "mtu": 1458, 16:19:42 "selinux-enabled": true, 16:19:42 "seccomp-profile": "/etc/docker/seccomp.json" 16:19:42 } [Pipeline] sh 16:19:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:19:42 + sudo service docker restart 16:19:42 5eb5b503b376: Pull complete 16:19:42 5c69ac0246d0: Pull complete 16:19:43 ec43610c2a17: Pull complete 16:19:43 3a2ae6a8a46f: Pull complete 16:19:43 33b1e0a273af: Pull complete 16:19:43 5d3b04190fa2: Pull complete 16:19:47 2f39f015ded8: Pull complete 16:19:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:19:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:19:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:19:48 prd-ubuntu20.04-docker-8c-8g-6886 does not seem to be running inside a container 16:19:48 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:19:49 $ docker top 602f513efeb0109a0e4ad603ae7101b874aa6d3dbc633d22e4967c0ca0f2060d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:19:50 ---> job-cost.sh 16:19:50 lf-activate-venv: SKIPPING 16:19:50 INFO: No Stack... 16:19:50 INFO: Retrieving Pricing Info for: v3-standard-8 16:19:50 INFO: Archiving Costs [Pipeline] sh 16:19:51 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 16:19:51 + cut -d, -f6 [Pipeline] lock 16:19:51 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-66-stack-cost] 16:19:51 Resource [jenkins-edgexfoundry-device-onvif-camera-main-66-stack-cost] did not exist. Created. 16:19:51 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-66-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:19:51 + echo total: 0.2199999988079071 [Pipeline] stash 16:19:51 Stashed 1 file(s) [Pipeline] } 16:19:51 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-66-stack-cost] [Pipeline] // lock [Pipeline] } 16:19:51 $ docker stop --time=1 602f513efeb0109a0e4ad603ae7101b874aa6d3dbc633d22e4967c0ca0f2060d 16:19:52 $ docker rm -f 602f513efeb0109a0e4ad603ae7101b874aa6d3dbc633d22e4967c0ca0f2060d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:20:01 provisioning config files... 16:20:01 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/66@tmp/config409113499653232745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:20:01 ---> docker-login.sh 16:20:01 nexus3.edgexfoundry.org:10001 16:20:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:01 Configure a credential helper to remove this warning. See 16:20:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:01 16:20:01 Login Succeeded 16:20:01 nexus3.edgexfoundry.org:10002 16:20:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:02 Configure a credential helper to remove this warning. See 16:20:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:02 16:20:02 Login Succeeded 16:20:02 nexus3.edgexfoundry.org:10003 16:20:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:02 Configure a credential helper to remove this warning. See 16:20:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:02 16:20:02 Login Succeeded 16:20:02 nexus3.edgexfoundry.org:10004 16:20:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:03 Configure a credential helper to remove this warning. See 16:20:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:03 16:20:03 Login Succeeded 16:20:03 docker.io 16:20:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:03 Configure a credential helper to remove this warning. See 16:20:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:03 16:20:03 Login Succeeded 16:20:03 ---> docker-login.sh ends [Pipeline] } 16:20:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:20:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:20:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:20:03 ========================================================= 16:20:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:20:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:20:04 + 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 . 16:20:04 Sending build context to Docker daemon 14.19MB 16:20:04 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 16:20:04 Step 2/14 : FROM ${BASE} AS builder 16:20:04 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:20:04 b3c136eddcbf: Pulling fs layer 16:20:04 c0a3192eca97: Pulling fs layer 16:20:04 a050256f5b6f: Pulling fs layer 16:20:04 656be50a0ddc: Pulling fs layer 16:20:04 2bbca73fdf42: Pulling fs layer 16:20:04 f607e4fc86c3: Pulling fs layer 16:20:04 4d572c569a2c: Pulling fs layer 16:20:04 fcf976331f73: Pulling fs layer 16:20:04 656be50a0ddc: Waiting 16:20:04 2bbca73fdf42: Waiting 16:20:04 f607e4fc86c3: Waiting 16:20:04 4d572c569a2c: Waiting 16:20:04 fcf976331f73: Waiting 16:20:04 a050256f5b6f: Verifying Checksum 16:20:04 a050256f5b6f: Download complete 16:20:04 c0a3192eca97: Verifying Checksum 16:20:04 c0a3192eca97: Download complete 16:20:04 2bbca73fdf42: Verifying Checksum 16:20:04 2bbca73fdf42: Download complete 16:20:04 f607e4fc86c3: Verifying Checksum 16:20:04 f607e4fc86c3: Download complete 16:20:04 b3c136eddcbf: Verifying Checksum 16:20:04 b3c136eddcbf: Download complete 16:20:05 fcf976331f73: Verifying Checksum 16:20:05 fcf976331f73: Download complete 16:20:06 4d572c569a2c: Verifying Checksum 16:20:06 4d572c569a2c: Download complete 16:20:07 b3c136eddcbf: Pull complete 16:20:07 656be50a0ddc: Verifying Checksum 16:20:07 656be50a0ddc: Download complete 16:20:07 c0a3192eca97: Pull complete 16:20:07 a050256f5b6f: Pull complete 16:20:20 656be50a0ddc: Pull complete 16:20:20 2bbca73fdf42: Pull complete 16:20:20 f607e4fc86c3: Pull complete 16:20:25 4d572c569a2c: Pull complete 16:20:27 fcf976331f73: Pull complete 16:20:27 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 16:20:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:20:27 ---> 3970a7415f9e 16:20:27 Step 3/14 : ARG ADD_BUILD_TAGS="" 16:20:28 ---> Running in b4466d7c55b2 16:20:29 Removing intermediate container b4466d7c55b2 16:20:29 ---> 3ac39b1b10c9 16:20:29 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:20:29 ---> Running in 89242569f427 16:20:29 Removing intermediate container 89242569f427 16:20:29 ---> e03492834c13 16:20:29 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:20:29 ---> Running in 2026dc06d595 16:20:29 Removing intermediate container 2026dc06d595 16:20:29 ---> dd837cba7766 16:20:29 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 16:20:30 ---> Running in 59f3444b9153 16:20:30 Removing intermediate container 59f3444b9153 16:20:30 ---> 5af32c26c872 16:20:30 Step 7/14 : LABEL Name=edgex-device-onvif-camera 16:20:30 ---> Running in a86e2f5a9c9a 16:20:30 Removing intermediate container a86e2f5a9c9a 16:20:30 ---> aa369446e8cf 16:20:30 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:20:30 ---> Running in c8eabab31d1e 16:20:32 Removing intermediate container c8eabab31d1e 16:20:32 ---> 56b6879796b4 16:20:32 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:20:32 ---> Running in 77498feb0b5b 16:20:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:20:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:20:35 OK: 221 MiB in 51 packages 16:20:36 Removing intermediate container 77498feb0b5b 16:20:36 ---> d53dc6bf34cd 16:20:36 Step 10/14 : WORKDIR /device-onvif-camera 16:20:36 ---> Running in 65949c70e38a 16:20:36 Removing intermediate container 65949c70e38a 16:20:36 ---> e5a773795485 16:20:36 Step 11/14 : COPY go.mod vendor* ./ 16:20:36 ---> 473a8cd1432c 16:20:36 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:20:37 ---> Running in ce930c4eb5d1 16:21:24 Removing intermediate container ce930c4eb5d1 16:21:24 ---> 5d04fdc06a4a 16:21:24 Step 13/14 : COPY . . 16:21:24 ---> a002b642b785 16:21:24 Step 14/14 : RUN ${MAKE} 16:21:24 ---> Running in cb7d86b8fca2 16:21:25 noop 16:21:26 Removing intermediate container cb7d86b8fca2 16:21:26 ---> 4080fbce93ab 16:21:26 Successfully built 4080fbce93ab 16:21:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:26 + docker inspect -f . ci-base-image-arm64 16:21:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:21:26 prd-ubuntu20.04-docker-arm64-4c-16g-6887 does not seem to be running inside a container 16:21:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/66 -v /w/workspace/device-onvif-camera/66:/w/workspace/device-onvif-camera/66:rw,z -v /w/workspace/device-onvif-camera/66@tmp:/w/workspace/device-onvif-camera/66@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 16:21:27 $ docker top 08a04015a6c59b4107d970c392071d78261d8bcb3f15f5f58bd61a0b1e79dd26 -eo pid,comm [Pipeline] { [Pipeline] sh 16:21:28 + go version 16:21:28 go version go1.18.3 linux/arm64 [Pipeline] } 16:21:28 $ docker stop --time=1 08a04015a6c59b4107d970c392071d78261d8bcb3f15f5f58bd61a0b1e79dd26 16:21:30 $ docker rm -f 08a04015a6c59b4107d970c392071d78261d8bcb3f15f5f58bd61a0b1e79dd26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:30 + docker inspect -f . ci-base-image-arm64 16:21:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:21:31 prd-ubuntu20.04-docker-arm64-4c-16g-6887 does not seem to be running inside a container 16:21:31 $ 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/66 -v /w/workspace/device-onvif-camera/66:/w/workspace/device-onvif-camera/66:rw,z -v /w/workspace/device-onvif-camera/66@tmp:/w/workspace/device-onvif-camera/66@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 16:21:32 $ docker top fe6eba5de54f312e6a43c2eed12c6bf0b8eeda5f9fec35a472f4ca564d5aa4d9 -eo pid,comm [Pipeline] { [Pipeline] sh 16:21:32 + git config --global --add safe.directory /w/workspace/device-onvif-camera/66 [Pipeline] fileExists [Pipeline] sh 16:21:33 + make test 16:21:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:21:34 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:23:11 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:23:11 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.203s coverage: 28.2% of statements 16:23:11 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:23:33 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.256s coverage: 86.5% of statements 16:23:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:23:33 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:23:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:23:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:23:55 ./bin/test-attribution-txt.sh [Pipeline] echo 16:23:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:23:55 $ docker stop --time=1 fe6eba5de54f312e6a43c2eed12c6bf0b8eeda5f9fec35a472f4ca564d5aa4d9 16:23:57 $ docker rm -f fe6eba5de54f312e6a43c2eed12c6bf0b8eeda5f9fec35a472f4ca564d5aa4d9 [Pipeline] // withDockerContainer [Pipeline] sh 16:23:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:23:58 Warning: overwriting stash ‘coverage-report’ 16:23:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:23:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:24:00 + ls -al . 16:24:00 total 232 16:24:00 drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 16:21 . 16:24:00 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 16:19 .. 16:24:00 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 16:19 .git 16:24:00 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 16:19 .github 16:24:00 -rw-rw-r-- 1 jenkins jenkins 418 Oct 3 16:19 .gitignore 16:24:00 -rw-rw-r-- 1 jenkins jenkins 42 Oct 3 16:19 .golangci.yml 16:24:00 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 3 16:19 Attribution.txt 16:24:00 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 3 16:19 CHANGELOG.md 16:24:00 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 3 16:19 Dockerfile 16:24:00 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 16:19 GOVERNANCE.md 16:24:00 -rw-rw-r-- 1 jenkins jenkins 734 Oct 3 16:19 Jenkinsfile 16:24:00 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 3 16:19 LICENSE 16:24:00 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 3 16:19 Makefile 16:24:00 -rw-rw-r-- 1 jenkins jenkins 625 Oct 3 16:19 OWNERS.md 16:24:00 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 3 16:19 README.md 16:24:00 -rw-rw-r-- 1 jenkins jenkins 12 Oct 3 16:17 VERSION 16:24:00 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 16:19 bin 16:24:00 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 16:19 cmd 16:24:00 -rw-r--r-- 1 jenkins jenkins 78461 Oct 3 16:23 coverage.out 16:24:00 drwxrwxr-x 6 jenkins jenkins 4096 Oct 3 16:19 doc 16:24:00 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 3 16:19 go.mod 16:24:00 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 3 16:19 go.sum 16:24:00 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 16:19 internal 16:24:00 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 16:19 snap 16:24:00 -rw-rw-r-- 1 jenkins jenkins 236 Oct 3 16:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:00 + 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=3b1bc18db7597dbaf746352fd3998179838ce784 --label arch=arm64 --label version=2.3.0-dev.27 . 16:24:02 Sending build context to Docker daemon 14.27MB 16:24:02 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 16:24:02 Step 2/27 : FROM ${BASE} AS builder 16:24:02 ---> 4080fbce93ab 16:24:02 Step 3/27 : ARG ADD_BUILD_TAGS="" 16:24:02 ---> Running in 0cf25e3f93de 16:24:03 Removing intermediate container 0cf25e3f93de 16:24:03 ---> bf7e81d8102a 16:24:03 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:24:03 ---> Running in ab2da846a780 16:24:03 Removing intermediate container ab2da846a780 16:24:03 ---> 50a8f6129f46 16:24:03 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:24:03 ---> Running in b766f79fab2a 16:24:03 Removing intermediate container b766f79fab2a 16:24:03 ---> 17225de877e2 16:24:03 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 16:24:04 ---> Running in 79d61c895e2f 16:24:04 Removing intermediate container 79d61c895e2f 16:24:04 ---> 2209574ea03e 16:24:04 Step 7/27 : LABEL Name=edgex-device-onvif-camera 16:24:04 ---> Running in 4efb7d2bc772 16:24:04 Removing intermediate container 4efb7d2bc772 16:24:04 ---> 15d388dcff3f 16:24:04 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:24:04 ---> Running in e1a41511a2b0 16:24:06 Removing intermediate container e1a41511a2b0 16:24:06 ---> 205820e861b7 16:24:06 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:24:06 ---> Running in 406c26699335 16:24:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:24:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:24:09 OK: 221 MiB in 51 packages 16:24:10 Removing intermediate container 406c26699335 16:24:10 ---> 5e4e3dbaeb3e 16:24:10 Step 10/27 : WORKDIR /device-onvif-camera 16:24:10 ---> Running in 7d579cbcb0f1 16:24:11 Removing intermediate container 7d579cbcb0f1 16:24:11 ---> 3c13b351570e 16:24:11 Step 11/27 : COPY go.mod vendor* ./ 16:24:12 ---> 653a3b9098a4 16:24:12 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:24:12 ---> Running in f67f99f3a45b 16:24:14 Removing intermediate container f67f99f3a45b 16:24:14 ---> 9dfed0e2faed 16:24:14 Step 13/27 : COPY . . 16:24:16 ---> f20b95602046 16:24:16 Step 14/27 : RUN ${MAKE} 16:24:16 ---> Running in 9d0dde2bfbde 16:24:17 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.27 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 16:26:54 Removing intermediate container 9d0dde2bfbde 16:26:54 ---> 032b2ca27fae 16:26:54 Step 15/27 : FROM alpine:3.16 16:26:54 3.16: Pulling from library/alpine 16:26:55 9b18e9b68314: Pulling fs layer 16:26:55 9b18e9b68314: Download complete 16:26:56 9b18e9b68314: Pull complete 16:26:56 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:26:56 Status: Downloaded newer image for alpine:3.16 16:26:56 ---> a6215f271958 16:26:56 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:26:56 ---> Running in a1d49678c980 16:26:56 Removing intermediate container a1d49678c980 16:26:56 ---> 57528d65f013 16:26:56 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 16:26:56 ---> Running in 4247feb8bd17 16:26:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:26:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:26:59 (1/6) Installing dumb-init (1.2.5-r1) 16:26:59 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:26:59 (3/6) Installing libsodium (1.0.18-r0) 16:26:59 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:26:59 (5/6) Installing libzmq (4.3.4-r0) 16:26:59 (6/6) Installing zeromq (4.3.4-r0) 16:26:59 Executing busybox-1.35.0-r17.trigger 16:26:59 OK: 8 MiB in 20 packages 16:27:00 Removing intermediate container 4247feb8bd17 16:27:00 ---> bed42fb15e81 16:27:00 Step 18/27 : WORKDIR / 16:27:00 ---> Running in 5a66245e7d90 16:27:00 Removing intermediate container 5a66245e7d90 16:27:00 ---> a15599a6b989 16:27:00 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 16:27:02 ---> ae7dba0e00fe 16:27:02 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 16:27:02 ---> 57358956a985 16:27:02 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:27:03 ---> 17abe583618c 16:27:03 Step 22/27 : EXPOSE 59984 16:27:03 ---> Running in c990410924ed 16:27:03 Removing intermediate container c990410924ed 16:27:03 ---> 4a06d0832904 16:27:03 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 16:27:03 ---> Running in 170f5a2013e9 16:27:04 Removing intermediate container 170f5a2013e9 16:27:04 ---> 3a99e5c10197 16:27:04 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:27:04 ---> Running in 36ddce56c3e2 16:27:04 Removing intermediate container 36ddce56c3e2 16:27:04 ---> 5068330e7e6f 16:27:04 Step 25/27 : LABEL arch=arm64 16:27:04 ---> Running in 4d6a7b415821 16:27:04 Removing intermediate container 4d6a7b415821 16:27:04 ---> 8926b6de9bac 16:27:04 Step 26/27 : LABEL git_sha=3b1bc18db7597dbaf746352fd3998179838ce784 16:27:05 ---> Running in 57e5b3fecaac 16:27:05 Removing intermediate container 57e5b3fecaac 16:27:05 ---> 2d26c23563e3 16:27:05 Step 27/27 : LABEL version=2.3.0-dev.27 16:27:05 ---> Running in 64c380fd6d38 16:27:05 Removing intermediate container 64c380fd6d38 16:27:05 ---> 4347e44e6f6e 16:27:05 [Warning] One or more build-args [ARCH] were not consumed 16:27:05 Successfully built 4347e44e6f6e 16:27:05 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 16:27:05 provisioning config files... 16:27:05 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/66@tmp/config10001087434297130350tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:27:06 ---> docker-login.sh 16:27:06 nexus3.edgexfoundry.org:10001 16:27:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:06 Configure a credential helper to remove this warning. See 16:27:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:06 16:27:06 Login Succeeded 16:27:06 nexus3.edgexfoundry.org:10002 16:27:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:06 Configure a credential helper to remove this warning. See 16:27:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:06 16:27:06 Login Succeeded 16:27:06 nexus3.edgexfoundry.org:10003 16:27:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:07 Configure a credential helper to remove this warning. See 16:27:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:07 16:27:07 Login Succeeded 16:27:07 nexus3.edgexfoundry.org:10004 16:27:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:07 Configure a credential helper to remove this warning. See 16:27:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:07 16:27:07 Login Succeeded 16:27:07 docker.io 16:27:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:08 Configure a credential helper to remove this warning. See 16:27:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:08 16:27:08 Login Succeeded 16:27:08 ---> docker-login.sh ends [Pipeline] } 16:27:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:27:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:27:08 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 16:27:08 3b1bc18db7597dbaf746352fd3998179838ce784 16:27:08 latest 16:27:08 2.3.0-dev.27 16:27:08 3b1bc18db7597dbaf746352fd3998179838ce784-2.3.0-dev.27 16:27:08 main 16:27:08 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:08 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3b1bc18db7597dbaf746352fd3998179838ce784 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:09 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3b1bc18db7597dbaf746352fd3998179838ce784 16:27:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 16:27:09 a74657cf709e: Preparing 16:27:09 d75536258248: Preparing 16:27:09 892ca37b0a63: Preparing 16:27:09 933be48fd51c: Preparing 16:27:09 5d3e392a13a0: Preparing 16:27:09 5d3e392a13a0: Layer already exists 16:27:09 d75536258248: Pushed 16:27:09 a74657cf709e: Pushed 16:27:10 933be48fd51c: Pushed 16:27:15 892ca37b0a63: Pushed 16:27:15 3b1bc18db7597dbaf746352fd3998179838ce784: digest: sha256:502eb77193206716683afcd3c8f5aab96d815d836b23b481d18535ffdaecafe8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:15 + 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 16:27:16 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 16:27:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 16:27:16 a74657cf709e: Preparing 16:27:16 d75536258248: Preparing 16:27:16 892ca37b0a63: Preparing 16:27:16 933be48fd51c: Preparing 16:27:16 5d3e392a13a0: Preparing 16:27:16 5d3e392a13a0: Layer already exists 16:27:16 a74657cf709e: Layer already exists 16:27:16 933be48fd51c: Layer already exists 16:27:16 892ca37b0a63: Layer already exists 16:27:16 d75536258248: Layer already exists 16:27:16 latest: digest: sha256:502eb77193206716683afcd3c8f5aab96d815d836b23b481d18535ffdaecafe8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:16 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:16 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.27 16:27:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 16:27:16 a74657cf709e: Preparing 16:27:16 d75536258248: Preparing 16:27:16 892ca37b0a63: Preparing 16:27:16 933be48fd51c: Preparing 16:27:16 5d3e392a13a0: Preparing 16:27:16 d75536258248: Layer already exists 16:27:16 892ca37b0a63: Layer already exists 16:27:16 5d3e392a13a0: Layer already exists 16:27:16 a74657cf709e: Layer already exists 16:27:16 933be48fd51c: Layer already exists 16:27:16 2.3.0-dev.27: digest: sha256:502eb77193206716683afcd3c8f5aab96d815d836b23b481d18535ffdaecafe8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:17 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3b1bc18db7597dbaf746352fd3998179838ce784-2.3.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:17 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3b1bc18db7597dbaf746352fd3998179838ce784-2.3.0-dev.27 16:27:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 16:27:17 a74657cf709e: Preparing 16:27:17 d75536258248: Preparing 16:27:17 892ca37b0a63: Preparing 16:27:17 933be48fd51c: Preparing 16:27:17 5d3e392a13a0: Preparing 16:27:17 5d3e392a13a0: Layer already exists 16:27:17 892ca37b0a63: Layer already exists 16:27:17 d75536258248: Layer already exists 16:27:17 a74657cf709e: Layer already exists 16:27:17 933be48fd51c: Layer already exists 16:27:17 3b1bc18db7597dbaf746352fd3998179838ce784-2.3.0-dev.27: digest: sha256:502eb77193206716683afcd3c8f5aab96d815d836b23b481d18535ffdaecafe8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:18 + 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 16:27:18 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 16:27:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 16:27:18 a74657cf709e: Preparing 16:27:18 d75536258248: Preparing 16:27:18 892ca37b0a63: Preparing 16:27:18 933be48fd51c: Preparing 16:27:18 5d3e392a13a0: Preparing 16:27:18 892ca37b0a63: Layer already exists 16:27:18 a74657cf709e: Layer already exists 16:27:18 5d3e392a13a0: Layer already exists 16:27:18 d75536258248: Layer already exists 16:27:18 933be48fd51c: Layer already exists 16:27:18 main: digest: sha256:502eb77193206716683afcd3c8f5aab96d815d836b23b481d18535ffdaecafe8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:27:18 ===================================================== [Pipeline] echo 16:27:18 taggedImages: 16:27:18 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3b1bc18db7597dbaf746352fd3998179838ce784 16:27:18 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 16:27:18 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.27 16:27:18 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3b1bc18db7597dbaf746352fd3998179838ce784-2.3.0-dev.27 16:27:18 - 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 16:27:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:27:18 16:27:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:27:19 arm64: Pulling from edgex-lftools-log-publisher 16:27:19 8998bd30e6a1: Pulling fs layer 16:27:19 04944245beec: Pulling fs layer 16:27:19 699f458cf7ca: Pulling fs layer 16:27:19 765212b225bb: Pulling fs layer 16:27:19 f23df028b6ca: Pulling fs layer 16:27:19 d65c8cfc05b1: Pulling fs layer 16:27:19 2437ff75d9bd: Pulling fs layer 16:27:19 f23df028b6ca: Waiting 16:27:19 d65c8cfc05b1: Waiting 16:27:19 2437ff75d9bd: Waiting 16:27:19 765212b225bb: Waiting 16:27:19 04944245beec: Verifying Checksum 16:27:19 04944245beec: Download complete 16:27:19 765212b225bb: Download complete 16:27:19 f23df028b6ca: Verifying Checksum 16:27:19 f23df028b6ca: Download complete 16:27:19 d65c8cfc05b1: Verifying Checksum 16:27:19 d65c8cfc05b1: Download complete 16:27:19 699f458cf7ca: Verifying Checksum 16:27:19 699f458cf7ca: Download complete 16:27:19 8998bd30e6a1: Verifying Checksum 16:27:19 8998bd30e6a1: Download complete 16:27:22 2437ff75d9bd: Verifying Checksum 16:27:22 2437ff75d9bd: Download complete 16:27:24 8998bd30e6a1: Pull complete 16:27:24 04944245beec: Pull complete 16:27:26 699f458cf7ca: Pull complete 16:27:26 765212b225bb: Pull complete 16:27:27 f23df028b6ca: Pull complete 16:27:27 d65c8cfc05b1: Pull complete 16:27:42 2437ff75d9bd: Pull complete 16:27:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:27:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:27:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:27:42 prd-ubuntu20.04-docker-arm64-4c-16g-6887 does not seem to be running inside a container 16:27:42 $ 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/66 -v /w/workspace/device-onvif-camera/66:/w/workspace/device-onvif-camera/66:rw,z -v /w/workspace/device-onvif-camera/66@tmp:/w/workspace/device-onvif-camera/66@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 16:27:44 $ docker top db04916adb10c4cac9615aa2ad9c4b6e427008b2690b6e642a0af1311a84e119 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:27:45 ---> job-cost.sh 16:27:45 lf-activate-venv: SKIPPING 16:27:45 INFO: No Stack... 16:27:46 INFO: Retrieving Pricing Info for: v3-standard-4 16:27:47 INFO: Archiving Costs [Pipeline] sh 16:27:47 + cat /w/workspace/device-onvif-camera/66/archives/cost.csv 16:27:47 + cut -d, -f6 [Pipeline] lock 16:27:47 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-66-stack-cost] 16:27:47 Resource [jenkins-edgexfoundry-device-onvif-camera-main-66-stack-cost] did not exist. Created. 16:27:47 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-66-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:27:48 /w/workspace/device-onvif-camera/66@tmp/durable-a8da0291/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:27:49 + echo total: 0.10999999940395355 [Pipeline] stash 16:27:49 Warning: overwriting stash ‘stack-cost’ 16:27:49 Stashed 1 file(s) [Pipeline] } 16:27:49 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-66-stack-cost] [Pipeline] // lock [Pipeline] } 16:27:49 $ docker stop --time=1 db04916adb10c4cac9615aa2ad9c4b6e427008b2690b6e642a0af1311a84e119 16:27:50 $ docker rm -f db04916adb10c4cac9615aa2ad9c4b6e427008b2690b6e642a0af1311a84e119 [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 16:27:51 provisioning config files... 16:27:51 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5390348496347084248tmp [Pipeline] { [Pipeline] sh 16:27:51 + set +x 16:27:51 + curl -s https://codecov.io/bash 16:27:51 + bash -s -- 16:27:51 16:27:51 _____ _ 16:27:51 / ____| | | 16:27:51 | | ___ __| | ___ ___ _____ __ 16:27:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:27:51 | |___| (_) | (_| | __/ (_| (_) \ V / 16:27:51 \_____\___/ \__,_|\___|\___\___/ \_/ 16:27:51 Bash-1.0.6 16:27:51 16:27:51 16:27:51 ==> git version 2.25.1 found 16:27:51 ==> 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 16:27:51 Release-Date: 2020-01-08 16:27:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:27:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:27:51 ==> Jenkins CI detected. 16:27:51 current dir:  /w/workspace/foundry_device-onvif-camera_main 16:27:51 project root: . 16:27:51 --> token set from env 16:27:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:27:51 ==> Running gcov in . (disable via -X gcov) 16:27:51 ==> Python coveragepy not found 16:27:51 ==> Searching for coverage reports in: 16:27:51 + . 16:27:51 -> Found 1 reports 16:27:51 ==> Detecting git/mercurial file structure 16:27:51 ==> Reading reports 16:27:51 + ./coverage.out bytes=78461 16:27:51 ==> Appending adjustments 16:27:51 https://docs.codecov.io/docs/fixing-reports 16:27:51 + Found adjustments 16:27:51 ==> Gzipping contents 16:27:51 12K /tmp/codecov.7txrD4.gz 16:27:51 ==> Uploading reports 16:27:51 url: https://codecov.io 16:27:51 query: branch=main&commit=3b1bc18db7597dbaf746352fd3998179838ce784&build=66&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F66%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 16:27:51 -> Pinging Codecov 16:27:51 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=3b1bc18db7597dbaf746352fd3998179838ce784&build=66&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F66%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 16:27:52 -> Uploading to 16:27:52 https://storage.googleapis.com/codecov/v4/raw/2022-10-03/F29A59C45E3A92E06B3E522C9905F8EF/3b1bc18db7597dbaf746352fd3998179838ce784/d37da949-8229-44b5-9946-5b3fe4938ac7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T162752Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1104bd27b24d6914b9671b3b0446a73149ecdde8699b77d160cf7549c043ac73 16:27:52 % Total % Received % Xferd Average Speed Time Time Time Current 16:27:52 Dload Upload Total Spent Left Speed 16:27:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10715 0 0 100 10715 0 40741 --:--:-- --:--:-- --:--:-- 40741 16:27:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/3b1bc18db7597dbaf746352fd3998179838ce784 [Pipeline] } 16:27:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:27:52 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:27:52 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:27:53 16:27:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:27:53 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:27:53 df9b9388f04a: Pulling fs layer 16:27:53 52dc419b0ee2: Pulling fs layer 16:27:53 25bc292e5bac: Pulling fs layer 16:27:53 114826534d7a: Pulling fs layer 16:27:53 4657fd5d0bcf: Pulling fs layer 16:27:53 6ad1cebc031e: Pulling fs layer 16:27:53 114826534d7a: Waiting 16:27:53 8a3aa393b2d8: Pulling fs layer 16:27:53 8a3aa393b2d8: Waiting 16:27:53 6ad1cebc031e: Waiting 16:27:53 25bc292e5bac: Download complete 16:27:53 52dc419b0ee2: Verifying Checksum 16:27:53 52dc419b0ee2: Download complete 16:27:53 4657fd5d0bcf: Verifying Checksum 16:27:53 4657fd5d0bcf: Download complete 16:27:53 df9b9388f04a: Verifying Checksum 16:27:53 df9b9388f04a: Download complete 16:27:53 df9b9388f04a: Pull complete 16:27:53 6ad1cebc031e: Verifying Checksum 16:27:53 6ad1cebc031e: Download complete 16:27:53 52dc419b0ee2: Pull complete 16:27:53 25bc292e5bac: Pull complete 16:27:54 114826534d7a: Verifying Checksum 16:27:54 114826534d7a: Download complete 16:27:54 8a3aa393b2d8: Verifying Checksum 16:27:54 8a3aa393b2d8: Download complete 16:27:57 114826534d7a: Pull complete 16:27:57 4657fd5d0bcf: Pull complete 16:27:57 6ad1cebc031e: Pull complete 16:28:00 8a3aa393b2d8: Pull complete 16:28:00 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:28:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:28:00 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:28:01 prd-ubuntu20.04-docker-8c-8g-6886 does not seem to be running inside a container 16:28:01 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:28:03 $ docker top 5dcf3b81e6e1f43cf2601490be365944da141441666bb45105443684532f2031 -eo pid,comm [Pipeline] { [Pipeline] echo 16:28:03 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 16:28:03 + set -o pipefail 16:28:03 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 16:28:13 16:28:13 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 16:28:13 16:28:13 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/0f8a1734-3b3c-4b32-b41e-82a5873631be 16:28:13 16:28:13 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 16:28:13 16:28:13 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:28:13 16:28:13 [Pipeline] } 16:28:13 $ docker stop --time=1 5dcf3b81e6e1f43cf2601490be365944da141441666bb45105443684532f2031 16:28:16 $ docker rm -f 5dcf3b81e6e1f43cf2601490be365944da141441666bb45105443684532f2031 [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 16:28:16 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:28:16 provisioning config files... 16:28:16 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14660674164196942276tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:28:17 --> edgex-publish-swagger.sh 16:28:17 === Publish doc/openapi/v2 API === 16:28:17 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 16:28:17 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 16:28:17 % Total % Received % Xferd Average Speed Time Time Time Current 16:28:17 Dload Upload Total Spent Left Speed 16:28:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 139k 0 0 100 139k 0 189k --:--:-- --:--:-- --:--:-- 189k 100 139k 0 0 100 139k 0 189k --:--:-- --:--:-- --:--:-- 189k 16:28:17 16:28:17 [Pipeline] } 16:28:17 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 16:28:17 + git log --format=format:%s -1 3b1bc18db7597dbaf746352fd3998179838ce784 [Pipeline] sh 16:28:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:28:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:28:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:28:18 prd-ubuntu20.04-docker-8c-8g-6886 does not seem to be running inside a container 16:28:18 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:28:19 $ docker top f6396dd5af749ed312798742dc4706f175c51d2453c876aec6307c124f6cee17 -eo pid,comm 16:28:19 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). 16:28:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:28:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:28:19 [ssh-agent] Looking for ssh-agent implementation... 16:28:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:28:19 $ docker exec f6396dd5af749ed312798742dc4706f175c51d2453c876aec6307c124f6cee17 ssh-agent 16:28:19 SSH_AUTH_SOCK=/tmp/ssh-fVJJghmSsg9A/agent.32 16:28:19 SSH_AGENT_PID=38 16:28:19 Running ssh-add (command line suppressed) 16:28:19 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2327975030153371937.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2327975030153371937.key) 16:28:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:28:19 + git semver tag 16:28:19 2022-10-03 16:28:19,928 [run_tag] DEBUG tag force:False 16:28:19 2022-10-03 16:28:19,928 [check_head_tag] DEBUG check head tag 16:28:19 2022-10-03 16:28:19,930 [execute] INFO git cat-file --batch-check 16:28:19 2022-10-03 16:28:19,930 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 16:28:19 2022-10-03 16:28:19,933 [execute] INFO git cat-file --batch 16:28:19 2022-10-03 16:28:19,933 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 16:28:19 2022-10-03 16:28:19,952 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:28:19 2022-10-03 16:28:19,952 [execute] INFO git tag -a v2.3.0-dev.27 -m v2.3.0-dev.27 16:28:19 2022-10-03 16:28:19,952 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.27', '-m', 'v2.3.0-dev.27'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 16:28:19 2022-10-03 16:28:19,957 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:28:19 2.3.0-dev.27 [Pipeline] } 16:28:20 $ docker exec --env ******** --env ******** f6396dd5af749ed312798742dc4706f175c51d2453c876aec6307c124f6cee17 ssh-agent -k 16:28:20 unset SSH_AUTH_SOCK; 16:28:20 unset SSH_AGENT_PID; 16:28:20 echo Agent pid 38 killed; 16:28:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:28:20 + git semver [Pipeline] } 16:28:20 $ docker stop --time=1 f6396dd5af749ed312798742dc4706f175c51d2453c876aec6307c124f6cee17 16:28:21 $ docker rm -f f6396dd5af749ed312798742dc4706f175c51d2453c876aec6307c124f6cee17 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:28:22 16:28:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:28:22 0.23.1-centos7: Pulling from edgex-lftools 16:28:22 ab5ef0e58194: Pulling fs layer 16:28:22 9712f1f96733: Pulling fs layer 16:28:22 63f879dbbcfc: Pulling fs layer 16:28:22 0d9ebad4ef96: Pulling fs layer 16:28:22 e9a5061849ea: Pulling fs layer 16:28:22 d747dcd14b5f: Pulling fs layer 16:28:22 2de7ff778b66: Pulling fs layer 16:28:22 0d9ebad4ef96: Waiting 16:28:22 d747dcd14b5f: Waiting 16:28:22 2de7ff778b66: Waiting 16:28:22 e9a5061849ea: Waiting 16:28:22 9712f1f96733: Verifying Checksum 16:28:22 9712f1f96733: Download complete 16:28:22 63f879dbbcfc: Verifying Checksum 16:28:22 63f879dbbcfc: Download complete 16:28:23 0d9ebad4ef96: Verifying Checksum 16:28:23 0d9ebad4ef96: Download complete 16:28:23 ab5ef0e58194: Verifying Checksum 16:28:23 ab5ef0e58194: Download complete 16:28:23 e9a5061849ea: Verifying Checksum 16:28:23 e9a5061849ea: Download complete 16:28:23 d747dcd14b5f: Verifying Checksum 16:28:23 d747dcd14b5f: Download complete 16:28:23 2de7ff778b66: Verifying Checksum 16:28:23 2de7ff778b66: Download complete 16:28:25 ab5ef0e58194: Pull complete 16:28:25 9712f1f96733: Pull complete 16:28:26 63f879dbbcfc: Pull complete 16:28:29 0d9ebad4ef96: Pull complete 16:28:30 e9a5061849ea: Pull complete 16:28:30 d747dcd14b5f: Pull complete 16:28:31 2de7ff778b66: Pull complete 16:28:31 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:28:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:28:31 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:28:31 prd-ubuntu20.04-docker-8c-8g-6886 does not seem to be running inside a container 16:28:31 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:28:33 $ docker top ff1ef97526271ee9c2341d30b4cca5b23f55df972b0290c9cfe900af08e08b86 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:28:33 provisioning config files... 16:28:33 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2572018171094841715tmp 16:28:33 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17352875534333554785tmp 16:28:33 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15640481217000313864tmp [Pipeline] { [Pipeline] echo 16:28:33 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:28:33 ---> sigul-configuration.sh 16:28:33 gpg: directory `/root/.gnupg' created 16:28:33 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:28:33 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:28:33 gpg: keyring `/root/.gnupg/secring.gpg' created 16:28:33 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:28:33 gpg: CAST5 encrypted data 16:28:33 gpg: encrypted with 1 passphrase 16:28:33 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:28:34 + mkdir /home/jenkins 16:28:34 + mkdir /home/jenkins/sigul [Pipeline] sh 16:28:34 + 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 16:28:34 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:28:34 ---> sigul-install.sh 16:28:34 Sigul already installed; skipping installation. [Pipeline] sh 16:28:34 + git tag --list 16:28:34 v0.0.0 16:28:34 v0.0.1-dev.1 16:28:34 v0.0.1-dev.10 16:28:34 v0.0.1-dev.11 16:28:34 v0.0.1-dev.12 16:28:34 v0.0.1-dev.13 16:28:34 v0.0.1-dev.14 16:28:34 v0.0.1-dev.15 16:28:34 v0.0.1-dev.16 16:28:34 v0.0.1-dev.17 16:28:34 v0.0.1-dev.18 16:28:34 v0.0.1-dev.19 16:28:34 v0.0.1-dev.2 16:28:34 v0.0.1-dev.20 16:28:34 v0.0.1-dev.21 16:28:34 v0.0.1-dev.22 16:28:34 v0.0.1-dev.23 16:28:34 v0.0.1-dev.24 16:28:34 v0.0.1-dev.25 16:28:34 v0.0.1-dev.26 16:28:34 v0.0.1-dev.27 16:28:34 v0.0.1-dev.28 16:28:34 v0.0.1-dev.3 16:28:34 v0.0.1-dev.4 16:28:34 v0.0.1-dev.5 16:28:34 v0.0.1-dev.6 16:28:34 v0.0.1-dev.7 16:28:34 v0.0.1-dev.8 16:28:34 v0.0.1-dev.9 16:28:34 v2.2.0 16:28:34 v2.2.0-dev.29 16:28:34 v2.2.0-dev.30 16:28:34 v2.2.0-dev.31 16:28:34 v2.2.0-dev.32 16:28:34 v2.2.0-dev.33 16:28:34 v2.2.0-dev.34 16:28:34 v2.2.0-dev.35 16:28:34 v2.3.0-dev.1 16:28:34 v2.3.0-dev.10 16:28:34 v2.3.0-dev.11 16:28:34 v2.3.0-dev.12 16:28:34 v2.3.0-dev.13 16:28:34 v2.3.0-dev.14 16:28:34 v2.3.0-dev.15 16:28:34 v2.3.0-dev.16 16:28:34 v2.3.0-dev.17 16:28:34 v2.3.0-dev.18 16:28:34 v2.3.0-dev.19 16:28:34 v2.3.0-dev.2 16:28:34 v2.3.0-dev.20 16:28:34 v2.3.0-dev.21 16:28:34 v2.3.0-dev.22 16:28:34 v2.3.0-dev.23 16:28:34 v2.3.0-dev.24 16:28:34 v2.3.0-dev.25 16:28:34 v2.3.0-dev.26 16:28:34 v2.3.0-dev.27 16:28:34 v2.3.0-dev.3 16:28:34 v2.3.0-dev.4 16:28:34 v2.3.0-dev.5 16:28:34 v2.3.0-dev.6 16:28:34 v2.3.0-dev.7 16:28:34 v2.3.0-dev.8 16:28:34 v2.3.0-dev.9 [Pipeline] sh 16:28:35 + lftools sign git-tag v2.3.0-dev.27 16:28:35 Signing Git tag with Sigul... 16:28:35 Signing v2.3.0-dev.27 [Pipeline] echo 16:28:36 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:28:37 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:28:37 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:28:37 $ docker stop --time=1 ff1ef97526271ee9c2341d30b4cca5b23f55df972b0290c9cfe900af08e08b86 16:28:38 $ docker rm -f ff1ef97526271ee9c2341d30b4cca5b23f55df972b0290c9cfe900af08e08b86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:28:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:28:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:28:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:28:39 prd-ubuntu20.04-docker-8c-8g-6886 does not seem to be running inside a container 16:28:39 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:28:39 $ docker top a7fa65aefe37212e62fd5d0344fb17074207029edcc082543bac5c81d4276d2a -eo pid,comm 16:28:39 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). 16:28:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:28:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:28:39 [ssh-agent] Looking for ssh-agent implementation... 16:28:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:28:39 $ docker exec a7fa65aefe37212e62fd5d0344fb17074207029edcc082543bac5c81d4276d2a ssh-agent 16:28:39 SSH_AUTH_SOCK=/tmp/ssh-akHsjXP9khF9/agent.34 16:28:39 SSH_AGENT_PID=40 16:28:39 Running ssh-add (command line suppressed) 16:28:39 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1025093032537648812.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1025093032537648812.key) 16:28:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:28:40 + git semver bump pre 16:28:40 2022-10-03 16:28:40,435 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:28:40 2022-10-03 16:28:40,436 [bump_version] DEBUG bumping version:2.3.0-dev.27 on axis:pre with prefix:dev 16:28:40 2022-10-03 16:28:40,436 [bump_version] DEBUG bumped version:2.3.0-dev.28 16:28:40 2022-10-03 16:28:40,436 [write_version] DEBUG write version:2.3.0-dev.28 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 16:28:40 2022-10-03 16:28:40,436 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:28:40 2022-10-03 16:28:40,436 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 16:28:40 2022-10-03 16:28:40,437 [execute] INFO git cat-file --batch-check 16:28:40 2022-10-03 16:28:40,438 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 16:28:40 2022-10-03 16:28:40,442 [execute] INFO git cat-file --batch 16:28:40 2022-10-03 16:28:40,443 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 16:28:40 2022-10-03 16:28:40,448 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:28:40 2.3.0-dev.28 [Pipeline] } 16:28:40 $ docker exec --env ******** --env ******** a7fa65aefe37212e62fd5d0344fb17074207029edcc082543bac5c81d4276d2a ssh-agent -k 16:28:40 unset SSH_AUTH_SOCK; 16:28:40 unset SSH_AGENT_PID; 16:28:40 echo Agent pid 40 killed; 16:28:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:28:40 + git semver [Pipeline] } 16:28:41 $ docker stop --time=1 a7fa65aefe37212e62fd5d0344fb17074207029edcc082543bac5c81d4276d2a 16:28:42 $ docker rm -f a7fa65aefe37212e62fd5d0344fb17074207029edcc082543bac5c81d4276d2a [Pipeline] // withDockerContainer [Pipeline] sh 16:28:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:28:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:28:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:28:43 prd-ubuntu20.04-docker-8c-8g-6886 does not seem to be running inside a container 16:28:43 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:28:43 $ docker top 87acf07ba5dcab0c312da371dd50327d556809e1d2372a528ec0e9a4ab0e42bc -eo pid,comm 16:28:43 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). 16:28:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:28:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:28:43 [ssh-agent] Looking for ssh-agent implementation... 16:28:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:28:43 $ docker exec 87acf07ba5dcab0c312da371dd50327d556809e1d2372a528ec0e9a4ab0e42bc ssh-agent 16:28:43 SSH_AUTH_SOCK=/tmp/ssh-HrmESOh4uETW/agent.33 16:28:43 SSH_AGENT_PID=39 16:28:43 Running ssh-add (command line suppressed) 16:28:43 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1179442024561545330.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1179442024561545330.key) 16:28:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:28:44 + git semver push 16:28:44 2022-10-03 16:28:44,413 [run_push] DEBUG push 16:28:44 2022-10-03 16:28:44,413 [execute] INFO git cat-file --batch-check 16:28:44 2022-10-03 16:28:44,414 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 16:28:44 2022-10-03 16:28:44,417 [execute] INFO git rev-list c9284cd8df75988bd0475b0f0ba9ec4c0cc07faf -- 16:28:44 2022-10-03 16:28:44,417 [execute] DEBUG Popen(['git', 'rev-list', 'c9284cd8df75988bd0475b0f0ba9ec4c0cc07faf', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 16:28:44 2022-10-03 16:28:44,421 [execute] INFO git fetch -v origin 16:28:44 2022-10-03 16:28:44,422 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 16:28:45 2022-10-03 16:28:45,013 [run_push] DEBUG no remote changes detected 16:28:45 2022-10-03 16:28:45,014 [execute] INFO git push origin semver 16:28:45 2022-10-03 16:28:45,014 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 16:28:46 2022-10-03 16:28:46,015 [run_push] DEBUG push all version tags 16:28:46 2022-10-03 16:28:46,016 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:28:46 2022-10-03 16:28:46,016 [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) 16:28:47 2022-10-03 16:28:46,795 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:28:47 2.3.0-dev.28 [Pipeline] } 16:28:47 $ docker exec --env ******** --env ******** 87acf07ba5dcab0c312da371dd50327d556809e1d2372a528ec0e9a4ab0e42bc ssh-agent -k 16:28:47 unset SSH_AUTH_SOCK; 16:28:47 unset SSH_AGENT_PID; 16:28:47 echo Agent pid 39 killed; 16:28:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:28:47 + git semver [Pipeline] } 16:28:47 $ docker stop --time=1 87acf07ba5dcab0c312da371dd50327d556809e1d2372a528ec0e9a4ab0e42bc 16:28:49 $ docker rm -f 87acf07ba5dcab0c312da371dd50327d556809e1d2372a528ec0e9a4ab0e42bc [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 16:28:49 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 16:28:49 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 16:28:49 total 16 16:28:49 drwxr-xr-x 3 root root 4096 Oct 3 16:19 . 16:28:49 drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 16:28 .. 16:28:49 drwxr-xr-x 2 root root 4096 Oct 3 16:19 cost 16:28:49 -rw-r--r-- 1 root root 90 Oct 3 16:19 cost.csv 16:28:49 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 16:28:49 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 16:28:49 total 16 16:28:49 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 16:19 . 16:28:49 drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 16:28 .. 16:28:49 drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 16:19 cost 16:28:49 -rw-r--r-- 1 jenkins jenkins 90 Oct 3 16:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:28:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:28:50 ---> package-listing.sh 16:28:50 ++ facter osfamily 16:28:50 ++ tr '[:upper:]' '[:lower:]' 16:28:50 + OS_FAMILY=debian 16:28:50 + workspace=/w/workspace/foundry_device-onvif-camera_main 16:28:50 + START_PACKAGES=/tmp/packages_start.txt 16:28:50 + END_PACKAGES=/tmp/packages_end.txt 16:28:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:28:50 + PACKAGES=/tmp/packages_start.txt 16:28:50 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 16:28:50 + PACKAGES=/tmp/packages_end.txt 16:28:50 + case "${OS_FAMILY}" in 16:28:50 + dpkg -l 16:28:50 + grep '^ii' 16:28:50 + '[' -f /tmp/packages_start.txt ']' 16:28:50 + '[' -f /tmp/packages_end.txt ']' 16:28:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:28:50 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 16:28:50 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 16:28:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 16:28:50 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 16:28:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:28:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:28:51 prd-ubuntu20.04-docker-8c-8g-6886 does not seem to be running inside a container 16:28:51 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:28:52 $ docker top 986625c3ebde25508c40e56940de0e6d02cfd1271a1e0e694a51323ffb64e470 -eo pid,comm [Pipeline] { [Pipeline] sh 16:28:52 + touch /tmp/pre-build-complete [Pipeline] sh 16:28:52 + mkdir -p /var/log/sysstat [Pipeline] sh 16:28:53 + ls /var/log/sa-host 16:28:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:28:53 provisioning config files... 16:28:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5684004516436489185tmp [Pipeline] { [Pipeline] echo 16:28:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:28:53 ---> create-netrc.sh [Pipeline] } 16:28:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:28:53 ---> python-tools-install.sh [Pipeline] echo 16:28:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:28:54 ---> sudo-logs.sh 16:28:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:28:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:28:54 ---> job-cost.sh 16:28:54 lf-activate-venv: SKIPPING 16:28:54 DEBUG: total: 0.2199999988079071 16:28:54 INFO: Retrieving Stack Cost... 16:28:55 INFO: Retrieving Pricing Info for: v3-standard-8 16:28:55 INFO: Archiving Costs [Pipeline] echo 16:28:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:28:55 ---> logs-deploy.sh 16:28:55 lf-activate-venv: SKIPPING 16:28:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/66 16:28:55 INFO: archiving workspace using pattern(s): 16:28:56 Archives upload complete. 16:28:56 INFO: archiving logs to Nexus