Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9f8af1561b5eb46d905479fdb00b08d296bf7f63 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-ssh11727391805404581039.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh1240096457914349332.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh17727830782875954157.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh6294717544902969648.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-ssh2129029955757910995.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/v3]] ========================================================= [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.21 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/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-9694’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-9695’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-9708’ is offline Running on prd-ubuntu20.04-docker-8c-8g-9709 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 9f8af1561b5eb46d905479fdb00b08d296bf7f63 (main) Commit message: "build(deps): Bump github.com/IOTechSystems/onvif from 0.1.6 to 1.0.0 (#395)" > 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 9f8af1561b5eb46d905479fdb00b08d296bf7f63 # timeout=10 > git rev-list --no-walk 7c6ce31d4e4e68ee53203d0b85754cc148e5691f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:20:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:20:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:20:43 ========================================================= 15:20:43 EdgeX Global Pipelines Version Info 15:20:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:20:43 ------------------- 15:20:43 stable info: 15:20:43 ------------------- 15:20:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:20:43 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 15:20:43 Message: update stable to v1.0.254 15:20:44 ------------------- 15:20:44 experimental info: 15:20:44 ------------------- 15:20:44 Commited By: **** collab-it+edgex@linuxfoundation.org 15:20:44 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 15:20:44 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:20:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 15:20:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 15:20:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:20:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:20:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:20:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 15:20:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:20:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:20:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:20:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:20:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:20:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 15:20:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:20:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:20:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:20:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:20:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:20:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:20:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:20:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:20:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:20:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 15:20:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:20:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:20:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:20:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:20:45 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:20:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:20:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:20:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:20:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9f8af1561b5eb46d905479fdb00b08d296bf7f63 [Pipeline] echo 15:20:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9f8af15 [Pipeline] echo 15:20:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:20:45 provisioning config files... 15:20:45 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15369336740351436255tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:20:45 ---> docker-login.sh 15:20:45 nexus3.edgexfoundry.org:10001 15:20:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:20:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:20:45 Configure a credential helper to remove this warning. See 15:20:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:20:45 15:20:45 Login Succeeded 15:20:45 nexus3.edgexfoundry.org:10002 15:20:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:20:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:20:46 Configure a credential helper to remove this warning. See 15:20:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:20:46 15:20:46 Login Succeeded 15:20:46 nexus3.edgexfoundry.org:10003 15:20:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:20:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:20:46 Configure a credential helper to remove this warning. See 15:20:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:20:46 15:20:46 Login Succeeded 15:20:46 nexus3.edgexfoundry.org:10004 15:20:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:20:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:20:46 Configure a credential helper to remove this warning. See 15:20:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:20:46 15:20:46 Login Succeeded 15:20:46 docker.io 15:20:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:20:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:20:46 Configure a credential helper to remove this warning. See 15:20:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:20:46 15:20:46 Login Succeeded 15:20:46 ---> docker-login.sh ends [Pipeline] } 15:20:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:20:46 + git rev-list -1 --merges 9f8af1561b5eb46d905479fdb00b08d296bf7f63~1..9f8af1561b5eb46d905479fdb00b08d296bf7f63 [Pipeline] echo 15:20:46 -----------> git rev-list -1 --merges 9f8af1561b5eb46d905479fdb00b08d296bf7f63~1..9f8af1561b5eb46d905479fdb00b08d296bf7f63 9f8af1561b5eb46d905479fdb00b08d296bf7f63 [false] [Pipeline] sh 15:20:47 + git log --format=format:%s -1 9f8af1561b5eb46d905479fdb00b08d296bf7f63 [Pipeline] echo 15:20:47 ========================================================= 15:20:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:20:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:20:47 + git log --format=format:%s -1 9f8af1561b5eb46d905479fdb00b08d296bf7f63 [Pipeline] echo 15:20:47 [semverPrep] GIT_COMMIT: 9f8af1561b5eb46d905479fdb00b08d296bf7f63, Commit Message: build(deps): Bump github.com/IOTechSystems/onvif from 0.1.6 to 1.0.0 (#395) [Pipeline] echo 15:20:47 [semverPrep] This is not a build commit. [Pipeline] sh 15:20:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:20:47 + grep -v github /etc/ssh/ssh_known_hosts 15:20:47 + [ -e /tmp/ssh_known_hosts ] 15:20:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:20:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:20:47 + sudo tee -a /etc/ssh/ssh_known_hosts 15:20:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:20:48 15:20:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:20:48 0.1.4: Pulling from edgex-devops/py-git-semver 15:20:48 b85a868b505f: Pulling fs layer 15:20:48 e2be974225ed: Pulling fs layer 15:20:48 339a4e72a1f5: Pulling fs layer 15:20:48 988bab9f4d93: Pulling fs layer 15:20:48 1469e6f7b9e6: Pulling fs layer 15:20:48 eaf3925da568: Pulling fs layer 15:20:48 bab4dde63d76: Pulling fs layer 15:20:48 bde34c3a00c8: Pulling fs layer 15:20:48 b352a97aabf1: Pulling fs layer 15:20:48 988bab9f4d93: Waiting 15:20:48 4872d77fe225: Pulling fs layer 15:20:48 5851b861e8e6: Pulling fs layer 15:20:48 eaf3925da568: Waiting 15:20:48 bab4dde63d76: Waiting 15:20:48 b352a97aabf1: Waiting 15:20:48 bde34c3a00c8: Waiting 15:20:48 4872d77fe225: Waiting 15:20:48 5851b861e8e6: Waiting 15:20:48 1469e6f7b9e6: Waiting 15:20:48 e2be974225ed: Verifying Checksum 15:20:48 e2be974225ed: Download complete 15:20:48 988bab9f4d93: Download complete 15:20:48 339a4e72a1f5: Verifying Checksum 15:20:48 339a4e72a1f5: Download complete 15:20:48 1469e6f7b9e6: Verifying Checksum 15:20:48 1469e6f7b9e6: Download complete 15:20:48 eaf3925da568: Verifying Checksum 15:20:48 eaf3925da568: Download complete 15:20:48 bde34c3a00c8: Verifying Checksum 15:20:48 bde34c3a00c8: Download complete 15:20:48 b352a97aabf1: Download complete 15:20:48 4872d77fe225: Verifying Checksum 15:20:48 4872d77fe225: Download complete 15:20:48 5851b861e8e6: Verifying Checksum 15:20:48 5851b861e8e6: Download complete 15:20:48 b85a868b505f: Verifying Checksum 15:20:48 b85a868b505f: Download complete 15:20:49 bab4dde63d76: Verifying Checksum 15:20:49 bab4dde63d76: Download complete 15:20:50 b85a868b505f: Pull complete 15:20:50 e2be974225ed: Pull complete 15:20:50 339a4e72a1f5: Pull complete 15:20:50 988bab9f4d93: Pull complete 15:20:50 1469e6f7b9e6: Pull complete 15:20:50 eaf3925da568: Pull complete 15:20:52 bab4dde63d76: Pull complete 15:20:52 bde34c3a00c8: Pull complete 15:20:52 b352a97aabf1: Pull complete 15:20:52 4872d77fe225: Pull complete 15:20:52 5851b861e8e6: Pull complete 15:20:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:20:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:20:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:20:52 prd-ubuntu20.04-docker-8c-8g-9709 does not seem to be running inside a container 15:20:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:20:57 $ docker top 21c15de9932f453fc9bc49757ef7f58c6b135767bf7d07366cc00d8609adac5f -eo pid,comm 15:20:57 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). 15:20:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:20:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:20:57 [ssh-agent] Looking for ssh-agent implementation... 15:20:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:20:57 $ docker exec 21c15de9932f453fc9bc49757ef7f58c6b135767bf7d07366cc00d8609adac5f ssh-agent 15:20:57 SSH_AUTH_SOCK=/tmp/ssh-8USLKUDy6Cnp/agent.32 15:20:57 SSH_AGENT_PID=38 15:20:57 Running ssh-add (command line suppressed) 15:20:57 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4519662597287189799.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4519662597287189799.key) 15:20:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:20:57 + git tag --points-at HEAD [Pipeline] } 15:20:57 $ docker exec --env ******** --env ******** 21c15de9932f453fc9bc49757ef7f58c6b135767bf7d07366cc00d8609adac5f ssh-agent -k 15:20:58 unset SSH_AUTH_SOCK; 15:20:58 unset SSH_AGENT_PID; 15:20:58 echo Agent pid 38 killed; 15:20:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:20:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:20:58 [ssh-agent] Looking for ssh-agent implementation... 15:20:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:20:58 $ docker exec 21c15de9932f453fc9bc49757ef7f58c6b135767bf7d07366cc00d8609adac5f ssh-agent 15:20:58 SSH_AUTH_SOCK=/tmp/ssh-oTbRx7ZN6snm/agent.71 15:20:58 SSH_AGENT_PID=77 15:20:58 Running ssh-add (command line suppressed) 15:20:58 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14046371412327773419.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14046371412327773419.key) 15:20:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:20:58 + git semver init 15:20:58 2023-10-21 15:20:58,889 [run_init] DEBUG init version:0.0.0 force:False 15:20:58 2023-10-21 15:20:58,890 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 15:20:58 2023-10-21 15:20:58,890 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 15:20:58 2023-10-21 15:20:58,891 [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) 15:20:59 2023-10-21 15:20:59,891 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 15:20:59 2023-10-21 15:20:59,891 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 15:20:59 2023-10-21 15:20:59,891 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:20:59 2023-10-21 15:20:59,891 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:20:59 3.1.0-dev.19 [Pipeline] } 15:20:59 $ docker exec --env ******** --env ******** 21c15de9932f453fc9bc49757ef7f58c6b135767bf7d07366cc00d8609adac5f ssh-agent -k 15:21:00 unset SSH_AUTH_SOCK; 15:21:00 unset SSH_AGENT_PID; 15:21:00 echo Agent pid 77 killed; 15:21:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:21:00 + git semver [Pipeline] } 15:21:00 $ docker stop --time=1 21c15de9932f453fc9bc49757ef7f58c6b135767bf7d07366cc00d8609adac5f 15:21:01 $ docker rm -f --volumes 21c15de9932f453fc9bc49757ef7f58c6b135767bf7d07366cc00d8609adac5f [Pipeline] // withDockerContainer [Pipeline] sh 15:21:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:21:02 Stashed 1 file(s) [Pipeline] echo 15:21:02 [edgeXSemver]: initialized semver on version 3.1.0-dev.19 [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 15:21:02 provisioning config files... 15:21:02 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7003623483571413365tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:21:02 ---> docker-login.sh 15:21:02 nexus3.edgexfoundry.org:10001 15:21:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:02 Configure a credential helper to remove this warning. See 15:21:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:02 15:21:02 Login Succeeded 15:21:02 nexus3.edgexfoundry.org:10002 15:21:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:02 Configure a credential helper to remove this warning. See 15:21:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:02 15:21:02 Login Succeeded 15:21:02 nexus3.edgexfoundry.org:10003 15:21:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:03 Configure a credential helper to remove this warning. See 15:21:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:03 15:21:03 Login Succeeded 15:21:03 nexus3.edgexfoundry.org:10004 15:21:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:03 Configure a credential helper to remove this warning. See 15:21:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:03 15:21:03 Login Succeeded 15:21:03 docker.io 15:21:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:03 Configure a credential helper to remove this warning. See 15:21:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:03 15:21:03 Login Succeeded 15:21:03 ---> docker-login.sh ends [Pipeline] } 15:21:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:21:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:21:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:21:03 ========================================================= 15:21:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 15:21:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:21:03 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 15:21:03 Sending build context to Docker daemon 21.65MB 15:21:03 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 15:21:03 Step 2/13 : FROM ${BASE} AS builder 15:21:03 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 15:21:03 7264a8db6415: Pulling fs layer 15:21:03 c4d48a809fc2: Pulling fs layer 15:21:03 4f1c88b9dad5: Pulling fs layer 15:21:03 ad3a456e5733: Pulling fs layer 15:21:03 33e27b845d1e: Pulling fs layer 15:21:03 c68163c4e522: Pulling fs layer 15:21:03 50da416c3ac9: Pulling fs layer 15:21:03 23d2d4c4bb30: Pulling fs layer 15:21:03 ad3a456e5733: Waiting 15:21:03 33e27b845d1e: Waiting 15:21:03 c68163c4e522: Waiting 15:21:03 23d2d4c4bb30: Waiting 15:21:03 50da416c3ac9: Waiting 15:21:03 c4d48a809fc2: Verifying Checksum 15:21:03 c4d48a809fc2: Download complete 15:21:04 ad3a456e5733: Verifying Checksum 15:21:04 ad3a456e5733: Download complete 15:21:04 33e27b845d1e: Verifying Checksum 15:21:04 33e27b845d1e: Download complete 15:21:04 7264a8db6415: Verifying Checksum 15:21:04 7264a8db6415: Download complete 15:21:04 c68163c4e522: Verifying Checksum 15:21:04 c68163c4e522: Download complete 15:21:04 7264a8db6415: Pull complete 15:21:04 23d2d4c4bb30: Verifying Checksum 15:21:04 23d2d4c4bb30: Download complete 15:21:04 c4d48a809fc2: Pull complete 15:21:04 4f1c88b9dad5: Verifying Checksum 15:21:04 4f1c88b9dad5: Download complete 15:21:04 50da416c3ac9: Verifying Checksum 15:21:04 50da416c3ac9: Download complete 15:21:07 4f1c88b9dad5: Pull complete 15:21:07 ad3a456e5733: Pull complete 15:21:07 33e27b845d1e: Pull complete 15:21:07 c68163c4e522: Pull complete 15:21:10 50da416c3ac9: Pull complete 15:21:10 23d2d4c4bb30: Pull complete 15:21:10 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 15:21:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 15:21:10 ---> 0786185ac409 15:21:10 Step 3/13 : ARG ADD_BUILD_TAGS="" 15:21:15 ---> Running in ee2d45aa9c92 15:21:15 Removing intermediate container ee2d45aa9c92 15:21:15 ---> abdaa7b83dad 15:21:15 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:21:15 ---> Running in 6778ad51e756 15:21:15 Removing intermediate container 6778ad51e756 15:21:15 ---> 19edfb7a0433 15:21:15 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 15:21:15 ---> Running in 1435a92cefeb 15:21:15 Removing intermediate container 1435a92cefeb 15:21:15 ---> 65740f00f612 15:21:15 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 15:21:15 ---> Running in 9472882f5a05 15:21:15 Removing intermediate container 9472882f5a05 15:21:15 ---> c0d6bcc3c800 15:21:15 Step 7/13 : LABEL Name=edgex-device-onvif-camera 15:21:15 ---> Running in e41843bbcfaf 15:21:16 Removing intermediate container e41843bbcfaf 15:21:16 ---> 00b4c78bf274 15:21:16 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:21:16 ---> Running in 3bb3c73ac996 15:21:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:21:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:21:16 OK: 264 MiB in 52 packages 15:21:17 Removing intermediate container 3bb3c73ac996 15:21:17 ---> a6851581c088 15:21:17 Step 9/13 : WORKDIR /device-onvif-camera 15:21:17 ---> Running in 51ee4183a03b 15:21:17 Removing intermediate container 51ee4183a03b 15:21:17 ---> 0e19f4af4e84 15:21:17 Step 10/13 : COPY go.mod vendor* ./ 15:21:17 ---> be8168bac354 15:21:17 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:21:17 ---> Running in 06e128e5ef84 15:21:17 Still waiting to schedule task 15:21:17 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9710’ 15:22:13 Removing intermediate container 06e128e5ef84 15:22:13 ---> c6c0588dd1bd 15:22:13 Step 12/13 : COPY . . 15:22:13 ---> 5b0f4304a198 15:22:13 Step 13/13 : RUN ${MAKE} 15:22:13 ---> Running in f04f6aea81e1 15:22:13 noop 15:22:13 Removing intermediate container f04f6aea81e1 15:22:13 ---> 14be0f2a0584 15:22:13 Successfully built 14be0f2a0584 15:22:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:22:13 + docker inspect -f . ci-base-image-x86_64 15:22:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:22:14 prd-ubuntu20.04-docker-8c-8g-9709 does not seem to be running inside a container 15:22:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:22:14 $ docker top 5c040d1cccd32dea2d2271c24889902d67c602a3fcfb6b315764861942c899f6 -eo pid,comm [Pipeline] { [Pipeline] sh 15:22:14 + go version 15:22:14 go version go1.21.0 linux/amd64 [Pipeline] } 15:22:14 $ docker stop --time=1 5c040d1cccd32dea2d2271c24889902d67c602a3fcfb6b315764861942c899f6 15:22:16 $ docker rm -f --volumes 5c040d1cccd32dea2d2271c24889902d67c602a3fcfb6b315764861942c899f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:22:16 + docker inspect -f . ci-base-image-x86_64 15:22:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:22:16 prd-ubuntu20.04-docker-8c-8g-9709 does not seem to be running inside a container 15:22:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:22:16 $ docker top 46907944ef8dce10156ac0299af4c9598d7766ccb6e775fa00ae4aa0f36c0660 -eo pid,comm [Pipeline] { [Pipeline] sh 15:22:17 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 15:22:17 + make test 15:22:17 go test ./... -coverprofile=coverage.out ./... 15:22:18 ? github.com/edgexfoundry/device-onvif-camera [no test files] 15:22:28 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 15:22:28 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 15:22:31 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 31.5% of statements 15:22:31 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.066s coverage: 86.5% of statements 15:22:37 go vet ./... 15:22:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:22:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:22:40 ./bin/test-attribution-txt.sh [Pipeline] echo 15:22:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:22:40 $ docker stop --time=1 46907944ef8dce10156ac0299af4c9598d7766ccb6e775fa00ae4aa0f36c0660 15:22:44 $ docker rm -f --volumes 46907944ef8dce10156ac0299af4c9598d7766ccb6e775fa00ae4aa0f36c0660 [Pipeline] // withDockerContainer [Pipeline] sh 15:22:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:22:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:22:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:22:45 + ls -al . 15:22:45 total 240 15:22:45 drwxrwxr-x 10 jenkins jenkins 4096 Oct 21 15:22 . 15:22:45 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 15:20 .. 15:22:45 drwxrwxr-x 8 jenkins jenkins 4096 Oct 21 15:22 .git 15:22:45 drwxrwxr-x 3 jenkins jenkins 4096 Oct 21 15:20 .github 15:22:45 -rw-rw-r-- 1 jenkins jenkins 496 Oct 21 15:20 .gitignore 15:22:45 -rw-rw-r-- 1 jenkins jenkins 42 Oct 21 15:20 .golangci.yml 15:22:45 drwxr-xr-x 3 jenkins jenkins 4096 Oct 21 15:20 .semver 15:22:45 -rw-rw-r-- 1 jenkins jenkins 11155 Oct 21 15:20 Attribution.txt 15:22:45 -rw-rw-r-- 1 jenkins jenkins 15932 Oct 21 15:20 CHANGELOG.md 15:22:45 -rw-rw-r-- 1 jenkins jenkins 1574 Oct 21 15:20 Dockerfile 15:22:45 -rw-rw-r-- 1 jenkins jenkins 677 Oct 21 15:20 GOVERNANCE.md 15:22:45 -rw-rw-r-- 1 jenkins jenkins 739 Oct 21 15:20 Jenkinsfile 15:22:45 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 21 15:20 LICENSE 15:22:45 -rw-rw-r-- 1 jenkins jenkins 2877 Oct 21 15:20 Makefile 15:22:45 -rw-rw-r-- 1 jenkins jenkins 625 Oct 21 15:20 OWNERS.md 15:22:45 -rw-rw-r-- 1 jenkins jenkins 2620 Oct 21 15:20 README.md 15:22:45 -rw-rw-r-- 1 jenkins jenkins 12 Oct 21 15:21 VERSION 15:22:45 drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 15:20 bin 15:22:45 drwxrwxr-x 3 jenkins jenkins 4096 Oct 21 15:20 cmd 15:22:45 -rw-r--r-- 1 jenkins jenkins 78456 Oct 21 15:22 coverage.out 15:22:45 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 15:20 doc 15:22:45 -rw-rw-r-- 1 jenkins jenkins 4087 Oct 21 15:20 go.mod 15:22:45 -rw-rw-r-- 1 jenkins jenkins 35688 Oct 21 15:20 go.sum 15:22:45 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 15:20 internal 15:22:45 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 15:20 snap 15:22:45 -rw-rw-r-- 1 jenkins jenkins 236 Oct 21 15:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:22:46 + 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=9f8af1561b5eb46d905479fdb00b08d296bf7f63 --label arch=amd64 --label version=3.1.0-dev.19 . 15:22:46 Sending build context to Docker daemon 21.73MB 15:22:46 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 15:22:46 Step 2/26 : FROM ${BASE} AS builder 15:22:46 ---> 14be0f2a0584 15:22:46 Step 3/26 : ARG ADD_BUILD_TAGS="" 15:22:46 ---> Running in bfacd6dda974 15:22:46 Removing intermediate container bfacd6dda974 15:22:46 ---> 89fb7cc0b032 15:22:46 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:22:46 ---> Running in c6231f6e2690 15:22:46 Removing intermediate container c6231f6e2690 15:22:46 ---> 088e2f814ccb 15:22:46 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 15:22:46 ---> Running in e5112d88a18e 15:22:46 Removing intermediate container e5112d88a18e 15:22:46 ---> 8cf7584cf52f 15:22:46 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 15:22:46 ---> Running in 10d2c70d8c56 15:22:47 Removing intermediate container 10d2c70d8c56 15:22:47 ---> e2ec16346aef 15:22:47 Step 7/26 : LABEL Name=edgex-device-onvif-camera 15:22:47 ---> Running in bbce085eab13 15:22:47 Removing intermediate container bbce085eab13 15:22:47 ---> ae7776ba7bfe 15:22:47 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:22:47 ---> Running in 2e1c7c34ebc7 15:22:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:22:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:22:47 OK: 264 MiB in 52 packages 15:22:48 Removing intermediate container 2e1c7c34ebc7 15:22:48 ---> d8d845c849a8 15:22:48 Step 9/26 : WORKDIR /device-onvif-camera 15:22:48 ---> Running in bc0f233562ef 15:22:48 Removing intermediate container bc0f233562ef 15:22:48 ---> 87cb11e004db 15:22:48 Step 10/26 : COPY go.mod vendor* ./ 15:22:48 ---> 730f4d42e8a2 15:22:48 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:22:48 ---> Running in 8285e6c524d6 15:22:48 Removing intermediate container 8285e6c524d6 15:22:48 ---> ef2adafd77ac 15:22:48 Step 12/26 : COPY . . 15:22:49 ---> eb3eb76969ba 15:22:49 Step 13/26 : RUN ${MAKE} 15:22:49 ---> Running in d1739fd45c81 15:22:50 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 15:23:12 Removing intermediate container d1739fd45c81 15:23:12 ---> 55b2eb9d63e1 15:23:12 Step 14/26 : FROM alpine:3.18 15:23:12 3.18: Pulling from library/alpine 15:23:12 96526aa774ef: Pulling fs layer 15:23:12 96526aa774ef: Verifying Checksum 15:23:12 96526aa774ef: Download complete 15:23:12 96526aa774ef: Pull complete 15:23:12 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 15:23:12 Status: Downloaded newer image for alpine:3.18 15:23:12 ---> 8ca4688f4f35 15:23:12 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 15:23:12 ---> Running in 11b81b22d149 15:23:12 Removing intermediate container 11b81b22d149 15:23:12 ---> 8641f7ef136d 15:23:12 Step 16/26 : RUN apk add --update --no-cache dumb-init 15:23:12 ---> Running in b9d935f4009b 15:23:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:23:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:23:12 (1/1) Installing dumb-init (1.2.5-r2) 15:23:12 Executing busybox-1.36.1-r2.trigger 15:23:12 OK: 7 MiB in 16 packages 15:23:12 Removing intermediate container b9d935f4009b 15:23:12 ---> 7f28d0480434 15:23:12 Step 17/26 : WORKDIR / 15:23:12 ---> Running in 094e3a5556e8 15:23:13 Removing intermediate container 094e3a5556e8 15:23:13 ---> d44965145d4a 15:23:13 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 15:23:14 ---> d66bbe3135dc 15:23:14 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 15:23:14 ---> 1d384080022c 15:23:14 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 15:23:14 ---> 79c395ad80da 15:23:14 Step 21/26 : EXPOSE 59984 15:23:14 ---> Running in 8bb7e4cfaa7e 15:23:14 Removing intermediate container 8bb7e4cfaa7e 15:23:14 ---> f533b3c652f6 15:23:14 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 15:23:14 ---> Running in 40590952e461 15:23:14 Removing intermediate container 40590952e461 15:23:14 ---> 27805fafb2dd 15:23:14 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:23:14 ---> Running in 12f5e28ca28c 15:23:14 Removing intermediate container 12f5e28ca28c 15:23:14 ---> 95cff098198f 15:23:14 Step 24/26 : LABEL arch=amd64 15:23:14 ---> Running in 52ec84eb8715 15:23:14 Removing intermediate container 52ec84eb8715 15:23:14 ---> a5fb1e21882b 15:23:14 Step 25/26 : LABEL git_sha=9f8af1561b5eb46d905479fdb00b08d296bf7f63 15:23:14 ---> Running in ecd4913ed07c 15:23:14 Removing intermediate container ecd4913ed07c 15:23:14 ---> f15ce45fc5f7 15:23:14 Step 26/26 : LABEL version=3.1.0-dev.19 15:23:14 ---> Running in e95a4a7cb081 15:23:14 Removing intermediate container e95a4a7cb081 15:23:14 ---> a721318b29f9 15:23:14 [Warning] One or more build-args [ARCH] were not consumed 15:23:14 Successfully built a721318b29f9 15:23:14 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 15:23:14 provisioning config files... 15:23:14 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13330684908432074922tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:23:14 ---> docker-login.sh 15:23:14 nexus3.edgexfoundry.org:10001 15:23:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:14 Configure a credential helper to remove this warning. See 15:23:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:14 15:23:14 Login Succeeded 15:23:14 nexus3.edgexfoundry.org:10002 15:23:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:14 Configure a credential helper to remove this warning. See 15:23:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:14 15:23:14 Login Succeeded 15:23:14 nexus3.edgexfoundry.org:10003 15:23:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:15 Configure a credential helper to remove this warning. See 15:23:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:15 15:23:15 Login Succeeded 15:23:15 nexus3.edgexfoundry.org:10004 15:23:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:15 Configure a credential helper to remove this warning. See 15:23:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:15 15:23:15 Login Succeeded 15:23:15 docker.io 15:23:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:15 Configure a credential helper to remove this warning. See 15:23:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:15 15:23:15 Login Succeeded 15:23:15 ---> docker-login.sh ends [Pipeline] } 15:23:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:23:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:23:15 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 15:23:15 9f8af1561b5eb46d905479fdb00b08d296bf7f63 15:23:15 latest 15:23:15 3.1.0-dev.19 15:23:15 9f8af1561b5eb46d905479fdb00b08d296bf7f63-3.1.0-dev.19 15:23:15 main 15:23:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:15 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:9f8af1561b5eb46d905479fdb00b08d296bf7f63 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:16 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:9f8af1561b5eb46d905479fdb00b08d296bf7f63 15:23:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 15:23:16 5e19d8251489: Preparing 15:23:16 f0e6a8486f01: Preparing 15:23:16 2644bd6489b5: Preparing 15:23:16 da4ed7a64d71: Preparing 15:23:16 cc2447e1835a: Preparing 15:23:16 cc2447e1835a: Layer already exists 15:23:16 f0e6a8486f01: Pushed 15:23:16 da4ed7a64d71: Pushed 15:23:16 5e19d8251489: Pushed 15:23:19 2644bd6489b5: Pushed 15:23:19 9f8af1561b5eb46d905479fdb00b08d296bf7f63: digest: sha256:2ae145463760555f6e24da340ff9fb45bf76ba77570422e8633a6004c273b2a0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:19 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:20 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 15:23:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 15:23:20 5e19d8251489: Preparing 15:23:20 f0e6a8486f01: Preparing 15:23:20 2644bd6489b5: Preparing 15:23:20 da4ed7a64d71: Preparing 15:23:20 cc2447e1835a: Preparing 15:23:20 cc2447e1835a: Layer already exists 15:23:20 f0e6a8486f01: Layer already exists 15:23:20 2644bd6489b5: Layer already exists 15:23:20 5e19d8251489: Layer already exists 15:23:20 da4ed7a64d71: Layer already exists 15:23:20 latest: digest: sha256:2ae145463760555f6e24da340ff9fb45bf76ba77570422e8633a6004c273b2a0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:20 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:20 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.19 15:23:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 15:23:20 5e19d8251489: Preparing 15:23:20 f0e6a8486f01: Preparing 15:23:20 2644bd6489b5: Preparing 15:23:20 da4ed7a64d71: Preparing 15:23:20 cc2447e1835a: Preparing 15:23:20 2644bd6489b5: Layer already exists 15:23:20 da4ed7a64d71: Layer already exists 15:23:20 cc2447e1835a: Layer already exists 15:23:20 f0e6a8486f01: Layer already exists 15:23:20 5e19d8251489: Layer already exists 15:23:20 3.1.0-dev.19: digest: sha256:2ae145463760555f6e24da340ff9fb45bf76ba77570422e8633a6004c273b2a0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:21 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:9f8af1561b5eb46d905479fdb00b08d296bf7f63-3.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:21 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:9f8af1561b5eb46d905479fdb00b08d296bf7f63-3.1.0-dev.19 15:23:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 15:23:21 5e19d8251489: Preparing 15:23:21 f0e6a8486f01: Preparing 15:23:21 2644bd6489b5: Preparing 15:23:21 da4ed7a64d71: Preparing 15:23:21 cc2447e1835a: Preparing 15:23:21 f0e6a8486f01: Layer already exists 15:23:21 cc2447e1835a: Layer already exists 15:23:21 2644bd6489b5: Layer already exists 15:23:21 da4ed7a64d71: Layer already exists 15:23:21 5e19d8251489: Layer already exists 15:23:21 9f8af1561b5eb46d905479fdb00b08d296bf7f63-3.1.0-dev.19: digest: sha256:2ae145463760555f6e24da340ff9fb45bf76ba77570422e8633a6004c273b2a0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:21 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:22 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 15:23:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 15:23:22 5e19d8251489: Preparing 15:23:22 f0e6a8486f01: Preparing 15:23:22 2644bd6489b5: Preparing 15:23:22 da4ed7a64d71: Preparing 15:23:22 cc2447e1835a: Preparing 15:23:22 da4ed7a64d71: Layer already exists 15:23:22 5e19d8251489: Layer already exists 15:23:22 2644bd6489b5: Layer already exists 15:23:22 cc2447e1835a: Layer already exists 15:23:22 f0e6a8486f01: Layer already exists 15:23:22 main: digest: sha256:2ae145463760555f6e24da340ff9fb45bf76ba77570422e8633a6004c273b2a0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:23:22 ===================================================== [Pipeline] echo 15:23:22 taggedImages: 15:23:22 - nexus3.edgexfoundry.org:10004/device-onvif-camera:9f8af1561b5eb46d905479fdb00b08d296bf7f63 15:23:22 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 15:23:22 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.19 15:23:22 - nexus3.edgexfoundry.org:10004/device-onvif-camera:9f8af1561b5eb46d905479fdb00b08d296bf7f63-3.1.0-dev.19 15:23:22 - 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 15:23:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:23:22 15:23:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:23:22 latest: Pulling from edgex-lftools-log-publisher 15:23:22 5eb5b503b376: Pulling fs layer 15:23:22 5c69ac0246d0: Pulling fs layer 15:23:22 ec43610c2a17: Pulling fs layer 15:23:22 3a2ae6a8a46f: Pulling fs layer 15:23:22 33b1e0a273af: Pulling fs layer 15:23:22 5d3b04190fa2: Pulling fs layer 15:23:22 2f39f015ded8: Pulling fs layer 15:23:22 3a2ae6a8a46f: Waiting 15:23:22 33b1e0a273af: Waiting 15:23:22 5d3b04190fa2: Waiting 15:23:22 2f39f015ded8: Waiting 15:23:22 5c69ac0246d0: Verifying Checksum 15:23:22 5c69ac0246d0: Download complete 15:23:22 3a2ae6a8a46f: Verifying Checksum 15:23:22 3a2ae6a8a46f: Download complete 15:23:22 33b1e0a273af: Download complete 15:23:22 ec43610c2a17: Download complete 15:23:22 5d3b04190fa2: Verifying Checksum 15:23:22 5d3b04190fa2: Download complete 15:23:23 5eb5b503b376: Verifying Checksum 15:23:23 5eb5b503b376: Download complete 15:23:23 2f39f015ded8: Verifying Checksum 15:23:23 2f39f015ded8: Download complete 15:23:24 5eb5b503b376: Pull complete 15:23:24 5c69ac0246d0: Pull complete 15:23:24 ec43610c2a17: Pull complete 15:23:24 3a2ae6a8a46f: Pull complete 15:23:24 33b1e0a273af: Pull complete 15:23:24 5d3b04190fa2: Pull complete 15:23:29 2f39f015ded8: Pull complete 15:23:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:23:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:23:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:23:29 prd-ubuntu20.04-docker-8c-8g-9709 does not seem to be running inside a container 15:23:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:23:34 $ docker top ac27e7c79762bc7687dca7b804bc072173d10bac507847edbac4f562bb45abd5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:23:34 ---> job-cost.sh 15:23:34 lf-activate-venv: SKIPPING 15:23:34 INFO: No Stack... 15:23:34 INFO: Retrieving Pricing Info for: v3-standard-8 15:23:35 INFO: Archiving Costs [Pipeline] sh 15:23:35 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 15:23:35 + cut -d, -f6 [Pipeline] lock 15:23:35 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-176-stack-cost] 15:23:35 Resource [jenkins-edgexfoundry-device-onvif-camera-main-176-stack-cost] did not exist. Created. 15:23:35 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-176-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:23:36 + echo total: 0.2199999988079071 [Pipeline] stash 15:23:36 Stashed 1 file(s) [Pipeline] } 15:23:36 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-176-stack-cost] [Pipeline] // lock [Pipeline] } 15:23:36 $ docker stop --time=1 ac27e7c79762bc7687dca7b804bc072173d10bac507847edbac4f562bb45abd5 15:23:37 $ docker rm -f --volumes ac27e7c79762bc7687dca7b804bc072173d10bac507847edbac4f562bb45abd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:24:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9715 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 15:24:06 Running in /w/workspace/device-onvif-camera/176 [Pipeline] { [Pipeline] checkout 15:24:06 The recommended git tool is: git 15:24:14 using credential edgex-jenkins-ssh 15:24:14 Cloning the remote Git repository 15:24:14 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 15:24:14 > git init /w/workspace/device-onvif-camera/176 # timeout=10 15:24:15 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 15:24:15 > git --version # timeout=10 15:24:15 > git --version # 'git version 2.25.1' 15:24:15 using GIT_SSH to set credentials SSH Credentials for GitHub 15:24:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:24:16 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 15:24:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:24:17 Avoid second fetch 15:24:17 Checking out Revision 9f8af1561b5eb46d905479fdb00b08d296bf7f63 (main) 15:24:17 > git config core.sparsecheckout # timeout=10 15:24:18 > git checkout -f 9f8af1561b5eb46d905479fdb00b08d296bf7f63 # timeout=10 15:24:18 Commit message: "build(deps): Bump github.com/IOTechSystems/onvif from 0.1.6 to 1.0.0 (#395)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:24:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:24:19 % Total % Received % Xferd Average Speed Time Time Time Current 15:24:19 Dload Upload Total Spent Left Speed 15:24:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh 15:24:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:24:20 + sudo tee /etc/docker/daemon.new 15:24:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:24:20 { 15:24:20 "registry-mirrors": [ 15:24:20 "https://nexus3.edgexfoundry.org:10001" 15:24:20 ], 15:24:20 "bip": "10.250.0.254/24", 15:24:20 "hosts": [ 15:24:20 "tcp://0.0.0.0:5555", 15:24:20 "unix:///var/run/docker.sock" 15:24:20 ], 15:24:20 "mtu": 1458, 15:24:20 "selinux-enabled": true, 15:24:20 "seccomp-profile": "/etc/docker/seccomp.json" 15:24:20 } [Pipeline] sh 15:24:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:24:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:24:43 provisioning config files... 15:24:43 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/176@tmp/config6054288122732097163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:24:44 ---> docker-login.sh 15:24:44 nexus3.edgexfoundry.org:10001 15:24:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:44 Configure a credential helper to remove this warning. See 15:24:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:44 15:24:44 Login Succeeded 15:24:44 nexus3.edgexfoundry.org:10002 15:24:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:45 Configure a credential helper to remove this warning. See 15:24:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:45 15:24:45 Login Succeeded 15:24:45 nexus3.edgexfoundry.org:10003 15:24:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:45 Configure a credential helper to remove this warning. See 15:24:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:45 15:24:45 Login Succeeded 15:24:45 nexus3.edgexfoundry.org:10004 15:24:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:45 Configure a credential helper to remove this warning. See 15:24:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:45 15:24:45 Login Succeeded 15:24:45 docker.io 15:24:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:46 Configure a credential helper to remove this warning. See 15:24:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:46 15:24:46 Login Succeeded 15:24:46 ---> docker-login.sh ends [Pipeline] } 15:24:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:24:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:24:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:24:46 ========================================================= 15:24:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 15:24:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:24:46 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 15:24:47 Sending build context to Docker daemon 14.19MB 15:24:47 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 15:24:47 Step 2/13 : FROM ${BASE} AS builder 15:24:47 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:24:47 9fda8d8052c6: Pulling fs layer 15:24:47 5d54e960e981: Pulling fs layer 15:24:47 c4a7e357bf2a: Pulling fs layer 15:24:47 f0e02332f6b5: Pulling fs layer 15:24:47 cefa15bbcfad: Pulling fs layer 15:24:47 f0e02332f6b5: Waiting 15:24:47 17808c966233: Pulling fs layer 15:24:47 cefa15bbcfad: Waiting 15:24:47 17808c966233: Waiting 15:24:47 f4c1fc716caa: Pulling fs layer 15:24:47 f4c1fc716caa: Waiting 15:24:47 5d54e960e981: Verifying Checksum 15:24:47 5d54e960e981: Download complete 15:24:47 f0e02332f6b5: Verifying Checksum 15:24:47 f0e02332f6b5: Download complete 15:24:47 cefa15bbcfad: Verifying Checksum 15:24:47 cefa15bbcfad: Download complete 15:24:47 9fda8d8052c6: Verifying Checksum 15:24:47 9fda8d8052c6: Download complete 15:24:48 f4c1fc716caa: Verifying Checksum 15:24:48 f4c1fc716caa: Download complete 15:24:48 9fda8d8052c6: Pull complete 15:24:49 5d54e960e981: Pull complete 15:24:49 c4a7e357bf2a: Verifying Checksum 15:24:49 c4a7e357bf2a: Download complete 15:24:50 17808c966233: Verifying Checksum 15:24:50 17808c966233: Download complete 15:25:03 c4a7e357bf2a: Pull complete 15:25:03 f0e02332f6b5: Pull complete 15:25:03 cefa15bbcfad: Pull complete 15:25:11 17808c966233: Pull complete 15:25:12 f4c1fc716caa: Pull complete 15:25:12 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 15:25:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 15:25:12 ---> ea914061e18c 15:25:12 Step 3/13 : ARG ADD_BUILD_TAGS="" 15:25:14 ---> Running in 287f90e93ec6 15:25:15 Removing intermediate container 287f90e93ec6 15:25:15 ---> 4e23675ffa5c 15:25:15 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:25:15 ---> Running in 8075cb7575b1 15:25:15 Removing intermediate container 8075cb7575b1 15:25:15 ---> 7b4740637ed4 15:25:15 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 15:25:15 ---> Running in 6300b72932af 15:25:16 Removing intermediate container 6300b72932af 15:25:16 ---> 285f9ddea3d8 15:25:16 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 15:25:16 ---> Running in 91da0e6aabf7 15:25:16 Removing intermediate container 91da0e6aabf7 15:25:16 ---> 5a8f23913394 15:25:16 Step 7/13 : LABEL Name=edgex-device-onvif-camera 15:25:16 ---> Running in 349cd737b08f 15:25:16 Removing intermediate container 349cd737b08f 15:25:16 ---> c947220b96a9 15:25:16 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:25:16 ---> Running in f6b65785f52d 15:25:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:25:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:25:19 OK: 266 MiB in 52 packages 15:25:22 Removing intermediate container f6b65785f52d 15:25:22 ---> cfc2c78a6795 15:25:22 Step 9/13 : WORKDIR /device-onvif-camera 15:25:22 ---> Running in c9967890ffea 15:25:22 Removing intermediate container c9967890ffea 15:25:22 ---> 058c18046877 15:25:22 Step 10/13 : COPY go.mod vendor* ./ 15:25:23 ---> 18392d546988 15:25:23 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:25:23 ---> Running in e63798b33fe0 15:26:59 Removing intermediate container e63798b33fe0 15:26:59 ---> 11dd962e73f8 15:26:59 Step 12/13 : COPY . . 15:26:59 ---> f5ff4d00a2b4 15:26:59 Step 13/13 : RUN ${MAKE} 15:26:59 ---> Running in 03568c144d9b 15:27:00 noop 15:27:01 Removing intermediate container 03568c144d9b 15:27:01 ---> b99e9982f451 15:27:01 Successfully built b99e9982f451 15:27:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:01 + docker inspect -f . ci-base-image-arm64 15:27:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:27:02 prd-ubuntu20.04-docker-arm64-4c-16g-9715 does not seem to be running inside a container 15:27:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/176 -v /w/workspace/device-onvif-camera/176:/w/workspace/device-onvif-camera/176:rw,z -v /w/workspace/device-onvif-camera/176@tmp:/w/workspace/device-onvif-camera/176@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:27:03 $ docker top a672084896f703af6aaf13c1986c0a026ede245380f609fa7f39ab965fa963ed -eo pid,comm [Pipeline] { [Pipeline] sh 15:27:04 + go version 15:27:04 go version go1.21.0 linux/arm64 [Pipeline] } 15:27:04 $ docker stop --time=1 a672084896f703af6aaf13c1986c0a026ede245380f609fa7f39ab965fa963ed 15:27:05 $ docker rm -f --volumes a672084896f703af6aaf13c1986c0a026ede245380f609fa7f39ab965fa963ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:06 + docker inspect -f . ci-base-image-arm64 15:27:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:27:06 prd-ubuntu20.04-docker-arm64-4c-16g-9715 does not seem to be running inside a container 15:27:06 $ 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/176 -v /w/workspace/device-onvif-camera/176:/w/workspace/device-onvif-camera/176:rw,z -v /w/workspace/device-onvif-camera/176@tmp:/w/workspace/device-onvif-camera/176@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:27:08 $ docker top a7d10124a71eebc45e43b2d2b51aec57d6f7be5b2b00edb390aa3459bfa4b7a5 -eo pid,comm [Pipeline] { [Pipeline] sh 15:27:09 + git config --global --add safe.directory /w/workspace/device-onvif-camera/176 [Pipeline] fileExists [Pipeline] sh 15:27:10 + make test 15:27:10 go test ./... -coverprofile=coverage.out ./... 15:27:14 ? github.com/edgexfoundry/device-onvif-camera [no test files] 15:29:22 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 15:29:22 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 15:29:22 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.179s coverage: 31.5% of statements 15:29:34 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 18.072s coverage: 86.5% of statements 15:29:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:29:35 go vet ./... 15:30:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:30:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:30:02 ./bin/test-attribution-txt.sh [Pipeline] echo 15:30:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:30:02 $ docker stop --time=1 a7d10124a71eebc45e43b2d2b51aec57d6f7be5b2b00edb390aa3459bfa4b7a5 15:30:04 $ docker rm -f --volumes a7d10124a71eebc45e43b2d2b51aec57d6f7be5b2b00edb390aa3459bfa4b7a5 [Pipeline] // withDockerContainer [Pipeline] sh 15:30:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:30:05 Warning: overwriting stash ‘coverage-report’ 15:30:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:30:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:30:06 + ls -al . 15:30:06 total 236 15:30:06 drwxrwxr-x 9 jenkins jenkins 4096 Oct 21 15:27 . 15:30:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 15:24 .. 15:30:06 drwxrwxr-x 8 jenkins jenkins 4096 Oct 21 15:24 .git 15:30:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 21 15:24 .github 15:30:06 -rw-rw-r-- 1 jenkins jenkins 496 Oct 21 15:24 .gitignore 15:30:06 -rw-rw-r-- 1 jenkins jenkins 42 Oct 21 15:24 .golangci.yml 15:30:06 -rw-rw-r-- 1 jenkins jenkins 11155 Oct 21 15:24 Attribution.txt 15:30:06 -rw-rw-r-- 1 jenkins jenkins 15932 Oct 21 15:24 CHANGELOG.md 15:30:06 -rw-rw-r-- 1 jenkins jenkins 1574 Oct 21 15:24 Dockerfile 15:30:06 -rw-rw-r-- 1 jenkins jenkins 677 Oct 21 15:24 GOVERNANCE.md 15:30:06 -rw-rw-r-- 1 jenkins jenkins 739 Oct 21 15:24 Jenkinsfile 15:30:06 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 21 15:24 LICENSE 15:30:06 -rw-rw-r-- 1 jenkins jenkins 2877 Oct 21 15:24 Makefile 15:30:06 -rw-rw-r-- 1 jenkins jenkins 625 Oct 21 15:24 OWNERS.md 15:30:06 -rw-rw-r-- 1 jenkins jenkins 2620 Oct 21 15:24 README.md 15:30:06 -rw-rw-r-- 1 jenkins jenkins 12 Oct 21 15:21 VERSION 15:30:06 drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 15:24 bin 15:30:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 21 15:24 cmd 15:30:06 -rw-r--r-- 1 jenkins jenkins 78456 Oct 21 15:29 coverage.out 15:30:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 15:24 doc 15:30:06 -rw-rw-r-- 1 jenkins jenkins 4087 Oct 21 15:24 go.mod 15:30:06 -rw-rw-r-- 1 jenkins jenkins 35688 Oct 21 15:24 go.sum 15:30:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 15:24 internal 15:30:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 15:24 snap 15:30:06 -rw-rw-r-- 1 jenkins jenkins 236 Oct 21 15:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:30:07 + 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=9f8af1561b5eb46d905479fdb00b08d296bf7f63 --label arch=arm64 --label version=3.1.0-dev.19 . 15:30:07 Sending build context to Docker daemon 14.27MB 15:30:07 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 15:30:07 Step 2/26 : FROM ${BASE} AS builder 15:30:07 ---> b99e9982f451 15:30:07 Step 3/26 : ARG ADD_BUILD_TAGS="" 15:30:07 ---> Running in 91f1e63d0b65 15:30:08 Removing intermediate container 91f1e63d0b65 15:30:08 ---> 6f18e7fe589b 15:30:08 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:30:08 ---> Running in 4a4b44ae304b 15:30:08 Removing intermediate container 4a4b44ae304b 15:30:08 ---> cf7b8f6ee280 15:30:08 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 15:30:08 ---> Running in 4e3e82673529 15:30:09 Removing intermediate container 4e3e82673529 15:30:09 ---> 381c373acefd 15:30:09 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 15:30:09 ---> Running in b837b8bcacbf 15:30:09 Removing intermediate container b837b8bcacbf 15:30:09 ---> fdc78301d6c8 15:30:09 Step 7/26 : LABEL Name=edgex-device-onvif-camera 15:30:09 ---> Running in ab6196238edc 15:30:09 Removing intermediate container ab6196238edc 15:30:09 ---> 051db9a8ab28 15:30:09 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:30:09 ---> Running in 79df7ab98bbd 15:30:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:30:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:30:12 OK: 266 MiB in 52 packages 15:30:13 Removing intermediate container 79df7ab98bbd 15:30:13 ---> 448bf665d499 15:30:13 Step 9/26 : WORKDIR /device-onvif-camera 15:30:13 ---> Running in 70668ca02298 15:30:13 Removing intermediate container 70668ca02298 15:30:13 ---> 6e4685cd167e 15:30:13 Step 10/26 : COPY go.mod vendor* ./ 15:30:14 ---> 1d7703c13ae3 15:30:14 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:30:14 ---> Running in dcc022f9b664 15:30:17 Removing intermediate container dcc022f9b664 15:30:17 ---> 31679ca2572a 15:30:17 Step 12/26 : COPY . . 15:30:18 ---> 59a099770a99 15:30:18 Step 13/26 : RUN ${MAKE} 15:30:18 ---> Running in 2af84a5c80cc 15:30:20 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 15:32:42 Removing intermediate container 2af84a5c80cc 15:32:42 ---> 7d0723345994 15:32:42 Step 14/26 : FROM alpine:3.18 15:32:42 3.18: Pulling from library/alpine 15:32:42 579b34f0a95b: Pulling fs layer 15:32:42 579b34f0a95b: Verifying Checksum 15:32:42 579b34f0a95b: Download complete 15:32:42 579b34f0a95b: Pull complete 15:32:42 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 15:32:42 Status: Downloaded newer image for alpine:3.18 15:32:42 ---> 3cc203321400 15:32:42 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 15:32:42 ---> Running in c13a62bf3ffd 15:32:42 Removing intermediate container c13a62bf3ffd 15:32:42 ---> 5c18b0c2b1d3 15:32:42 Step 16/26 : RUN apk add --update --no-cache dumb-init 15:32:42 ---> Running in 054d02336d58 15:32:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:32:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:32:42 (1/1) Installing dumb-init (1.2.5-r2) 15:32:42 Executing busybox-1.36.1-r2.trigger 15:32:42 OK: 8 MiB in 16 packages 15:32:42 Removing intermediate container 054d02336d58 15:32:42 ---> 4d0fdbf48543 15:32:42 Step 17/26 : WORKDIR / 15:32:42 ---> Running in 3769a1a96ad5 15:32:42 Removing intermediate container 3769a1a96ad5 15:32:42 ---> e3f173de9ca4 15:32:42 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 15:32:42 ---> 9a141e15df8d 15:32:42 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 15:32:42 ---> 04a4999ef47b 15:32:42 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 15:32:42 ---> 1e9e924276e0 15:32:42 Step 21/26 : EXPOSE 59984 15:32:42 ---> Running in 8ff524fec836 15:32:42 Removing intermediate container 8ff524fec836 15:32:42 ---> 3a5e043d1e0d 15:32:42 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 15:32:42 ---> Running in 1c6451a48fb9 15:32:42 Removing intermediate container 1c6451a48fb9 15:32:42 ---> 0d1cd6af82b5 15:32:42 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:32:42 ---> Running in 598c23029b4d 15:32:42 Removing intermediate container 598c23029b4d 15:32:42 ---> 21c80f67c8ee 15:32:42 Step 24/26 : LABEL arch=arm64 15:32:42 ---> Running in 017ea167c018 15:32:42 Removing intermediate container 017ea167c018 15:32:42 ---> 032071ea91b0 15:32:42 Step 25/26 : LABEL git_sha=9f8af1561b5eb46d905479fdb00b08d296bf7f63 15:32:42 ---> Running in f3d3038c6a1c 15:32:42 Removing intermediate container f3d3038c6a1c 15:32:42 ---> b2f634773ec1 15:32:42 Step 26/26 : LABEL version=3.1.0-dev.19 15:32:42 ---> Running in 624ba9ea9fe9 15:32:42 Removing intermediate container 624ba9ea9fe9 15:32:42 ---> 2faebc17379a 15:32:42 [Warning] One or more build-args [ARCH] were not consumed 15:32:42 Successfully built 2faebc17379a 15:32:42 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 15:32:42 provisioning config files... 15:32:42 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/176@tmp/config9207412046551183070tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:32:42 ---> docker-login.sh 15:32:42 nexus3.edgexfoundry.org:10001 15:32:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:32:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:32:42 Configure a credential helper to remove this warning. See 15:32:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:32:42 15:32:42 Login Succeeded 15:32:42 nexus3.edgexfoundry.org:10002 15:32:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:32:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:32:43 Configure a credential helper to remove this warning. See 15:32:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:32:43 15:32:43 Login Succeeded 15:32:43 nexus3.edgexfoundry.org:10003 15:32:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:32:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:32:43 Configure a credential helper to remove this warning. See 15:32:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:32:43 15:32:43 Login Succeeded 15:32:43 nexus3.edgexfoundry.org:10004 15:32:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:32:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:32:43 Configure a credential helper to remove this warning. See 15:32:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:32:43 15:32:43 Login Succeeded 15:32:43 docker.io 15:32:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:32:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:32:44 Configure a credential helper to remove this warning. See 15:32:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:32:44 15:32:44 Login Succeeded 15:32:44 ---> docker-login.sh ends [Pipeline] } 15:32:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:32:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:32:44 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 15:32:44 9f8af1561b5eb46d905479fdb00b08d296bf7f63 15:32:44 latest 15:32:44 3.1.0-dev.19 15:32:44 9f8af1561b5eb46d905479fdb00b08d296bf7f63-3.1.0-dev.19 15:32:44 main 15:32:44 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:44 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9f8af1561b5eb46d905479fdb00b08d296bf7f63 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:45 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9f8af1561b5eb46d905479fdb00b08d296bf7f63 15:32:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 15:32:45 3c913acc669a: Preparing 15:32:45 1eb63d09afb8: Preparing 15:32:45 4961f292ff48: Preparing 15:32:45 57cc2e7bd1b6: Preparing 15:32:45 5f4d9fc4d98d: Preparing 15:32:45 5f4d9fc4d98d: Layer already exists 15:32:45 3c913acc669a: Pushed 15:32:45 1eb63d09afb8: Pushed 15:32:45 57cc2e7bd1b6: Pushed 15:32:52 4961f292ff48: Pushed 15:32:52 9f8af1561b5eb46d905479fdb00b08d296bf7f63: digest: sha256:59e734d8a00d387b9869d2640ce36ee57224e579398bf50f0fd9181d2f1f23bc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:52 + 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 15:32:52 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 15:32:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 15:32:52 3c913acc669a: Preparing 15:32:52 1eb63d09afb8: Preparing 15:32:52 4961f292ff48: Preparing 15:32:52 57cc2e7bd1b6: Preparing 15:32:52 5f4d9fc4d98d: Preparing 15:32:52 4961f292ff48: Layer already exists 15:32:52 3c913acc669a: Layer already exists 15:32:52 57cc2e7bd1b6: Layer already exists 15:32:52 5f4d9fc4d98d: Layer already exists 15:32:52 1eb63d09afb8: Layer already exists 15:32:53 latest: digest: sha256:59e734d8a00d387b9869d2640ce36ee57224e579398bf50f0fd9181d2f1f23bc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:53 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:53 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.19 15:32:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 15:32:53 3c913acc669a: Preparing 15:32:53 1eb63d09afb8: Preparing 15:32:53 4961f292ff48: Preparing 15:32:53 57cc2e7bd1b6: Preparing 15:32:53 5f4d9fc4d98d: Preparing 15:32:53 4961f292ff48: Layer already exists 15:32:53 3c913acc669a: Layer already exists 15:32:53 1eb63d09afb8: Layer already exists 15:32:53 57cc2e7bd1b6: Layer already exists 15:32:53 5f4d9fc4d98d: Layer already exists 15:32:53 3.1.0-dev.19: digest: sha256:59e734d8a00d387b9869d2640ce36ee57224e579398bf50f0fd9181d2f1f23bc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:54 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9f8af1561b5eb46d905479fdb00b08d296bf7f63-3.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:54 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9f8af1561b5eb46d905479fdb00b08d296bf7f63-3.1.0-dev.19 15:32:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 15:32:54 3c913acc669a: Preparing 15:32:54 1eb63d09afb8: Preparing 15:32:54 4961f292ff48: Preparing 15:32:54 57cc2e7bd1b6: Preparing 15:32:54 5f4d9fc4d98d: Preparing 15:32:54 5f4d9fc4d98d: Layer already exists 15:32:54 3c913acc669a: Layer already exists 15:32:54 1eb63d09afb8: Layer already exists 15:32:54 4961f292ff48: Layer already exists 15:32:54 57cc2e7bd1b6: Layer already exists 15:32:55 9f8af1561b5eb46d905479fdb00b08d296bf7f63-3.1.0-dev.19: digest: sha256:59e734d8a00d387b9869d2640ce36ee57224e579398bf50f0fd9181d2f1f23bc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:55 + 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 15:32:55 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 15:32:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 15:32:55 3c913acc669a: Preparing 15:32:55 1eb63d09afb8: Preparing 15:32:55 4961f292ff48: Preparing 15:32:55 57cc2e7bd1b6: Preparing 15:32:55 5f4d9fc4d98d: Preparing 15:32:55 57cc2e7bd1b6: Layer already exists 15:32:55 1eb63d09afb8: Layer already exists 15:32:55 4961f292ff48: Layer already exists 15:32:55 5f4d9fc4d98d: Layer already exists 15:32:55 3c913acc669a: Layer already exists 15:32:56 main: digest: sha256:59e734d8a00d387b9869d2640ce36ee57224e579398bf50f0fd9181d2f1f23bc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:32:56 ===================================================== [Pipeline] echo 15:32:56 taggedImages: 15:32:56 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9f8af1561b5eb46d905479fdb00b08d296bf7f63 15:32:56 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 15:32:56 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.19 15:32:56 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9f8af1561b5eb46d905479fdb00b08d296bf7f63-3.1.0-dev.19 15:32:56 - 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 15:32:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:32:56 15:32:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:32:56 arm64: Pulling from edgex-lftools-log-publisher 15:32:56 8998bd30e6a1: Pulling fs layer 15:32:56 04944245beec: Pulling fs layer 15:32:56 699f458cf7ca: Pulling fs layer 15:32:56 765212b225bb: Pulling fs layer 15:32:56 f23df028b6ca: Pulling fs layer 15:32:56 d65c8cfc05b1: Pulling fs layer 15:32:56 2437ff75d9bd: Pulling fs layer 15:32:56 765212b225bb: Waiting 15:32:56 f23df028b6ca: Waiting 15:32:56 d65c8cfc05b1: Waiting 15:32:56 2437ff75d9bd: Waiting 15:32:57 04944245beec: Verifying Checksum 15:32:57 04944245beec: Download complete 15:32:57 765212b225bb: Verifying Checksum 15:32:57 765212b225bb: Download complete 15:32:57 f23df028b6ca: Verifying Checksum 15:32:57 f23df028b6ca: Download complete 15:32:57 d65c8cfc05b1: Verifying Checksum 15:32:57 d65c8cfc05b1: Download complete 15:32:57 699f458cf7ca: Verifying Checksum 15:32:57 699f458cf7ca: Download complete 15:32:57 8998bd30e6a1: Download complete 15:33:00 2437ff75d9bd: Verifying Checksum 15:33:00 2437ff75d9bd: Download complete 15:33:02 8998bd30e6a1: Pull complete 15:33:02 04944245beec: Pull complete 15:33:05 699f458cf7ca: Pull complete 15:33:05 765212b225bb: Pull complete 15:33:06 f23df028b6ca: Pull complete 15:33:06 d65c8cfc05b1: Pull complete 15:33:24 2437ff75d9bd: Pull complete 15:33:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:33:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:33:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:33:25 prd-ubuntu20.04-docker-arm64-4c-16g-9715 does not seem to be running inside a container 15:33:25 $ 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/176 -v /w/workspace/device-onvif-camera/176:/w/workspace/device-onvif-camera/176:rw,z -v /w/workspace/device-onvif-camera/176@tmp:/w/workspace/device-onvif-camera/176@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:33:27 $ docker top cd0b6d450b192d63a21f7f8a1f19a6926ca39f62d6f2dcbe08abed7f860f27a9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:33:28 ---> job-cost.sh 15:33:28 lf-activate-venv: SKIPPING 15:33:28 INFO: No Stack... 15:33:29 INFO: Retrieving Pricing Info for: v3-standard-4 15:33:30 INFO: Archiving Costs [Pipeline] sh 15:33:30 + cat /w/workspace/device-onvif-camera/176/archives/cost.csv 15:33:30 + cut -d, -f6 [Pipeline] lock 15:33:30 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-176-stack-cost] 15:33:30 Resource [jenkins-edgexfoundry-device-onvif-camera-main-176-stack-cost] did not exist. Created. 15:33:30 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-176-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:33:31 /w/workspace/device-onvif-camera/176@tmp/durable-71d1379e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:33:32 + echo total: 0.10999999940395355 [Pipeline] stash 15:33:32 Warning: overwriting stash ‘stack-cost’ 15:33:32 Stashed 1 file(s) [Pipeline] } 15:33:32 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-176-stack-cost] [Pipeline] // lock [Pipeline] } 15:33:32 $ docker stop --time=1 cd0b6d450b192d63a21f7f8a1f19a6926ca39f62d6f2dcbe08abed7f860f27a9 15:33:35 $ docker rm -f --volumes cd0b6d450b192d63a21f7f8a1f19a6926ca39f62d6f2dcbe08abed7f860f27a9 [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 15:33:35 provisioning config files... 15:33:35 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11963430334181952037tmp [Pipeline] { [Pipeline] sh 15:33:35 + set +x 15:33:35 + curl -s https://codecov.io/bash 15:33:35 + bash -s -- 15:33:35 15:33:35 _____ _ 15:33:35 / ____| | | 15:33:35 | | ___ __| | ___ ___ _____ __ 15:33:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:33:35 | |___| (_) | (_| | __/ (_| (_) \ V / 15:33:35 \_____\___/ \__,_|\___|\___\___/ \_/ 15:33:35 Bash-1.0.6 15:33:35 15:33:35 15:33:35 ==> git version 2.25.1 found 15:33:35 ==> 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 15:33:35 Release-Date: 2020-01-08 15:33:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:33:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:33:35 ==> Jenkins CI detected. 15:33:35 current dir:  /w/workspace/foundry_device-onvif-camera_main 15:33:35 project root: . 15:33:35 --> token set from env 15:33:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:33:35 ==> Running gcov in . (disable via -X gcov) 15:33:35 ==> Python coveragepy not found 15:33:35 ==> Searching for coverage reports in: 15:33:35 + . 15:33:35 -> Found 1 reports 15:33:35 ==> Detecting git/mercurial file structure 15:33:35 ==> Reading reports 15:33:35 + ./coverage.out bytes=78456 15:33:35 ==> Appending adjustments 15:33:35 https://docs.codecov.io/docs/fixing-reports 15:33:36 + Found adjustments 15:33:36 ==> Gzipping contents 15:33:36 12K /tmp/codecov.WaqvF0.gz 15:33:36 ==> Uploading reports 15:33:36 url: https://codecov.io 15:33:36 query: branch=main&commit=9f8af1561b5eb46d905479fdb00b08d296bf7f63&build=176&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F176%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 15:33:36 -> Pinging Codecov 15:33:36 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=9f8af1561b5eb46d905479fdb00b08d296bf7f63&build=176&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F176%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 15:33:36 -> Uploading to 15:33:36 https://storage.googleapis.com/codecov/v4/raw/2023-10-21/F29A59C45E3A92E06B3E522C9905F8EF/9f8af1561b5eb46d905479fdb00b08d296bf7f63/2a73adac-7ac4-4a03-8614-6e11c40541bb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231021%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231021T153336Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=33c591d0495c9a7539e7a1a54d024c1c5abdb63f7614cebbbf6c8e99e25d43ea 15:33:36 % Total % Received % Xferd Average Speed Time Time Time Current 15:33:36 Dload Upload Total Spent Left Speed 15:33:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10561 0 0 100 10561 0 35558 --:--:-- --:--:-- --:--:-- 35439 100 10561 0 0 100 10561 0 35558 --:--:-- --:--:-- --:--:-- 35439 15:33:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/9f8af1561b5eb46d905479fdb00b08d296bf7f63 [Pipeline] } 15:33:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:33:36 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:33:36 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:33:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:33:37 15:33:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:33:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:33:37 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:33:37 df9b9388f04a: Pulling fs layer 15:33:37 52dc419b0ee2: Pulling fs layer 15:33:37 25bc292e5bac: Pulling fs layer 15:33:37 114826534d7a: Pulling fs layer 15:33:37 4657fd5d0bcf: Pulling fs layer 15:33:37 6ad1cebc031e: Pulling fs layer 15:33:37 8a3aa393b2d8: Pulling fs layer 15:33:37 114826534d7a: Waiting 15:33:37 8a3aa393b2d8: Waiting 15:33:37 4657fd5d0bcf: Waiting 15:33:37 6ad1cebc031e: Waiting 15:33:37 25bc292e5bac: Verifying Checksum 15:33:37 25bc292e5bac: Download complete 15:33:37 52dc419b0ee2: Verifying Checksum 15:33:37 52dc419b0ee2: Download complete 15:33:37 4657fd5d0bcf: Verifying Checksum 15:33:37 4657fd5d0bcf: Download complete 15:33:37 df9b9388f04a: Download complete 15:33:37 6ad1cebc031e: Verifying Checksum 15:33:37 6ad1cebc031e: Download complete 15:33:37 df9b9388f04a: Pull complete 15:33:37 52dc419b0ee2: Pull complete 15:33:37 25bc292e5bac: Pull complete 15:33:38 114826534d7a: Verifying Checksum 15:33:38 114826534d7a: Download complete 15:33:38 8a3aa393b2d8: Verifying Checksum 15:33:38 8a3aa393b2d8: Download complete 15:33:41 114826534d7a: Pull complete 15:33:41 4657fd5d0bcf: Pull complete 15:33:41 6ad1cebc031e: Pull complete 15:33:44 8a3aa393b2d8: Pull complete 15:33:44 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:33:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:33:44 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:33:44 prd-ubuntu20.04-docker-8c-8g-9709 does not seem to be running inside a container 15:33:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 15:33:49 $ docker top 2d31cc1e43172f1bf93395820d3a483d1d398e5fccdb070d186f09625851f6b3 -eo pid,comm [Pipeline] { [Pipeline] echo 15:33:49 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 15:33:49 + set -o pipefail 15:33:49 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 15:33:56 15:33:56 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 15:33:56 15:33:56 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/024009da-e452-4333-9087-db51bb0641f8 15:33:56 15:33:56 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 15:33:56 15:33:56 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:33:56 15:33:56 15:33:56 A medium severity vulnerability was found in the Snyk CLI versions you are using. 15:33:56 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 15:33:56 More details here: https://snyk.co/ue1NS [Pipeline] } 15:33:56 $ docker stop --time=1 2d31cc1e43172f1bf93395820d3a483d1d398e5fccdb070d186f09625851f6b3 15:34:00 $ docker rm -f --volumes 2d31cc1e43172f1bf93395820d3a483d1d398e5fccdb070d186f09625851f6b3 [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 15:34:00 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:34:00 provisioning config files... 15:34:00 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3449403642751741831tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:34:00 --> edgex-publish-swagger.sh 15:34:00 === Publish doc/openapi/v3 API === 15:34:00 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 15:34:00 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 15:34:00 % Total % Received % Xferd Average Speed Time Time Time Current 15:34:00 Dload Upload Total Spent Left Speed 15:34:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 0 0 100 485k 0 392k 0:00:01 0:00:01 --:--:-- 392k 100 485k 0 0 100 485k 0 344k 0:00:01 0:00:01 --:--:-- 344k 15:34:02 15:34:02 [Pipeline] } 15:34:02 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 15:34:02 + git log --format=format:%s -1 9f8af1561b5eb46d905479fdb00b08d296bf7f63 [Pipeline] sh 15:34:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:34:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:34:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:34:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:34:03 prd-ubuntu20.04-docker-8c-8g-9709 does not seem to be running inside a container 15:34:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:34:03 $ docker top 67c39bd292f6d159c4de423ace874d399311898ea9e7742890567ba7a38dd1c6 -eo pid,comm 15:34:03 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). 15:34:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:34:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:34:03 [ssh-agent] Looking for ssh-agent implementation... 15:34:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:34:03 $ docker exec 67c39bd292f6d159c4de423ace874d399311898ea9e7742890567ba7a38dd1c6 ssh-agent 15:34:03 SSH_AUTH_SOCK=/tmp/ssh-PeZDn8Vza7c5/agent.32 15:34:03 SSH_AGENT_PID=38 15:34:03 Running ssh-add (command line suppressed) 15:34:04 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13617414174700852071.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13617414174700852071.key) 15:34:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:34:04 + git semver tag 15:34:04 2023-10-21 15:34:04,570 [run_tag] DEBUG tag force:False 15:34:04 2023-10-21 15:34:04,570 [check_head_tag] DEBUG check head tag 15:34:04 2023-10-21 15:34:04,570 [execute] INFO git cat-file --batch-check 15:34:04 2023-10-21 15:34:04,571 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 15:34:04 2023-10-21 15:34:04,574 [execute] INFO git cat-file --batch 15:34:04 2023-10-21 15:34:04,574 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 15:34:04 2023-10-21 15:34:04,585 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:34:04 2023-10-21 15:34:04,585 [execute] INFO git tag -a v3.1.0-dev.19 -m v3.1.0-dev.19 15:34:04 2023-10-21 15:34:04,585 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.19', '-m', 'v3.1.0-dev.19'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 15:34:04 2023-10-21 15:34:04,590 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:34:04 3.1.0-dev.19 [Pipeline] } 15:34:04 $ docker exec --env ******** --env ******** 67c39bd292f6d159c4de423ace874d399311898ea9e7742890567ba7a38dd1c6 ssh-agent -k 15:34:04 unset SSH_AUTH_SOCK; 15:34:04 unset SSH_AGENT_PID; 15:34:04 echo Agent pid 38 killed; 15:34:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:34:05 + git semver [Pipeline] } 15:34:05 $ docker stop --time=1 67c39bd292f6d159c4de423ace874d399311898ea9e7742890567ba7a38dd1c6 15:34:06 $ docker rm -f --volumes 67c39bd292f6d159c4de423ace874d399311898ea9e7742890567ba7a38dd1c6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:34:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:34:07 15:34:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:34:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:34:07 0.23.1-centos7: Pulling from edgex-lftools 15:34:07 ab5ef0e58194: Pulling fs layer 15:34:07 9712f1f96733: Pulling fs layer 15:34:07 63f879dbbcfc: Pulling fs layer 15:34:07 0d9ebad4ef96: Pulling fs layer 15:34:07 e9a5061849ea: Pulling fs layer 15:34:07 d747dcd14b5f: Pulling fs layer 15:34:07 2de7ff778b66: Pulling fs layer 15:34:07 0d9ebad4ef96: Waiting 15:34:07 d747dcd14b5f: Waiting 15:34:07 e9a5061849ea: Waiting 15:34:07 2de7ff778b66: Waiting 15:34:07 9712f1f96733: Verifying Checksum 15:34:07 9712f1f96733: Download complete 15:34:07 63f879dbbcfc: Verifying Checksum 15:34:07 63f879dbbcfc: Download complete 15:34:07 e9a5061849ea: Verifying Checksum 15:34:07 e9a5061849ea: Download complete 15:34:07 d747dcd14b5f: Verifying Checksum 15:34:07 d747dcd14b5f: Download complete 15:34:07 ab5ef0e58194: Verifying Checksum 15:34:07 ab5ef0e58194: Download complete 15:34:07 0d9ebad4ef96: Verifying Checksum 15:34:07 0d9ebad4ef96: Download complete 15:34:07 2de7ff778b66: Verifying Checksum 15:34:07 2de7ff778b66: Download complete 15:34:10 ab5ef0e58194: Pull complete 15:34:10 9712f1f96733: Pull complete 15:34:10 63f879dbbcfc: Pull complete 15:34:14 0d9ebad4ef96: Pull complete 15:34:14 e9a5061849ea: Pull complete 15:34:14 d747dcd14b5f: Pull complete 15:34:15 2de7ff778b66: Pull complete 15:34:15 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:34:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:34:15 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:34:15 prd-ubuntu20.04-docker-8c-8g-9709 does not seem to be running inside a container 15:34:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:34:21 $ docker top ca45f7a941b6ac7f94ac15ccd4dc06d3e2e33308ede161c639d7c36d79d1942f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:34:21 provisioning config files... 15:34:21 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13423558808784494142tmp 15:34:21 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10593057860622013329tmp 15:34:21 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16197293542978524700tmp [Pipeline] { [Pipeline] echo 15:34:21 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:34:21 ---> sigul-configuration.sh 15:34:21 gpg: directory `/root/.gnupg' created 15:34:21 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:34:21 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:34:21 gpg: keyring `/root/.gnupg/secring.gpg' created 15:34:21 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:34:21 gpg: CAST5 encrypted data 15:34:21 gpg: encrypted with 1 passphrase 15:34:21 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:34:21 + mkdir /home/jenkins 15:34:21 + mkdir /home/jenkins/sigul [Pipeline] sh 15:34:22 + 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 15:34:22 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:34:22 ---> sigul-install.sh 15:34:22 Sigul already installed; skipping installation. [Pipeline] sh 15:34:22 + git tag --list 15:34:22 v0.0.0 15:34:22 v2.2.0 15:34:22 v2.3.0 15:34:22 v2.3.1 15:34:22 v3.0 15:34:22 v3.0.0 15:34:22 v3.1.0-dev.1 15:34:22 v3.1.0-dev.10 15:34:22 v3.1.0-dev.11 15:34:22 v3.1.0-dev.12 15:34:22 v3.1.0-dev.13 15:34:22 v3.1.0-dev.14 15:34:22 v3.1.0-dev.15 15:34:22 v3.1.0-dev.16 15:34:22 v3.1.0-dev.17 15:34:22 v3.1.0-dev.18 15:34:22 v3.1.0-dev.19 15:34:22 v3.1.0-dev.2 15:34:22 v3.1.0-dev.3 15:34:22 v3.1.0-dev.4 15:34:22 v3.1.0-dev.5 15:34:22 v3.1.0-dev.6 15:34:22 v3.1.0-dev.7 15:34:22 v3.1.0-dev.8 15:34:22 v3.1.0-dev.9 [Pipeline] sh 15:34:23 + lftools sign git-tag v3.1.0-dev.19 15:34:23 Signing Git tag with Sigul... 15:34:23 Signing v3.1.0-dev.19 [Pipeline] echo 15:34:24 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:34:24 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:34:24 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:34:24 $ docker stop --time=1 ca45f7a941b6ac7f94ac15ccd4dc06d3e2e33308ede161c639d7c36d79d1942f 15:34:25 $ docker rm -f --volumes ca45f7a941b6ac7f94ac15ccd4dc06d3e2e33308ede161c639d7c36d79d1942f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:34:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:34:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:34:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:34:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:34:26 prd-ubuntu20.04-docker-8c-8g-9709 does not seem to be running inside a container 15:34:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:34:26 $ docker top 48a1d8b29a2bc74d958524438a2367e190e09d7906d288bcccbd510d6d6705b6 -eo pid,comm 15:34:27 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). 15:34:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:34:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:34:27 [ssh-agent] Looking for ssh-agent implementation... 15:34:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:34:27 $ docker exec 48a1d8b29a2bc74d958524438a2367e190e09d7906d288bcccbd510d6d6705b6 ssh-agent 15:34:27 SSH_AUTH_SOCK=/tmp/ssh-YVoK6sZTwsu8/agent.32 15:34:27 SSH_AGENT_PID=38 15:34:27 Running ssh-add (command line suppressed) 15:34:27 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6381586465213364738.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6381586465213364738.key) 15:34:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:34:27 + git semver bump pre 15:34:27 2023-10-21 15:34:27,838 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:34:27 2023-10-21 15:34:27,838 [bump_version] DEBUG bumping version:3.1.0-dev.19 on axis:pre with prefix:dev 15:34:27 2023-10-21 15:34:27,838 [bump_version] DEBUG bumped version:3.1.0-dev.20 15:34:27 2023-10-21 15:34:27,838 [write_version] DEBUG write version:3.1.0-dev.20 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 15:34:27 2023-10-21 15:34:27,838 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:34:27 2023-10-21 15:34:27,838 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 15:34:27 2023-10-21 15:34:27,840 [execute] INFO git cat-file --batch-check 15:34:27 2023-10-21 15:34:27,841 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 15:34:27 2023-10-21 15:34:27,847 [execute] INFO git cat-file --batch 15:34:27 2023-10-21 15:34:27,847 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 15:34:27 2023-10-21 15:34:27,852 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:34:27 3.1.0-dev.20 [Pipeline] } 15:34:27 $ docker exec --env ******** --env ******** 48a1d8b29a2bc74d958524438a2367e190e09d7906d288bcccbd510d6d6705b6 ssh-agent -k 15:34:28 unset SSH_AUTH_SOCK; 15:34:28 unset SSH_AGENT_PID; 15:34:28 echo Agent pid 38 killed; 15:34:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:34:28 + git semver [Pipeline] } 15:34:28 $ docker stop --time=1 48a1d8b29a2bc74d958524438a2367e190e09d7906d288bcccbd510d6d6705b6 15:34:29 $ docker rm -f --volumes 48a1d8b29a2bc74d958524438a2367e190e09d7906d288bcccbd510d6d6705b6 [Pipeline] // withDockerContainer [Pipeline] sh 15:34:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:34:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:34:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:34:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:34:30 prd-ubuntu20.04-docker-8c-8g-9709 does not seem to be running inside a container 15:34:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:34:30 $ docker top ef6f281fe6abbbcc900add0db90be0327cf0b0dbf5849ad6563937a73f35e739 -eo pid,comm 15:34:31 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). 15:34:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:34:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:34:31 [ssh-agent] Looking for ssh-agent implementation... 15:34:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:34:31 $ docker exec ef6f281fe6abbbcc900add0db90be0327cf0b0dbf5849ad6563937a73f35e739 ssh-agent 15:34:31 SSH_AUTH_SOCK=/tmp/ssh-bR9YgBkWHJfZ/agent.32 15:34:31 SSH_AGENT_PID=38 15:34:31 Running ssh-add (command line suppressed) 15:34:31 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6415819637036400155.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6415819637036400155.key) 15:34:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:34:31 + git semver push 15:34:31 2023-10-21 15:34:31,861 [run_push] DEBUG push 15:34:31 2023-10-21 15:34:31,862 [execute] INFO git cat-file --batch-check 15:34:31 2023-10-21 15:34:31,862 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 15:34:31 2023-10-21 15:34:31,864 [execute] INFO git rev-list e20af685b4b8a30d980083efcf2122c1a38edbc4 -- 15:34:31 2023-10-21 15:34:31,865 [execute] DEBUG Popen(['git', 'rev-list', 'e20af685b4b8a30d980083efcf2122c1a38edbc4', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 15:34:31 2023-10-21 15:34:31,871 [execute] INFO git fetch -v origin 15:34:31 2023-10-21 15:34:31,871 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 15:34:32 2023-10-21 15:34:32,393 [run_push] DEBUG no remote changes detected 15:34:32 2023-10-21 15:34:32,393 [execute] INFO git push origin semver 15:34:32 2023-10-21 15:34:32,394 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 15:34:33 2023-10-21 15:34:33,105 [run_push] DEBUG push all version tags 15:34:33 2023-10-21 15:34:33,105 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:34:33 2023-10-21 15:34:33,106 [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) 15:34:34 2023-10-21 15:34:33,836 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:34:34 3.1.0-dev.20 [Pipeline] } 15:34:34 $ docker exec --env ******** --env ******** ef6f281fe6abbbcc900add0db90be0327cf0b0dbf5849ad6563937a73f35e739 ssh-agent -k 15:34:34 unset SSH_AUTH_SOCK; 15:34:34 unset SSH_AGENT_PID; 15:34:34 echo Agent pid 38 killed; 15:34:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:34:34 + git semver [Pipeline] } 15:34:34 $ docker stop --time=1 ef6f281fe6abbbcc900add0db90be0327cf0b0dbf5849ad6563937a73f35e739 15:34:36 $ docker rm -f --volumes ef6f281fe6abbbcc900add0db90be0327cf0b0dbf5849ad6563937a73f35e739 [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 15:34:36 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 15:34:36 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 15:34:36 total 16 15:34:36 drwxr-xr-x 3 root root 4096 Oct 21 15:23 . 15:34:36 drwxrwxr-x 11 jenkins jenkins 4096 Oct 21 15:34 .. 15:34:36 drwxr-xr-x 2 root root 4096 Oct 21 15:23 cost 15:34:36 -rw-r--r-- 1 root root 91 Oct 21 15:23 cost.csv 15:34:36 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 15:34:36 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 15:34:36 total 16 15:34:36 drwxr-xr-x 3 jenkins jenkins 4096 Oct 21 15:23 . 15:34:36 drwxrwxr-x 11 jenkins jenkins 4096 Oct 21 15:34 .. 15:34:36 drwxr-xr-x 2 jenkins jenkins 4096 Oct 21 15:23 cost 15:34:36 -rw-r--r-- 1 jenkins jenkins 91 Oct 21 15:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:34:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:34:37 ---> package-listing.sh 15:34:37 ++ facter osfamily 15:34:37 ++ tr '[:upper:]' '[:lower:]' 15:34:37 + OS_FAMILY=debian 15:34:37 + workspace=/w/workspace/foundry_device-onvif-camera_main 15:34:37 + START_PACKAGES=/tmp/packages_start.txt 15:34:37 + END_PACKAGES=/tmp/packages_end.txt 15:34:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:34:37 + PACKAGES=/tmp/packages_start.txt 15:34:37 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 15:34:37 + PACKAGES=/tmp/packages_end.txt 15:34:37 + case "${OS_FAMILY}" in 15:34:37 + dpkg -l 15:34:37 + grep '^ii' 15:34:37 + '[' -f /tmp/packages_start.txt ']' 15:34:37 + '[' -f /tmp/packages_end.txt ']' 15:34:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:34:37 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 15:34:37 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 15:34:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 15:34:38 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 15:34:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:34:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:34:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:34:38 prd-ubuntu20.04-docker-8c-8g-9709 does not seem to be running inside a container 15:34:38 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:34:39 $ docker top 8f635c8baf0ca28bd6ca9963dea61ee0a8ccb4361c72b2c609e812ce536aa78e -eo pid,comm [Pipeline] { [Pipeline] sh 15:34:39 + touch /tmp/pre-build-complete [Pipeline] sh 15:34:39 + mkdir -p /var/log/sysstat [Pipeline] sh 15:34:39 + ls /var/log/sa-host 15:34:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:34:40 provisioning config files... 15:34:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16458928093778812185tmp [Pipeline] { [Pipeline] echo 15:34:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:34:40 ---> create-netrc.sh [Pipeline] } 15:34:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:34:40 ---> python-tools-install.sh [Pipeline] echo 15:34:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:34:40 ---> sudo-logs.sh 15:34:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:34:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:34:41 ---> job-cost.sh 15:34:41 lf-activate-venv: SKIPPING 15:34:41 DEBUG: total: 0.2199999988079071 15:34:41 INFO: Retrieving Stack Cost... 15:34:41 INFO: Retrieving Pricing Info for: v3-standard-8 15:34:42 INFO: Archiving Costs [Pipeline] echo 15:34:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:34:42 ---> logs-deploy.sh 15:34:42 lf-activate-venv: SKIPPING 15:34:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/176 15:34:42 INFO: archiving workspace using pattern(s): 15:34:43 Archives upload complete. 15:34:43 INFO: archiving logs to Nexus