Push event to branch levski Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4d60271c1a122ad73ad4ab446ee385de813631e9 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-ssh9121324279699566924.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3805625688648406659.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/levski/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/levski/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13466085189395524653.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5713592214693573701.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/levski/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/levski/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12327286852490112400.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, goVersion:1.18, 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4993 in /w/workspace/undry_device-onvif-camera_levski [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/undry_device-onvif-camera_levski # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Avoid second fetch Checking out Revision 4d60271c1a122ad73ad4ab446ee385de813631e9 (levski) Commit message: "docs: change log upated with levski patch (#283)" > git config core.sparsecheckout # timeout=10 > git checkout -f 4d60271c1a122ad73ad4ab446ee385de813631e9 # timeout=10 > git rev-list --no-walk a19c49b13c0fa898c897ffa06db9bfcb5560ce91 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:37:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:37:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:37:01 ========================================================= 23:37:01 EdgeX Global Pipelines Version Info 23:37:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:37:02 ------------------- 23:37:02 stable info: 23:37:02 ------------------- 23:37:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:37:02 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 23:37:02 Message: update stable to v1.0.245 23:37:02 ------------------- 23:37:02 experimental info: 23:37:02 ------------------- 23:37:02 Commited By: **** collab-it+edgex@linuxfoundation.org 23:37:02 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 23:37:02 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = levski [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = levski [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = levski [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4d60271c1a122ad73ad4ab446ee385de813631e9 [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4d60271 [Pipeline] echo 23:37:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:37:03 provisioning config files... 23:37:03 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_levski@tmp/config12658970387209586293tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:37:03 ---> docker-login.sh 23:37:03 nexus3.edgexfoundry.org:10001 23:37:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:04 Configure a credential helper to remove this warning. See 23:37:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:04 23:37:04 Login Succeeded 23:37:04 nexus3.edgexfoundry.org:10002 23:37:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:04 Configure a credential helper to remove this warning. See 23:37:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:04 23:37:04 Login Succeeded 23:37:04 nexus3.edgexfoundry.org:10003 23:37:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:04 Configure a credential helper to remove this warning. See 23:37:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:04 23:37:04 Login Succeeded 23:37:04 nexus3.edgexfoundry.org:10004 23:37:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:04 Configure a credential helper to remove this warning. See 23:37:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:04 23:37:04 Login Succeeded 23:37:04 docker.io 23:37:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:04 Configure a credential helper to remove this warning. See 23:37:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:04 23:37:04 Login Succeeded 23:37:04 ---> docker-login.sh ends [Pipeline] } 23:37:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:37:05 + git rev-list -1 --merges 4d60271c1a122ad73ad4ab446ee385de813631e9~1..4d60271c1a122ad73ad4ab446ee385de813631e9 [Pipeline] echo 23:37:05 -----------> git rev-list -1 --merges 4d60271c1a122ad73ad4ab446ee385de813631e9~1..4d60271c1a122ad73ad4ab446ee385de813631e9 4d60271c1a122ad73ad4ab446ee385de813631e9 [false] [Pipeline] sh 23:37:05 + git log --format=format:%s -1 4d60271c1a122ad73ad4ab446ee385de813631e9 [Pipeline] echo 23:37:05 ========================================================= 23:37:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:37:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:37:05 + git log --format=format:%s -1 4d60271c1a122ad73ad4ab446ee385de813631e9 [Pipeline] echo 23:37:05 [semverPrep] GIT_COMMIT: 4d60271c1a122ad73ad4ab446ee385de813631e9, Commit Message: docs: change log upated with levski patch (#283) [Pipeline] echo 23:37:05 [semverPrep] This is not a build commit. [Pipeline] sh 23:37:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:37:06 + grep -v github /etc/ssh/ssh_known_hosts 23:37:06 + [ -e /tmp/ssh_known_hosts ] 23:37:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:37:06 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:37:06 sudo tee -a /etc/ssh/ssh_known_hosts 23:37:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:37:06 23:37:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:37:07 0.1.4: Pulling from edgex-devops/py-git-semver 23:37:07 b85a868b505f: Pulling fs layer 23:37:07 e2be974225ed: Pulling fs layer 23:37:07 339a4e72a1f5: Pulling fs layer 23:37:07 988bab9f4d93: Pulling fs layer 23:37:07 1469e6f7b9e6: Pulling fs layer 23:37:07 eaf3925da568: Pulling fs layer 23:37:07 bab4dde63d76: Pulling fs layer 23:37:07 bde34c3a00c8: Pulling fs layer 23:37:07 b352a97aabf1: Pulling fs layer 23:37:07 4872d77fe225: Pulling fs layer 23:37:07 5851b861e8e6: Pulling fs layer 23:37:07 eaf3925da568: Waiting 23:37:07 988bab9f4d93: Waiting 23:37:07 bab4dde63d76: Waiting 23:37:07 1469e6f7b9e6: Waiting 23:37:07 bde34c3a00c8: Waiting 23:37:07 5851b861e8e6: Waiting 23:37:07 b352a97aabf1: Waiting 23:37:07 4872d77fe225: Waiting 23:37:07 e2be974225ed: Download complete 23:37:07 988bab9f4d93: Download complete 23:37:07 339a4e72a1f5: Verifying Checksum 23:37:07 339a4e72a1f5: Download complete 23:37:07 1469e6f7b9e6: Verifying Checksum 23:37:07 1469e6f7b9e6: Download complete 23:37:07 eaf3925da568: Verifying Checksum 23:37:07 eaf3925da568: Download complete 23:37:07 bde34c3a00c8: Verifying Checksum 23:37:07 bde34c3a00c8: Download complete 23:37:07 b352a97aabf1: Download complete 23:37:07 4872d77fe225: Verifying Checksum 23:37:07 4872d77fe225: Download complete 23:37:07 5851b861e8e6: Download complete 23:37:07 b85a868b505f: Verifying Checksum 23:37:07 b85a868b505f: Download complete 23:37:07 bab4dde63d76: Verifying Checksum 23:37:07 bab4dde63d76: Download complete 23:37:08 b85a868b505f: Pull complete 23:37:08 e2be974225ed: Pull complete 23:37:09 339a4e72a1f5: Pull complete 23:37:09 988bab9f4d93: Pull complete 23:37:09 1469e6f7b9e6: Pull complete 23:37:09 eaf3925da568: Pull complete 23:37:11 bab4dde63d76: Pull complete 23:37:11 bde34c3a00c8: Pull complete 23:37:11 b352a97aabf1: Pull complete 23:37:11 4872d77fe225: Pull complete 23:37:11 5851b861e8e6: Pull complete 23:37:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:37:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:37:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:37:11 prd-ubuntu20.04-docker-8c-8g-4993 does not seem to be running inside a container 23:37:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_levski -v /w/workspace/undry_device-onvif-camera_levski:/w/workspace/undry_device-onvif-camera_levski:rw,z -v /w/workspace/undry_device-onvif-camera_levski@tmp:/w/workspace/undry_device-onvif-camera_levski@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 23:37:12 $ docker top 01a952ff7f7e409f3e5f64e773d73f81bfaccbbad917c156a69337e87c85fb85 -eo pid,comm 23:37:13 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). 23:37:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:37:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:37:13 [ssh-agent] Looking for ssh-agent implementation... 23:37:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:37:13 $ docker exec 01a952ff7f7e409f3e5f64e773d73f81bfaccbbad917c156a69337e87c85fb85 ssh-agent 23:37:13 SSH_AUTH_SOCK=/tmp/ssh-afGT5BbySqGO/agent.32 23:37:13 SSH_AGENT_PID=38 23:37:13 Running ssh-add (command line suppressed) 23:37:13 Identity added: /w/workspace/undry_device-onvif-camera_levski@tmp/private_key_14859719570196507922.key (/w/workspace/undry_device-onvif-camera_levski@tmp/private_key_14859719570196507922.key) 23:37:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:37:13 + git tag --points-at HEAD [Pipeline] } 23:37:13 $ docker exec --env ******** --env ******** 01a952ff7f7e409f3e5f64e773d73f81bfaccbbad917c156a69337e87c85fb85 ssh-agent -k 23:37:13 unset SSH_AUTH_SOCK; 23:37:13 unset SSH_AGENT_PID; 23:37:13 echo Agent pid 38 killed; 23:37:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:37:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:37:13 [ssh-agent] Looking for ssh-agent implementation... 23:37:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:37:13 $ docker exec 01a952ff7f7e409f3e5f64e773d73f81bfaccbbad917c156a69337e87c85fb85 ssh-agent 23:37:14 SSH_AUTH_SOCK=/tmp/ssh-uhEGVOQFKai7/agent.70 23:37:14 SSH_AGENT_PID=76 23:37:14 Running ssh-add (command line suppressed) 23:37:14 Identity added: /w/workspace/undry_device-onvif-camera_levski@tmp/private_key_7620740638742321061.key (/w/workspace/undry_device-onvif-camera_levski@tmp/private_key_7620740638742321061.key) 23:37:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:37:14 + git semver init 23:37:14 2023-03-21 23:37:14,686 [run_init] DEBUG init version:0.0.0 force:False 23:37:14 2023-03-21 23:37:14,687 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_levski/.semver 23:37:14 2023-03-21 23:37:14,688 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_levski/.semver 23:37:14 2023-03-21 23:37:14,688 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_levski/.semver'], cwd=/w/workspace/undry_device-onvif-camera_levski, universal_newlines=False, shell=None, istream=None) 23:37:15 2023-03-21 23:37:15,567 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_levski/.git/info/exclude 23:37:15 2023-03-21 23:37:15,568 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_levski/.semver/levski with force:False 23:37:15 2023-03-21 23:37:15,568 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_levski/.semver/levski 23:37:15 2023-03-21 23:37:15,568 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_levski/.semver/levski 23:37:15 2.3.1-dev.5 [Pipeline] } 23:37:15 $ docker exec --env ******** --env ******** 01a952ff7f7e409f3e5f64e773d73f81bfaccbbad917c156a69337e87c85fb85 ssh-agent -k 23:37:15 unset SSH_AUTH_SOCK; 23:37:15 unset SSH_AGENT_PID; 23:37:15 echo Agent pid 76 killed; 23:37:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:37:16 + git semver [Pipeline] } 23:37:16 $ docker stop --time=1 01a952ff7f7e409f3e5f64e773d73f81bfaccbbad917c156a69337e87c85fb85 23:37:17 $ docker rm -f --volumes 01a952ff7f7e409f3e5f64e773d73f81bfaccbbad917c156a69337e87c85fb85 [Pipeline] // withDockerContainer [Pipeline] sh 23:37:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:37:18 Stashed 1 file(s) [Pipeline] echo 23:37:18 [edgeXSemver]: initialized semver on version 2.3.1-dev.5 [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 23:37:18 provisioning config files... 23:37:18 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_levski@tmp/config6110916552252308123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:37:18 ---> docker-login.sh 23:37:18 nexus3.edgexfoundry.org:10001 23:37:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:18 Configure a credential helper to remove this warning. See 23:37:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:18 23:37:18 Login Succeeded 23:37:18 nexus3.edgexfoundry.org:10002 23:37:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:18 Configure a credential helper to remove this warning. See 23:37:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:18 23:37:18 Login Succeeded 23:37:18 nexus3.edgexfoundry.org:10003 23:37:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:18 Configure a credential helper to remove this warning. See 23:37:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:18 23:37:18 Login Succeeded 23:37:18 nexus3.edgexfoundry.org:10004 23:37:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:18 Configure a credential helper to remove this warning. See 23:37:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:18 23:37:18 Login Succeeded 23:37:18 docker.io 23:37:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:19 Configure a credential helper to remove this warning. See 23:37:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:19 23:37:19 Login Succeeded 23:37:19 ---> docker-login.sh ends [Pipeline] } 23:37:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:37:19 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:37:19 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:37:19 ========================================================= 23:37:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:37:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:19 + 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 . 23:37:19 Sending build context to Docker daemon 27MB 23:37:19 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:37:19 Step 2/13 : FROM ${BASE} AS builder 23:37:19 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:37:19 213ec9aee27d: Pulling fs layer 23:37:19 4583459ba037: Pulling fs layer 23:37:19 93c1e223e6f2: Pulling fs layer 23:37:19 53926ce57604: Pulling fs layer 23:37:19 21b2b0c7a3f4: Pulling fs layer 23:37:19 22ff95d597cd: Pulling fs layer 23:37:19 12d6caf4c0d1: Pulling fs layer 23:37:19 96b7cbca73a9: Pulling fs layer 23:37:19 a7acece74701: Pulling fs layer 23:37:19 12d6caf4c0d1: Waiting 23:37:19 96b7cbca73a9: Waiting 23:37:19 a7acece74701: Waiting 23:37:19 53926ce57604: Waiting 23:37:19 21b2b0c7a3f4: Waiting 23:37:19 93c1e223e6f2: Download complete 23:37:19 4583459ba037: Verifying Checksum 23:37:19 4583459ba037: Download complete 23:37:19 21b2b0c7a3f4: Verifying Checksum 23:37:19 21b2b0c7a3f4: Download complete 23:37:19 22ff95d597cd: Verifying Checksum 23:37:19 22ff95d597cd: Download complete 23:37:19 213ec9aee27d: Verifying Checksum 23:37:19 213ec9aee27d: Download complete 23:37:19 12d6caf4c0d1: Download complete 23:37:20 213ec9aee27d: Pull complete 23:37:20 4583459ba037: Pull complete 23:37:20 93c1e223e6f2: Pull complete 23:37:20 a7acece74701: Verifying Checksum 23:37:20 a7acece74701: Download complete 23:37:20 53926ce57604: Verifying Checksum 23:37:20 53926ce57604: Download complete 23:37:20 96b7cbca73a9: Verifying Checksum 23:37:20 96b7cbca73a9: Download complete 23:37:24 53926ce57604: Pull complete 23:37:24 21b2b0c7a3f4: Pull complete 23:37:24 22ff95d597cd: Pull complete 23:37:24 12d6caf4c0d1: Pull complete 23:37:26 96b7cbca73a9: Pull complete 23:37:27 a7acece74701: Pull complete 23:37:27 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 23:37:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:37:27 ---> db6d94c90886 23:37:27 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:37:29 ---> Running in c271770ff499 23:37:29 Removing intermediate container c271770ff499 23:37:29 ---> dc806edf4d92 23:37:29 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:37:29 ---> Running in b21704ccc9ef 23:37:29 Removing intermediate container b21704ccc9ef 23:37:29 ---> 8cd3d96f1381 23:37:29 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:37:29 ---> Running in d48222e542c2 23:37:29 Removing intermediate container d48222e542c2 23:37:29 ---> c9dc8742bff8 23:37:29 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:37:29 ---> Running in 823b7352c14f 23:37:29 Removing intermediate container 823b7352c14f 23:37:29 ---> 58409c9d6157 23:37:29 Step 7/13 : LABEL Name=edgex-device-onvif-camera 23:37:29 ---> Running in 51dc1f43cde4 23:37:29 Removing intermediate container 51dc1f43cde4 23:37:29 ---> 8b180e6af618 23:37:29 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:37:29 ---> Running in 3761665e784f 23:37:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:37:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:37:30 OK: 211 MiB in 51 packages 23:37:30 Removing intermediate container 3761665e784f 23:37:30 ---> fa0b2b3078c5 23:37:30 Step 9/13 : WORKDIR /device-onvif-camera 23:37:30 ---> Running in 35eee958d74f 23:37:30 Removing intermediate container 35eee958d74f 23:37:30 ---> 76d9c3d6fe2d 23:37:30 Step 10/13 : COPY go.mod vendor* ./ 23:37:31 ---> 639e67d04416 23:37:31 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:37:31 ---> Running in 55c8c651c57b 23:37:33 Still waiting to schedule task 23:37:33 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4985’ 23:37:52 Removing intermediate container 55c8c651c57b 23:37:52 ---> 44a05ee70436 23:37:52 Step 12/13 : COPY . . 23:37:52 ---> f55aad30c693 23:37:52 Step 13/13 : RUN ${MAKE} 23:37:52 ---> Running in 5b5c062853f2 23:37:52 noop 23:37:52 Removing intermediate container 5b5c062853f2 23:37:52 ---> 9aebaa69f326 23:37:52 Successfully built 9aebaa69f326 23:37:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:53 + docker inspect -f . ci-base-image-x86_64 23:37:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:37:53 prd-ubuntu20.04-docker-8c-8g-4993 does not seem to be running inside a container 23:37:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_levski -v /w/workspace/undry_device-onvif-camera_levski:/w/workspace/undry_device-onvif-camera_levski:rw,z -v /w/workspace/undry_device-onvif-camera_levski@tmp:/w/workspace/undry_device-onvif-camera_levski@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 23:37:53 $ docker top e677138118dc6353bb2825d3ff2f6e1f39f5bd59175e3d0a201ff6a7e35db945 -eo pid,comm [Pipeline] { [Pipeline] sh 23:37:54 + go version 23:37:54 go version go1.18.7 linux/amd64 [Pipeline] } 23:37:54 $ docker stop --time=1 e677138118dc6353bb2825d3ff2f6e1f39f5bd59175e3d0a201ff6a7e35db945 23:37:55 $ docker rm -f --volumes e677138118dc6353bb2825d3ff2f6e1f39f5bd59175e3d0a201ff6a7e35db945 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:55 + docker inspect -f . ci-base-image-x86_64 23:37:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:37:55 prd-ubuntu20.04-docker-8c-8g-4993 does not seem to be running inside a container 23:37:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_levski -v /w/workspace/undry_device-onvif-camera_levski:/w/workspace/undry_device-onvif-camera_levski:rw,z -v /w/workspace/undry_device-onvif-camera_levski@tmp:/w/workspace/undry_device-onvif-camera_levski@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 23:37:56 $ docker top 1bc1986605ef5690ce52e0dceb0f31b58eef8156ed24148616e42ea701706ea5 -eo pid,comm [Pipeline] { [Pipeline] sh 23:37:56 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_levski [Pipeline] fileExists [Pipeline] sh 23:37:56 + make test 23:37:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:37:57 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:38:09 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:38:10 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 29.3% of statements 23:38:10 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:38:10 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.326s coverage: 86.5% of statements 23:38:18 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." 23:38:18 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:38:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:38:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:38:21 ./bin/test-attribution-txt.sh [Pipeline] echo 23:38:21 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:38:21 $ docker stop --time=1 1bc1986605ef5690ce52e0dceb0f31b58eef8156ed24148616e42ea701706ea5 23:38:23 $ docker rm -f --volumes 1bc1986605ef5690ce52e0dceb0f31b58eef8156ed24148616e42ea701706ea5 [Pipeline] // withDockerContainer [Pipeline] sh 23:38:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:38:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:38:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:38:24 + ls -al . 23:38:24 total 248 23:38:24 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 23:37 . 23:38:24 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 23:36 .. 23:38:24 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 23:38 .git 23:38:24 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 23:37 .github 23:38:24 -rw-rw-r-- 1 jenkins jenkins 496 Mar 21 23:37 .gitignore 23:38:24 -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 23:37 .golangci.yml 23:38:24 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 23:37 .semver 23:38:24 -rw-rw-r-- 1 jenkins jenkins 9739 Mar 21 23:37 Attribution.txt 23:38:24 -rw-rw-r-- 1 jenkins jenkins 6535 Mar 21 23:37 CHANGELOG.md 23:38:24 -rw-rw-r-- 1 jenkins jenkins 1637 Mar 21 23:37 Dockerfile 23:38:24 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 23:37 GOVERNANCE.md 23:38:24 -rw-rw-r-- 1 jenkins jenkins 762 Mar 21 23:37 Jenkinsfile 23:38:24 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 21 23:37 LICENSE 23:38:24 -rw-rw-r-- 1 jenkins jenkins 2997 Mar 21 23:37 Makefile 23:38:24 -rw-rw-r-- 1 jenkins jenkins 625 Mar 21 23:37 OWNERS.md 23:38:24 -rw-rw-r-- 1 jenkins jenkins 6048 Mar 21 23:37 README.md 23:38:24 -rw-rw-r-- 1 jenkins jenkins 11 Mar 21 23:37 VERSION 23:38:24 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 23:37 bin 23:38:24 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 23:37 cmd 23:38:24 -rw-r--r-- 1 jenkins jenkins 79184 Mar 21 23:38 coverage.out 23:38:24 drwxrwxr-x 6 jenkins jenkins 4096 Mar 21 23:37 doc 23:38:24 -rw-rw-r-- 1 jenkins jenkins 3687 Mar 21 23:37 go.mod 23:38:24 -rw-rw-r-- 1 jenkins jenkins 46105 Mar 21 23:37 go.sum 23:38:24 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 23:37 internal 23:38:24 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 23:37 snap 23:38:24 -rw-rw-r-- 1 jenkins jenkins 236 Mar 21 23:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:24 + 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=4d60271c1a122ad73ad4ab446ee385de813631e9 --label arch=amd64 --label version=2.3.1-dev.5 . 23:38:24 Sending build context to Docker daemon 27.08MB 23:38:24 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 23:38:24 Step 2/26 : FROM ${BASE} AS builder 23:38:24 ---> 9aebaa69f326 23:38:24 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:38:25 ---> Running in 8767f15f5fd5 23:38:25 Removing intermediate container 8767f15f5fd5 23:38:25 ---> f02f3ef22168 23:38:25 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:38:25 ---> Running in 2d5ef2ae7a54 23:38:25 Removing intermediate container 2d5ef2ae7a54 23:38:25 ---> 6faae5ae38d1 23:38:25 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:38:25 ---> Running in 3201fb8f7aa4 23:38:25 Removing intermediate container 3201fb8f7aa4 23:38:25 ---> 93c59d3d9e71 23:38:25 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:38:25 ---> Running in 39a8a4419e42 23:38:25 Removing intermediate container 39a8a4419e42 23:38:25 ---> c557ec7e0907 23:38:25 Step 7/26 : LABEL Name=edgex-device-onvif-camera 23:38:25 ---> Running in 789d9479097a 23:38:25 Removing intermediate container 789d9479097a 23:38:25 ---> 30cc2a9db00b 23:38:25 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:38:25 ---> Running in a052bd990c58 23:38:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:38:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:38:26 OK: 211 MiB in 51 packages 23:38:26 Removing intermediate container a052bd990c58 23:38:26 ---> 961f3fbc2519 23:38:26 Step 9/26 : WORKDIR /device-onvif-camera 23:38:26 ---> Running in 53f4fd762dc6 23:38:26 Removing intermediate container 53f4fd762dc6 23:38:26 ---> 7be277d17532 23:38:26 Step 10/26 : COPY go.mod vendor* ./ 23:38:27 ---> 3fc01298c410 23:38:27 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:38:27 ---> Running in 3bb1fa069a00 23:38:28 Removing intermediate container 3bb1fa069a00 23:38:28 ---> c80e1837d32b 23:38:28 Step 12/26 : COPY . . 23:38:28 ---> 99f5fff99747 23:38:28 Step 13/26 : RUN ${MAKE} 23:38:28 ---> Running in f7f962f05d31 23:38:28 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.1-dev.5 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 23:38:50 Removing intermediate container f7f962f05d31 23:38:50 ---> 3f84c430265d 23:38:50 Step 14/26 : FROM alpine:3.16 23:38:50 3.16: Pulling from library/alpine 23:38:50 ef5531b6e74e: Pulling fs layer 23:38:50 ef5531b6e74e: Download complete 23:38:50 ef5531b6e74e: Pull complete 23:38:50 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 23:38:50 Status: Downloaded newer image for alpine:3.16 23:38:50 ---> dfd21b5a31f5 23:38:50 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:38:50 ---> Running in 73609772a1b3 23:38:50 Removing intermediate container 73609772a1b3 23:38:50 ---> e7accd7c8dd2 23:38:50 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 23:38:50 ---> Running in ace59de4d8db 23:38:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:38:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:38:50 (1/6) Installing dumb-init (1.2.5-r1) 23:38:50 (2/6) Installing libgcc (11.2.1_git20220219-r2) 23:38:50 (3/6) Installing libsodium (1.0.18-r0) 23:38:50 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 23:38:50 (5/6) Installing libzmq (4.3.4-r0) 23:38:50 (6/6) Installing zeromq (4.3.4-r0) 23:38:50 Executing busybox-1.35.0-r17.trigger 23:38:50 OK: 8 MiB in 20 packages 23:38:50 Removing intermediate container ace59de4d8db 23:38:50 ---> 371a027cd297 23:38:50 Step 17/26 : WORKDIR / 23:38:50 ---> Running in f5fdadde76bc 23:38:50 Removing intermediate container f5fdadde76bc 23:38:50 ---> 778594288e5e 23:38:50 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:38:51 ---> 543697b4cbbd 23:38:51 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:38:51 ---> 2ead92b8faf5 23:38:51 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:38:51 ---> a6a76a7d4ed4 23:38:51 Step 21/26 : EXPOSE 59984 23:38:51 ---> Running in 3c03687d4a7d 23:38:51 Removing intermediate container 3c03687d4a7d 23:38:51 ---> 49facb91ba13 23:38:51 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:38:51 ---> Running in d8c350182269 23:38:51 Removing intermediate container d8c350182269 23:38:51 ---> 90336ce60759 23:38:51 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:38:51 ---> Running in da99503fe5a3 23:38:51 Removing intermediate container da99503fe5a3 23:38:51 ---> aedfefaf5caf 23:38:51 Step 24/26 : LABEL arch=amd64 23:38:51 ---> Running in 9781135f5e2a 23:38:51 Removing intermediate container 9781135f5e2a 23:38:51 ---> 4cd51d6f40ab 23:38:51 Step 25/26 : LABEL git_sha=4d60271c1a122ad73ad4ab446ee385de813631e9 23:38:51 ---> Running in 374e1bef7e93 23:38:52 Removing intermediate container 374e1bef7e93 23:38:52 ---> d7dbb8cc195a 23:38:52 Step 26/26 : LABEL version=2.3.1-dev.5 23:38:52 ---> Running in 076e394e7914 23:38:52 Removing intermediate container 076e394e7914 23:38:52 ---> 6b2268bd3ba5 23:38:52 [Warning] One or more build-args [ARCH] were not consumed 23:38:52 Successfully built 6b2268bd3ba5 23:38:52 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 23:38:52 provisioning config files... 23:38:52 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_levski@tmp/config380207177369099835tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:38:52 ---> docker-login.sh 23:38:52 nexus3.edgexfoundry.org:10001 23:38:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:52 Configure a credential helper to remove this warning. See 23:38:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:52 23:38:52 Login Succeeded 23:38:52 nexus3.edgexfoundry.org:10002 23:38:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:52 Configure a credential helper to remove this warning. See 23:38:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:52 23:38:52 Login Succeeded 23:38:52 nexus3.edgexfoundry.org:10003 23:38:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:52 Configure a credential helper to remove this warning. See 23:38:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:52 23:38:52 Login Succeeded 23:38:52 nexus3.edgexfoundry.org:10004 23:38:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:52 Configure a credential helper to remove this warning. See 23:38:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:52 23:38:52 Login Succeeded 23:38:52 docker.io 23:38:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:52 Configure a credential helper to remove this warning. See 23:38:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:52 23:38:52 Login Succeeded 23:38:52 ---> docker-login.sh ends [Pipeline] } 23:38:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:38:53 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:38:53 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 23:38:53 4d60271c1a122ad73ad4ab446ee385de813631e9 23:38:53 latest 23:38:53 2.3.1-dev.5 23:38:53 4d60271c1a122ad73ad4ab446ee385de813631e9-2.3.1-dev.5 23:38:53 levski 23:38:53 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:53 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:4d60271c1a122ad73ad4ab446ee385de813631e9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:53 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:4d60271c1a122ad73ad4ab446ee385de813631e9 23:38:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:38:53 a670c7479c9f: Preparing 23:38:53 74659d3a68e6: Preparing 23:38:53 6460d7ca3652: Preparing 23:38:53 f35f89cd8d40: Preparing 23:38:53 aa5968d388b8: Preparing 23:38:53 aa5968d388b8: Layer already exists 23:38:53 a670c7479c9f: Pushed 23:38:53 74659d3a68e6: Pushed 23:38:53 f35f89cd8d40: Pushed 23:38:56 6460d7ca3652: Pushed 23:38:56 4d60271c1a122ad73ad4ab446ee385de813631e9: digest: sha256:46abe2742cc7ecba69ce468865189aa63256e25b347a24d7ca4133b294ffe68a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:56 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:57 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 23:38:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:38:57 a670c7479c9f: Preparing 23:38:57 74659d3a68e6: Preparing 23:38:57 6460d7ca3652: Preparing 23:38:57 f35f89cd8d40: Preparing 23:38:57 aa5968d388b8: Preparing 23:38:57 aa5968d388b8: Layer already exists 23:38:57 f35f89cd8d40: Layer already exists 23:38:57 6460d7ca3652: Layer already exists 23:38:57 a670c7479c9f: Layer already exists 23:38:57 74659d3a68e6: Layer already exists 23:38:58 latest: digest: sha256:46abe2742cc7ecba69ce468865189aa63256e25b347a24d7ca4133b294ffe68a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:58 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:59 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.1-dev.5 23:38:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:38:59 a670c7479c9f: Preparing 23:38:59 74659d3a68e6: Preparing 23:38:59 6460d7ca3652: Preparing 23:38:59 f35f89cd8d40: Preparing 23:38:59 aa5968d388b8: Preparing 23:38:59 a670c7479c9f: Layer already exists 23:38:59 f35f89cd8d40: Layer already exists 23:38:59 74659d3a68e6: Layer already exists 23:38:59 aa5968d388b8: Layer already exists 23:38:59 6460d7ca3652: Layer already exists 23:38:59 2.3.1-dev.5: digest: sha256:46abe2742cc7ecba69ce468865189aa63256e25b347a24d7ca4133b294ffe68a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:59 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:4d60271c1a122ad73ad4ab446ee385de813631e9-2.3.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:59 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:4d60271c1a122ad73ad4ab446ee385de813631e9-2.3.1-dev.5 23:38:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:38:59 a670c7479c9f: Preparing 23:38:59 74659d3a68e6: Preparing 23:38:59 6460d7ca3652: Preparing 23:38:59 f35f89cd8d40: Preparing 23:38:59 aa5968d388b8: Preparing 23:38:59 a670c7479c9f: Layer already exists 23:38:59 74659d3a68e6: Layer already exists 23:38:59 aa5968d388b8: Layer already exists 23:38:59 f35f89cd8d40: Layer already exists 23:38:59 6460d7ca3652: Layer already exists 23:38:59 4d60271c1a122ad73ad4ab446ee385de813631e9-2.3.1-dev.5: digest: sha256:46abe2742cc7ecba69ce468865189aa63256e25b347a24d7ca4133b294ffe68a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:00 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:levski [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:00 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:levski 23:39:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:39:00 a670c7479c9f: Preparing 23:39:00 74659d3a68e6: Preparing 23:39:00 6460d7ca3652: Preparing 23:39:00 f35f89cd8d40: Preparing 23:39:00 aa5968d388b8: Preparing 23:39:00 74659d3a68e6: Layer already exists 23:39:00 f35f89cd8d40: Layer already exists 23:39:00 a670c7479c9f: Layer already exists 23:39:00 6460d7ca3652: Layer already exists 23:39:00 aa5968d388b8: Layer already exists 23:39:00 levski: digest: sha256:46abe2742cc7ecba69ce468865189aa63256e25b347a24d7ca4133b294ffe68a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:39:00 ===================================================== [Pipeline] echo 23:39:00 taggedImages: 23:39:00 - nexus3.edgexfoundry.org:10004/device-onvif-camera:4d60271c1a122ad73ad4ab446ee385de813631e9 23:39:00 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 23:39:00 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.1-dev.5 23:39:00 - nexus3.edgexfoundry.org:10004/device-onvif-camera:4d60271c1a122ad73ad4ab446ee385de813631e9-2.3.1-dev.5 23:39:00 - nexus3.edgexfoundry.org:10004/device-onvif-camera:levski [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 23:39:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:39:00 23:39:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:39:01 latest: Pulling from edgex-lftools-log-publisher 23:39:01 5eb5b503b376: Pulling fs layer 23:39:01 5c69ac0246d0: Pulling fs layer 23:39:01 ec43610c2a17: Pulling fs layer 23:39:01 3a2ae6a8a46f: Pulling fs layer 23:39:01 33b1e0a273af: Pulling fs layer 23:39:01 5d3b04190fa2: Pulling fs layer 23:39:01 2f39f015ded8: Pulling fs layer 23:39:01 5d3b04190fa2: Waiting 23:39:01 3a2ae6a8a46f: Waiting 23:39:01 33b1e0a273af: Waiting 23:39:01 2f39f015ded8: Waiting 23:39:01 5c69ac0246d0: Download complete 23:39:01 3a2ae6a8a46f: Download complete 23:39:01 33b1e0a273af: Verifying Checksum 23:39:01 33b1e0a273af: Download complete 23:39:01 ec43610c2a17: Verifying Checksum 23:39:01 ec43610c2a17: Download complete 23:39:01 5d3b04190fa2: Verifying Checksum 23:39:01 5d3b04190fa2: Download complete 23:39:01 5eb5b503b376: Verifying Checksum 23:39:01 5eb5b503b376: Download complete 23:39:01 2f39f015ded8: Download complete 23:39:02 5eb5b503b376: Pull complete 23:39:02 5c69ac0246d0: Pull complete 23:39:02 ec43610c2a17: Pull complete 23:39:02 3a2ae6a8a46f: Pull complete 23:39:03 33b1e0a273af: Pull complete 23:39:03 5d3b04190fa2: Pull complete 23:39:07 2f39f015ded8: Pull complete 23:39:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:39:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:39:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:39:07 prd-ubuntu20.04-docker-8c-8g-4993 does not seem to be running inside a container 23:39:07 $ 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/undry_device-onvif-camera_levski -v /w/workspace/undry_device-onvif-camera_levski:/w/workspace/undry_device-onvif-camera_levski:rw,z -v /w/workspace/undry_device-onvif-camera_levski@tmp:/w/workspace/undry_device-onvif-camera_levski@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 23:39:09 $ docker top 0f97a4a6f53f6c81a96ac3a99dbd768361b40b2558e7125447cc0d7ba0033610 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:39:09 ---> job-cost.sh 23:39:09 lf-activate-venv: SKIPPING 23:39:09 INFO: No Stack... 23:39:10 INFO: Retrieving Pricing Info for: v3-standard-8 23:39:10 INFO: Archiving Costs [Pipeline] sh 23:39:10 + cat /w/workspace/undry_device-onvif-camera_levski/archives/cost.csv 23:39:10 + cut -d, -f6 [Pipeline] lock 23:39:10 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-levski-7-stack-cost] 23:39:10 Resource [jenkins-edgexfoundry-device-onvif-camera-levski-7-stack-cost] did not exist. Created. 23:39:10 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-levski-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:39:10 + echo total: 0.2199999988079071 [Pipeline] stash 23:39:10 Stashed 1 file(s) [Pipeline] } 23:39:10 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-levski-7-stack-cost] [Pipeline] // lock [Pipeline] } 23:39:10 $ docker stop --time=1 0f97a4a6f53f6c81a96ac3a99dbd768361b40b2558e7125447cc0d7ba0033610 23:39:12 $ docker rm -f --volumes 0f97a4a6f53f6c81a96ac3a99dbd768361b40b2558e7125447cc0d7ba0033610 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:41:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4994 in /w/workspace/undry_device-onvif-camera_levski [Pipeline] { [Pipeline] ws 23:41:03 Running in /w/workspace/device-onvif-camera/7 [Pipeline] { [Pipeline] checkout 23:41:03 The recommended git tool is: git 23:41:09 using credential edgex-jenkins-ssh 23:41:09 Cloning the remote Git repository 23:41:09 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 23:41:09 > git init /w/workspace/device-onvif-camera/7 # timeout=10 23:41:09 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:41:09 > git --version # timeout=10 23:41:09 > git --version # 'git version 2.25.1' 23:41:09 using GIT_SSH to set credentials SSH Credentials for GitHub 23:41:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:41:11 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:41:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:41:12 Avoid second fetch 23:41:12 Checking out Revision 4d60271c1a122ad73ad4ab446ee385de813631e9 (levski) 23:41:12 Commit message: "docs: change log upated with levski patch (#283)" 23:41:12 > git config core.sparsecheckout # timeout=10 23:41:12 > git checkout -f 4d60271c1a122ad73ad4ab446ee385de813631e9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:41:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:41:13 % Total % Received % Xferd Average Speed Time Time Time Current 23:41:13 Dload Upload Total Spent Left Speed 23:41:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 92398 [Pipeline] sh 23:41:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:41:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:41:14 + sudo tee /etc/docker/daemon.new 23:41:14 { 23:41:14 "registry-mirrors": [ 23:41:14 "https://nexus3.edgexfoundry.org:10001" 23:41:14 ], 23:41:14 "bip": "10.250.0.254/24", 23:41:14 "hosts": [ 23:41:14 "tcp://0.0.0.0:5555", 23:41:14 "unix:///var/run/docker.sock" 23:41:14 ], 23:41:14 "mtu": 1458, 23:41:14 "selinux-enabled": true, 23:41:14 "seccomp-profile": "/etc/docker/seccomp.json" 23:41:14 } [Pipeline] sh 23:41:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:41:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:41:33 provisioning config files... 23:41:33 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/7@tmp/config5887868038887327020tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:41:34 ---> docker-login.sh 23:41:34 nexus3.edgexfoundry.org:10001 23:41:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:34 Configure a credential helper to remove this warning. See 23:41:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:34 23:41:34 Login Succeeded 23:41:34 nexus3.edgexfoundry.org:10002 23:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:35 Configure a credential helper to remove this warning. See 23:41:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:35 23:41:35 Login Succeeded 23:41:35 nexus3.edgexfoundry.org:10003 23:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:35 Configure a credential helper to remove this warning. See 23:41:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:35 23:41:35 Login Succeeded 23:41:35 nexus3.edgexfoundry.org:10004 23:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:35 Configure a credential helper to remove this warning. See 23:41:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:35 23:41:35 Login Succeeded 23:41:35 docker.io 23:41:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:36 Configure a credential helper to remove this warning. See 23:41:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:36 23:41:36 Login Succeeded 23:41:36 ---> docker-login.sh ends [Pipeline] } 23:41:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:41:36 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:41:36 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:41:36 ========================================================= 23:41:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:41:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:37 + 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 . 23:41:37 Sending build context to Docker daemon 19.71MB 23:41:37 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:41:37 Step 2/13 : FROM ${BASE} AS builder 23:41:37 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:41:37 9b18e9b68314: Pulling fs layer 23:41:37 35d82f9e3411: Pulling fs layer 23:41:37 e16973657156: Pulling fs layer 23:41:37 fc693d55d65f: Pulling fs layer 23:41:37 7e9fc2657dce: Pulling fs layer 23:41:37 dda99020689f: Pulling fs layer 23:41:37 db1c61fa0a46: Pulling fs layer 23:41:37 891c053d2c06: Pulling fs layer 23:41:37 fc693d55d65f: Waiting 23:41:37 7e9fc2657dce: Waiting 23:41:37 dda99020689f: Waiting 23:41:37 891c053d2c06: Waiting 23:41:37 db1c61fa0a46: Waiting 23:41:37 e16973657156: Verifying Checksum 23:41:37 e16973657156: Download complete 23:41:37 35d82f9e3411: Verifying Checksum 23:41:37 35d82f9e3411: Download complete 23:41:37 7e9fc2657dce: Verifying Checksum 23:41:37 7e9fc2657dce: Download complete 23:41:37 dda99020689f: Verifying Checksum 23:41:37 dda99020689f: Download complete 23:41:37 9b18e9b68314: Verifying Checksum 23:41:38 9b18e9b68314: Pull complete 23:41:38 891c053d2c06: Verifying Checksum 23:41:38 891c053d2c06: Download complete 23:41:39 35d82f9e3411: Pull complete 23:41:39 e16973657156: Pull complete 23:41:40 db1c61fa0a46: Verifying Checksum 23:41:40 db1c61fa0a46: Download complete 23:41:40 fc693d55d65f: Verifying Checksum 23:41:40 fc693d55d65f: Download complete 23:41:52 fc693d55d65f: Pull complete 23:41:52 7e9fc2657dce: Pull complete 23:41:52 dda99020689f: Pull complete 23:41:58 db1c61fa0a46: Pull complete 23:42:02 891c053d2c06: Pull complete 23:42:02 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 23:42:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:42:02 ---> f96f9c87975a 23:42:02 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:42:04 ---> Running in ddb5fccde291 23:42:04 Removing intermediate container ddb5fccde291 23:42:04 ---> ab54e3b344cc 23:42:04 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:42:04 ---> Running in cdc03796ec9b 23:42:04 Removing intermediate container cdc03796ec9b 23:42:04 ---> 0f8f2c78ad8d 23:42:04 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:42:04 ---> Running in 78fd7c4406d2 23:42:04 Removing intermediate container 78fd7c4406d2 23:42:04 ---> 5c410ce56642 23:42:04 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:42:05 ---> Running in f2a989b6a915 23:42:05 Removing intermediate container f2a989b6a915 23:42:05 ---> d3958134660e 23:42:05 Step 7/13 : LABEL Name=edgex-device-onvif-camera 23:42:05 ---> Running in d2546af535d9 23:42:05 Removing intermediate container d2546af535d9 23:42:05 ---> cd1c3497c977 23:42:05 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:42:05 ---> Running in 76c636213318 23:42:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:42:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:42:08 OK: 221 MiB in 51 packages 23:42:09 Removing intermediate container 76c636213318 23:42:09 ---> 4a70a71e5d8d 23:42:09 Step 9/13 : WORKDIR /device-onvif-camera 23:42:09 ---> Running in 7783e1a0fdae 23:42:09 Removing intermediate container 7783e1a0fdae 23:42:09 ---> e19523761ff0 23:42:09 Step 10/13 : COPY go.mod vendor* ./ 23:42:10 ---> 3cfa2ea8f1d4 23:42:10 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:42:10 ---> Running in fbc8b08cd8a0 23:43:18 Removing intermediate container fbc8b08cd8a0 23:43:18 ---> 05f7b37fd290 23:43:18 Step 12/13 : COPY . . 23:43:18 ---> 58f531ecbbb3 23:43:18 Step 13/13 : RUN ${MAKE} 23:43:18 ---> Running in f86aa012f379 23:43:18 noop 23:43:18 Removing intermediate container f86aa012f379 23:43:18 ---> 732974310873 23:43:18 Successfully built 732974310873 23:43:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:18 + docker inspect -f . ci-base-image-arm64 23:43:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:43:19 prd-ubuntu20.04-docker-arm64-4c-16g-4994 does not seem to be running inside a container 23:43:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@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-arm64 cat 23:43:22 $ docker top 90eeb844778861e441696f38e6c2b7644a1e4714910005075bada433f468b259 -eo pid,comm [Pipeline] { [Pipeline] sh 23:43:23 + go version 23:43:23 go version go1.18.7 linux/arm64 [Pipeline] } 23:43:23 $ docker stop --time=1 90eeb844778861e441696f38e6c2b7644a1e4714910005075bada433f468b259 23:43:24 $ docker rm -f --volumes 90eeb844778861e441696f38e6c2b7644a1e4714910005075bada433f468b259 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:25 + docker inspect -f . ci-base-image-arm64 23:43:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:43:25 prd-ubuntu20.04-docker-arm64-4c-16g-4994 does not seem to be running inside a container 23:43:25 $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@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-arm64 cat 23:43:26 $ docker top 54f397bebc770bd7a3382e66ddfeb9519328c56b099cdf6ac38c1138b4b307ff -eo pid,comm [Pipeline] { [Pipeline] sh 23:43:27 + git config --global --add safe.directory /w/workspace/device-onvif-camera/7 [Pipeline] fileExists [Pipeline] sh 23:43:27 + make test 23:43:27 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:43:29 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:45:06 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:45:09 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.193s coverage: 29.3% of statements 23:45:09 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:45:19 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 18.894s coverage: 86.5% of statements 23:45:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:45:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:45:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:45:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:45:52 ./bin/test-attribution-txt.sh [Pipeline] echo 23:45:52 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:45:52 $ docker stop --time=1 54f397bebc770bd7a3382e66ddfeb9519328c56b099cdf6ac38c1138b4b307ff 23:45:54 $ docker rm -f --volumes 54f397bebc770bd7a3382e66ddfeb9519328c56b099cdf6ac38c1138b4b307ff [Pipeline] // withDockerContainer [Pipeline] sh 23:45:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:45:55 Warning: overwriting stash ‘coverage-report’ 23:45:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:45:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:45:56 + ls -al . 23:45:56 total 244 23:45:56 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 23:43 . 23:45:56 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 23:41 .. 23:45:56 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 23:41 .git 23:45:56 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 23:41 .github 23:45:56 -rw-rw-r-- 1 jenkins jenkins 496 Mar 21 23:41 .gitignore 23:45:56 -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 23:41 .golangci.yml 23:45:56 -rw-rw-r-- 1 jenkins jenkins 9739 Mar 21 23:41 Attribution.txt 23:45:56 -rw-rw-r-- 1 jenkins jenkins 6535 Mar 21 23:41 CHANGELOG.md 23:45:56 -rw-rw-r-- 1 jenkins jenkins 1637 Mar 21 23:41 Dockerfile 23:45:56 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 23:41 GOVERNANCE.md 23:45:56 -rw-rw-r-- 1 jenkins jenkins 762 Mar 21 23:41 Jenkinsfile 23:45:56 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 21 23:41 LICENSE 23:45:56 -rw-rw-r-- 1 jenkins jenkins 2997 Mar 21 23:41 Makefile 23:45:56 -rw-rw-r-- 1 jenkins jenkins 625 Mar 21 23:41 OWNERS.md 23:45:56 -rw-rw-r-- 1 jenkins jenkins 6048 Mar 21 23:41 README.md 23:45:56 -rw-rw-r-- 1 jenkins jenkins 11 Mar 21 23:37 VERSION 23:45:56 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 23:41 bin 23:45:56 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 23:41 cmd 23:45:56 -rw-r--r-- 1 jenkins jenkins 79184 Mar 21 23:45 coverage.out 23:45:56 drwxrwxr-x 6 jenkins jenkins 4096 Mar 21 23:41 doc 23:45:56 -rw-rw-r-- 1 jenkins jenkins 3687 Mar 21 23:41 go.mod 23:45:56 -rw-rw-r-- 1 jenkins jenkins 46105 Mar 21 23:41 go.sum 23:45:56 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 23:41 internal 23:45:56 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 23:41 snap 23:45:56 -rw-rw-r-- 1 jenkins jenkins 236 Mar 21 23:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:45:56 + 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=4d60271c1a122ad73ad4ab446ee385de813631e9 --label arch=arm64 --label version=2.3.1-dev.5 . 23:45:57 Sending build context to Docker daemon 19.79MB 23:45:57 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 23:45:57 Step 2/26 : FROM ${BASE} AS builder 23:45:57 ---> 732974310873 23:45:57 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:45:57 ---> Running in 31f93f5fd3f7 23:45:57 Removing intermediate container 31f93f5fd3f7 23:45:57 ---> ed0fe9cfe68d 23:45:57 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:45:57 ---> Running in 740152a93fc7 23:45:58 Removing intermediate container 740152a93fc7 23:45:58 ---> 776ca714650e 23:45:58 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:45:58 ---> Running in 7ed3c98a4a37 23:45:58 Removing intermediate container 7ed3c98a4a37 23:45:58 ---> 053565ed254d 23:45:58 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:45:58 ---> Running in b96a9b1005a3 23:45:58 Removing intermediate container b96a9b1005a3 23:45:58 ---> cfaa43892082 23:45:58 Step 7/26 : LABEL Name=edgex-device-onvif-camera 23:45:58 ---> Running in dee447dc82ce 23:45:58 Removing intermediate container dee447dc82ce 23:45:58 ---> 7fdc7adb1e5c 23:45:58 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:45:59 ---> Running in 4339e50ae823 23:46:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:46:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:46:01 OK: 221 MiB in 51 packages 23:46:02 Removing intermediate container 4339e50ae823 23:46:02 ---> b3a2f7bd365b 23:46:02 Step 9/26 : WORKDIR /device-onvif-camera 23:46:02 ---> Running in 6cd8dffd6d8e 23:46:02 Removing intermediate container 6cd8dffd6d8e 23:46:02 ---> 7a0a05515cca 23:46:02 Step 10/26 : COPY go.mod vendor* ./ 23:46:03 ---> c5320c6a65cc 23:46:03 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:46:03 ---> Running in f820581f995a 23:46:05 Removing intermediate container f820581f995a 23:46:05 ---> 54335837917b 23:46:05 Step 12/26 : COPY . . 23:46:07 ---> ce4a67f4d75d 23:46:07 Step 13/26 : RUN ${MAKE} 23:46:07 ---> Running in 593ce2f1fdf9 23:46:07 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.1-dev.5 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 23:48:44 Removing intermediate container 593ce2f1fdf9 23:48:44 ---> a85fa3331d17 23:48:44 Step 14/26 : FROM alpine:3.16 23:48:44 3.16: Pulling from library/alpine 23:48:44 3760b48202b3: Pulling fs layer 23:48:44 3760b48202b3: Verifying Checksum 23:48:44 3760b48202b3: Download complete 23:48:44 3760b48202b3: Pull complete 23:48:44 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 23:48:44 Status: Downloaded newer image for alpine:3.16 23:48:44 ---> 4c81e5bf8899 23:48:44 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:48:44 ---> Running in 769daf258d82 23:48:44 Removing intermediate container 769daf258d82 23:48:44 ---> ccc6011a1ebc 23:48:44 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 23:48:44 ---> Running in 95bba8bf1d55 23:48:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:48:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:48:44 (1/6) Installing dumb-init (1.2.5-r1) 23:48:44 (2/6) Installing libgcc (11.2.1_git20220219-r2) 23:48:44 (3/6) Installing libsodium (1.0.18-r0) 23:48:44 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 23:48:44 (5/6) Installing libzmq (4.3.4-r0) 23:48:44 (6/6) Installing zeromq (4.3.4-r0) 23:48:44 Executing busybox-1.35.0-r17.trigger 23:48:44 OK: 8 MiB in 20 packages 23:48:44 Removing intermediate container 95bba8bf1d55 23:48:44 ---> 1f50afb08e49 23:48:44 Step 17/26 : WORKDIR / 23:48:44 ---> Running in a9bc9e923be7 23:48:44 Removing intermediate container a9bc9e923be7 23:48:44 ---> f7efe139a34e 23:48:44 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:48:44 ---> e64f9a6abbfb 23:48:44 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:48:44 ---> cdc744b1b090 23:48:44 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:48:44 ---> 49de4131bb30 23:48:44 Step 21/26 : EXPOSE 59984 23:48:44 ---> Running in 77ea2124f9a3 23:48:44 Removing intermediate container 77ea2124f9a3 23:48:44 ---> 9cf76f4dbded 23:48:44 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:48:44 ---> Running in 661a4fbe3b83 23:48:44 Removing intermediate container 661a4fbe3b83 23:48:44 ---> cbdf2d81025b 23:48:44 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:48:44 ---> Running in 2373f00ddf76 23:48:44 Removing intermediate container 2373f00ddf76 23:48:44 ---> f775cf2e9359 23:48:44 Step 24/26 : LABEL arch=arm64 23:48:44 ---> Running in 59f3da4859be 23:48:44 Removing intermediate container 59f3da4859be 23:48:44 ---> c621ddc2c99f 23:48:44 Step 25/26 : LABEL git_sha=4d60271c1a122ad73ad4ab446ee385de813631e9 23:48:44 ---> Running in 896eca0ec9bf 23:48:44 Removing intermediate container 896eca0ec9bf 23:48:44 ---> da0b999adfe3 23:48:44 Step 26/26 : LABEL version=2.3.1-dev.5 23:48:44 ---> Running in 31a8818bb21b 23:48:44 Removing intermediate container 31a8818bb21b 23:48:44 ---> 02da92c112ab 23:48:44 [Warning] One or more build-args [ARCH] were not consumed 23:48:44 Successfully built 02da92c112ab 23:48:44 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 23:48:44 provisioning config files... 23:48:44 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/7@tmp/config3764969765718195497tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:48:45 ---> docker-login.sh 23:48:45 nexus3.edgexfoundry.org:10001 23:48:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:48:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:48:45 Configure a credential helper to remove this warning. See 23:48:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:48:45 23:48:45 Login Succeeded 23:48:45 nexus3.edgexfoundry.org:10002 23:48:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:48:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:48:45 Configure a credential helper to remove this warning. See 23:48:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:48:45 23:48:45 Login Succeeded 23:48:45 nexus3.edgexfoundry.org:10003 23:48:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:48:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:48:46 Configure a credential helper to remove this warning. See 23:48:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:48:46 23:48:46 Login Succeeded 23:48:46 nexus3.edgexfoundry.org:10004 23:48:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:48:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:48:46 Configure a credential helper to remove this warning. See 23:48:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:48:46 23:48:46 Login Succeeded 23:48:46 docker.io 23:48:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:48:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:48:47 Configure a credential helper to remove this warning. See 23:48:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:48:47 23:48:47 Login Succeeded 23:48:47 ---> docker-login.sh ends [Pipeline] } 23:48:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:48:47 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:48:47 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 23:48:47 4d60271c1a122ad73ad4ab446ee385de813631e9 23:48:47 latest 23:48:47 2.3.1-dev.5 23:48:47 4d60271c1a122ad73ad4ab446ee385de813631e9-2.3.1-dev.5 23:48:47 levski 23:48:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:47 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4d60271c1a122ad73ad4ab446ee385de813631e9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:47 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4d60271c1a122ad73ad4ab446ee385de813631e9 23:48:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:48:47 081ab3135b41: Preparing 23:48:47 bfbc2296a5c1: Preparing 23:48:47 0c1b372ebfa7: Preparing 23:48:47 e4ce828577b3: Preparing 23:48:47 f70ee36035b9: Preparing 23:48:47 f70ee36035b9: Layer already exists 23:48:48 bfbc2296a5c1: Pushed 23:48:48 081ab3135b41: Pushed 23:48:48 e4ce828577b3: Pushed 23:48:55 0c1b372ebfa7: Pushed 23:48:55 4d60271c1a122ad73ad4ab446ee385de813631e9: digest: sha256:19cecd34571722c31123e14d754d7f975f83959eba83d1fca78c932e749ffc2f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:55 + 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 23:48:56 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 23:48:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:48:56 081ab3135b41: Preparing 23:48:56 bfbc2296a5c1: Preparing 23:48:56 0c1b372ebfa7: Preparing 23:48:56 e4ce828577b3: Preparing 23:48:56 f70ee36035b9: Preparing 23:48:56 f70ee36035b9: Layer already exists 23:48:56 e4ce828577b3: Layer already exists 23:48:56 bfbc2296a5c1: Layer already exists 23:48:56 0c1b372ebfa7: Layer already exists 23:48:56 081ab3135b41: Layer already exists 23:48:56 latest: digest: sha256:19cecd34571722c31123e14d754d7f975f83959eba83d1fca78c932e749ffc2f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:56 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:57 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.1-dev.5 23:48:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:48:57 081ab3135b41: Preparing 23:48:57 bfbc2296a5c1: Preparing 23:48:57 0c1b372ebfa7: Preparing 23:48:57 e4ce828577b3: Preparing 23:48:57 f70ee36035b9: Preparing 23:48:57 f70ee36035b9: Layer already exists 23:48:57 bfbc2296a5c1: Layer already exists 23:48:57 081ab3135b41: Layer already exists 23:48:57 e4ce828577b3: Layer already exists 23:48:57 0c1b372ebfa7: Layer already exists 23:48:57 2.3.1-dev.5: digest: sha256:19cecd34571722c31123e14d754d7f975f83959eba83d1fca78c932e749ffc2f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:57 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4d60271c1a122ad73ad4ab446ee385de813631e9-2.3.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:58 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4d60271c1a122ad73ad4ab446ee385de813631e9-2.3.1-dev.5 23:48:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:48:58 081ab3135b41: Preparing 23:48:58 bfbc2296a5c1: Preparing 23:48:58 0c1b372ebfa7: Preparing 23:48:58 e4ce828577b3: Preparing 23:48:58 f70ee36035b9: Preparing 23:48:58 0c1b372ebfa7: Layer already exists 23:48:58 081ab3135b41: Layer already exists 23:48:58 bfbc2296a5c1: Layer already exists 23:48:58 f70ee36035b9: Layer already exists 23:48:58 e4ce828577b3: Layer already exists 23:48:58 4d60271c1a122ad73ad4ab446ee385de813631e9-2.3.1-dev.5: digest: sha256:19cecd34571722c31123e14d754d7f975f83959eba83d1fca78c932e749ffc2f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:58 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:levski [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:59 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:levski 23:48:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:48:59 081ab3135b41: Preparing 23:48:59 bfbc2296a5c1: Preparing 23:48:59 0c1b372ebfa7: Preparing 23:48:59 e4ce828577b3: Preparing 23:48:59 f70ee36035b9: Preparing 23:48:59 f70ee36035b9: Layer already exists 23:48:59 081ab3135b41: Layer already exists 23:48:59 0c1b372ebfa7: Layer already exists 23:48:59 bfbc2296a5c1: Layer already exists 23:48:59 e4ce828577b3: Layer already exists 23:48:59 levski: digest: sha256:19cecd34571722c31123e14d754d7f975f83959eba83d1fca78c932e749ffc2f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:48:59 ===================================================== [Pipeline] echo 23:48:59 taggedImages: 23:48:59 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4d60271c1a122ad73ad4ab446ee385de813631e9 23:48:59 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 23:48:59 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.1-dev.5 23:48:59 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4d60271c1a122ad73ad4ab446ee385de813631e9-2.3.1-dev.5 23:48:59 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:levski [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:48:59 23:48:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:49:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:49:00 arm64: Pulling from edgex-lftools-log-publisher 23:49:00 8998bd30e6a1: Pulling fs layer 23:49:00 04944245beec: Pulling fs layer 23:49:00 699f458cf7ca: Pulling fs layer 23:49:00 765212b225bb: Pulling fs layer 23:49:00 f23df028b6ca: Pulling fs layer 23:49:00 d65c8cfc05b1: Pulling fs layer 23:49:00 2437ff75d9bd: Pulling fs layer 23:49:00 765212b225bb: Waiting 23:49:00 f23df028b6ca: Waiting 23:49:00 d65c8cfc05b1: Waiting 23:49:00 2437ff75d9bd: Waiting 23:49:00 04944245beec: Verifying Checksum 23:49:00 04944245beec: Download complete 23:49:00 765212b225bb: Verifying Checksum 23:49:00 765212b225bb: Download complete 23:49:00 f23df028b6ca: Verifying Checksum 23:49:00 f23df028b6ca: Download complete 23:49:00 d65c8cfc05b1: Verifying Checksum 23:49:00 d65c8cfc05b1: Download complete 23:49:00 699f458cf7ca: Verifying Checksum 23:49:00 699f458cf7ca: Download complete 23:49:00 8998bd30e6a1: Verifying Checksum 23:49:00 8998bd30e6a1: Download complete 23:49:03 2437ff75d9bd: Verifying Checksum 23:49:03 2437ff75d9bd: Download complete 23:49:04 8998bd30e6a1: Pull complete 23:49:05 04944245beec: Pull complete 23:49:06 699f458cf7ca: Pull complete 23:49:06 765212b225bb: Pull complete 23:49:07 f23df028b6ca: Pull complete 23:49:07 d65c8cfc05b1: Pull complete 23:49:22 2437ff75d9bd: Pull complete 23:49:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:49:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:49:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:49:22 prd-ubuntu20.04-docker-arm64-4c-16g-4994 does not seem to be running inside a container 23:49:23 $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@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:arm64 cat 23:49:25 $ docker top 45c99dd5781a11945db02139dc9037e879e44130c7ee36ec23a01de12711a581 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:49:26 ---> job-cost.sh 23:49:26 lf-activate-venv: SKIPPING 23:49:26 INFO: No Stack... 23:49:29 INFO: Retrieving Pricing Info for: v3-standard-4 23:49:29 INFO: Archiving Costs [Pipeline] sh 23:49:30 + cut -d, -f6 23:49:30 + cat /w/workspace/device-onvif-camera/7/archives/cost.csv [Pipeline] lock 23:49:30 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-levski-7-stack-cost] 23:49:30 Resource [jenkins-edgexfoundry-device-onvif-camera-levski-7-stack-cost] did not exist. Created. 23:49:30 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-levski-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:49:30 /w/workspace/device-onvif-camera/7@tmp/durable-67cb9ce5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:49:31 + echo total: 0.10999999940395355 [Pipeline] stash 23:49:31 Warning: overwriting stash ‘stack-cost’ 23:49:31 Stashed 1 file(s) [Pipeline] } 23:49:31 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-levski-7-stack-cost] [Pipeline] // lock [Pipeline] } 23:49:31 $ docker stop --time=1 45c99dd5781a11945db02139dc9037e879e44130c7ee36ec23a01de12711a581 23:49:32 $ docker rm -f --volumes 45c99dd5781a11945db02139dc9037e879e44130c7ee36ec23a01de12711a581 [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 23:49:33 provisioning config files... 23:49:33 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_levski@tmp/config9214448957269039096tmp [Pipeline] { [Pipeline] sh 23:49:33 + set +x 23:49:33 + + curl -s https://codecov.io/bash 23:49:33 bash -s -- 23:49:33 23:49:33 _____ _ 23:49:33 / ____| | | 23:49:33 | | ___ __| | ___ ___ _____ __ 23:49:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:49:33 | |___| (_) | (_| | __/ (_| (_) \ V / 23:49:33 \_____\___/ \__,_|\___|\___\___/ \_/ 23:49:33 Bash-1.0.6 23:49:33 23:49:33 23:49:33 ==> git version 2.25.1 found 23:49:33 ==> 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 23:49:33 Release-Date: 2020-01-08 23:49:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:49:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:49:33 ==> Jenkins CI detected. 23:49:33 current dir:  /w/workspace/undry_device-onvif-camera_levski 23:49:33 project root: . 23:49:33 --> token set from env 23:49:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:49:33 ==> Running gcov in . (disable via -X gcov) 23:49:33 ==> Python coveragepy not found 23:49:33 ==> Searching for coverage reports in: 23:49:33 + . 23:49:33 -> Found 1 reports 23:49:33 ==> Detecting git/mercurial file structure 23:49:33 ==> Reading reports 23:49:33 + ./coverage.out bytes=79184 23:49:33 ==> Appending adjustments 23:49:33 https://docs.codecov.io/docs/fixing-reports 23:49:33 + Found adjustments 23:49:33 ==> Gzipping contents 23:49:33 12K /tmp/codecov.Dbdrjv.gz 23:49:33 ==> Uploading reports 23:49:33 url: https://codecov.io 23:49:33 query: branch=levski&commit=4d60271c1a122ad73ad4ab446ee385de813631e9&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Flevski%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 23:49:33 -> Pinging Codecov 23:49:33 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=levski&commit=4d60271c1a122ad73ad4ab446ee385de813631e9&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Flevski%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 23:49:34 -> Uploading to 23:49:34 https://storage.googleapis.com/codecov/v4/raw/2023-03-21/F29A59C45E3A92E06B3E522C9905F8EF/4d60271c1a122ad73ad4ab446ee385de813631e9/89a06027-5aac-473a-b908-dc09c09c3e50.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T234933Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=654d5dc8f9cf87962dad6d1addf74aa48d26e4d9f2463c93c97906b365b382e1 23:49:34 % Total % Received % Xferd Average Speed Time Time Time Current 23:49:34 Dload Upload Total Spent Left Speed 23:49:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10887 0 0 100 10887 0 36656 --:--:-- --:--:-- --:--:-- 36780 23:49:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/4d60271c1a122ad73ad4ab446ee385de813631e9 [Pipeline] } 23:49:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:49:34 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:49:34 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:49:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:49:34 23:49:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:49:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:49:35 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:49:35 df9b9388f04a: Pulling fs layer 23:49:35 52dc419b0ee2: Pulling fs layer 23:49:35 25bc292e5bac: Pulling fs layer 23:49:35 114826534d7a: Pulling fs layer 23:49:35 4657fd5d0bcf: Pulling fs layer 23:49:35 6ad1cebc031e: Pulling fs layer 23:49:35 8a3aa393b2d8: Pulling fs layer 23:49:35 6ad1cebc031e: Waiting 23:49:35 4657fd5d0bcf: Waiting 23:49:35 8a3aa393b2d8: Waiting 23:49:35 114826534d7a: Waiting 23:49:35 25bc292e5bac: Download complete 23:49:35 52dc419b0ee2: Verifying Checksum 23:49:35 52dc419b0ee2: Download complete 23:49:35 4657fd5d0bcf: Verifying Checksum 23:49:35 4657fd5d0bcf: Download complete 23:49:35 df9b9388f04a: Verifying Checksum 23:49:35 df9b9388f04a: Download complete 23:49:35 df9b9388f04a: Pull complete 23:49:35 6ad1cebc031e: Download complete 23:49:35 52dc419b0ee2: Pull complete 23:49:35 25bc292e5bac: Pull complete 23:49:36 114826534d7a: Download complete 23:49:36 8a3aa393b2d8: Verifying Checksum 23:49:36 8a3aa393b2d8: Download complete 23:49:39 114826534d7a: Pull complete 23:49:39 4657fd5d0bcf: Pull complete 23:49:39 6ad1cebc031e: Pull complete 23:49:42 8a3aa393b2d8: Pull complete 23:49:42 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 23:49:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:49:42 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:49:42 prd-ubuntu20.04-docker-8c-8g-4993 does not seem to be running inside a container 23:49:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/undry_device-onvif-camera_levski -v /w/workspace/undry_device-onvif-camera_levski:/w/workspace/undry_device-onvif-camera_levski:rw,z -v /w/workspace/undry_device-onvif-camera_levski@tmp:/w/workspace/undry_device-onvif-camera_levski@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 23:49:44 $ docker top e4adccb3fe3ea81506a1894a2a33cac968fdbf4f0067a01178c225df6c814a90 -eo pid,comm [Pipeline] { [Pipeline] echo 23:49:44 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:levski' [Pipeline] sh 23:49:44 + set -o pipefail 23:49:44 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:levski' 23:49:51 23:49:51 Monitoring /w/workspace/undry_device-onvif-camera_levski (github.com/edgexfoundry/device-onvif-camera)... 23:49:51 23:49:51 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bd71c595-cdc2-4fe6-bf78-b85af0ecca2e/history/8498ed66-5d9a-4b58-b73d-7f4e9a5ca54a 23:49:51 23:49:51 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 23:49:51 23:49:51 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:49:51 23:49:51 23:49:51 A medium severity vulnerability was found in the Snyk CLI versions you are using. 23:49:51 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 23:49:51 More details here: https://snyk.co/ue1NS [Pipeline] } 23:49:51 $ docker stop --time=1 e4adccb3fe3ea81506a1894a2a33cac968fdbf4f0067a01178c225df6c814a90 23:49:53 $ docker rm -f --volumes e4adccb3fe3ea81506a1894a2a33cac968fdbf4f0067a01178c225df6c814a90 [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 23:49:53 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:49:53 provisioning config files... 23:49:53 copy managed file [swaggerhub-api-key] to file:/w/workspace/undry_device-onvif-camera_levski@tmp/config13054284238660382376tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:49:54 --> edgex-publish-swagger.sh 23:49:54 === Publish doc/openapi/v2 API === 23:49:54 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 23:49:54 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/undry_device-onvif-camera_levski/doc/openapi/v2/device-onvif-camera.yaml] 23:49:54 % Total % Received % Xferd Average Speed Time Time Time Current 23:49:54 Dload Upload Total Spent Left Speed 23:49:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 708k --:--:-- --:--:-- --:--:-- 707k 100 469k 0 0 100 469k 0 708k --:--:-- --:--:-- --:--:-- 707k 23:49:54 23:49:54 [Pipeline] } 23:49:54 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 23:49:55 + git log --format=format:%s -1 4d60271c1a122ad73ad4ab446ee385de813631e9 [Pipeline] sh 23:49:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:49:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:49:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:49:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:49:55 prd-ubuntu20.04-docker-8c-8g-4993 does not seem to be running inside a container 23:49:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_levski -v /w/workspace/undry_device-onvif-camera_levski:/w/workspace/undry_device-onvif-camera_levski:rw,z -v /w/workspace/undry_device-onvif-camera_levski@tmp:/w/workspace/undry_device-onvif-camera_levski@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 23:49:56 $ docker top 663c7c45bdf4117d48295c3bb2f571079d6151518407a898391c44d2783c42dd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:49:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:49:56 [ssh-agent] Looking for ssh-agent implementation... 23:49:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:49:56 $ docker exec 663c7c45bdf4117d48295c3bb2f571079d6151518407a898391c44d2783c42dd ssh-agent 23:49:56 SSH_AUTH_SOCK=/tmp/ssh-xzQOMpUyReLl/agent.32 23:49:56 SSH_AGENT_PID=38 23:49:56 Running ssh-add (command line suppressed) 23:49:56 Identity added: /w/workspace/undry_device-onvif-camera_levski@tmp/private_key_5606135255474072016.key (/w/workspace/undry_device-onvif-camera_levski@tmp/private_key_5606135255474072016.key) 23:49:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:49:57 + git semver tag 23:49:57 2023-03-21 23:49:57,203 [run_tag] DEBUG tag force:False 23:49:57 2023-03-21 23:49:57,203 [check_head_tag] DEBUG check head tag 23:49:57 2023-03-21 23:49:57,205 [execute] INFO git cat-file --batch-check 23:49:57 2023-03-21 23:49:57,205 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_levski, universal_newlines=False, shell=None, istream=) 23:49:57 2023-03-21 23:49:57,208 [execute] INFO git cat-file --batch 23:49:57 2023-03-21 23:49:57,208 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_levski, universal_newlines=False, shell=None, istream=) 23:49:57 2023-03-21 23:49:57,236 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_levski/.semver/levski 23:49:57 2023-03-21 23:49:57,236 [execute] INFO git tag -a v2.3.1-dev.5 -m v2.3.1-dev.5 23:49:57 2023-03-21 23:49:57,236 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.1-dev.5', '-m', 'v2.3.1-dev.5'], cwd=/w/workspace/undry_device-onvif-camera_levski, universal_newlines=False, shell=None, istream=None) 23:49:57 2023-03-21 23:49:57,240 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_levski/.semver/levski 23:49:57 2.3.1-dev.5 [Pipeline] } 23:49:57 $ docker exec --env ******** --env ******** 663c7c45bdf4117d48295c3bb2f571079d6151518407a898391c44d2783c42dd ssh-agent -k 23:49:57 unset SSH_AUTH_SOCK; 23:49:57 unset SSH_AGENT_PID; 23:49:57 echo Agent pid 38 killed; 23:49:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:49:57 + git semver [Pipeline] } 23:49:57 $ docker stop --time=1 663c7c45bdf4117d48295c3bb2f571079d6151518407a898391c44d2783c42dd 23:49:59 $ docker rm -f --volumes 663c7c45bdf4117d48295c3bb2f571079d6151518407a898391c44d2783c42dd [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:49:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:49:59 23:49:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:49:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:49:59 0.23.1-centos7: Pulling from edgex-lftools 23:49:59 ab5ef0e58194: Pulling fs layer 23:49:59 9712f1f96733: Pulling fs layer 23:49:59 63f879dbbcfc: Pulling fs layer 23:49:59 0d9ebad4ef96: Pulling fs layer 23:49:59 e9a5061849ea: Pulling fs layer 23:49:59 d747dcd14b5f: Pulling fs layer 23:49:59 2de7ff778b66: Pulling fs layer 23:49:59 0d9ebad4ef96: Waiting 23:49:59 e9a5061849ea: Waiting 23:49:59 2de7ff778b66: Waiting 23:49:59 d747dcd14b5f: Waiting 23:49:59 9712f1f96733: Verifying Checksum 23:49:59 9712f1f96733: Download complete 23:50:00 63f879dbbcfc: Verifying Checksum 23:50:00 63f879dbbcfc: Download complete 23:50:00 e9a5061849ea: Verifying Checksum 23:50:00 e9a5061849ea: Download complete 23:50:00 d747dcd14b5f: Download complete 23:50:00 ab5ef0e58194: Verifying Checksum 23:50:00 ab5ef0e58194: Download complete 23:50:00 0d9ebad4ef96: Verifying Checksum 23:50:00 0d9ebad4ef96: Download complete 23:50:00 2de7ff778b66: Verifying Checksum 23:50:00 2de7ff778b66: Download complete 23:50:03 ab5ef0e58194: Pull complete 23:50:03 9712f1f96733: Pull complete 23:50:03 63f879dbbcfc: Pull complete 23:50:07 0d9ebad4ef96: Pull complete 23:50:07 e9a5061849ea: Pull complete 23:50:07 d747dcd14b5f: Pull complete 23:50:08 2de7ff778b66: Pull complete 23:50:08 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:50:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:50:08 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:50:08 prd-ubuntu20.04-docker-8c-8g-4993 does not seem to be running inside a container 23:50:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_levski -v /w/workspace/undry_device-onvif-camera_levski:/w/workspace/undry_device-onvif-camera_levski:rw,z -v /w/workspace/undry_device-onvif-camera_levski@tmp:/w/workspace/undry_device-onvif-camera_levski@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 23:50:10 $ docker top b1296cb6fe5ffeee01bdab465203f89ed55c4e093003e59ffd9a1aa3712c53b5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:50:10 provisioning config files... 23:50:10 copy managed file [sigul-config] to file:/w/workspace/undry_device-onvif-camera_levski@tmp/config12895281449559822269tmp 23:50:10 copy managed file [sigul-password] to file:/w/workspace/undry_device-onvif-camera_levski@tmp/config10738202089962936186tmp 23:50:10 copy managed file [sigul-pki] to file:/w/workspace/undry_device-onvif-camera_levski@tmp/config17068646744698143603tmp [Pipeline] { [Pipeline] echo 23:50:10 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:50:11 ---> sigul-configuration.sh 23:50:11 gpg: directory `/root/.gnupg' created 23:50:11 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:50:11 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:50:11 gpg: keyring `/root/.gnupg/secring.gpg' created 23:50:11 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:50:11 gpg: CAST5 encrypted data 23:50:11 gpg: encrypted with 1 passphrase 23:50:11 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:50:11 + mkdir /home/jenkins 23:50:11 + mkdir /home/jenkins/sigul [Pipeline] sh 23:50:11 + 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 23:50:11 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:50:11 ---> sigul-install.sh 23:50:11 Sigul already installed; skipping installation. [Pipeline] sh 23:50:12 + git tag --list 23:50:12 v0.0.0 23:50:12 v0.0.1-dev.1 23:50:12 v0.0.1-dev.10 23:50:12 v0.0.1-dev.11 23:50:12 v0.0.1-dev.12 23:50:12 v0.0.1-dev.13 23:50:12 v0.0.1-dev.14 23:50:12 v0.0.1-dev.15 23:50:12 v0.0.1-dev.16 23:50:12 v0.0.1-dev.17 23:50:12 v0.0.1-dev.18 23:50:12 v0.0.1-dev.19 23:50:12 v0.0.1-dev.2 23:50:12 v0.0.1-dev.20 23:50:12 v0.0.1-dev.21 23:50:12 v0.0.1-dev.22 23:50:12 v0.0.1-dev.23 23:50:12 v0.0.1-dev.24 23:50:12 v0.0.1-dev.25 23:50:12 v0.0.1-dev.26 23:50:12 v0.0.1-dev.27 23:50:12 v0.0.1-dev.28 23:50:12 v0.0.1-dev.3 23:50:12 v0.0.1-dev.4 23:50:12 v0.0.1-dev.5 23:50:12 v0.0.1-dev.6 23:50:12 v0.0.1-dev.7 23:50:12 v0.0.1-dev.8 23:50:12 v0.0.1-dev.9 23:50:12 v2.2.0 23:50:12 v2.2.0-dev.29 23:50:12 v2.2.0-dev.30 23:50:12 v2.2.0-dev.31 23:50:12 v2.2.0-dev.32 23:50:12 v2.2.0-dev.33 23:50:12 v2.2.0-dev.34 23:50:12 v2.2.0-dev.35 23:50:12 v2.3.0 23:50:12 v2.3.0-dev.1 23:50:12 v2.3.0-dev.10 23:50:12 v2.3.0-dev.11 23:50:12 v2.3.0-dev.12 23:50:12 v2.3.0-dev.13 23:50:12 v2.3.0-dev.14 23:50:12 v2.3.0-dev.15 23:50:12 v2.3.0-dev.16 23:50:12 v2.3.0-dev.17 23:50:12 v2.3.0-dev.18 23:50:12 v2.3.0-dev.19 23:50:12 v2.3.0-dev.2 23:50:12 v2.3.0-dev.20 23:50:12 v2.3.0-dev.21 23:50:12 v2.3.0-dev.22 23:50:12 v2.3.0-dev.23 23:50:12 v2.3.0-dev.24 23:50:12 v2.3.0-dev.25 23:50:12 v2.3.0-dev.26 23:50:12 v2.3.0-dev.27 23:50:12 v2.3.0-dev.28 23:50:12 v2.3.0-dev.29 23:50:12 v2.3.0-dev.3 23:50:12 v2.3.0-dev.30 23:50:12 v2.3.0-dev.31 23:50:12 v2.3.0-dev.32 23:50:12 v2.3.0-dev.33 23:50:12 v2.3.0-dev.34 23:50:12 v2.3.0-dev.35 23:50:12 v2.3.0-dev.36 23:50:12 v2.3.0-dev.37 23:50:12 v2.3.0-dev.38 23:50:12 v2.3.0-dev.39 23:50:12 v2.3.0-dev.4 23:50:12 v2.3.0-dev.40 23:50:12 v2.3.0-dev.41 23:50:12 v2.3.0-dev.42 23:50:12 v2.3.0-dev.43 23:50:12 v2.3.0-dev.44 23:50:12 v2.3.0-dev.45 23:50:12 v2.3.0-dev.5 23:50:12 v2.3.0-dev.6 23:50:12 v2.3.0-dev.7 23:50:12 v2.3.0-dev.8 23:50:12 v2.3.0-dev.9 23:50:12 v2.3.1-dev.1 23:50:12 v2.3.1-dev.4 23:50:12 v2.3.1-dev.5 23:50:12 v3.0.0-dev.1 23:50:12 v3.0.0-dev.10 23:50:12 v3.0.0-dev.11 23:50:12 v3.0.0-dev.12 23:50:12 v3.0.0-dev.13 23:50:12 v3.0.0-dev.14 23:50:12 v3.0.0-dev.15 23:50:12 v3.0.0-dev.16 23:50:12 v3.0.0-dev.17 23:50:12 v3.0.0-dev.18 23:50:12 v3.0.0-dev.19 23:50:12 v3.0.0-dev.2 23:50:12 v3.0.0-dev.20 23:50:12 v3.0.0-dev.21 23:50:12 v3.0.0-dev.22 23:50:12 v3.0.0-dev.23 23:50:12 v3.0.0-dev.3 23:50:12 v3.0.0-dev.4 23:50:12 v3.0.0-dev.5 23:50:12 v3.0.0-dev.6 23:50:12 v3.0.0-dev.7 23:50:12 v3.0.0-dev.8 23:50:12 v3.0.0-dev.9 [Pipeline] sh 23:50:12 + lftools sign git-tag v2.3.1-dev.5 23:50:13 Signing Git tag with Sigul... 23:50:13 Signing v2.3.1-dev.5 [Pipeline] echo 23:50:13 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:50:13 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:50:13 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:50:13 $ docker stop --time=1 b1296cb6fe5ffeee01bdab465203f89ed55c4e093003e59ffd9a1aa3712c53b5 23:50:14 $ docker rm -f --volumes b1296cb6fe5ffeee01bdab465203f89ed55c4e093003e59ffd9a1aa3712c53b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 23:50:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:50:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:50:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:50:15 prd-ubuntu20.04-docker-8c-8g-4993 does not seem to be running inside a container 23:50:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_levski -v /w/workspace/undry_device-onvif-camera_levski:/w/workspace/undry_device-onvif-camera_levski:rw,z -v /w/workspace/undry_device-onvif-camera_levski@tmp:/w/workspace/undry_device-onvif-camera_levski@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 23:50:16 $ docker top 0c4ac4a73f33b47083c6fa640b5731683a6ad25a165837a94b07364af8ba2c99 -eo pid,comm 23:50:16 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). 23:50:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:50:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:50:16 [ssh-agent] Looking for ssh-agent implementation... 23:50:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:50:16 $ docker exec 0c4ac4a73f33b47083c6fa640b5731683a6ad25a165837a94b07364af8ba2c99 ssh-agent 23:50:16 SSH_AUTH_SOCK=/tmp/ssh-Mgc44rSPh5LN/agent.32 23:50:16 SSH_AGENT_PID=38 23:50:16 Running ssh-add (command line suppressed) 23:50:16 Identity added: /w/workspace/undry_device-onvif-camera_levski@tmp/private_key_9105615505539845120.key (/w/workspace/undry_device-onvif-camera_levski@tmp/private_key_9105615505539845120.key) 23:50:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:50:16 + git semver bump pre 23:50:17 2023-03-21 23:50:17,078 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_levski/.semver/levski 23:50:17 2023-03-21 23:50:17,079 [bump_version] DEBUG bumping version:2.3.1-dev.5 on axis:pre with prefix:dev 23:50:17 2023-03-21 23:50:17,079 [bump_version] DEBUG bumped version:2.3.1-dev.6 23:50:17 2023-03-21 23:50:17,079 [write_version] DEBUG write version:2.3.1-dev.6 to path:/w/workspace/undry_device-onvif-camera_levski/.semver/levski with force:True 23:50:17 2023-03-21 23:50:17,079 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_levski/.semver/levski 23:50:17 2023-03-21 23:50:17,079 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_levski/.semver/levski 23:50:17 2023-03-21 23:50:17,083 [execute] INFO git cat-file --batch-check 23:50:17 2023-03-21 23:50:17,084 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_levski/.semver, universal_newlines=False, shell=None, istream=) 23:50:17 2023-03-21 23:50:17,089 [execute] INFO git cat-file --batch 23:50:17 2023-03-21 23:50:17,090 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_levski/.semver, universal_newlines=False, shell=None, istream=) 23:50:17 2023-03-21 23:50:17,094 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_levski/.semver/levski 23:50:17 2.3.1-dev.6 [Pipeline] } 23:50:17 $ docker exec --env ******** --env ******** 0c4ac4a73f33b47083c6fa640b5731683a6ad25a165837a94b07364af8ba2c99 ssh-agent -k 23:50:17 unset SSH_AUTH_SOCK; 23:50:17 unset SSH_AGENT_PID; 23:50:17 echo Agent pid 38 killed; 23:50:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:50:17 + git semver [Pipeline] } 23:50:17 $ docker stop --time=1 0c4ac4a73f33b47083c6fa640b5731683a6ad25a165837a94b07364af8ba2c99 23:50:19 $ docker rm -f --volumes 0c4ac4a73f33b47083c6fa640b5731683a6ad25a165837a94b07364af8ba2c99 [Pipeline] // withDockerContainer [Pipeline] sh 23:50:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:50:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:50:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:50:19 prd-ubuntu20.04-docker-8c-8g-4993 does not seem to be running inside a container 23:50:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_levski -v /w/workspace/undry_device-onvif-camera_levski:/w/workspace/undry_device-onvif-camera_levski:rw,z -v /w/workspace/undry_device-onvif-camera_levski@tmp:/w/workspace/undry_device-onvif-camera_levski@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 23:50:20 $ docker top a29cc3e9fde0927f7c921cbc5655d44f33b4b8200016bffd7b70f3200ace34e3 -eo pid,comm 23:50:20 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). 23:50:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:50:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:50:20 [ssh-agent] Looking for ssh-agent implementation... 23:50:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:50:20 $ docker exec a29cc3e9fde0927f7c921cbc5655d44f33b4b8200016bffd7b70f3200ace34e3 ssh-agent 23:50:20 SSH_AUTH_SOCK=/tmp/ssh-XsY5JvUJKCzz/agent.32 23:50:20 SSH_AGENT_PID=38 23:50:20 Running ssh-add (command line suppressed) 23:50:20 Identity added: /w/workspace/undry_device-onvif-camera_levski@tmp/private_key_2299265315519582326.key (/w/workspace/undry_device-onvif-camera_levski@tmp/private_key_2299265315519582326.key) 23:50:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:50:21 + git semver push 23:50:21 2023-03-21 23:50:21,244 [run_push] DEBUG push 23:50:21 2023-03-21 23:50:21,244 [execute] INFO git cat-file --batch-check 23:50:21 2023-03-21 23:50:21,245 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_levski/.semver, universal_newlines=False, shell=None, istream=) 23:50:21 2023-03-21 23:50:21,248 [execute] INFO git rev-list 624dc9f66983e0d4b521ba63be18a2b1ff89da81 -- 23:50:21 2023-03-21 23:50:21,248 [execute] DEBUG Popen(['git', 'rev-list', '624dc9f66983e0d4b521ba63be18a2b1ff89da81', '--'], cwd=/w/workspace/undry_device-onvif-camera_levski/.semver, universal_newlines=False, shell=None, istream=None) 23:50:21 2023-03-21 23:50:21,255 [execute] INFO git fetch -v origin 23:50:21 2023-03-21 23:50:21,256 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/undry_device-onvif-camera_levski/.semver, universal_newlines=True, shell=None, istream=None) 23:50:21 2023-03-21 23:50:21,714 [run_push] DEBUG no remote changes detected 23:50:21 2023-03-21 23:50:21,715 [execute] INFO git push origin semver 23:50:21 2023-03-21 23:50:21,715 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/undry_device-onvif-camera_levski/.semver, universal_newlines=False, shell=None, istream=None) 23:50:22 2023-03-21 23:50:22,671 [run_push] DEBUG push all version tags 23:50:22 2023-03-21 23:50:22,671 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 23:50:22 2023-03-21 23:50:22,672 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/undry_device-onvif-camera_levski, universal_newlines=False, shell=None, istream=None) 23:50:23 2023-03-21 23:50:23,369 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_levski/.semver/levski 23:50:23 2.3.1-dev.6 [Pipeline] } 23:50:23 $ docker exec --env ******** --env ******** a29cc3e9fde0927f7c921cbc5655d44f33b4b8200016bffd7b70f3200ace34e3 ssh-agent -k 23:50:23 unset SSH_AUTH_SOCK; 23:50:23 unset SSH_AGENT_PID; 23:50:23 echo Agent pid 38 killed; 23:50:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:50:23 + git semver [Pipeline] } 23:50:24 $ docker stop --time=1 a29cc3e9fde0927f7c921cbc5655d44f33b4b8200016bffd7b70f3200ace34e3 23:50:25 $ docker rm -f --volumes a29cc3e9fde0927f7c921cbc5655d44f33b4b8200016bffd7b70f3200ace34e3 [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 23:50:25 + [ -d /w/workspace/undry_device-onvif-camera_levski/archives ] 23:50:25 + ls -al /w/workspace/undry_device-onvif-camera_levski/archives 23:50:25 total 16 23:50:25 drwxr-xr-x 3 root root 4096 Mar 21 23:39 . 23:50:25 drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 23:50 .. 23:50:25 drwxr-xr-x 2 root root 4096 Mar 21 23:39 cost 23:50:25 -rw-r--r-- 1 root root 91 Mar 21 23:39 cost.csv 23:50:25 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_levski/archives 23:50:25 + ls -al /w/workspace/undry_device-onvif-camera_levski/archives 23:50:25 total 16 23:50:25 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 23:39 . 23:50:25 drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 23:50 .. 23:50:25 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 23:39 cost 23:50:25 -rw-r--r-- 1 jenkins jenkins 91 Mar 21 23:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:50:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:50:27 ---> package-listing.sh 23:50:27 ++ facter osfamily 23:50:27 ++ tr '[:upper:]' '[:lower:]' 23:50:27 + OS_FAMILY=debian 23:50:27 + workspace=/w/workspace/undry_device-onvif-camera_levski 23:50:27 + START_PACKAGES=/tmp/packages_start.txt 23:50:27 + END_PACKAGES=/tmp/packages_end.txt 23:50:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:50:27 + PACKAGES=/tmp/packages_start.txt 23:50:27 + '[' /w/workspace/undry_device-onvif-camera_levski ']' 23:50:27 + PACKAGES=/tmp/packages_end.txt 23:50:27 + case "${OS_FAMILY}" in 23:50:27 + dpkg -l 23:50:27 + grep '^ii' 23:50:27 + '[' -f /tmp/packages_start.txt ']' 23:50:27 + '[' -f /tmp/packages_end.txt ']' 23:50:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:50:27 + '[' /w/workspace/undry_device-onvif-camera_levski ']' 23:50:27 + mkdir -p /w/workspace/undry_device-onvif-camera_levski/archives/ 23:50:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_levski/archives/ [Pipeline] echo 23:50:27 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/undry_device-onvif-camera_levski/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:50:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:50:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:50:28 prd-ubuntu20.04-docker-8c-8g-4993 does not seem to be running inside a container 23:50:28 $ 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/undry_device-onvif-camera_levski/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_levski -v /w/workspace/undry_device-onvif-camera_levski:/w/workspace/undry_device-onvif-camera_levski:rw,z -v /w/workspace/undry_device-onvif-camera_levski@tmp:/w/workspace/undry_device-onvif-camera_levski@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 23:50:28 $ docker top a0d172de27f50be3a6d7e079801b3fb60a0c020b6b7bd67f8e2c0ad29683f4d2 -eo pid,comm [Pipeline] { [Pipeline] sh 23:50:28 + touch /tmp/pre-build-complete [Pipeline] sh 23:50:28 + mkdir -p /var/log/sysstat [Pipeline] sh 23:50:29 + ls /var/log/sa-host 23:50:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:50:29 provisioning config files... 23:50:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_levski@tmp/config8778266918381984905tmp [Pipeline] { [Pipeline] echo 23:50:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:50:29 ---> create-netrc.sh [Pipeline] } 23:50:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:50:29 ---> python-tools-install.sh [Pipeline] echo 23:50:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:50:30 ---> sudo-logs.sh 23:50:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:50:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:50:30 ---> job-cost.sh 23:50:30 lf-activate-venv: SKIPPING 23:50:30 DEBUG: total: 0.2199999988079071 23:50:30 INFO: Retrieving Stack Cost... 23:50:31 INFO: Retrieving Pricing Info for: v3-standard-8 23:50:31 INFO: Archiving Costs [Pipeline] echo 23:50:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:50:31 ---> logs-deploy.sh 23:50:31 lf-activate-venv: SKIPPING 23:50:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/levski/7 23:50:31 INFO: archiving workspace using pattern(s): 23:50:32 Archives upload complete. 23:50:32 INFO: archiving logs to Nexus