Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7c14cf897af34df275d4233d707e2506881d1776 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-ssh8253185540897823091.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-ssh1807489406882690437.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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9597568922040295245.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-ssh10034263151340889600.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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7926982079427598089.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, 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.20 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 Running on prd-ubuntu20.04-docker-8c-8g-7288 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 7c14cf897af34df275d4233d707e2506881d1776 (main) Commit message: "feat!: Consume SDK interface changes (#301)" > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c14cf897af34df275d4233d707e2506881d1776 # timeout=10 > git rev-list --no-walk c6cff038fe156dd62418d57d6c36ffe741a1df05 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:32:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:32:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:32:37 ========================================================= 17:32:37 EdgeX Global Pipelines Version Info 17:32:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:32:37 ------------------- 17:32:37 stable info: 17:32:37 ------------------- 17:32:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:32:37 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 17:32:37 Message: update stable to v1.0.245 17:32:38 ------------------- 17:32:38 experimental info: 17:32:38 ------------------- 17:32:38 Commited By: **** collab-it+edgex@linuxfoundation.org 17:32:38 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 17:32:38 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7c14cf897af34df275d4233d707e2506881d1776 [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7c14cf8 [Pipeline] echo 17:32:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:32:38 provisioning config files... 17:32:38 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16763442230420392270tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:32:39 ---> docker-login.sh 17:32:39 nexus3.edgexfoundry.org:10001 17:32:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:39 Configure a credential helper to remove this warning. See 17:32:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:39 17:32:39 Login Succeeded 17:32:39 nexus3.edgexfoundry.org:10002 17:32:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:39 Configure a credential helper to remove this warning. See 17:32:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:39 17:32:39 Login Succeeded 17:32:39 nexus3.edgexfoundry.org:10003 17:32:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:39 Configure a credential helper to remove this warning. See 17:32:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:39 17:32:39 Login Succeeded 17:32:39 nexus3.edgexfoundry.org:10004 17:32:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:40 Configure a credential helper to remove this warning. See 17:32:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:40 17:32:40 Login Succeeded 17:32:40 docker.io 17:32:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:40 Configure a credential helper to remove this warning. See 17:32:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:40 17:32:40 Login Succeeded 17:32:40 ---> docker-login.sh ends [Pipeline] } 17:32:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:32:40 + git rev-list -1 --merges 7c14cf897af34df275d4233d707e2506881d1776~1..7c14cf897af34df275d4233d707e2506881d1776 [Pipeline] echo 17:32:40 -----------> git rev-list -1 --merges 7c14cf897af34df275d4233d707e2506881d1776~1..7c14cf897af34df275d4233d707e2506881d1776 7c14cf897af34df275d4233d707e2506881d1776 [false] [Pipeline] sh 17:32:40 + git log --format=format:%s -1 7c14cf897af34df275d4233d707e2506881d1776 [Pipeline] echo 17:32:41 ========================================================= 17:32:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:32:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:32:41 + git log --format=format:%s -1 7c14cf897af34df275d4233d707e2506881d1776 [Pipeline] echo 17:32:41 [semverPrep] GIT_COMMIT: 7c14cf897af34df275d4233d707e2506881d1776, Commit Message: feat!: Consume SDK interface changes (#301) [Pipeline] echo 17:32:41 [semverPrep] This is not a build commit. [Pipeline] sh 17:32:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:32:41 + grep -v github /etc/ssh/ssh_known_hosts 17:32:41 + [ -e /tmp/ssh_known_hosts ] 17:32:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:32:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:32:41 + sudo tee -a /etc/ssh/ssh_known_hosts 17:32:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:32:42 17:32:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:32:42 0.1.4: Pulling from edgex-devops/py-git-semver 17:32:42 b85a868b505f: Pulling fs layer 17:32:42 e2be974225ed: Pulling fs layer 17:32:42 339a4e72a1f5: Pulling fs layer 17:32:42 988bab9f4d93: Pulling fs layer 17:32:42 1469e6f7b9e6: Pulling fs layer 17:32:42 eaf3925da568: Pulling fs layer 17:32:42 bab4dde63d76: Pulling fs layer 17:32:42 bde34c3a00c8: Pulling fs layer 17:32:42 b352a97aabf1: Pulling fs layer 17:32:42 4872d77fe225: Pulling fs layer 17:32:42 5851b861e8e6: Pulling fs layer 17:32:42 b352a97aabf1: Waiting 17:32:42 4872d77fe225: Waiting 17:32:42 988bab9f4d93: Waiting 17:32:42 5851b861e8e6: Waiting 17:32:42 bab4dde63d76: Waiting 17:32:42 bde34c3a00c8: Waiting 17:32:42 eaf3925da568: Waiting 17:32:42 1469e6f7b9e6: Waiting 17:32:42 e2be974225ed: Verifying Checksum 17:32:42 e2be974225ed: Download complete 17:32:42 988bab9f4d93: Verifying Checksum 17:32:42 988bab9f4d93: Download complete 17:32:42 1469e6f7b9e6: Verifying Checksum 17:32:42 1469e6f7b9e6: Download complete 17:32:42 339a4e72a1f5: Verifying Checksum 17:32:42 339a4e72a1f5: Download complete 17:32:42 eaf3925da568: Verifying Checksum 17:32:42 eaf3925da568: Download complete 17:32:42 bde34c3a00c8: Download complete 17:32:42 b352a97aabf1: Download complete 17:32:42 4872d77fe225: Verifying Checksum 17:32:42 4872d77fe225: Download complete 17:32:42 5851b861e8e6: Verifying Checksum 17:32:42 5851b861e8e6: Download complete 17:32:42 b85a868b505f: Verifying Checksum 17:32:42 b85a868b505f: Download complete 17:32:42 bab4dde63d76: Verifying Checksum 17:32:42 bab4dde63d76: Download complete 17:32:43 b85a868b505f: Pull complete 17:32:43 e2be974225ed: Pull complete 17:32:44 339a4e72a1f5: Pull complete 17:32:44 988bab9f4d93: Pull complete 17:32:44 1469e6f7b9e6: Pull complete 17:32:44 eaf3925da568: Pull complete 17:32:46 bab4dde63d76: Pull complete 17:32:46 bde34c3a00c8: Pull complete 17:32:46 b352a97aabf1: Pull complete 17:32:46 4872d77fe225: Pull complete 17:32:46 5851b861e8e6: Pull complete 17:32:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:32:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:32:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:32:46 prd-ubuntu20.04-docker-8c-8g-7288 does not seem to be running inside a container 17:32:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:32:48 $ docker top 6a39f3bfc558ae0dd90d6e0d2221e0e982f0b0eb4278981485c0d1dac319649a -eo pid,comm 17:32:48 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:32:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:32:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:32:48 [ssh-agent] Looking for ssh-agent implementation... 17:32:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:32:48 $ docker exec 6a39f3bfc558ae0dd90d6e0d2221e0e982f0b0eb4278981485c0d1dac319649a ssh-agent 17:32:48 SSH_AUTH_SOCK=/tmp/ssh-pquAJC1Xnpyd/agent.32 17:32:48 SSH_AGENT_PID=38 17:32:48 Running ssh-add (command line suppressed) 17:32:48 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3096549831280475639.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3096549831280475639.key) 17:32:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:32:48 + git tag --points-at HEAD [Pipeline] } 17:32:48 $ docker exec --env ******** --env ******** 6a39f3bfc558ae0dd90d6e0d2221e0e982f0b0eb4278981485c0d1dac319649a ssh-agent -k 17:32:48 unset SSH_AUTH_SOCK; 17:32:48 unset SSH_AGENT_PID; 17:32:48 echo Agent pid 38 killed; 17:32:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:32:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:32:48 [ssh-agent] Looking for ssh-agent implementation... 17:32:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:32:48 $ docker exec 6a39f3bfc558ae0dd90d6e0d2221e0e982f0b0eb4278981485c0d1dac319649a ssh-agent 17:32:49 SSH_AUTH_SOCK=/tmp/ssh-2UQtFWhw1KQT/agent.70 17:32:49 SSH_AGENT_PID=76 17:32:49 Running ssh-add (command line suppressed) 17:32:49 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17623740226083801645.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17623740226083801645.key) 17:32:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:32:49 + git semver init 17:32:49 2023-04-10 17:32:49,638 [run_init] DEBUG init version:0.0.0 force:False 17:32:49 2023-04-10 17:32:49,639 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 17:32:49 2023-04-10 17:32:49,639 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 17:32:49 2023-04-10 17:32:49,640 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 17:32:50 2023-04-10 17:32:50,454 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 17:32:50 2023-04-10 17:32:50,454 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 17:32:50 2023-04-10 17:32:50,454 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:32:50 2023-04-10 17:32:50,454 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:32:50 3.0.0-dev.29 [Pipeline] } 17:32:50 $ docker exec --env ******** --env ******** 6a39f3bfc558ae0dd90d6e0d2221e0e982f0b0eb4278981485c0d1dac319649a ssh-agent -k 17:32:50 unset SSH_AUTH_SOCK; 17:32:50 unset SSH_AGENT_PID; 17:32:50 echo Agent pid 76 killed; 17:32:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:32:51 + git semver [Pipeline] } 17:32:51 $ docker stop --time=1 6a39f3bfc558ae0dd90d6e0d2221e0e982f0b0eb4278981485c0d1dac319649a 17:32:52 $ docker rm -f --volumes 6a39f3bfc558ae0dd90d6e0d2221e0e982f0b0eb4278981485c0d1dac319649a [Pipeline] // withDockerContainer [Pipeline] sh 17:32:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:32:53 Stashed 1 file(s) [Pipeline] echo 17:32:53 [edgeXSemver]: initialized semver on version 3.0.0-dev.29 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:32:53 provisioning config files... 17:32:53 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15492451455400096071tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:32:53 ---> docker-login.sh 17:32:53 nexus3.edgexfoundry.org:10001 17:32:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:53 Configure a credential helper to remove this warning. See 17:32:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:53 17:32:53 Login Succeeded 17:32:53 nexus3.edgexfoundry.org:10002 17:32:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:53 Configure a credential helper to remove this warning. See 17:32:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:53 17:32:53 Login Succeeded 17:32:53 nexus3.edgexfoundry.org:10003 17:32:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:53 Configure a credential helper to remove this warning. See 17:32:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:53 17:32:53 Login Succeeded 17:32:53 nexus3.edgexfoundry.org:10004 17:32:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:53 Configure a credential helper to remove this warning. See 17:32:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:53 17:32:53 Login Succeeded 17:32:53 docker.io 17:32:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:54 Configure a credential helper to remove this warning. See 17:32:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:54 17:32:54 Login Succeeded 17:32:54 ---> docker-login.sh ends [Pipeline] } 17:32:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:32:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:32:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:32:54 ========================================================= 17:32:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 17:32:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:54 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 17:32:54 Sending build context to Docker daemon 26.91MB 17:32:54 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 17:32:54 Step 2/13 : FROM ${BASE} AS builder 17:32:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 17:32:54 63b65145d645: Pulling fs layer 17:32:54 a2d21d5440eb: Pulling fs layer 17:32:54 935e6c44a52c: Pulling fs layer 17:32:54 94cc34f8dd06: Pulling fs layer 17:32:54 30dea6a524f1: Pulling fs layer 17:32:54 a2aff8979fd8: Pulling fs layer 17:32:54 6808be2612f2: Pulling fs layer 17:32:54 f25807f1079a: Pulling fs layer 17:32:54 30dea6a524f1: Waiting 17:32:54 a2aff8979fd8: Waiting 17:32:54 6808be2612f2: Waiting 17:32:54 f25807f1079a: Waiting 17:32:54 94cc34f8dd06: Waiting 17:32:54 a2d21d5440eb: Verifying Checksum 17:32:54 a2d21d5440eb: Download complete 17:32:54 94cc34f8dd06: Verifying Checksum 17:32:54 94cc34f8dd06: Download complete 17:32:54 30dea6a524f1: Download complete 17:32:54 63b65145d645: Verifying Checksum 17:32:54 63b65145d645: Download complete 17:32:54 a2aff8979fd8: Verifying Checksum 17:32:54 a2aff8979fd8: Download complete 17:32:54 63b65145d645: Pull complete 17:32:55 a2d21d5440eb: Pull complete 17:32:55 f25807f1079a: Verifying Checksum 17:32:55 f25807f1079a: Download complete 17:32:55 935e6c44a52c: Download complete 17:32:55 6808be2612f2: Verifying Checksum 17:32:55 6808be2612f2: Download complete 17:32:58 935e6c44a52c: Pull complete 17:32:58 94cc34f8dd06: Pull complete 17:32:58 30dea6a524f1: Pull complete 17:32:58 a2aff8979fd8: Pull complete 17:33:00 6808be2612f2: Pull complete 17:33:01 f25807f1079a: Pull complete 17:33:01 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 17:33:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 17:33:01 ---> 3b553350e43f 17:33:01 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:33:03 ---> Running in 578ae177c86e 17:33:04 Removing intermediate container 578ae177c86e 17:33:04 ---> 945e561403bf 17:33:04 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:33:04 ---> Running in 8085d3bdf140 17:33:04 Removing intermediate container 8085d3bdf140 17:33:04 ---> fd15983ee530 17:33:04 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:33:04 ---> Running in 3b65451fe34e 17:33:04 Removing intermediate container 3b65451fe34e 17:33:04 ---> 46a9c584ec52 17:33:04 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:33:04 ---> Running in f3b43ca84df6 17:33:04 Removing intermediate container f3b43ca84df6 17:33:04 ---> 5a762304e0ea 17:33:04 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:33:04 ---> Running in b99742beb262 17:33:04 Removing intermediate container b99742beb262 17:33:04 ---> c0c0b264cc48 17:33:04 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:33:04 ---> Running in 61951722d1d3 17:33:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:33:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:33:04 OK: 265 MiB in 53 packages 17:33:05 Removing intermediate container 61951722d1d3 17:33:05 ---> 61550a97aae0 17:33:05 Step 9/13 : WORKDIR /device-onvif-camera 17:33:05 ---> Running in 1aaf6c1fd9d0 17:33:05 Removing intermediate container 1aaf6c1fd9d0 17:33:05 ---> e731086520fa 17:33:05 Step 10/13 : COPY go.mod vendor* ./ 17:33:05 ---> 2814045b583a 17:33:05 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:33:05 ---> Running in 0f2b7b3ed17a 17:33:08 Still waiting to schedule task 17:33:08 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:33:37 Removing intermediate container 0f2b7b3ed17a 17:33:37 ---> 86c91fc6bd32 17:33:37 Step 12/13 : COPY . . 17:33:37 ---> 252beca954a5 17:33:37 Step 13/13 : RUN ${MAKE} 17:33:37 ---> Running in 8f0510375ec4 17:33:37 noop 17:33:37 Removing intermediate container 8f0510375ec4 17:33:37 ---> dc3b126587cd 17:33:37 Successfully built dc3b126587cd 17:33:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:38 + docker inspect -f . ci-base-image-x86_64 17:33:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:33:38 prd-ubuntu20.04-docker-8c-8g-7288 does not seem to be running inside a container 17:33:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:33:38 $ docker top e69810873a2c960c2abdaec23dac21331ae9375daba924fd60daaeefdc5aa335 -eo pid,comm [Pipeline] { [Pipeline] sh 17:33:38 + go version 17:33:38 go version go1.20.2 linux/amd64 [Pipeline] } 17:33:38 $ docker stop --time=1 e69810873a2c960c2abdaec23dac21331ae9375daba924fd60daaeefdc5aa335 17:33:40 $ docker rm -f --volumes e69810873a2c960c2abdaec23dac21331ae9375daba924fd60daaeefdc5aa335 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:40 + docker inspect -f . ci-base-image-x86_64 17:33:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:33:40 prd-ubuntu20.04-docker-8c-8g-7288 does not seem to be running inside a container 17:33:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:33:40 $ docker top cc0aba1267642dbbfe3418c283166b0f54f877cbf6c429239e370f5d86407fc3 -eo pid,comm [Pipeline] { [Pipeline] sh 17:33:41 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 17:33:41 + make test 17:33:41 go test ./... -coverprofile=coverage.out ./... 17:33:45 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:33:55 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:33:55 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:33:57 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.037s coverage: 31.6% of statements 17:33:57 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.103s coverage: 86.5% of statements 17:34:04 go vet ./... 17:34:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:34:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:34:07 ./bin/test-attribution-txt.sh 17:34:07 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 17:34:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:34:07 $ docker stop --time=1 cc0aba1267642dbbfe3418c283166b0f54f877cbf6c429239e370f5d86407fc3 17:34:09 $ docker rm -f --volumes cc0aba1267642dbbfe3418c283166b0f54f877cbf6c429239e370f5d86407fc3 [Pipeline] // withDockerContainer [Pipeline] sh 17:34:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:34:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:34:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:34:11 + ls -al . 17:34:11 total 236 17:34:11 drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 17:33 . 17:34:11 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 17:32 .. 17:34:11 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 17:32 .git 17:34:11 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 17:32 .github 17:34:11 -rw-rw-r-- 1 jenkins jenkins 496 Apr 10 17:32 .gitignore 17:34:11 -rw-rw-r-- 1 jenkins jenkins 42 Apr 10 17:32 .golangci.yml 17:34:11 drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 17:32 .semver 17:34:11 -rw-rw-r-- 1 jenkins jenkins 9732 Apr 10 17:32 Attribution.txt 17:34:11 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 10 17:32 CHANGELOG.md 17:34:11 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 10 17:32 Dockerfile 17:34:11 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 17:32 GOVERNANCE.md 17:34:11 -rw-rw-r-- 1 jenkins jenkins 734 Apr 10 17:32 Jenkinsfile 17:34:11 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 10 17:32 LICENSE 17:34:11 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 10 17:32 Makefile 17:34:11 -rw-rw-r-- 1 jenkins jenkins 625 Apr 10 17:32 OWNERS.md 17:34:11 -rw-rw-r-- 1 jenkins jenkins 6250 Apr 10 17:32 README.md 17:34:11 -rw-rw-r-- 1 jenkins jenkins 12 Apr 10 17:32 VERSION 17:34:11 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 17:32 bin 17:34:11 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 17:32 cmd 17:34:11 -rw-r--r-- 1 jenkins jenkins 78835 Apr 10 17:33 coverage.out 17:34:11 drwxrwxr-x 6 jenkins jenkins 4096 Apr 10 17:32 doc 17:34:11 -rw-rw-r-- 1 jenkins jenkins 3557 Apr 10 17:32 go.mod 17:34:11 -rw-rw-r-- 1 jenkins jenkins 33057 Apr 10 17:32 go.sum 17:34:11 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 17:32 internal 17:34:11 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 17:32 snap 17:34:11 -rw-rw-r-- 1 jenkins jenkins 236 Apr 10 17:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:11 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=7c14cf897af34df275d4233d707e2506881d1776 --label arch=amd64 --label version=3.0.0-dev.29 . 17:34:11 Sending build context to Docker daemon 26.99MB 17:34:11 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 17:34:11 Step 2/26 : FROM ${BASE} AS builder 17:34:11 ---> dc3b126587cd 17:34:11 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:34:11 ---> Running in 8c6f562010c6 17:34:11 Removing intermediate container 8c6f562010c6 17:34:11 ---> db75d1d87d44 17:34:11 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:34:11 ---> Running in 6b79ecd2c28a 17:34:11 Removing intermediate container 6b79ecd2c28a 17:34:11 ---> 3d997a4cc275 17:34:11 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:34:11 ---> Running in f13a7efce2d1 17:34:11 Removing intermediate container f13a7efce2d1 17:34:11 ---> e26b05f24968 17:34:11 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:34:11 ---> Running in 1e57b2262b91 17:34:11 Removing intermediate container 1e57b2262b91 17:34:11 ---> ff25e26dea9b 17:34:11 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:34:12 ---> Running in d80fc1c2b8fb 17:34:12 Removing intermediate container d80fc1c2b8fb 17:34:12 ---> 855810310637 17:34:12 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:34:12 ---> Running in 81d6f63334ed 17:34:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:34:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:34:12 OK: 265 MiB in 53 packages 17:34:12 Removing intermediate container 81d6f63334ed 17:34:12 ---> 922194d7c6f6 17:34:12 Step 9/26 : WORKDIR /device-onvif-camera 17:34:12 ---> Running in 6aec5ac95faf 17:34:12 Removing intermediate container 6aec5ac95faf 17:34:12 ---> 8069dd3bfc15 17:34:12 Step 10/26 : COPY go.mod vendor* ./ 17:34:13 ---> 697a351ec812 17:34:13 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:34:13 ---> Running in bfd26b3fbb8a 17:34:13 Removing intermediate container bfd26b3fbb8a 17:34:13 ---> fa8a8bee4c19 17:34:13 Step 12/26 : COPY . . 17:34:14 ---> cc1bb634f5fc 17:34:14 Step 13/26 : RUN ${MAKE} 17:34:14 ---> Running in 7d3f73c4c972 17:34:14 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.29" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 17:34:32 Removing intermediate container 7d3f73c4c972 17:34:32 ---> 07102ca3dd5c 17:34:32 Step 14/26 : FROM alpine:3.17 17:34:32 3.17: Pulling from library/alpine 17:34:32 f56be85fc22e: Pulling fs layer 17:34:32 f56be85fc22e: Verifying Checksum 17:34:32 f56be85fc22e: Download complete 17:34:32 f56be85fc22e: Pull complete 17:34:32 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 17:34:32 Status: Downloaded newer image for alpine:3.17 17:34:32 ---> 9ed4aefc74f6 17:34:32 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:34:33 ---> Running in 175f2e464b2b 17:34:33 Removing intermediate container 175f2e464b2b 17:34:33 ---> c567d5c43dab 17:34:33 Step 16/26 : RUN apk add --update --no-cache dumb-init 17:34:33 ---> Running in 06b5272a334c 17:34:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:34:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:34:33 (1/1) Installing dumb-init (1.2.5-r2) 17:34:33 Executing busybox-1.35.0-r29.trigger 17:34:33 OK: 7 MiB in 16 packages 17:34:33 Removing intermediate container 06b5272a334c 17:34:33 ---> 1b87b4c325d2 17:34:33 Step 17/26 : WORKDIR / 17:34:34 ---> Running in 1596438c56a3 17:34:34 Removing intermediate container 1596438c56a3 17:34:34 ---> abd00a5fa5f0 17:34:34 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:34:34 ---> 60db1e5a093b 17:34:34 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:34:34 ---> 99ba723702ef 17:34:34 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:34:34 ---> f0d311090453 17:34:34 Step 21/26 : EXPOSE 59984 17:34:34 ---> Running in 6ec9e8c68ec1 17:34:34 Removing intermediate container 6ec9e8c68ec1 17:34:34 ---> d5dc5a36e18b 17:34:34 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:34:34 ---> Running in 65ca0ad89958 17:34:35 Removing intermediate container 65ca0ad89958 17:34:35 ---> 9b7cf4f9d709 17:34:35 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:34:35 ---> Running in c8e6670f9993 17:34:35 Removing intermediate container c8e6670f9993 17:34:35 ---> 1508abc192ff 17:34:35 Step 24/26 : LABEL arch=amd64 17:34:35 ---> Running in f978d0be93c5 17:34:35 Removing intermediate container f978d0be93c5 17:34:35 ---> 0ac5c12b6796 17:34:35 Step 25/26 : LABEL git_sha=7c14cf897af34df275d4233d707e2506881d1776 17:34:35 ---> Running in 65bb187cef7a 17:34:35 Removing intermediate container 65bb187cef7a 17:34:35 ---> 95bf76f7736d 17:34:35 Step 26/26 : LABEL version=3.0.0-dev.29 17:34:35 ---> Running in 395e7ba1b612 17:34:35 Removing intermediate container 395e7ba1b612 17:34:35 ---> 5e8a0b91ba14 17:34:35 [Warning] One or more build-args [ARCH] were not consumed 17:34:35 Successfully built 5e8a0b91ba14 17:34:35 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:34:35 provisioning config files... 17:34:35 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17866231333130306304tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:34:35 ---> docker-login.sh 17:34:35 nexus3.edgexfoundry.org:10001 17:34:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:35 Configure a credential helper to remove this warning. See 17:34:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:35 17:34:35 Login Succeeded 17:34:35 nexus3.edgexfoundry.org:10002 17:34:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:35 Configure a credential helper to remove this warning. See 17:34:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:35 17:34:35 Login Succeeded 17:34:35 nexus3.edgexfoundry.org:10003 17:34:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:36 Configure a credential helper to remove this warning. See 17:34:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:36 17:34:36 Login Succeeded 17:34:36 nexus3.edgexfoundry.org:10004 17:34:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:36 Configure a credential helper to remove this warning. See 17:34:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:36 17:34:36 Login Succeeded 17:34:36 docker.io 17:34:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:36 Configure a credential helper to remove this warning. See 17:34:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:36 17:34:36 Login Succeeded 17:34:36 ---> docker-login.sh ends [Pipeline] } 17:34:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:34:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:34:36 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 17:34:36 7c14cf897af34df275d4233d707e2506881d1776 17:34:36 latest 17:34:36 3.0.0-dev.29 17:34:36 7c14cf897af34df275d4233d707e2506881d1776-3.0.0-dev.29 17:34:36 main 17:34:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:36 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:7c14cf897af34df275d4233d707e2506881d1776 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:37 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:7c14cf897af34df275d4233d707e2506881d1776 17:34:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:34:37 8ae163064854: Preparing 17:34:37 1e48a4e80284: Preparing 17:34:37 ff305a3463d5: Preparing 17:34:37 082358a5948b: Preparing 17:34:37 f1417ff83b31: Preparing 17:34:37 f1417ff83b31: Layer already exists 17:34:37 082358a5948b: Pushed 17:34:37 8ae163064854: Pushed 17:34:37 1e48a4e80284: Pushed 17:34:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7304 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 17:34:38 Running in /w/workspace/device-onvif-camera/123 [Pipeline] { [Pipeline] checkout 17:34:39 The recommended git tool is: git 17:34:39 ff305a3463d5: Pushed 17:34:39 7c14cf897af34df275d4233d707e2506881d1776: digest: sha256:940bc006d334b470eac8ae668953cb8f898b1f19f61b06332ae2e3521c1c326d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:40 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:40 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 17:34:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:34:40 8ae163064854: Preparing 17:34:40 1e48a4e80284: Preparing 17:34:40 ff305a3463d5: Preparing 17:34:40 082358a5948b: Preparing 17:34:40 f1417ff83b31: Preparing 17:34:40 082358a5948b: Layer already exists 17:34:40 ff305a3463d5: Layer already exists 17:34:40 8ae163064854: Layer already exists 17:34:40 1e48a4e80284: Layer already exists 17:34:40 f1417ff83b31: Layer already exists 17:34:40 latest: digest: sha256:940bc006d334b470eac8ae668953cb8f898b1f19f61b06332ae2e3521c1c326d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:40 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:41 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.29 17:34:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:34:41 8ae163064854: Preparing 17:34:41 1e48a4e80284: Preparing 17:34:41 ff305a3463d5: Preparing 17:34:41 082358a5948b: Preparing 17:34:41 f1417ff83b31: Preparing 17:34:41 8ae163064854: Layer already exists 17:34:41 082358a5948b: Layer already exists 17:34:41 f1417ff83b31: Layer already exists 17:34:41 1e48a4e80284: Layer already exists 17:34:41 ff305a3463d5: Layer already exists 17:34:41 3.0.0-dev.29: digest: sha256:940bc006d334b470eac8ae668953cb8f898b1f19f61b06332ae2e3521c1c326d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:41 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:7c14cf897af34df275d4233d707e2506881d1776-3.0.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:41 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:7c14cf897af34df275d4233d707e2506881d1776-3.0.0-dev.29 17:34:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:34:41 8ae163064854: Preparing 17:34:41 1e48a4e80284: Preparing 17:34:41 ff305a3463d5: Preparing 17:34:41 082358a5948b: Preparing 17:34:41 f1417ff83b31: Preparing 17:34:41 8ae163064854: Layer already exists 17:34:41 082358a5948b: Layer already exists 17:34:41 f1417ff83b31: Layer already exists 17:34:41 1e48a4e80284: Layer already exists 17:34:41 ff305a3463d5: Layer already exists 17:34:41 7c14cf897af34df275d4233d707e2506881d1776-3.0.0-dev.29: digest: sha256:940bc006d334b470eac8ae668953cb8f898b1f19f61b06332ae2e3521c1c326d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:42 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:42 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 17:34:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:34:42 8ae163064854: Preparing 17:34:42 1e48a4e80284: Preparing 17:34:42 ff305a3463d5: Preparing 17:34:42 082358a5948b: Preparing 17:34:42 f1417ff83b31: Preparing 17:34:42 ff305a3463d5: Layer already exists 17:34:42 f1417ff83b31: Layer already exists 17:34:42 082358a5948b: Layer already exists 17:34:42 8ae163064854: Layer already exists 17:34:42 1e48a4e80284: Layer already exists 17:34:42 main: digest: sha256:940bc006d334b470eac8ae668953cb8f898b1f19f61b06332ae2e3521c1c326d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:34:42 ===================================================== [Pipeline] echo 17:34:42 taggedImages: 17:34:42 - nexus3.edgexfoundry.org:10004/device-onvif-camera:7c14cf897af34df275d4233d707e2506881d1776 17:34:42 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 17:34:42 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.29 17:34:42 - nexus3.edgexfoundry.org:10004/device-onvif-camera:7c14cf897af34df275d4233d707e2506881d1776-3.0.0-dev.29 17:34:42 - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:34:42 17:34:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:34:43 latest: Pulling from edgex-lftools-log-publisher 17:34:43 5eb5b503b376: Pulling fs layer 17:34:43 5c69ac0246d0: Pulling fs layer 17:34:43 ec43610c2a17: Pulling fs layer 17:34:43 3a2ae6a8a46f: Pulling fs layer 17:34:43 33b1e0a273af: Pulling fs layer 17:34:43 5d3b04190fa2: Pulling fs layer 17:34:43 2f39f015ded8: Pulling fs layer 17:34:43 5d3b04190fa2: Waiting 17:34:43 33b1e0a273af: Waiting 17:34:43 2f39f015ded8: Waiting 17:34:43 3a2ae6a8a46f: Waiting 17:34:43 5c69ac0246d0: Download complete 17:34:43 3a2ae6a8a46f: Download complete 17:34:43 33b1e0a273af: Verifying Checksum 17:34:43 33b1e0a273af: Download complete 17:34:43 ec43610c2a17: Verifying Checksum 17:34:43 ec43610c2a17: Download complete 17:34:43 5d3b04190fa2: Verifying Checksum 17:34:43 5d3b04190fa2: Download complete 17:34:43 5eb5b503b376: Verifying Checksum 17:34:43 5eb5b503b376: Download complete 17:34:43 2f39f015ded8: Download complete 17:34:44 using credential edgex-jenkins-ssh 17:34:44 Cloning the remote Git repository 17:34:44 5eb5b503b376: Pull complete 17:34:44 5c69ac0246d0: Pull complete 17:34:45 ec43610c2a17: Pull complete 17:34:45 3a2ae6a8a46f: Pull complete 17:34:44 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:34:44 > git init /w/workspace/device-onvif-camera/123 # timeout=10 17:34:44 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:34:44 > git --version # timeout=10 17:34:44 > git --version # 'git version 2.25.1' 17:34:44 using GIT_SSH to set credentials SSH Credentials for GitHub 17:34:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:34:45 33b1e0a273af: Pull complete 17:34:45 5d3b04190fa2: Pull complete 17:34:46 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:34:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:34:46 Avoid second fetch 17:34:46 Checking out Revision 7c14cf897af34df275d4233d707e2506881d1776 (main) 17:34:47 Commit message: "feat!: Consume SDK interface changes (#301)" 17:34:46 > git config core.sparsecheckout # timeout=10 17:34:46 > git checkout -f 7c14cf897af34df275d4233d707e2506881d1776 # timeout=10 17:34:47 17:34:47 GitHub has been notified of this commit’s build result 17:34:47 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:34:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:34:48 % Total % Received % Xferd Average Speed Time Time Time Current 17:34:48 Dload Upload Total Spent Left Speed 17:34:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] sh 17:34:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:34:49 2f39f015ded8: Pull complete 17:34:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:34:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:34:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:34:49 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:34:49 + sudo tee /etc/docker/daemon.new 17:34:49 { 17:34:49 "registry-mirrors": [ 17:34:49 "https://nexus3.edgexfoundry.org:10001" 17:34:49 ], 17:34:49 "bip": "10.250.0.254/24", 17:34:49 "hosts": [ 17:34:49 "tcp://0.0.0.0:5555", 17:34:49 "unix:///var/run/docker.sock" 17:34:49 ], 17:34:49 "mtu": 1458, 17:34:49 "selinux-enabled": true, 17:34:49 "seccomp-profile": "/etc/docker/seccomp.json" 17:34:49 } [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:34:49 prd-ubuntu20.04-docker-8c-8g-7288 does not seem to be running inside a container 17:34:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:34:52 $ docker top 8fb1c33a1a542e4a6a9afdc4af1dfbf9eba524abb60fe1beee80b034f4f209a4 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 17:34:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:34:52 ---> job-cost.sh 17:34:52 lf-activate-venv: SKIPPING 17:34:52 INFO: No Stack... 17:34:52 + sudo service docker restart 17:34:53 INFO: Retrieving Pricing Info for: v3-standard-8 17:34:53 INFO: Archiving Costs [Pipeline] sh 17:34:53 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 17:34:53 + cut -d, -f6 [Pipeline] lock 17:34:53 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-123-stack-cost] 17:34:53 Resource [jenkins-edgexfoundry-device-onvif-camera-main-123-stack-cost] did not exist. Created. 17:34:53 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-123-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:34:53 + echo total: 2.190000057220459 [Pipeline] stash 17:34:53 Stashed 1 file(s) [Pipeline] } 17:34:53 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-123-stack-cost] [Pipeline] // lock [Pipeline] } 17:34:54 $ docker stop --time=1 8fb1c33a1a542e4a6a9afdc4af1dfbf9eba524abb60fe1beee80b034f4f209a4 17:34:55 $ docker rm -f --volumes 8fb1c33a1a542e4a6a9afdc4af1dfbf9eba524abb60fe1beee80b034f4f209a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:35:11 provisioning config files... 17:35:11 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/123@tmp/config8306725932891944929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:35:11 ---> docker-login.sh 17:35:11 nexus3.edgexfoundry.org:10001 17:35:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:11 Configure a credential helper to remove this warning. See 17:35:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:11 17:35:11 Login Succeeded 17:35:11 nexus3.edgexfoundry.org:10002 17:35:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:12 Configure a credential helper to remove this warning. See 17:35:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:12 17:35:12 Login Succeeded 17:35:12 nexus3.edgexfoundry.org:10003 17:35:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:12 Configure a credential helper to remove this warning. See 17:35:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:12 17:35:12 Login Succeeded 17:35:12 nexus3.edgexfoundry.org:10004 17:35:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:13 Configure a credential helper to remove this warning. See 17:35:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:13 17:35:13 Login Succeeded 17:35:13 docker.io 17:35:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:13 Configure a credential helper to remove this warning. See 17:35:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:13 17:35:13 Login Succeeded 17:35:13 ---> docker-login.sh ends [Pipeline] } 17:35:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:35:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:35:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:35:13 ========================================================= 17:35:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 17:35:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:14 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 17:35:14 Sending build context to Docker daemon 19.65MB 17:35:14 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 17:35:14 Step 2/13 : FROM ${BASE} AS builder 17:35:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:35:18 af6eaf76a39c: Pulling fs layer 17:35:18 55522c791124: Pulling fs layer 17:35:18 ce5c4a1c91eb: Pulling fs layer 17:35:18 169dfbe0d373: Pulling fs layer 17:35:18 e1ff8fa3b103: Pulling fs layer 17:35:18 52ebb69f0ebf: Pulling fs layer 17:35:18 5abe8eddf0d5: Pulling fs layer 17:35:18 e1ff8fa3b103: Waiting 17:35:18 52ebb69f0ebf: Waiting 17:35:18 5abe8eddf0d5: Waiting 17:35:18 169dfbe0d373: Waiting 17:35:18 55522c791124: Verifying Checksum 17:35:18 55522c791124: Download complete 17:35:18 169dfbe0d373: Verifying Checksum 17:35:18 169dfbe0d373: Download complete 17:35:18 e1ff8fa3b103: Verifying Checksum 17:35:18 e1ff8fa3b103: Download complete 17:35:18 af6eaf76a39c: Verifying Checksum 17:35:18 af6eaf76a39c: Download complete 17:35:19 af6eaf76a39c: Pull complete 17:35:19 5abe8eddf0d5: Verifying Checksum 17:35:19 5abe8eddf0d5: Download complete 17:35:19 55522c791124: Pull complete 17:35:20 52ebb69f0ebf: Verifying Checksum 17:35:20 52ebb69f0ebf: Download complete 17:35:20 ce5c4a1c91eb: Verifying Checksum 17:35:20 ce5c4a1c91eb: Download complete 17:35:32 ce5c4a1c91eb: Pull complete 17:35:32 169dfbe0d373: Pull complete 17:35:32 e1ff8fa3b103: Pull complete 17:35:39 52ebb69f0ebf: Pull complete 17:35:40 5abe8eddf0d5: Pull complete 17:35:40 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 17:35:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 17:35:40 ---> 6cb57ee374ae 17:35:40 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:35:42 ---> Running in b51cbb60e860 17:35:42 Removing intermediate container b51cbb60e860 17:35:42 ---> da029f125490 17:35:42 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:35:42 ---> Running in b745527c40b2 17:35:42 Removing intermediate container b745527c40b2 17:35:42 ---> 3100275389b1 17:35:42 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:35:43 ---> Running in 207f71183457 17:35:43 Removing intermediate container 207f71183457 17:35:43 ---> 5dcfe79be100 17:35:43 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:35:43 ---> Running in 21ec31b5ce0f 17:35:43 Removing intermediate container 21ec31b5ce0f 17:35:43 ---> 96fde179bdc5 17:35:43 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:35:44 ---> Running in 9d73b6631150 17:35:44 Removing intermediate container 9d73b6631150 17:35:44 ---> b66534ec4eaf 17:35:44 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:35:44 ---> Running in 66fb11487be2 17:35:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:35:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:35:46 OK: 263 MiB in 53 packages 17:35:47 Removing intermediate container 66fb11487be2 17:35:47 ---> 7d9dca6d9cfb 17:35:47 Step 9/13 : WORKDIR /device-onvif-camera 17:35:47 ---> Running in e7ad22456247 17:35:48 Removing intermediate container e7ad22456247 17:35:48 ---> 04ac6bde7cda 17:35:48 Step 10/13 : COPY go.mod vendor* ./ 17:35:48 ---> a1a5601ae5d6 17:35:48 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:35:48 ---> Running in 6263cdf1689b 17:36:56 Removing intermediate container 6263cdf1689b 17:36:56 ---> 51183f85fcf5 17:36:56 Step 12/13 : COPY . . 17:36:56 ---> 44eae87577a4 17:36:56 Step 13/13 : RUN ${MAKE} 17:36:56 ---> Running in 0406bcd7240d 17:36:56 noop 17:36:56 Removing intermediate container 0406bcd7240d 17:36:56 ---> 85fb75c9dfc2 17:36:56 Successfully built 85fb75c9dfc2 17:36:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:57 + docker inspect -f . ci-base-image-arm64 17:36:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:36:57 prd-ubuntu20.04-docker-arm64-4c-16g-7304 does not seem to be running inside a container 17:36:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/123 -v /w/workspace/device-onvif-camera/123:/w/workspace/device-onvif-camera/123:rw,z -v /w/workspace/device-onvif-camera/123@tmp:/w/workspace/device-onvif-camera/123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:36:58 $ docker top 157e84c0fd438835f04dc4889627b70765d19400f9642838eb85eeb617ec0909 -eo pid,comm [Pipeline] { [Pipeline] sh 17:36:59 + go version 17:36:59 go version go1.20.2 linux/arm64 [Pipeline] } 17:36:59 $ docker stop --time=1 157e84c0fd438835f04dc4889627b70765d19400f9642838eb85eeb617ec0909 17:37:01 $ docker rm -f --volumes 157e84c0fd438835f04dc4889627b70765d19400f9642838eb85eeb617ec0909 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:01 + docker inspect -f . ci-base-image-arm64 17:37:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:37:01 prd-ubuntu20.04-docker-arm64-4c-16g-7304 does not seem to be running inside a container 17:37:01 $ 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/123 -v /w/workspace/device-onvif-camera/123:/w/workspace/device-onvif-camera/123:rw,z -v /w/workspace/device-onvif-camera/123@tmp:/w/workspace/device-onvif-camera/123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:37:04 $ docker top 1a3e329219c48aaeb4ef3bdb4ab386d7294e1bdba6bc99f23f4c8b86337e79e2 -eo pid,comm [Pipeline] { [Pipeline] sh 17:37:04 + git config --global --add safe.directory /w/workspace/device-onvif-camera/123 [Pipeline] fileExists [Pipeline] sh 17:37:04 + make test 17:37:04 go test ./... -coverprofile=coverage.out ./... 17:37:37 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:39:43 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:39:43 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:39:45 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.219s coverage: 31.6% of statements 17:40:12 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.417s coverage: 86.5% of statements 17:40:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:40:12 go vet ./... 17:40:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:40:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:40:38 ./bin/test-attribution-txt.sh 17:40:38 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 17:40:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:40:39 $ docker stop --time=1 1a3e329219c48aaeb4ef3bdb4ab386d7294e1bdba6bc99f23f4c8b86337e79e2 17:40:41 $ docker rm -f --volumes 1a3e329219c48aaeb4ef3bdb4ab386d7294e1bdba6bc99f23f4c8b86337e79e2 [Pipeline] // withDockerContainer [Pipeline] sh 17:40:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:40:42 Warning: overwriting stash ‘coverage-report’ 17:40:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:40:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:40:43 + ls -al . 17:40:43 total 232 17:40:43 drwxrwxr-x 9 jenkins jenkins 4096 Apr 10 17:37 . 17:40:43 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 17:34 .. 17:40:43 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 17:34 .git 17:40:43 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 17:34 .github 17:40:43 -rw-rw-r-- 1 jenkins jenkins 496 Apr 10 17:34 .gitignore 17:40:43 -rw-rw-r-- 1 jenkins jenkins 42 Apr 10 17:34 .golangci.yml 17:40:43 -rw-rw-r-- 1 jenkins jenkins 9732 Apr 10 17:34 Attribution.txt 17:40:43 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 10 17:34 CHANGELOG.md 17:40:43 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 10 17:34 Dockerfile 17:40:43 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 17:34 GOVERNANCE.md 17:40:43 -rw-rw-r-- 1 jenkins jenkins 734 Apr 10 17:34 Jenkinsfile 17:40:43 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 10 17:34 LICENSE 17:40:43 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 10 17:34 Makefile 17:40:43 -rw-rw-r-- 1 jenkins jenkins 625 Apr 10 17:34 OWNERS.md 17:40:43 -rw-rw-r-- 1 jenkins jenkins 6250 Apr 10 17:34 README.md 17:40:43 -rw-rw-r-- 1 jenkins jenkins 12 Apr 10 17:32 VERSION 17:40:43 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 17:34 bin 17:40:43 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 17:34 cmd 17:40:43 -rw-r--r-- 1 jenkins jenkins 78835 Apr 10 17:40 coverage.out 17:40:43 drwxrwxr-x 6 jenkins jenkins 4096 Apr 10 17:34 doc 17:40:43 -rw-rw-r-- 1 jenkins jenkins 3557 Apr 10 17:34 go.mod 17:40:43 -rw-rw-r-- 1 jenkins jenkins 33057 Apr 10 17:34 go.sum 17:40:43 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 17:34 internal 17:40:43 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 17:34 snap 17:40:43 -rw-rw-r-- 1 jenkins jenkins 236 Apr 10 17:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:43 + 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=7c14cf897af34df275d4233d707e2506881d1776 --label arch=arm64 --label version=3.0.0-dev.29 . 17:40:44 Sending build context to Docker daemon 19.72MB 17:40:44 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 17:40:44 Step 2/26 : FROM ${BASE} AS builder 17:40:44 ---> 85fb75c9dfc2 17:40:44 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:40:46 ---> Running in 165e261f210a 17:40:47 Removing intermediate container 165e261f210a 17:40:47 ---> 2683a66c1639 17:40:47 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:40:47 ---> Running in 213a57b51f00 17:40:47 Removing intermediate container 213a57b51f00 17:40:47 ---> a0584a53a691 17:40:47 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:40:47 ---> Running in c1d791f4ee5f 17:40:47 Removing intermediate container c1d791f4ee5f 17:40:47 ---> f42cc16efe74 17:40:47 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:40:47 ---> Running in a890136d0617 17:40:48 Removing intermediate container a890136d0617 17:40:48 ---> 136b83304f44 17:40:48 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:40:48 ---> Running in d853d0b1c51a 17:40:48 Removing intermediate container d853d0b1c51a 17:40:48 ---> fa71429d13c6 17:40:48 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:40:48 ---> Running in 7677b472f646 17:40:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:40:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:40:51 OK: 263 MiB in 53 packages 17:40:52 Removing intermediate container 7677b472f646 17:40:52 ---> 80f192dc6599 17:40:52 Step 9/26 : WORKDIR /device-onvif-camera 17:40:52 ---> Running in 097e643493c5 17:40:52 Removing intermediate container 097e643493c5 17:40:52 ---> 53d3a33c0266 17:40:52 Step 10/26 : COPY go.mod vendor* ./ 17:40:52 ---> 08105153369c 17:40:52 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:40:53 ---> Running in 840256353a73 17:40:55 Removing intermediate container 840256353a73 17:40:55 ---> 953137e37416 17:40:55 Step 12/26 : COPY . . 17:40:57 ---> 817be4d03a7b 17:40:57 Step 13/26 : RUN ${MAKE} 17:40:57 ---> Running in d04e23db87b4 17:40:58 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.29" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 17:43:35 Removing intermediate container d04e23db87b4 17:43:35 ---> 0885c4a5140d 17:43:35 Step 14/26 : FROM alpine:3.17 17:43:35 3.17: Pulling from library/alpine 17:43:35 c41833b44d91: Pulling fs layer 17:43:35 c41833b44d91: Download complete 17:43:35 c41833b44d91: Pull complete 17:43:35 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 17:43:35 Status: Downloaded newer image for alpine:3.17 17:43:35 ---> 51e60588ff2c 17:43:35 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:43:35 ---> Running in 29623df6109f 17:43:35 Removing intermediate container 29623df6109f 17:43:35 ---> 3ffbf7367548 17:43:35 Step 16/26 : RUN apk add --update --no-cache dumb-init 17:43:35 ---> Running in 3ae8205b03f2 17:43:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:43:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:43:35 (1/1) Installing dumb-init (1.2.5-r2) 17:43:35 Executing busybox-1.35.0-r29.trigger 17:43:35 OK: 8 MiB in 16 packages 17:43:35 Removing intermediate container 3ae8205b03f2 17:43:35 ---> ce0ead052ddc 17:43:35 Step 17/26 : WORKDIR / 17:43:35 ---> Running in b8fc74cdb864 17:43:35 Removing intermediate container b8fc74cdb864 17:43:35 ---> 2cee3047d784 17:43:35 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:43:35 ---> 51fbf4b933ec 17:43:35 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:43:35 ---> cb3fc5b912e8 17:43:35 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:43:35 ---> 3a56844c1f36 17:43:35 Step 21/26 : EXPOSE 59984 17:43:35 ---> Running in 2064fd2ecf8a 17:43:35 Removing intermediate container 2064fd2ecf8a 17:43:35 ---> bf7814bc4a58 17:43:35 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:43:35 ---> Running in 338dbf4a9f16 17:43:35 Removing intermediate container 338dbf4a9f16 17:43:35 ---> 57222f00abbf 17:43:35 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:43:35 ---> Running in 83f06d97d58e 17:43:35 Removing intermediate container 83f06d97d58e 17:43:35 ---> 8767a2705f88 17:43:35 Step 24/26 : LABEL arch=arm64 17:43:35 ---> Running in e4a4d5525c02 17:43:35 Removing intermediate container e4a4d5525c02 17:43:35 ---> fa02feded892 17:43:35 Step 25/26 : LABEL git_sha=7c14cf897af34df275d4233d707e2506881d1776 17:43:35 ---> Running in 0305829fdf3d 17:43:35 Removing intermediate container 0305829fdf3d 17:43:35 ---> 8c182da2ecc9 17:43:35 Step 26/26 : LABEL version=3.0.0-dev.29 17:43:35 ---> Running in 7cc9d483c7c5 17:43:35 Removing intermediate container 7cc9d483c7c5 17:43:35 ---> be5917285a7b 17:43:35 [Warning] One or more build-args [ARCH] were not consumed 17:43:35 Successfully built be5917285a7b 17:43:35 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:43:35 provisioning config files... 17:43:35 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/123@tmp/config4673114914344202489tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:43:35 ---> docker-login.sh 17:43:35 nexus3.edgexfoundry.org:10001 17:43:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:43:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:43:36 Configure a credential helper to remove this warning. See 17:43:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:43:36 17:43:36 Login Succeeded 17:43:36 nexus3.edgexfoundry.org:10002 17:43:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:43:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:43:36 Configure a credential helper to remove this warning. See 17:43:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:43:36 17:43:36 Login Succeeded 17:43:36 nexus3.edgexfoundry.org:10003 17:43:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:43:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:43:37 Configure a credential helper to remove this warning. See 17:43:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:43:37 17:43:37 Login Succeeded 17:43:37 nexus3.edgexfoundry.org:10004 17:43:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:43:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:43:37 Configure a credential helper to remove this warning. See 17:43:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:43:37 17:43:37 Login Succeeded 17:43:37 docker.io 17:43:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:43:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:43:37 Configure a credential helper to remove this warning. See 17:43:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:43:37 17:43:37 Login Succeeded 17:43:37 ---> docker-login.sh ends [Pipeline] } 17:43:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:43:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:43:37 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 17:43:37 7c14cf897af34df275d4233d707e2506881d1776 17:43:37 latest 17:43:37 3.0.0-dev.29 17:43:37 7c14cf897af34df275d4233d707e2506881d1776-3.0.0-dev.29 17:43:37 main 17:43:37 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:38 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:7c14cf897af34df275d4233d707e2506881d1776 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:38 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:7c14cf897af34df275d4233d707e2506881d1776 17:43:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:43:38 192def75c017: Preparing 17:43:38 f7b0f59ff79e: Preparing 17:43:38 823fb27995a4: Preparing 17:43:38 fede94671697: Preparing 17:43:38 26cbea5cba74: Preparing 17:43:38 26cbea5cba74: Layer already exists 17:43:38 192def75c017: Pushed 17:43:38 f7b0f59ff79e: Pushed 17:43:38 fede94671697: Pushed 17:43:44 823fb27995a4: Pushed 17:43:44 7c14cf897af34df275d4233d707e2506881d1776: digest: sha256:0cbfb4c482cd40243a5239c8a57868cbdaf9c8930823a1c5b565aeb05766d1f5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:44 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:45 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 17:43:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:43:45 192def75c017: Preparing 17:43:45 f7b0f59ff79e: Preparing 17:43:45 823fb27995a4: Preparing 17:43:45 fede94671697: Preparing 17:43:45 26cbea5cba74: Preparing 17:43:45 f7b0f59ff79e: Layer already exists 17:43:45 823fb27995a4: Layer already exists 17:43:45 26cbea5cba74: Layer already exists 17:43:45 192def75c017: Layer already exists 17:43:45 fede94671697: Layer already exists 17:43:45 latest: digest: sha256:0cbfb4c482cd40243a5239c8a57868cbdaf9c8930823a1c5b565aeb05766d1f5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:45 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:46 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.29 17:43:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:43:46 192def75c017: Preparing 17:43:46 f7b0f59ff79e: Preparing 17:43:46 823fb27995a4: Preparing 17:43:46 fede94671697: Preparing 17:43:46 26cbea5cba74: Preparing 17:43:46 26cbea5cba74: Layer already exists 17:43:46 823fb27995a4: Layer already exists 17:43:46 fede94671697: Layer already exists 17:43:46 192def75c017: Layer already exists 17:43:46 f7b0f59ff79e: Layer already exists 17:43:46 3.0.0-dev.29: digest: sha256:0cbfb4c482cd40243a5239c8a57868cbdaf9c8930823a1c5b565aeb05766d1f5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:46 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:7c14cf897af34df275d4233d707e2506881d1776-3.0.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:46 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:7c14cf897af34df275d4233d707e2506881d1776-3.0.0-dev.29 17:43:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:43:46 192def75c017: Preparing 17:43:46 f7b0f59ff79e: Preparing 17:43:46 823fb27995a4: Preparing 17:43:46 fede94671697: Preparing 17:43:46 26cbea5cba74: Preparing 17:43:46 f7b0f59ff79e: Layer already exists 17:43:46 26cbea5cba74: Layer already exists 17:43:46 192def75c017: Layer already exists 17:43:46 823fb27995a4: Layer already exists 17:43:46 fede94671697: Layer already exists 17:43:46 7c14cf897af34df275d4233d707e2506881d1776-3.0.0-dev.29: digest: sha256:0cbfb4c482cd40243a5239c8a57868cbdaf9c8930823a1c5b565aeb05766d1f5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:47 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:47 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 17:43:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:43:47 192def75c017: Preparing 17:43:47 f7b0f59ff79e: Preparing 17:43:47 823fb27995a4: Preparing 17:43:47 fede94671697: Preparing 17:43:47 26cbea5cba74: Preparing 17:43:47 fede94671697: Layer already exists 17:43:47 192def75c017: Layer already exists 17:43:47 26cbea5cba74: Layer already exists 17:43:47 823fb27995a4: Layer already exists 17:43:47 f7b0f59ff79e: Layer already exists 17:43:47 main: digest: sha256:0cbfb4c482cd40243a5239c8a57868cbdaf9c8930823a1c5b565aeb05766d1f5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:43:47 ===================================================== [Pipeline] echo 17:43:47 taggedImages: 17:43:47 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:7c14cf897af34df275d4233d707e2506881d1776 17:43:47 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 17:43:47 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.29 17:43:47 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:7c14cf897af34df275d4233d707e2506881d1776-3.0.0-dev.29 17:43:47 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:43:47 17:43:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:43:48 arm64: Pulling from edgex-lftools-log-publisher 17:43:48 8998bd30e6a1: Pulling fs layer 17:43:48 04944245beec: Pulling fs layer 17:43:48 699f458cf7ca: Pulling fs layer 17:43:48 765212b225bb: Pulling fs layer 17:43:48 f23df028b6ca: Pulling fs layer 17:43:48 d65c8cfc05b1: Pulling fs layer 17:43:48 2437ff75d9bd: Pulling fs layer 17:43:48 765212b225bb: Waiting 17:43:48 f23df028b6ca: Waiting 17:43:48 d65c8cfc05b1: Waiting 17:43:48 2437ff75d9bd: Waiting 17:43:48 04944245beec: Verifying Checksum 17:43:48 04944245beec: Download complete 17:43:48 765212b225bb: Verifying Checksum 17:43:48 765212b225bb: Download complete 17:43:48 f23df028b6ca: Verifying Checksum 17:43:48 f23df028b6ca: Download complete 17:43:48 d65c8cfc05b1: Verifying Checksum 17:43:48 d65c8cfc05b1: Download complete 17:43:48 699f458cf7ca: Verifying Checksum 17:43:48 699f458cf7ca: Download complete 17:43:49 8998bd30e6a1: Verifying Checksum 17:43:49 8998bd30e6a1: Download complete 17:43:51 2437ff75d9bd: Verifying Checksum 17:43:51 2437ff75d9bd: Download complete 17:43:53 8998bd30e6a1: Pull complete 17:43:53 04944245beec: Pull complete 17:43:54 699f458cf7ca: Pull complete 17:43:55 765212b225bb: Pull complete 17:43:55 f23df028b6ca: Pull complete 17:43:56 d65c8cfc05b1: Pull complete 17:44:11 2437ff75d9bd: Pull complete 17:44:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:44:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:44:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:44:11 prd-ubuntu20.04-docker-arm64-4c-16g-7304 does not seem to be running inside a container 17:44:11 $ 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/123 -v /w/workspace/device-onvif-camera/123:/w/workspace/device-onvif-camera/123:rw,z -v /w/workspace/device-onvif-camera/123@tmp:/w/workspace/device-onvif-camera/123@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:44:14 $ docker top 26971f2ddab78e4038103ccb087161af90bd9605deb4cc4cda8da764274c2608 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:44:14 ---> job-cost.sh 17:44:14 lf-activate-venv: SKIPPING 17:44:14 INFO: No Stack... 17:44:15 INFO: Retrieving Pricing Info for: v3-standard-4 17:44:16 INFO: Archiving Costs [Pipeline] sh 17:44:16 + cat /w/workspace/device-onvif-camera/123/archives/cost.csv 17:44:16 + cut -d, -f6 [Pipeline] lock 17:44:16 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-123-stack-cost] 17:44:17 Resource [jenkins-edgexfoundry-device-onvif-camera-main-123-stack-cost] did not exist. Created. 17:44:17 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-123-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:44:17 /w/workspace/device-onvif-camera/123@tmp/durable-ac01c30a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:44:18 + echo total: 0.10999999940395355 [Pipeline] stash 17:44:18 Warning: overwriting stash ‘stack-cost’ 17:44:18 Stashed 1 file(s) [Pipeline] } 17:44:18 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-123-stack-cost] [Pipeline] // lock [Pipeline] } 17:44:18 $ docker stop --time=1 26971f2ddab78e4038103ccb087161af90bd9605deb4cc4cda8da764274c2608 17:44:19 $ docker rm -f --volumes 26971f2ddab78e4038103ccb087161af90bd9605deb4cc4cda8da764274c2608 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 17:44:20 provisioning config files... 17:44:20 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8859920745242298237tmp [Pipeline] { [Pipeline] sh 17:44:20 + set +x 17:44:20 + curl -s https://codecov.io/bash 17:44:20 + bash -s -- 17:44:20 17:44:20 _____ _ 17:44:20 / ____| | | 17:44:20 | | ___ __| | ___ ___ _____ __ 17:44:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:44:20 | |___| (_) | (_| | __/ (_| (_) \ V / 17:44:20 \_____\___/ \__,_|\___|\___\___/ \_/ 17:44:20 Bash-1.0.6 17:44:20 17:44:20 17:44:20 ==> git version 2.25.1 found 17:44:20 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:44:20 Release-Date: 2020-01-08 17:44:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:44:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:44:20 ==> Jenkins CI detected. 17:44:20 current dir:  /w/workspace/foundry_device-onvif-camera_main 17:44:20 project root: . 17:44:20 --> token set from env 17:44:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:44:20 ==> Running gcov in . (disable via -X gcov) 17:44:20 ==> Python coveragepy not found 17:44:20 ==> Searching for coverage reports in: 17:44:20 + . 17:44:21 -> Found 1 reports 17:44:21 ==> Detecting git/mercurial file structure 17:44:21 ==> Reading reports 17:44:21 + ./coverage.out bytes=78835 17:44:21 ==> Appending adjustments 17:44:21 https://docs.codecov.io/docs/fixing-reports 17:44:21 + Found adjustments 17:44:21 ==> Gzipping contents 17:44:21 12K /tmp/codecov.tdYuhv.gz 17:44:21 ==> Uploading reports 17:44:21 url: https://codecov.io 17:44:21 query: branch=main&commit=7c14cf897af34df275d4233d707e2506881d1776&build=123&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F123%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:44:21 -> Pinging Codecov 17:44:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=main&commit=7c14cf897af34df275d4233d707e2506881d1776&build=123&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F123%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:44:21 -> Uploading to 17:44:21 https://storage.googleapis.com/codecov/v4/raw/2023-04-10/F29A59C45E3A92E06B3E522C9905F8EF/7c14cf897af34df275d4233d707e2506881d1776/61893894-da9c-48a8-bba5-d99373dc2d34.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230410%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230410T174421Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9cf47d4f11e06d2faa29633118b2ebc5b4d38fa65d9057a7d08beb302d8a7a1f 17:44:21 % Total % Received % Xferd Average Speed Time Time Time Current 17:44:21 Dload Upload Total Spent Left Speed 17:44:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10491 0 0 100 10491 0 37873 --:--:-- --:--:-- --:--:-- 37873 17:44:21 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/7c14cf897af34df275d4233d707e2506881d1776 [Pipeline] } 17:44:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:44:21 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:44:21 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:44:22 17:44:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:44:22 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:44:22 df9b9388f04a: Pulling fs layer 17:44:22 52dc419b0ee2: Pulling fs layer 17:44:22 25bc292e5bac: Pulling fs layer 17:44:22 114826534d7a: Pulling fs layer 17:44:22 4657fd5d0bcf: Pulling fs layer 17:44:22 6ad1cebc031e: Pulling fs layer 17:44:22 8a3aa393b2d8: Pulling fs layer 17:44:22 114826534d7a: Waiting 17:44:22 4657fd5d0bcf: Waiting 17:44:22 6ad1cebc031e: Waiting 17:44:22 8a3aa393b2d8: Waiting 17:44:22 25bc292e5bac: Verifying Checksum 17:44:22 25bc292e5bac: Download complete 17:44:22 52dc419b0ee2: Download complete 17:44:22 4657fd5d0bcf: Verifying Checksum 17:44:22 4657fd5d0bcf: Download complete 17:44:22 df9b9388f04a: Download complete 17:44:22 6ad1cebc031e: Verifying Checksum 17:44:22 6ad1cebc031e: Download complete 17:44:22 df9b9388f04a: Pull complete 17:44:22 52dc419b0ee2: Pull complete 17:44:22 25bc292e5bac: Pull complete 17:44:23 114826534d7a: Verifying Checksum 17:44:23 114826534d7a: Download complete 17:44:23 8a3aa393b2d8: Verifying Checksum 17:44:23 8a3aa393b2d8: Download complete 17:44:26 114826534d7a: Pull complete 17:44:26 4657fd5d0bcf: Pull complete 17:44:27 6ad1cebc031e: Pull complete 17:44:30 8a3aa393b2d8: Pull complete 17:44:30 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:44:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:44:30 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:44:30 prd-ubuntu20.04-docker-8c-8g-7288 does not seem to be running inside a container 17:44:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 17:44:33 $ docker top ad3bb5ceb5335bc958b69e42826e54e7f2dcc0328fe9653e37ee0558b7c869a1 -eo pid,comm [Pipeline] { [Pipeline] echo 17:44:33 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 17:44:33 + set -o pipefail 17:44:33 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 17:44:38 17:44:38 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 17:44:38 17:44:38 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/eb0855e8-147d-4670-a230-da5125436b6d 17:44:38 17:44:38 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 17:44:38 17:44:38 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:44:38 17:44:38 17:44:38 A medium severity vulnerability was found in the Snyk CLI versions you are using. 17:44:38 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 17:44:38 More details here: https://snyk.co/ue1NS 17:44:38 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 17:44:38 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 17:44:38 $ docker stop --time=1 ad3bb5ceb5335bc958b69e42826e54e7f2dcc0328fe9653e37ee0558b7c869a1 17:44:41 $ docker rm -f --volumes ad3bb5ceb5335bc958b69e42826e54e7f2dcc0328fe9653e37ee0558b7c869a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 17:44:41 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:44:41 provisioning config files... 17:44:41 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12925551049812270663tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:44:41 --> edgex-publish-swagger.sh 17:44:41 === Publish doc/openapi/v2 API === 17:44:41 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 17:44:41 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 17:44:41 % Total % Received % Xferd Average Speed Time Time Time Current 17:44:41 Dload Upload Total Spent Left Speed 17:44:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 661k --:--:-- --:--:-- --:--:-- 661k 17:44:42 17:44:42 [Pipeline] } 17:44:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:44:42 + git log --format=format:%s -1 7c14cf897af34df275d4233d707e2506881d1776 [Pipeline] sh 17:44:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:44:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:44:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:44:43 prd-ubuntu20.04-docker-8c-8g-7288 does not seem to be running inside a container 17:44:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:44:44 $ docker top 5f153d0a649a27fbed19379e58a43d627ac00659505f32858b9f823f04d23d69 -eo pid,comm 17:44:44 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:44:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:44:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:44:44 [ssh-agent] Looking for ssh-agent implementation... 17:44:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:44:44 $ docker exec 5f153d0a649a27fbed19379e58a43d627ac00659505f32858b9f823f04d23d69 ssh-agent 17:44:44 SSH_AUTH_SOCK=/tmp/ssh-yR5e18zcHziw/agent.34 17:44:44 SSH_AGENT_PID=40 17:44:44 Running ssh-add (command line suppressed) 17:44:44 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4727400522275624475.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4727400522275624475.key) 17:44:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:44:44 + git semver tag 17:44:45 2023-04-10 17:44:45,001 [run_tag] DEBUG tag force:False 17:44:45 2023-04-10 17:44:45,001 [check_head_tag] DEBUG check head tag 17:44:45 2023-04-10 17:44:45,002 [execute] INFO git cat-file --batch-check 17:44:45 2023-04-10 17:44:45,003 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 17:44:45 2023-04-10 17:44:45,006 [execute] INFO git cat-file --batch 17:44:45 2023-04-10 17:44:45,006 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 17:44:45 2023-04-10 17:44:45,039 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:44:45 2023-04-10 17:44:45,039 [execute] INFO git tag -a v3.0.0-dev.29 -m v3.0.0-dev.29 17:44:45 2023-04-10 17:44:45,039 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.29', '-m', 'v3.0.0-dev.29'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 17:44:45 2023-04-10 17:44:45,044 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:44:45 3.0.0-dev.29 [Pipeline] } 17:44:45 $ docker exec --env ******** --env ******** 5f153d0a649a27fbed19379e58a43d627ac00659505f32858b9f823f04d23d69 ssh-agent -k 17:44:45 unset SSH_AUTH_SOCK; 17:44:45 unset SSH_AGENT_PID; 17:44:45 echo Agent pid 40 killed; 17:44:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:44:45 + git semver [Pipeline] } 17:44:45 $ docker stop --time=1 5f153d0a649a27fbed19379e58a43d627ac00659505f32858b9f823f04d23d69 17:44:47 $ docker rm -f --volumes 5f153d0a649a27fbed19379e58a43d627ac00659505f32858b9f823f04d23d69 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:44:47 17:44:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:44:47 0.23.1-centos7: Pulling from edgex-lftools 17:44:47 ab5ef0e58194: Pulling fs layer 17:44:47 9712f1f96733: Pulling fs layer 17:44:47 63f879dbbcfc: Pulling fs layer 17:44:47 0d9ebad4ef96: Pulling fs layer 17:44:47 e9a5061849ea: Pulling fs layer 17:44:47 d747dcd14b5f: Pulling fs layer 17:44:47 2de7ff778b66: Pulling fs layer 17:44:47 e9a5061849ea: Waiting 17:44:47 d747dcd14b5f: Waiting 17:44:47 2de7ff778b66: Waiting 17:44:47 0d9ebad4ef96: Waiting 17:44:47 9712f1f96733: Verifying Checksum 17:44:47 9712f1f96733: Download complete 17:44:47 63f879dbbcfc: Verifying Checksum 17:44:47 63f879dbbcfc: Download complete 17:44:47 e9a5061849ea: Verifying Checksum 17:44:47 e9a5061849ea: Download complete 17:44:48 d747dcd14b5f: Verifying Checksum 17:44:48 d747dcd14b5f: Download complete 17:44:48 0d9ebad4ef96: Download complete 17:44:48 ab5ef0e58194: Verifying Checksum 17:44:48 ab5ef0e58194: Download complete 17:44:48 2de7ff778b66: Verifying Checksum 17:44:48 2de7ff778b66: Download complete 17:44:50 ab5ef0e58194: Pull complete 17:44:51 9712f1f96733: Pull complete 17:44:51 63f879dbbcfc: Pull complete 17:44:55 0d9ebad4ef96: Pull complete 17:44:55 e9a5061849ea: Pull complete 17:44:55 d747dcd14b5f: Pull complete 17:44:56 2de7ff778b66: Pull complete 17:44:56 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:44:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:44:56 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:44:56 prd-ubuntu20.04-docker-8c-8g-7288 does not seem to be running inside a container 17:44:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 17:45:00 $ docker top 0b0d95d5fcead953e5e98b0bae82e5729c85a497a92e07dc0312138e84689d16 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:45:00 provisioning config files... 17:45:00 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config18185418633640591630tmp 17:45:00 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14932676713107982234tmp 17:45:00 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4948466859131875646tmp [Pipeline] { [Pipeline] echo 17:45:00 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:45:00 ---> sigul-configuration.sh 17:45:00 gpg: directory `/root/.gnupg' created 17:45:00 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:45:00 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:45:00 gpg: keyring `/root/.gnupg/secring.gpg' created 17:45:00 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:45:00 gpg: CAST5 encrypted data 17:45:00 gpg: encrypted with 1 passphrase 17:45:00 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:45:00 + mkdir /home/jenkins 17:45:00 + mkdir /home/jenkins/sigul [Pipeline] sh 17:45:01 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 17:45:01 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:45:01 ---> sigul-install.sh 17:45:01 Sigul already installed; skipping installation. [Pipeline] sh 17:45:01 + git tag --list 17:45:01 v0.0.0 17:45:01 v0.0.1-dev.1 17:45:01 v0.0.1-dev.10 17:45:01 v0.0.1-dev.11 17:45:01 v0.0.1-dev.12 17:45:01 v0.0.1-dev.13 17:45:01 v0.0.1-dev.14 17:45:01 v0.0.1-dev.15 17:45:01 v0.0.1-dev.16 17:45:01 v0.0.1-dev.17 17:45:01 v0.0.1-dev.18 17:45:01 v0.0.1-dev.19 17:45:01 v0.0.1-dev.2 17:45:01 v0.0.1-dev.20 17:45:01 v0.0.1-dev.21 17:45:01 v0.0.1-dev.22 17:45:01 v0.0.1-dev.23 17:45:01 v0.0.1-dev.24 17:45:01 v0.0.1-dev.25 17:45:01 v0.0.1-dev.26 17:45:01 v0.0.1-dev.27 17:45:01 v0.0.1-dev.28 17:45:01 v0.0.1-dev.3 17:45:01 v0.0.1-dev.4 17:45:01 v0.0.1-dev.5 17:45:01 v0.0.1-dev.6 17:45:01 v0.0.1-dev.7 17:45:01 v0.0.1-dev.8 17:45:01 v0.0.1-dev.9 17:45:01 v2.2.0 17:45:01 v2.2.0-dev.29 17:45:01 v2.2.0-dev.30 17:45:01 v2.2.0-dev.31 17:45:01 v2.2.0-dev.32 17:45:01 v2.2.0-dev.33 17:45:01 v2.2.0-dev.34 17:45:01 v2.2.0-dev.35 17:45:01 v2.3.0 17:45:01 v2.3.0-dev.1 17:45:01 v2.3.0-dev.10 17:45:01 v2.3.0-dev.11 17:45:01 v2.3.0-dev.12 17:45:01 v2.3.0-dev.13 17:45:01 v2.3.0-dev.14 17:45:01 v2.3.0-dev.15 17:45:01 v2.3.0-dev.16 17:45:01 v2.3.0-dev.17 17:45:01 v2.3.0-dev.18 17:45:01 v2.3.0-dev.19 17:45:01 v2.3.0-dev.2 17:45:01 v2.3.0-dev.20 17:45:01 v2.3.0-dev.21 17:45:01 v2.3.0-dev.22 17:45:01 v2.3.0-dev.23 17:45:01 v2.3.0-dev.24 17:45:01 v2.3.0-dev.25 17:45:01 v2.3.0-dev.26 17:45:01 v2.3.0-dev.27 17:45:01 v2.3.0-dev.28 17:45:01 v2.3.0-dev.29 17:45:01 v2.3.0-dev.3 17:45:01 v2.3.0-dev.30 17:45:01 v2.3.0-dev.31 17:45:01 v2.3.0-dev.32 17:45:01 v2.3.0-dev.33 17:45:01 v2.3.0-dev.34 17:45:01 v2.3.0-dev.35 17:45:01 v2.3.0-dev.36 17:45:01 v2.3.0-dev.37 17:45:01 v2.3.0-dev.38 17:45:01 v2.3.0-dev.39 17:45:01 v2.3.0-dev.4 17:45:01 v2.3.0-dev.40 17:45:01 v2.3.0-dev.41 17:45:01 v2.3.0-dev.42 17:45:01 v2.3.0-dev.43 17:45:01 v2.3.0-dev.44 17:45:01 v2.3.0-dev.45 17:45:01 v2.3.0-dev.5 17:45:01 v2.3.0-dev.6 17:45:01 v2.3.0-dev.7 17:45:01 v2.3.0-dev.8 17:45:01 v2.3.0-dev.9 17:45:01 v2.3.1 17:45:01 v2.3.1-dev.1 17:45:01 v2.3.1-dev.4 17:45:01 v2.3.1-dev.5 17:45:01 v3.0.0-dev.1 17:45:01 v3.0.0-dev.10 17:45:01 v3.0.0-dev.11 17:45:01 v3.0.0-dev.12 17:45:01 v3.0.0-dev.13 17:45:01 v3.0.0-dev.14 17:45:01 v3.0.0-dev.15 17:45:01 v3.0.0-dev.16 17:45:01 v3.0.0-dev.17 17:45:01 v3.0.0-dev.18 17:45:01 v3.0.0-dev.19 17:45:01 v3.0.0-dev.2 17:45:01 v3.0.0-dev.20 17:45:01 v3.0.0-dev.21 17:45:01 v3.0.0-dev.22 17:45:01 v3.0.0-dev.23 17:45:01 v3.0.0-dev.24 17:45:01 v3.0.0-dev.25 17:45:01 v3.0.0-dev.26 17:45:01 v3.0.0-dev.27 17:45:01 v3.0.0-dev.28 17:45:01 v3.0.0-dev.29 17:45:01 v3.0.0-dev.3 17:45:01 v3.0.0-dev.4 17:45:01 v3.0.0-dev.5 17:45:01 v3.0.0-dev.6 17:45:01 v3.0.0-dev.7 17:45:01 v3.0.0-dev.8 17:45:01 v3.0.0-dev.9 [Pipeline] sh 17:45:02 + lftools sign git-tag v3.0.0-dev.29 17:45:02 Signing Git tag with Sigul... 17:45:02 Signing v3.0.0-dev.29 [Pipeline] echo 17:45:02 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:45:03 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:45:03 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:45:03 $ docker stop --time=1 0b0d95d5fcead953e5e98b0bae82e5729c85a497a92e07dc0312138e84689d16 17:45:04 $ docker rm -f --volumes 0b0d95d5fcead953e5e98b0bae82e5729c85a497a92e07dc0312138e84689d16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:45:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:45:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:45:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:45:05 prd-ubuntu20.04-docker-8c-8g-7288 does not seem to be running inside a container 17:45:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:45:05 $ docker top a2129ab81cfda0a478932ada8ec0ad129ba5bea295bd7cba9e383002ba2280d5 -eo pid,comm 17:45:05 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:45:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:45:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:45:05 [ssh-agent] Looking for ssh-agent implementation... 17:45:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:45:05 $ docker exec a2129ab81cfda0a478932ada8ec0ad129ba5bea295bd7cba9e383002ba2280d5 ssh-agent 17:45:05 SSH_AUTH_SOCK=/tmp/ssh-LEr81iQT35jv/agent.32 17:45:05 SSH_AGENT_PID=38 17:45:05 Running ssh-add (command line suppressed) 17:45:06 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13685318968461486917.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13685318968461486917.key) 17:45:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:45:06 + git semver bump pre 17:45:06 2023-04-10 17:45:06,649 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:45:06 2023-04-10 17:45:06,650 [bump_version] DEBUG bumping version:3.0.0-dev.29 on axis:pre with prefix:dev 17:45:06 2023-04-10 17:45:06,650 [bump_version] DEBUG bumped version:3.0.0-dev.30 17:45:06 2023-04-10 17:45:06,650 [write_version] DEBUG write version:3.0.0-dev.30 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 17:45:06 2023-04-10 17:45:06,650 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:45:06 2023-04-10 17:45:06,650 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 17:45:06 2023-04-10 17:45:06,652 [execute] INFO git cat-file --batch-check 17:45:06 2023-04-10 17:45:06,652 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:45:06 2023-04-10 17:45:06,657 [execute] INFO git cat-file --batch 17:45:06 2023-04-10 17:45:06,657 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:45:06 2023-04-10 17:45:06,662 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:45:06 3.0.0-dev.30 [Pipeline] } 17:45:06 $ docker exec --env ******** --env ******** a2129ab81cfda0a478932ada8ec0ad129ba5bea295bd7cba9e383002ba2280d5 ssh-agent -k 17:45:06 unset SSH_AUTH_SOCK; 17:45:06 unset SSH_AGENT_PID; 17:45:06 echo Agent pid 38 killed; 17:45:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:45:07 + git semver [Pipeline] } 17:45:07 $ docker stop --time=1 a2129ab81cfda0a478932ada8ec0ad129ba5bea295bd7cba9e383002ba2280d5 17:45:08 $ docker rm -f --volumes a2129ab81cfda0a478932ada8ec0ad129ba5bea295bd7cba9e383002ba2280d5 [Pipeline] // withDockerContainer [Pipeline] sh 17:45:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:45:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:45:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:45:09 prd-ubuntu20.04-docker-8c-8g-7288 does not seem to be running inside a container 17:45:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:45:09 $ docker top 82719fb1a6291f0a51e33ba599d45f184b9222fa8e74a6a62816c9deb7e08d2d -eo pid,comm 17:45:09 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:45:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:45:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:45:09 [ssh-agent] Looking for ssh-agent implementation... 17:45:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:45:10 $ docker exec 82719fb1a6291f0a51e33ba599d45f184b9222fa8e74a6a62816c9deb7e08d2d ssh-agent 17:45:10 SSH_AUTH_SOCK=/tmp/ssh-ldx92Is1xHh5/agent.32 17:45:10 SSH_AGENT_PID=38 17:45:10 Running ssh-add (command line suppressed) 17:45:10 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15698056428436171526.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15698056428436171526.key) 17:45:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:45:10 + git semver push 17:45:10 2023-04-10 17:45:10,740 [run_push] DEBUG push 17:45:10 2023-04-10 17:45:10,740 [execute] INFO git cat-file --batch-check 17:45:10 2023-04-10 17:45:10,741 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:45:10 2023-04-10 17:45:10,744 [execute] INFO git rev-list c35e7560627d8aafa7ff0244d97f4c1b1741d292 -- 17:45:10 2023-04-10 17:45:10,744 [execute] DEBUG Popen(['git', 'rev-list', 'c35e7560627d8aafa7ff0244d97f4c1b1741d292', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:45:10 2023-04-10 17:45:10,753 [execute] INFO git fetch -v origin 17:45:10 2023-04-10 17:45:10,753 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 17:45:11 2023-04-10 17:45:11,354 [run_push] DEBUG no remote changes detected 17:45:11 2023-04-10 17:45:11,354 [execute] INFO git push origin semver 17:45:11 2023-04-10 17:45:11,355 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:45:12 2023-04-10 17:45:12,119 [run_push] DEBUG push all version tags 17:45:12 2023-04-10 17:45:12,120 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:45:12 2023-04-10 17:45:12,121 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 17:45:13 2023-04-10 17:45:12,993 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:45:13 3.0.0-dev.30 [Pipeline] } 17:45:13 $ docker exec --env ******** --env ******** 82719fb1a6291f0a51e33ba599d45f184b9222fa8e74a6a62816c9deb7e08d2d ssh-agent -k 17:45:13 unset SSH_AUTH_SOCK; 17:45:13 unset SSH_AGENT_PID; 17:45:13 echo Agent pid 38 killed; 17:45:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:45:13 + git semver [Pipeline] } 17:45:13 $ docker stop --time=1 82719fb1a6291f0a51e33ba599d45f184b9222fa8e74a6a62816c9deb7e08d2d 17:45:15 $ docker rm -f --volumes 82719fb1a6291f0a51e33ba599d45f184b9222fa8e74a6a62816c9deb7e08d2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:45:15 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 17:45:15 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 17:45:15 total 16 17:45:15 drwxr-xr-x 3 root root 4096 Apr 10 17:34 . 17:45:15 drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 17:45 .. 17:45:15 drwxr-xr-x 2 root root 4096 Apr 10 17:34 cost 17:45:15 -rw-r--r-- 1 root root 93 Apr 10 17:34 cost.csv 17:45:15 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 17:45:15 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 17:45:15 total 16 17:45:15 drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 17:34 . 17:45:15 drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 17:45 .. 17:45:15 drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 17:34 cost 17:45:15 -rw-r--r-- 1 jenkins jenkins 93 Apr 10 17:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:45:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:45:16 ---> package-listing.sh 17:45:16 ++ facter osfamily 17:45:16 ++ tr '[:upper:]' '[:lower:]' 17:45:17 + OS_FAMILY=debian 17:45:17 + workspace=/w/workspace/foundry_device-onvif-camera_main 17:45:17 + START_PACKAGES=/tmp/packages_start.txt 17:45:17 + END_PACKAGES=/tmp/packages_end.txt 17:45:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:45:17 + PACKAGES=/tmp/packages_start.txt 17:45:17 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 17:45:17 + PACKAGES=/tmp/packages_end.txt 17:45:17 + case "${OS_FAMILY}" in 17:45:17 + dpkg -l 17:45:17 + grep '^ii' 17:45:17 + '[' -f /tmp/packages_start.txt ']' 17:45:17 + '[' -f /tmp/packages_end.txt ']' 17:45:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:45:17 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 17:45:17 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 17:45:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 17:45:17 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:45:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:45:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:45:18 prd-ubuntu20.04-docker-8c-8g-7288 does not seem to be running inside a container 17:45:18 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:45:18 $ docker top 02f01eef280d6824bf615f86d320e67fede77eeb78041e297d1248c83fb3a7a5 -eo pid,comm [Pipeline] { [Pipeline] sh 17:45:18 + touch /tmp/pre-build-complete [Pipeline] sh 17:45:18 + mkdir -p /var/log/sysstat [Pipeline] sh 17:45:19 + ls /var/log/sa-host 17:45:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:45:19 provisioning config files... 17:45:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1994702608655005100tmp [Pipeline] { [Pipeline] echo 17:45:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:45:19 ---> create-netrc.sh [Pipeline] } 17:45:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:45:19 ---> python-tools-install.sh [Pipeline] echo 17:45:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:45:20 ---> sudo-logs.sh 17:45:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:45:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:45:20 ---> job-cost.sh 17:45:20 lf-activate-venv: SKIPPING 17:45:20 DEBUG: total: 2.190000057220459 17:45:20 INFO: Retrieving Stack Cost... 17:45:20 INFO: Retrieving Pricing Info for: v3-standard-8 17:45:21 INFO: Archiving Costs [Pipeline] echo 17:45:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:45:21 ---> logs-deploy.sh 17:45:21 lf-activate-venv: SKIPPING 17:45:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/123 17:45:21 INFO: archiving workspace using pattern(s): 17:45:22 Archives upload complete. 17:45:22 INFO: archiving logs to Nexus 17:45:23 ---> uname -a: 17:45:23 Linux prd-ubuntu20-04-docker-8c-8g-7288 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 17:45:23 17:45:23