Started by user Bill Mahoney Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 12ac4ca00df350acb7aaa5b8264558c40625f436 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-ssh17006617718252301059.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8573855779068775003.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9279685965854547331.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12321846597855641175.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4973959636229074824.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-118962 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 12ac4ca00df350acb7aaa5b8264558c40625f436 (main) Commit message: "docs: bump swagger generator version to 2.3.0 (#198)" > git config core.sparsecheckout # timeout=10 > git checkout -f 12ac4ca00df350acb7aaa5b8264558c40625f436 # timeout=10 > git rev-list --no-walk 12ac4ca00df350acb7aaa5b8264558c40625f436 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:06:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:06:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:06:40 ========================================================= 21:06:40 EdgeX Global Pipelines Version Info 21:06:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:06:40 ------------------- 21:06:40 stable info: 21:06:40 ------------------- 21:06:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:06:40 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:06:40 Message: update stable to v1.0.244 21:06:41 ------------------- 21:06:41 experimental info: 21:06:41 ------------------- 21:06:41 Commited By: **** collab-it+edgex@linuxfoundation.org 21:06:41 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:06:41 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 21:06:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:06:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:06:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:06:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:06:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:06:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:06:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:06:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:06:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 12ac4ca00df350acb7aaa5b8264558c40625f436 [Pipeline] echo 21:06:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 12ac4ca [Pipeline] echo 21:06:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:06:42 provisioning config files... 21:06:42 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2852866172444936772tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:42 ---> docker-login.sh 21:06:42 nexus3.edgexfoundry.org:10001 21:06:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:42 Configure a credential helper to remove this warning. See 21:06:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:42 21:06:42 Login Succeeded 21:06:42 nexus3.edgexfoundry.org:10002 21:06:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:43 Configure a credential helper to remove this warning. See 21:06:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:43 21:06:43 Login Succeeded 21:06:43 nexus3.edgexfoundry.org:10003 21:06:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:43 Configure a credential helper to remove this warning. See 21:06:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:43 21:06:43 Login Succeeded 21:06:43 nexus3.edgexfoundry.org:10004 21:06:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:43 Configure a credential helper to remove this warning. See 21:06:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:43 21:06:43 Login Succeeded 21:06:43 docker.io 21:06:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:43 Configure a credential helper to remove this warning. See 21:06:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:43 21:06:43 Login Succeeded 21:06:43 ---> docker-login.sh ends [Pipeline] } 21:06:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:06:43 + git rev-list -1 --merges 12ac4ca00df350acb7aaa5b8264558c40625f436~1..12ac4ca00df350acb7aaa5b8264558c40625f436 [Pipeline] echo 21:06:43 -----------> git rev-list -1 --merges 12ac4ca00df350acb7aaa5b8264558c40625f436~1..12ac4ca00df350acb7aaa5b8264558c40625f436 12ac4ca00df350acb7aaa5b8264558c40625f436 [false] [Pipeline] sh 21:06:44 + git log --format=format:%s -1 12ac4ca00df350acb7aaa5b8264558c40625f436 [Pipeline] echo 21:06:44 ========================================================= 21:06:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:06:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:06:44 + git log --format=format:%s -1 12ac4ca00df350acb7aaa5b8264558c40625f436 [Pipeline] echo 21:06:44 [semverPrep] GIT_COMMIT: 12ac4ca00df350acb7aaa5b8264558c40625f436, Commit Message: docs: bump swagger generator version to 2.3.0 (#198) [Pipeline] echo 21:06:44 [semverPrep] This is not a build commit. [Pipeline] sh 21:06:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:06:45 + grep -v github /etc/ssh/ssh_known_hosts 21:06:45 + [ -e /tmp/ssh_known_hosts ] 21:06:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:06:45 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 21:06:45 -a /etc/ssh/ssh_known_hosts 21:06:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:45 21:06:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:45 0.1.4: Pulling from edgex-devops/py-git-semver 21:06:45 b85a868b505f: Pulling fs layer 21:06:45 e2be974225ed: Pulling fs layer 21:06:45 339a4e72a1f5: Pulling fs layer 21:06:45 988bab9f4d93: Pulling fs layer 21:06:45 1469e6f7b9e6: Pulling fs layer 21:06:45 eaf3925da568: Pulling fs layer 21:06:45 bab4dde63d76: Pulling fs layer 21:06:45 bde34c3a00c8: Pulling fs layer 21:06:45 b352a97aabf1: Pulling fs layer 21:06:45 4872d77fe225: Pulling fs layer 21:06:45 5851b861e8e6: Pulling fs layer 21:06:45 988bab9f4d93: Waiting 21:06:45 eaf3925da568: Waiting 21:06:45 5851b861e8e6: Waiting 21:06:45 bde34c3a00c8: Waiting 21:06:45 b352a97aabf1: Waiting 21:06:45 bab4dde63d76: Waiting 21:06:45 e2be974225ed: Download complete 21:06:45 988bab9f4d93: Verifying Checksum 21:06:45 988bab9f4d93: Download complete 21:06:45 339a4e72a1f5: Verifying Checksum 21:06:45 339a4e72a1f5: Download complete 21:06:45 1469e6f7b9e6: Verifying Checksum 21:06:45 1469e6f7b9e6: Download complete 21:06:45 eaf3925da568: Download complete 21:06:45 bde34c3a00c8: Verifying Checksum 21:06:45 bde34c3a00c8: Download complete 21:06:45 b352a97aabf1: Verifying Checksum 21:06:45 b352a97aabf1: Download complete 21:06:45 4872d77fe225: Download complete 21:06:45 5851b861e8e6: Verifying Checksum 21:06:45 5851b861e8e6: Download complete 21:06:45 b85a868b505f: Verifying Checksum 21:06:45 b85a868b505f: Download complete 21:06:46 bab4dde63d76: Verifying Checksum 21:06:46 bab4dde63d76: Download complete 21:06:47 b85a868b505f: Pull complete 21:06:47 e2be974225ed: Pull complete 21:06:47 339a4e72a1f5: Pull complete 21:06:47 988bab9f4d93: Pull complete 21:06:48 1469e6f7b9e6: Pull complete 21:06:48 eaf3925da568: Pull complete 21:06:49 bab4dde63d76: Pull complete 21:06:49 bde34c3a00c8: Pull complete 21:06:49 b352a97aabf1: Pull complete 21:06:49 4872d77fe225: Pull complete 21:06:49 5851b861e8e6: Pull complete 21:06:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:06:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:06:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:50 prd-ubuntu20.04-docker-8c-8g-118962 does not seem to be running inside a container 21:06:50 $ 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 21:06:51 $ docker top c11ff65a38b3ec08002030ff0f993edebaff00e4af1494b416d23f00875f9269 -eo pid,comm 21:06:51 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). 21:06:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:06:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:06:51 [ssh-agent] Looking for ssh-agent implementation... 21:06:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:06:51 $ docker exec c11ff65a38b3ec08002030ff0f993edebaff00e4af1494b416d23f00875f9269 ssh-agent 21:06:51 SSH_AUTH_SOCK=/tmp/ssh-rR5TPCthhafO/agent.31 21:06:51 SSH_AGENT_PID=37 21:06:51 Running ssh-add (command line suppressed) 21:06:52 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4106267760705914621.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4106267760705914621.key) 21:06:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:06:52 + git tag --points-at HEAD [Pipeline] } 21:06:52 $ docker exec --env ******** --env ******** c11ff65a38b3ec08002030ff0f993edebaff00e4af1494b416d23f00875f9269 ssh-agent -k 21:06:52 unset SSH_AUTH_SOCK; 21:06:52 unset SSH_AGENT_PID; 21:06:52 echo Agent pid 37 killed; 21:06:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:06:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:06:52 [ssh-agent] Looking for ssh-agent implementation... 21:06:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:06:52 $ docker exec c11ff65a38b3ec08002030ff0f993edebaff00e4af1494b416d23f00875f9269 ssh-agent 21:06:52 SSH_AUTH_SOCK=/tmp/ssh-xXgSutteqag8/agent.68 21:06:52 SSH_AGENT_PID=74 21:06:52 Running ssh-add (command line suppressed) 21:06:52 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16713526963468891285.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16713526963468891285.key) 21:06:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:06:53 + git semver init 21:06:53 2022-11-10 21:06:53,388 [run_init] DEBUG init version:0.0.0 force:False 21:06:53 2022-11-10 21:06:53,389 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 21:06:53 2022-11-10 21:06:53,389 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 21:06:53 2022-11-10 21:06:53,389 [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) 21:06:54 2022-11-10 21:06:54,738 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 21:06:54 2022-11-10 21:06:54,738 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 21:06:54 2022-11-10 21:06:54,739 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:06:54 2022-11-10 21:06:54,739 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:06:54 2.3.1-dev.1 [Pipeline] } 21:06:54 $ docker exec --env ******** --env ******** c11ff65a38b3ec08002030ff0f993edebaff00e4af1494b416d23f00875f9269 ssh-agent -k 21:06:54 unset SSH_AUTH_SOCK; 21:06:54 unset SSH_AGENT_PID; 21:06:54 echo Agent pid 74 killed; 21:06:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:06:55 + git semver [Pipeline] } 21:06:55 $ docker stop --time=1 c11ff65a38b3ec08002030ff0f993edebaff00e4af1494b416d23f00875f9269 21:06:56 $ docker rm -f c11ff65a38b3ec08002030ff0f993edebaff00e4af1494b416d23f00875f9269 [Pipeline] // withDockerContainer [Pipeline] sh 21:06:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:06:57 Stashed 1 file(s) [Pipeline] echo 21:06:57 [edgeXSemver]: initialized semver on version 2.3.1-dev.1 [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 21:06:57 provisioning config files... 21:06:57 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10413820058804831457tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:57 ---> docker-login.sh 21:06:57 nexus3.edgexfoundry.org:10001 21:06:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:57 Configure a credential helper to remove this warning. See 21:06:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:57 21:06:57 Login Succeeded 21:06:57 nexus3.edgexfoundry.org:10002 21:06:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:57 Configure a credential helper to remove this warning. See 21:06:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:57 21:06:57 Login Succeeded 21:06:57 nexus3.edgexfoundry.org:10003 21:06:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:58 Configure a credential helper to remove this warning. See 21:06:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:58 21:06:58 Login Succeeded 21:06:58 nexus3.edgexfoundry.org:10004 21:06:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:58 Configure a credential helper to remove this warning. See 21:06:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:58 21:06:58 Login Succeeded 21:06:58 docker.io 21:06:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:58 Configure a credential helper to remove this warning. See 21:06:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:58 21:06:58 Login Succeeded 21:06:58 ---> docker-login.sh ends [Pipeline] } 21:06:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:06:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:06:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:06:58 ========================================================= 21:06:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:06:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:59 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:06:59 Sending build context to Docker daemon 27.52MB 21:06:59 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 21:06:59 Step 2/13 : FROM ${BASE} AS builder 21:06:59 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:06:59 213ec9aee27d: Pulling fs layer 21:06:59 4583459ba037: Pulling fs layer 21:06:59 93c1e223e6f2: Pulling fs layer 21:06:59 53926ce57604: Pulling fs layer 21:06:59 21b2b0c7a3f4: Pulling fs layer 21:06:59 53926ce57604: Waiting 21:06:59 21b2b0c7a3f4: Waiting 21:06:59 22ff95d597cd: Pulling fs layer 21:06:59 12d6caf4c0d1: Pulling fs layer 21:06:59 96b7cbca73a9: Pulling fs layer 21:06:59 a7acece74701: Pulling fs layer 21:06:59 12d6caf4c0d1: Waiting 21:06:59 96b7cbca73a9: Waiting 21:06:59 22ff95d597cd: Waiting 21:06:59 a7acece74701: Waiting 21:06:59 93c1e223e6f2: Verifying Checksum 21:06:59 93c1e223e6f2: Download complete 21:06:59 4583459ba037: Download complete 21:06:59 21b2b0c7a3f4: Verifying Checksum 21:06:59 21b2b0c7a3f4: Download complete 21:06:59 22ff95d597cd: Verifying Checksum 21:06:59 22ff95d597cd: Download complete 21:06:59 213ec9aee27d: Verifying Checksum 21:06:59 213ec9aee27d: Download complete 21:06:59 12d6caf4c0d1: Verifying Checksum 21:06:59 12d6caf4c0d1: Download complete 21:06:59 213ec9aee27d: Pull complete 21:06:59 4583459ba037: Pull complete 21:06:59 93c1e223e6f2: Pull complete 21:06:59 a7acece74701: Verifying Checksum 21:06:59 a7acece74701: Download complete 21:07:00 96b7cbca73a9: Verifying Checksum 21:07:00 96b7cbca73a9: Download complete 21:07:00 53926ce57604: Verifying Checksum 21:07:00 53926ce57604: Download complete 21:07:03 53926ce57604: Pull complete 21:07:03 21b2b0c7a3f4: Pull complete 21:07:03 22ff95d597cd: Pull complete 21:07:03 12d6caf4c0d1: Pull complete 21:07:06 96b7cbca73a9: Pull complete 21:07:06 a7acece74701: Pull complete 21:07:06 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 21:07:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:07:06 ---> db6d94c90886 21:07:06 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:07:07 ---> Running in 38fa891471b7 21:07:08 Removing intermediate container 38fa891471b7 21:07:08 ---> 8c3c2ede2d73 21:07:08 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:07:08 ---> Running in a1d6d63325c6 21:07:08 Removing intermediate container a1d6d63325c6 21:07:08 ---> c64bea99f3de 21:07:08 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 21:07:08 ---> Running in 636505589d88 21:07:08 Removing intermediate container 636505589d88 21:07:08 ---> bd46d092f838 21:07:08 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 21:07:08 ---> Running in 982555fcd396 21:07:08 Removing intermediate container 982555fcd396 21:07:08 ---> 43e8a38f9962 21:07:08 Step 7/13 : LABEL Name=edgex-device-onvif-camera 21:07:08 ---> Running in 3aeed8bda62e 21:07:08 Removing intermediate container 3aeed8bda62e 21:07:08 ---> 15a7789a8d44 21:07:08 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:07:08 ---> Running in ffff648da4ae 21:07:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:07:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:07:09 OK: 211 MiB in 51 packages 21:07:09 Removing intermediate container ffff648da4ae 21:07:09 ---> 721dbde96952 21:07:09 Step 9/13 : WORKDIR /device-onvif-camera 21:07:09 ---> Running in 919bd6ae64db 21:07:09 Removing intermediate container 919bd6ae64db 21:07:09 ---> dd6b51ff6d6d 21:07:09 Step 10/13 : COPY go.mod vendor* ./ 21:07:09 ---> c5c0d7b7bccd 21:07:09 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:07:09 ---> Running in 4a4fd2f1a4d8 21:07:12 Still waiting to schedule task 21:07:12 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:07:31 Removing intermediate container 4a4fd2f1a4d8 21:07:31 ---> 69388af8156a 21:07:31 Step 12/13 : COPY . . 21:07:31 ---> bcbf22358ed5 21:07:31 Step 13/13 : RUN ${MAKE} 21:07:31 ---> Running in e6c2ed32f096 21:07:31 noop 21:07:31 Removing intermediate container e6c2ed32f096 21:07:31 ---> de69947a4559 21:07:31 Successfully built de69947a4559 21:07:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:32 + docker inspect -f . ci-base-image-x86_64 21:07:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:32 prd-ubuntu20.04-docker-8c-8g-118962 does not seem to be running inside a container 21:07:32 $ 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 21:07:32 $ docker top a89ac98216b095ca9481a79cede1343875d192996f9156b2fcd3afd1ae69055e -eo pid,comm [Pipeline] { [Pipeline] sh 21:07:32 + go version 21:07:32 go version go1.18.7 linux/amd64 [Pipeline] } 21:07:32 $ docker stop --time=1 a89ac98216b095ca9481a79cede1343875d192996f9156b2fcd3afd1ae69055e 21:07:34 $ docker rm -f a89ac98216b095ca9481a79cede1343875d192996f9156b2fcd3afd1ae69055e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:34 + docker inspect -f . ci-base-image-x86_64 21:07:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:34 prd-ubuntu20.04-docker-8c-8g-118962 does not seem to be running inside a container 21:07:34 $ 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 21:07:35 $ docker top a5fdde0f7a129b1b313bfbc3f55aab33ea8be89d6105bce80fdafa0db95bb512 -eo pid,comm [Pipeline] { [Pipeline] sh 21:07:35 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 21:07:35 + make test 21:07:35 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:07:36 ? github.com/edgexfoundry/device-onvif-camera [no test files] 21:07:48 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 21:07:50 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.040s coverage: 29.3% of statements 21:07:50 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 21:07:50 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.373s coverage: 86.5% of statements 21:07:58 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 21:07:58 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:08:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:08:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:08:02 ./bin/test-attribution-txt.sh [Pipeline] echo 21:08:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:08:02 $ docker stop --time=1 a5fdde0f7a129b1b313bfbc3f55aab33ea8be89d6105bce80fdafa0db95bb512 21:08:04 $ docker rm -f a5fdde0f7a129b1b313bfbc3f55aab33ea8be89d6105bce80fdafa0db95bb512 [Pipeline] // withDockerContainer [Pipeline] sh 21:08:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:08:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:08:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:08:05 + ls -al . 21:08:05 total 248 21:08:05 drwxrwxr-x 10 jenkins jenkins 4096 Nov 10 21:07 . 21:08:05 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 21:06 .. 21:08:05 drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 21:07 .git 21:08:05 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 21:06 .github 21:08:05 -rw-rw-r-- 1 jenkins jenkins 496 Nov 10 21:06 .gitignore 21:08:05 -rw-rw-r-- 1 jenkins jenkins 42 Nov 10 21:06 .golangci.yml 21:08:05 drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 21:06 .semver 21:08:05 -rw-rw-r-- 1 jenkins jenkins 9739 Nov 10 21:06 Attribution.txt 21:08:05 -rw-rw-r-- 1 jenkins jenkins 6312 Nov 10 21:06 CHANGELOG.md 21:08:05 -rw-rw-r-- 1 jenkins jenkins 1637 Nov 10 21:06 Dockerfile 21:08:05 -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 21:06 GOVERNANCE.md 21:08:05 -rw-rw-r-- 1 jenkins jenkins 734 Nov 10 21:06 Jenkinsfile 21:08:05 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 10 21:06 LICENSE 21:08:05 -rw-rw-r-- 1 jenkins jenkins 2858 Nov 10 21:06 Makefile 21:08:05 -rw-rw-r-- 1 jenkins jenkins 625 Nov 10 21:06 OWNERS.md 21:08:05 -rw-rw-r-- 1 jenkins jenkins 6595 Nov 10 21:06 README.md 21:08:05 -rw-rw-r-- 1 jenkins jenkins 11 Nov 10 21:06 VERSION 21:08:05 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 21:06 bin 21:08:05 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 21:06 cmd 21:08:05 -rw-r--r-- 1 jenkins jenkins 79184 Nov 10 21:07 coverage.out 21:08:05 drwxrwxr-x 6 jenkins jenkins 4096 Nov 10 21:06 doc 21:08:05 -rw-rw-r-- 1 jenkins jenkins 3687 Nov 10 21:06 go.mod 21:08:05 -rw-rw-r-- 1 jenkins jenkins 46105 Nov 10 21:06 go.sum 21:08:05 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 21:06 internal 21:08:05 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 21:06 snap 21:08:05 -rw-rw-r-- 1 jenkins jenkins 236 Nov 10 21:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:05 + 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=12ac4ca00df350acb7aaa5b8264558c40625f436 --label arch=amd64 --label version=2.3.1-dev.1 . 21:08:05 Sending build context to Docker daemon 27.6MB 21:08:05 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 21:08:05 Step 2/26 : FROM ${BASE} AS builder 21:08:05 ---> de69947a4559 21:08:05 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:08:06 ---> Running in 53de07fd3069 21:08:06 Removing intermediate container 53de07fd3069 21:08:06 ---> bc4bc06893d9 21:08:06 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:08:06 ---> Running in cc4b9e69a8d8 21:08:06 Removing intermediate container cc4b9e69a8d8 21:08:06 ---> 35d168228b9b 21:08:06 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 21:08:06 ---> Running in 31d0f9e4fd51 21:08:06 Removing intermediate container 31d0f9e4fd51 21:08:06 ---> d4495adcba66 21:08:06 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:08:06 ---> Running in 0dccfe29c8dc 21:08:06 Removing intermediate container 0dccfe29c8dc 21:08:06 ---> 3e1be094405c 21:08:06 Step 7/26 : LABEL Name=edgex-device-onvif-camera 21:08:06 ---> Running in a779db2ac1ca 21:08:06 Removing intermediate container a779db2ac1ca 21:08:06 ---> 15c881a8b0c5 21:08:06 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:08:06 ---> Running in f3e17cb89162 21:08:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:08:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:08:07 OK: 211 MiB in 51 packages 21:08:07 Removing intermediate container f3e17cb89162 21:08:07 ---> de0e34806064 21:08:07 Step 9/26 : WORKDIR /device-onvif-camera 21:08:07 ---> Running in 6b634637498d 21:08:07 Removing intermediate container 6b634637498d 21:08:07 ---> ef2cc032c454 21:08:07 Step 10/26 : COPY go.mod vendor* ./ 21:08:07 ---> 5a398f0d2f71 21:08:07 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:08:07 ---> Running in 78fa3538643c 21:08:08 Removing intermediate container 78fa3538643c 21:08:08 ---> bc0b511c4279 21:08:08 Step 12/26 : COPY . . 21:08:09 ---> b93c9aa8bacb 21:08:09 Step 13/26 : RUN ${MAKE} 21:08:09 ---> Running in c0dbf8cd263e 21:08:09 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.1-dev.1 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 21:08:31 Removing intermediate container c0dbf8cd263e 21:08:31 ---> d41347e53351 21:08:31 Step 14/26 : FROM alpine:3.16 21:08:31 3.16: Pulling from library/alpine 21:08:31 213ec9aee27d: Already exists 21:08:32 Digest: sha256:65a2763f593ae85fab3b5406dc9e80f744ec5b449f269b699b5efd37a07ad32e 21:08:32 Status: Downloaded newer image for alpine:3.16 21:08:32 ---> 9c6f07244728 21:08:32 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:08:32 ---> Running in bb2dd4b9f253 21:08:32 Removing intermediate container bb2dd4b9f253 21:08:32 ---> 1c6f192be5e1 21:08:32 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 21:08:32 ---> Running in 574aad77201b 21:08:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:08:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:08:32 (1/6) Installing dumb-init (1.2.5-r1) 21:08:33 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:08:33 (3/6) Installing libsodium (1.0.18-r0) 21:08:33 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:08:33 (5/6) Installing libzmq (4.3.4-r0) 21:08:33 (6/6) Installing zeromq (4.3.4-r0) 21:08:33 Executing busybox-1.35.0-r17.trigger 21:08:33 OK: 8 MiB in 20 packages 21:08:33 Removing intermediate container 574aad77201b 21:08:33 ---> 832576bfa8c5 21:08:33 Step 17/26 : WORKDIR / 21:08:33 ---> Running in bd061fd84b2d 21:08:33 Removing intermediate container bd061fd84b2d 21:08:33 ---> 0ccf195dbade 21:08:33 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 21:08:34 ---> a355adbdef34 21:08:34 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 21:08:34 ---> 5d2eac326d6e 21:08:34 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 21:08:34 ---> 5ea43e7d5ab8 21:08:34 Step 21/26 : EXPOSE 59984 21:08:34 ---> Running in 1bbf2f9ecfc8 21:08:34 Removing intermediate container 1bbf2f9ecfc8 21:08:34 ---> 8f01ab7e6033 21:08:34 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 21:08:34 ---> Running in 39a84266c657 21:08:34 Removing intermediate container 39a84266c657 21:08:34 ---> b766d28c328f 21:08:34 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:08:34 ---> Running in ae60aa7f0a3c 21:08:34 Removing intermediate container ae60aa7f0a3c 21:08:34 ---> e5e0aaac3ecf 21:08:34 Step 24/26 : LABEL arch=amd64 21:08:34 ---> Running in ee8d8a2d4de8 21:08:35 Removing intermediate container ee8d8a2d4de8 21:08:35 ---> 0d5b308ba73b 21:08:35 Step 25/26 : LABEL git_sha=12ac4ca00df350acb7aaa5b8264558c40625f436 21:08:35 ---> Running in 12b0354216fa 21:08:35 Removing intermediate container 12b0354216fa 21:08:35 ---> 232280a1cff9 21:08:35 Step 26/26 : LABEL version=2.3.1-dev.1 21:08:35 ---> Running in b31c161603b6 21:08:35 Removing intermediate container b31c161603b6 21:08:35 ---> 806228be60a9 21:08:35 [Warning] One or more build-args [ARCH] were not consumed 21:08:35 Successfully built 806228be60a9 21:08:35 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:08:35 provisioning config files... 21:08:35 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9622390761323485588tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:08:35 ---> docker-login.sh 21:08:35 nexus3.edgexfoundry.org:10001 21:08:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:35 Configure a credential helper to remove this warning. See 21:08:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:35 21:08:35 Login Succeeded 21:08:35 nexus3.edgexfoundry.org:10002 21:08:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:35 Configure a credential helper to remove this warning. See 21:08:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:35 21:08:35 Login Succeeded 21:08:35 nexus3.edgexfoundry.org:10003 21:08:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:36 Configure a credential helper to remove this warning. See 21:08:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:36 21:08:36 Login Succeeded 21:08:36 nexus3.edgexfoundry.org:10004 21:08:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:36 Configure a credential helper to remove this warning. See 21:08:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:36 21:08:36 Login Succeeded 21:08:36 docker.io 21:08:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:36 Configure a credential helper to remove this warning. See 21:08:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:36 21:08:36 Login Succeeded 21:08:36 ---> docker-login.sh ends [Pipeline] } 21:08:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:08:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:08:36 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 21:08:36 12ac4ca00df350acb7aaa5b8264558c40625f436 21:08:36 latest 21:08:36 2.3.1-dev.1 21:08:36 12ac4ca00df350acb7aaa5b8264558c40625f436-2.3.1-dev.1 21:08:36 main 21:08:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:36 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:12ac4ca00df350acb7aaa5b8264558c40625f436 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:37 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:12ac4ca00df350acb7aaa5b8264558c40625f436 21:08:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 21:08:37 f859cf7a7a1a: Preparing 21:08:37 f500efabdcd8: Preparing 21:08:37 29ace9637f9a: Preparing 21:08:37 de95c76e2829: Preparing 21:08:37 994393dc58e7: Preparing 21:08:37 994393dc58e7: Layer already exists 21:08:37 f859cf7a7a1a: Pushed 21:08:37 f500efabdcd8: Pushed 21:08:37 de95c76e2829: Pushed 21:08:40 29ace9637f9a: Pushed 21:08:40 12ac4ca00df350acb7aaa5b8264558c40625f436: digest: sha256:24430bb49bae8cdff60fc6cc6d3c68150d2c42589cf78790979fcb8009ad466f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:40 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:40 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 21:08:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 21:08:40 f859cf7a7a1a: Preparing 21:08:40 f500efabdcd8: Preparing 21:08:40 29ace9637f9a: Preparing 21:08:40 de95c76e2829: Preparing 21:08:40 994393dc58e7: Preparing 21:08:40 29ace9637f9a: Layer already exists 21:08:40 994393dc58e7: Layer already exists 21:08:40 f500efabdcd8: Layer already exists 21:08:40 de95c76e2829: Layer already exists 21:08:40 f859cf7a7a1a: Layer already exists 21:08:40 latest: digest: sha256:24430bb49bae8cdff60fc6cc6d3c68150d2c42589cf78790979fcb8009ad466f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:41 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:41 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.1-dev.1 21:08:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 21:08:41 f859cf7a7a1a: Preparing 21:08:41 f500efabdcd8: Preparing 21:08:41 29ace9637f9a: Preparing 21:08:41 de95c76e2829: Preparing 21:08:41 994393dc58e7: Preparing 21:08:41 f500efabdcd8: Layer already exists 21:08:41 994393dc58e7: Layer already exists 21:08:41 de95c76e2829: Layer already exists 21:08:41 f859cf7a7a1a: Layer already exists 21:08:41 29ace9637f9a: Layer already exists 21:08:41 2.3.1-dev.1: digest: sha256:24430bb49bae8cdff60fc6cc6d3c68150d2c42589cf78790979fcb8009ad466f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:41 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:12ac4ca00df350acb7aaa5b8264558c40625f436-2.3.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:42 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:12ac4ca00df350acb7aaa5b8264558c40625f436-2.3.1-dev.1 21:08:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 21:08:42 f859cf7a7a1a: Preparing 21:08:42 f500efabdcd8: Preparing 21:08:42 29ace9637f9a: Preparing 21:08:42 de95c76e2829: Preparing 21:08:42 994393dc58e7: Preparing 21:08:42 29ace9637f9a: Layer already exists 21:08:42 f500efabdcd8: Layer already exists 21:08:42 f859cf7a7a1a: Layer already exists 21:08:42 de95c76e2829: Layer already exists 21:08:42 994393dc58e7: Layer already exists 21:08:42 12ac4ca00df350acb7aaa5b8264558c40625f436-2.3.1-dev.1: digest: sha256:24430bb49bae8cdff60fc6cc6d3c68150d2c42589cf78790979fcb8009ad466f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:42 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:42 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 21:08:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 21:08:42 f859cf7a7a1a: Preparing 21:08:42 f500efabdcd8: Preparing 21:08:42 29ace9637f9a: Preparing 21:08:42 de95c76e2829: Preparing 21:08:42 994393dc58e7: Preparing 21:08:42 994393dc58e7: Layer already exists 21:08:42 f500efabdcd8: Layer already exists 21:08:42 29ace9637f9a: Layer already exists 21:08:42 de95c76e2829: Layer already exists 21:08:42 f859cf7a7a1a: Layer already exists 21:08:42 main: digest: sha256:24430bb49bae8cdff60fc6cc6d3c68150d2c42589cf78790979fcb8009ad466f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:08:42 ===================================================== [Pipeline] echo 21:08:42 taggedImages: 21:08:42 - nexus3.edgexfoundry.org:10004/device-onvif-camera:12ac4ca00df350acb7aaa5b8264558c40625f436 21:08:42 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 21:08:42 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.1-dev.1 21:08:42 - nexus3.edgexfoundry.org:10004/device-onvif-camera:12ac4ca00df350acb7aaa5b8264558c40625f436-2.3.1-dev.1 21:08:42 - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:43 21:08:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:43 latest: Pulling from edgex-lftools-log-publisher 21:08:43 5eb5b503b376: Pulling fs layer 21:08:43 5c69ac0246d0: Pulling fs layer 21:08:43 ec43610c2a17: Pulling fs layer 21:08:43 3a2ae6a8a46f: Pulling fs layer 21:08:43 33b1e0a273af: Pulling fs layer 21:08:43 5d3b04190fa2: Pulling fs layer 21:08:43 2f39f015ded8: Pulling fs layer 21:08:43 3a2ae6a8a46f: Waiting 21:08:43 33b1e0a273af: Waiting 21:08:43 5d3b04190fa2: Waiting 21:08:43 2f39f015ded8: Waiting 21:08:43 5c69ac0246d0: Verifying Checksum 21:08:43 5c69ac0246d0: Download complete 21:08:43 3a2ae6a8a46f: Verifying Checksum 21:08:43 3a2ae6a8a46f: Download complete 21:08:43 33b1e0a273af: Verifying Checksum 21:08:43 33b1e0a273af: Download complete 21:08:43 5d3b04190fa2: Verifying Checksum 21:08:43 5d3b04190fa2: Download complete 21:08:43 ec43610c2a17: Verifying Checksum 21:08:43 ec43610c2a17: Download complete 21:08:43 5eb5b503b376: Verifying Checksum 21:08:43 5eb5b503b376: Download complete 21:08:44 2f39f015ded8: Download complete 21:08:44 5eb5b503b376: Pull complete 21:08:44 5c69ac0246d0: Pull complete 21:08:45 ec43610c2a17: Pull complete 21:08:45 3a2ae6a8a46f: Pull complete 21:08:45 33b1e0a273af: Pull complete 21:08:45 5d3b04190fa2: Pull complete 21:08:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118963 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 21:08:46 Running in /w/workspace/device-onvif-camera/89 [Pipeline] { [Pipeline] checkout 21:08:46 The recommended git tool is: git 21:08:49 2f39f015ded8: Pull complete 21:08:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:08:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:50 prd-ubuntu20.04-docker-8c-8g-118962 does not seem to be running inside a container 21:08:50 $ 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 21:08:51 using credential edgex-jenkins-ssh 21:08:51 Cloning the remote Git repository 21:08:51 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 21:08:51 $ docker top bf9b925b979b1abb6b6cffb92c72b1f7b68c10902851eab5d930275ef45aa94c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:08:52 ---> job-cost.sh 21:08:52 lf-activate-venv: SKIPPING 21:08:52 INFO: No Stack... 21:08:51 > git init /w/workspace/device-onvif-camera/89 # timeout=10 21:08:51 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 21:08:51 > git --version # timeout=10 21:08:51 > git --version # 'git version 2.25.1' 21:08:51 using GIT_SSH to set credentials SSH Credentials for GitHub 21:08:51 Verifying host key using known hosts file 21:08:51 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 21:08:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:08:52 INFO: Retrieving Pricing Info for: v3-standard-8 21:08:52 INFO: Archiving Costs [Pipeline] sh 21:08:53 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 21:08:53 + cut -d, -f6 [Pipeline] lock 21:08:53 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-89-stack-cost] 21:08:53 Resource [jenkins-edgexfoundry-device-onvif-camera-main-89-stack-cost] did not exist. Created. 21:08:53 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-89-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:08:53 + echo total: 0.2199999988079071 [Pipeline] stash 21:08:53 Stashed 1 file(s) [Pipeline] } 21:08:53 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-89-stack-cost] [Pipeline] // lock [Pipeline] } 21:08:53 $ docker stop --time=1 bf9b925b979b1abb6b6cffb92c72b1f7b68c10902851eab5d930275ef45aa94c 21:08:53 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 21:08:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:08:53 Avoid second fetch 21:08:53 Checking out Revision 12ac4ca00df350acb7aaa5b8264558c40625f436 (main) 21:08:54 Commit message: "docs: bump swagger generator version to 2.3.0 (#198)" 21:08:54 $ docker rm -f bf9b925b979b1abb6b6cffb92c72b1f7b68c10902851eab5d930275ef45aa94c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:08:53 > git config core.sparsecheckout # timeout=10 21:08:54 > git checkout -f 12ac4ca00df350acb7aaa5b8264558c40625f436 # timeout=10 21:08:55 21:08:55 GitHub has been notified of this commit’s build result 21:08:55 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:08:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:08:55 % Total % Received % Xferd Average Speed Time Time Time Current 21:08:55 Dload Upload Total Spent Left Speed 21:08:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 78273 0 --:--:-- --:--:-- --:--:-- 78273 [Pipeline] sh 21:08:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:08:56 + sudo tee /etc/docker/daemon.new 21:08:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:08:56 { 21:08:56 "registry-mirrors": [ 21:08:56 "https://nexus3.edgexfoundry.org:10001" 21:08:56 ], 21:08:56 "bip": "10.250.0.254/24", 21:08:56 "hosts": [ 21:08:56 "tcp://0.0.0.0:5555", 21:08:56 "unix:///var/run/docker.sock" 21:08:56 ], 21:08:56 "mtu": 1458, 21:08:56 "selinux-enabled": true, 21:08:56 "seccomp-profile": "/etc/docker/seccomp.json" 21:08:56 } [Pipeline] sh 21:08:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:08:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:09:15 provisioning config files... 21:09:15 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/89@tmp/config13952360402937407913tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:15 ---> docker-login.sh 21:09:15 nexus3.edgexfoundry.org:10001 21:09:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:16 Configure a credential helper to remove this warning. See 21:09:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:16 21:09:16 Login Succeeded 21:09:16 nexus3.edgexfoundry.org:10002 21:09:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:16 Configure a credential helper to remove this warning. See 21:09:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:16 21:09:16 Login Succeeded 21:09:16 nexus3.edgexfoundry.org:10003 21:09:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:17 Configure a credential helper to remove this warning. See 21:09:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:17 21:09:17 Login Succeeded 21:09:17 nexus3.edgexfoundry.org:10004 21:09:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:17 Configure a credential helper to remove this warning. See 21:09:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:17 21:09:17 Login Succeeded 21:09:17 docker.io 21:09:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:18 Configure a credential helper to remove this warning. See 21:09:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:18 21:09:18 Login Succeeded 21:09:18 ---> docker-login.sh ends [Pipeline] } 21:09:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:09:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:09:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:09:18 ========================================================= 21:09:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:09:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:18 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:09:19 Sending build context to Docker daemon 20.45MB 21:09:19 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 21:09:19 Step 2/13 : FROM ${BASE} AS builder 21:09:19 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:09:19 9b18e9b68314: Pulling fs layer 21:09:19 35d82f9e3411: Pulling fs layer 21:09:19 e16973657156: Pulling fs layer 21:09:19 fc693d55d65f: Pulling fs layer 21:09:19 7e9fc2657dce: Pulling fs layer 21:09:19 dda99020689f: Pulling fs layer 21:09:19 db1c61fa0a46: Pulling fs layer 21:09:19 891c053d2c06: Pulling fs layer 21:09:19 fc693d55d65f: Waiting 21:09:19 7e9fc2657dce: Waiting 21:09:19 dda99020689f: Waiting 21:09:19 db1c61fa0a46: Waiting 21:09:19 891c053d2c06: Waiting 21:09:19 e16973657156: Verifying Checksum 21:09:19 e16973657156: Download complete 21:09:19 35d82f9e3411: Download complete 21:09:19 7e9fc2657dce: Verifying Checksum 21:09:19 7e9fc2657dce: Download complete 21:09:19 dda99020689f: Verifying Checksum 21:09:19 dda99020689f: Download complete 21:09:19 9b18e9b68314: Verifying Checksum 21:09:20 9b18e9b68314: Pull complete 21:09:20 891c053d2c06: Verifying Checksum 21:09:20 891c053d2c06: Download complete 21:09:21 35d82f9e3411: Pull complete 21:09:21 e16973657156: Pull complete 21:09:21 db1c61fa0a46: Verifying Checksum 21:09:21 db1c61fa0a46: Download complete 21:09:22 fc693d55d65f: Verifying Checksum 21:09:22 fc693d55d65f: Download complete 21:09:34 fc693d55d65f: Pull complete 21:09:34 7e9fc2657dce: Pull complete 21:09:34 dda99020689f: Pull complete 21:09:42 db1c61fa0a46: Pull complete 21:09:44 891c053d2c06: Pull complete 21:09:44 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 21:09:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:09:44 ---> f96f9c87975a 21:09:44 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:09:46 ---> Running in 3897f228a5a5 21:09:46 Removing intermediate container 3897f228a5a5 21:09:46 ---> 4ade44005930 21:09:46 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:09:46 ---> Running in 7b265529ea56 21:09:46 Removing intermediate container 7b265529ea56 21:09:46 ---> 9877061d0846 21:09:46 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 21:09:46 ---> Running in 425ac90fe981 21:09:47 Removing intermediate container 425ac90fe981 21:09:47 ---> 4637f70c8646 21:09:47 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 21:09:47 ---> Running in 9c3c7dde30f4 21:09:47 Removing intermediate container 9c3c7dde30f4 21:09:47 ---> f75921e4fd13 21:09:47 Step 7/13 : LABEL Name=edgex-device-onvif-camera 21:09:47 ---> Running in 3d2f9afb46a9 21:09:48 Removing intermediate container 3d2f9afb46a9 21:09:48 ---> 033bcc72d0ea 21:09:48 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:09:48 ---> Running in 60a823b2e8d0 21:09:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:09:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:09:50 OK: 221 MiB in 51 packages 21:09:51 Removing intermediate container 60a823b2e8d0 21:09:51 ---> 0848585d9735 21:09:51 Step 9/13 : WORKDIR /device-onvif-camera 21:09:51 ---> Running in 734abb843804 21:09:51 Removing intermediate container 734abb843804 21:09:51 ---> dd4b6cc985a8 21:09:51 Step 10/13 : COPY go.mod vendor* ./ 21:09:52 ---> 0c9dedb7e352 21:09:52 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:09:52 ---> Running in 6faafb2de46b 21:10:48 Removing intermediate container 6faafb2de46b 21:10:48 ---> f6d6548f234c 21:10:48 Step 12/13 : COPY . . 21:10:48 ---> 6c2afe82b219 21:10:48 Step 13/13 : RUN ${MAKE} 21:10:48 ---> Running in 010ccc03b2ec 21:10:48 noop 21:10:48 Removing intermediate container 010ccc03b2ec 21:10:48 ---> 00e37684615a 21:10:48 Successfully built 00e37684615a 21:10:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:48 + docker inspect -f . ci-base-image-arm64 21:10:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:49 prd-ubuntu20.04-docker-arm64-4c-16g-118963 does not seem to be running inside a container 21:10:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/89 -v /w/workspace/device-onvif-camera/89:/w/workspace/device-onvif-camera/89:rw,z -v /w/workspace/device-onvif-camera/89@tmp:/w/workspace/device-onvif-camera/89@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:10:50 $ docker top 2c7f0bce8005689ebafebad9fa599620ed4c207e2a57e9e0f17fb4a885ae04cf -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:51 + go version 21:10:51 go version go1.18.7 linux/arm64 [Pipeline] } 21:10:51 $ docker stop --time=1 2c7f0bce8005689ebafebad9fa599620ed4c207e2a57e9e0f17fb4a885ae04cf 21:10:52 $ docker rm -f 2c7f0bce8005689ebafebad9fa599620ed4c207e2a57e9e0f17fb4a885ae04cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:53 + docker inspect -f . ci-base-image-arm64 21:10:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:53 prd-ubuntu20.04-docker-arm64-4c-16g-118963 does not seem to be running inside a container 21:10:53 $ 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/89 -v /w/workspace/device-onvif-camera/89:/w/workspace/device-onvif-camera/89:rw,z -v /w/workspace/device-onvif-camera/89@tmp:/w/workspace/device-onvif-camera/89@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:10:54 $ docker top 1e12ce4539dcf9cf2b9be93929cb6917be0f923f038f6f430c90b06c94065986 -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:55 + git config --global --add safe.directory /w/workspace/device-onvif-camera/89 [Pipeline] fileExists [Pipeline] sh 21:10:55 + make test 21:10:55 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:10:57 ? github.com/edgexfoundry/device-onvif-camera [no test files] 21:12:34 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 21:12:34 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.190s coverage: 29.3% of statements 21:12:34 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 21:12:46 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.638s coverage: 86.5% of statements 21:12:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:12:46 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:13:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:13:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:13:09 ./bin/test-attribution-txt.sh [Pipeline] echo 21:13:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:13:09 $ docker stop --time=1 1e12ce4539dcf9cf2b9be93929cb6917be0f923f038f6f430c90b06c94065986 21:13:11 $ docker rm -f 1e12ce4539dcf9cf2b9be93929cb6917be0f923f038f6f430c90b06c94065986 [Pipeline] // withDockerContainer [Pipeline] sh 21:13:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:13:12 Warning: overwriting stash ‘coverage-report’ 21:13:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:13:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:13:13 + ls -al . 21:13:13 total 244 21:13:13 drwxrwxr-x 9 jenkins jenkins 4096 Nov 10 21:10 . 21:13:13 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 21:08 .. 21:13:13 drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 21:08 .git 21:13:13 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 21:08 .github 21:13:13 -rw-rw-r-- 1 jenkins jenkins 496 Nov 10 21:08 .gitignore 21:13:13 -rw-rw-r-- 1 jenkins jenkins 42 Nov 10 21:08 .golangci.yml 21:13:13 -rw-rw-r-- 1 jenkins jenkins 9739 Nov 10 21:08 Attribution.txt 21:13:13 -rw-rw-r-- 1 jenkins jenkins 6312 Nov 10 21:08 CHANGELOG.md 21:13:13 -rw-rw-r-- 1 jenkins jenkins 1637 Nov 10 21:08 Dockerfile 21:13:13 -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 21:08 GOVERNANCE.md 21:13:13 -rw-rw-r-- 1 jenkins jenkins 734 Nov 10 21:08 Jenkinsfile 21:13:13 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 10 21:08 LICENSE 21:13:13 -rw-rw-r-- 1 jenkins jenkins 2858 Nov 10 21:08 Makefile 21:13:13 -rw-rw-r-- 1 jenkins jenkins 625 Nov 10 21:08 OWNERS.md 21:13:13 -rw-rw-r-- 1 jenkins jenkins 6595 Nov 10 21:08 README.md 21:13:13 -rw-rw-r-- 1 jenkins jenkins 11 Nov 10 21:06 VERSION 21:13:13 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 21:08 bin 21:13:13 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 21:08 cmd 21:13:13 -rw-r--r-- 1 jenkins jenkins 79184 Nov 10 21:12 coverage.out 21:13:13 drwxrwxr-x 6 jenkins jenkins 4096 Nov 10 21:08 doc 21:13:13 -rw-rw-r-- 1 jenkins jenkins 3687 Nov 10 21:08 go.mod 21:13:13 -rw-rw-r-- 1 jenkins jenkins 46105 Nov 10 21:08 go.sum 21:13:13 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 21:08 internal 21:13:13 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 21:08 snap 21:13:13 -rw-rw-r-- 1 jenkins jenkins 236 Nov 10 21:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:13 + 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=12ac4ca00df350acb7aaa5b8264558c40625f436 --label arch=arm64 --label version=2.3.1-dev.1 . 21:13:14 Sending build context to Docker daemon 20.53MB 21:13:14 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 21:13:14 Step 2/26 : FROM ${BASE} AS builder 21:13:14 ---> 00e37684615a 21:13:14 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:13:14 ---> Running in 7fef4b992811 21:13:15 Removing intermediate container 7fef4b992811 21:13:15 ---> 49ba16403849 21:13:15 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:13:15 ---> Running in 05425d6effa3 21:13:15 Removing intermediate container 05425d6effa3 21:13:15 ---> 58a1b519b24b 21:13:15 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 21:13:15 ---> Running in e11a69934244 21:13:16 Removing intermediate container e11a69934244 21:13:16 ---> 4dd09508d1f2 21:13:16 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:13:16 ---> Running in 632ab02a2ffc 21:13:16 Removing intermediate container 632ab02a2ffc 21:13:16 ---> 12edd5823f9a 21:13:16 Step 7/26 : LABEL Name=edgex-device-onvif-camera 21:13:16 ---> Running in f1a9014df1c9 21:13:16 Removing intermediate container f1a9014df1c9 21:13:16 ---> e776338fa314 21:13:16 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:13:16 ---> Running in 36a72099ad21 21:13:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:13:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:13:19 OK: 221 MiB in 51 packages 21:13:20 Removing intermediate container 36a72099ad21 21:13:20 ---> 0135c5175e6a 21:13:20 Step 9/26 : WORKDIR /device-onvif-camera 21:13:20 ---> Running in 3702c7dbeb32 21:13:20 Removing intermediate container 3702c7dbeb32 21:13:20 ---> f50a7c2b765b 21:13:20 Step 10/26 : COPY go.mod vendor* ./ 21:13:21 ---> 04417ef05d1f 21:13:21 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:13:21 ---> Running in 31947aa86eaa 21:13:24 Removing intermediate container 31947aa86eaa 21:13:24 ---> 1cdc91ac3372 21:13:24 Step 12/26 : COPY . . 21:13:26 ---> c256caac8763 21:13:26 Step 13/26 : RUN ${MAKE} 21:13:26 ---> Running in 46c713103917 21:13:27 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.1-dev.1 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 21:16:04 Removing intermediate container 46c713103917 21:16:04 ---> 0d7de4e2abee 21:16:04 Step 14/26 : FROM alpine:3.16 21:16:04 3.16: Pulling from library/alpine 21:16:04 9b18e9b68314: Already exists 21:16:04 Digest: sha256:65a2763f593ae85fab3b5406dc9e80f744ec5b449f269b699b5efd37a07ad32e 21:16:04 Status: Downloaded newer image for alpine:3.16 21:16:04 ---> 16d65c69c39d 21:16:04 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:16:04 ---> Running in fe356cc8ba96 21:16:04 Removing intermediate container fe356cc8ba96 21:16:04 ---> a7a8ee7b4372 21:16:04 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 21:16:04 ---> Running in bff545ec9602 21:16:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:16:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:16:04 (1/6) Installing dumb-init (1.2.5-r1) 21:16:04 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:16:04 (3/6) Installing libsodium (1.0.18-r0) 21:16:04 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:16:04 (5/6) Installing libzmq (4.3.4-r0) 21:16:04 (6/6) Installing zeromq (4.3.4-r0) 21:16:04 Executing busybox-1.35.0-r17.trigger 21:16:04 OK: 8 MiB in 20 packages 21:16:04 Removing intermediate container bff545ec9602 21:16:04 ---> f488aea94f49 21:16:04 Step 17/26 : WORKDIR / 21:16:04 ---> Running in ebf66a906f79 21:16:04 Removing intermediate container ebf66a906f79 21:16:04 ---> fce99e0aae45 21:16:04 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 21:16:04 ---> 8ece0dc9ca53 21:16:04 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 21:16:04 ---> 877cdffa24c6 21:16:04 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 21:16:04 ---> b549575aa1ae 21:16:04 Step 21/26 : EXPOSE 59984 21:16:04 ---> Running in 228f73827410 21:16:04 Removing intermediate container 228f73827410 21:16:04 ---> 93a586a08310 21:16:04 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 21:16:04 ---> Running in cf946bf31012 21:16:04 Removing intermediate container cf946bf31012 21:16:04 ---> 267d45637e06 21:16:04 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:16:04 ---> Running in b3620d6fda6a 21:16:04 Removing intermediate container b3620d6fda6a 21:16:04 ---> fbcb89f9886b 21:16:04 Step 24/26 : LABEL arch=arm64 21:16:04 ---> Running in 50d833fc4cc6 21:16:04 Removing intermediate container 50d833fc4cc6 21:16:04 ---> b99fb0cf1590 21:16:04 Step 25/26 : LABEL git_sha=12ac4ca00df350acb7aaa5b8264558c40625f436 21:16:04 ---> Running in d454dc173d17 21:16:04 Removing intermediate container d454dc173d17 21:16:04 ---> 5251196c8e65 21:16:04 Step 26/26 : LABEL version=2.3.1-dev.1 21:16:04 ---> Running in a51b244f6942 21:16:04 Removing intermediate container a51b244f6942 21:16:04 ---> c1ee951ea13b 21:16:04 [Warning] One or more build-args [ARCH] were not consumed 21:16:04 Successfully built c1ee951ea13b 21:16:04 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 21:16:04 provisioning config files... 21:16:04 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/89@tmp/config3885270680091039458tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:16:04 ---> docker-login.sh 21:16:04 nexus3.edgexfoundry.org:10001 21:16:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:05 Configure a credential helper to remove this warning. See 21:16:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:05 21:16:05 Login Succeeded 21:16:05 nexus3.edgexfoundry.org:10002 21:16:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:05 Configure a credential helper to remove this warning. See 21:16:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:05 21:16:05 Login Succeeded 21:16:05 nexus3.edgexfoundry.org:10003 21:16:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:05 Configure a credential helper to remove this warning. See 21:16:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:05 21:16:05 Login Succeeded 21:16:05 nexus3.edgexfoundry.org:10004 21:16:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:06 Configure a credential helper to remove this warning. See 21:16:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:06 21:16:06 Login Succeeded 21:16:06 docker.io 21:16:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:06 Configure a credential helper to remove this warning. See 21:16:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:06 21:16:06 Login Succeeded 21:16:06 ---> docker-login.sh ends [Pipeline] } 21:16:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:16:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:16:06 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 21:16:06 12ac4ca00df350acb7aaa5b8264558c40625f436 21:16:06 latest 21:16:06 2.3.1-dev.1 21:16:06 12ac4ca00df350acb7aaa5b8264558c40625f436-2.3.1-dev.1 21:16:06 main 21:16:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:07 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:12ac4ca00df350acb7aaa5b8264558c40625f436 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:07 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:12ac4ca00df350acb7aaa5b8264558c40625f436 21:16:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 21:16:07 d28f66bd855e: Preparing 21:16:07 93d4e60e5316: Preparing 21:16:07 3e26d8b798c2: Preparing 21:16:07 aa1b98aab912: Preparing 21:16:07 5d3e392a13a0: Preparing 21:16:07 5d3e392a13a0: Layer already exists 21:16:07 d28f66bd855e: Pushed 21:16:07 93d4e60e5316: Pushed 21:16:08 aa1b98aab912: Pushed 21:16:13 3e26d8b798c2: Pushed 21:16:13 12ac4ca00df350acb7aaa5b8264558c40625f436: digest: sha256:7b220b024184526e44aee6f2097ebeb1f6672e41e6a16cf41d0e977a890664ac size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:13 + 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 21:16:14 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 21:16:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 21:16:14 d28f66bd855e: Preparing 21:16:14 93d4e60e5316: Preparing 21:16:14 3e26d8b798c2: Preparing 21:16:14 aa1b98aab912: Preparing 21:16:14 5d3e392a13a0: Preparing 21:16:14 d28f66bd855e: Layer already exists 21:16:14 93d4e60e5316: Layer already exists 21:16:14 3e26d8b798c2: Layer already exists 21:16:14 5d3e392a13a0: Layer already exists 21:16:14 aa1b98aab912: Layer already exists 21:16:14 latest: digest: sha256:7b220b024184526e44aee6f2097ebeb1f6672e41e6a16cf41d0e977a890664ac size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:14 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:15 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.1-dev.1 21:16:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 21:16:15 d28f66bd855e: Preparing 21:16:15 93d4e60e5316: Preparing 21:16:15 3e26d8b798c2: Preparing 21:16:15 aa1b98aab912: Preparing 21:16:15 5d3e392a13a0: Preparing 21:16:15 d28f66bd855e: Layer already exists 21:16:15 aa1b98aab912: Layer already exists 21:16:15 3e26d8b798c2: Layer already exists 21:16:15 5d3e392a13a0: Layer already exists 21:16:15 93d4e60e5316: Layer already exists 21:16:15 2.3.1-dev.1: digest: sha256:7b220b024184526e44aee6f2097ebeb1f6672e41e6a16cf41d0e977a890664ac size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:15 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:12ac4ca00df350acb7aaa5b8264558c40625f436-2.3.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:15 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:12ac4ca00df350acb7aaa5b8264558c40625f436-2.3.1-dev.1 21:16:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 21:16:15 d28f66bd855e: Preparing 21:16:15 93d4e60e5316: Preparing 21:16:15 3e26d8b798c2: Preparing 21:16:15 aa1b98aab912: Preparing 21:16:15 5d3e392a13a0: Preparing 21:16:15 3e26d8b798c2: Layer already exists 21:16:15 aa1b98aab912: Layer already exists 21:16:15 5d3e392a13a0: Layer already exists 21:16:15 d28f66bd855e: Layer already exists 21:16:15 93d4e60e5316: Layer already exists 21:16:15 12ac4ca00df350acb7aaa5b8264558c40625f436-2.3.1-dev.1: digest: sha256:7b220b024184526e44aee6f2097ebeb1f6672e41e6a16cf41d0e977a890664ac size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:16 + 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 21:16:16 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 21:16:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 21:16:16 d28f66bd855e: Preparing 21:16:16 93d4e60e5316: Preparing 21:16:16 3e26d8b798c2: Preparing 21:16:16 aa1b98aab912: Preparing 21:16:16 5d3e392a13a0: Preparing 21:16:16 93d4e60e5316: Layer already exists 21:16:16 d28f66bd855e: Layer already exists 21:16:16 5d3e392a13a0: Layer already exists 21:16:16 aa1b98aab912: Layer already exists 21:16:16 3e26d8b798c2: Layer already exists 21:16:16 main: digest: sha256:7b220b024184526e44aee6f2097ebeb1f6672e41e6a16cf41d0e977a890664ac size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:16:16 ===================================================== [Pipeline] echo 21:16:16 taggedImages: 21:16:16 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:12ac4ca00df350acb7aaa5b8264558c40625f436 21:16:16 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 21:16:16 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.1-dev.1 21:16:16 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:12ac4ca00df350acb7aaa5b8264558c40625f436-2.3.1-dev.1 21:16:16 - 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 21:16:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:16:16 21:16:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:16:17 arm64: Pulling from edgex-lftools-log-publisher 21:16:17 8998bd30e6a1: Pulling fs layer 21:16:17 04944245beec: Pulling fs layer 21:16:17 699f458cf7ca: Pulling fs layer 21:16:17 765212b225bb: Pulling fs layer 21:16:17 f23df028b6ca: Pulling fs layer 21:16:17 d65c8cfc05b1: Pulling fs layer 21:16:17 2437ff75d9bd: Pulling fs layer 21:16:17 765212b225bb: Waiting 21:16:17 f23df028b6ca: Waiting 21:16:17 d65c8cfc05b1: Waiting 21:16:17 2437ff75d9bd: Waiting 21:16:17 04944245beec: Verifying Checksum 21:16:17 04944245beec: Download complete 21:16:17 765212b225bb: Verifying Checksum 21:16:17 765212b225bb: Download complete 21:16:17 f23df028b6ca: Verifying Checksum 21:16:17 f23df028b6ca: Download complete 21:16:17 d65c8cfc05b1: Verifying Checksum 21:16:17 d65c8cfc05b1: Download complete 21:16:17 699f458cf7ca: Verifying Checksum 21:16:17 699f458cf7ca: Download complete 21:16:18 8998bd30e6a1: Download complete 21:16:20 2437ff75d9bd: Verifying Checksum 21:16:20 2437ff75d9bd: Download complete 21:16:22 8998bd30e6a1: Pull complete 21:16:22 04944245beec: Pull complete 21:16:23 699f458cf7ca: Pull complete 21:16:24 765212b225bb: Pull complete 21:16:26 f23df028b6ca: Pull complete 21:16:26 d65c8cfc05b1: Pull complete 21:16:41 2437ff75d9bd: Pull complete 21:16:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:16:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:16:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:41 prd-ubuntu20.04-docker-arm64-4c-16g-118963 does not seem to be running inside a container 21:16:41 $ 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/89 -v /w/workspace/device-onvif-camera/89:/w/workspace/device-onvif-camera/89:rw,z -v /w/workspace/device-onvif-camera/89@tmp:/w/workspace/device-onvif-camera/89@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:16:44 $ docker top ce7d9366607cf0afc736cce03febc3ea190eebe5d2879dd37d3d5ecf86a7d546 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:16:44 ---> job-cost.sh 21:16:45 lf-activate-venv: SKIPPING 21:16:45 INFO: No Stack... 21:16:45 INFO: Retrieving Pricing Info for: v3-standard-4 21:16:46 INFO: Archiving Costs [Pipeline] sh 21:16:46 + cat /w/workspace/device-onvif-camera/89/archives/cost.csv 21:16:46 + cut -d, -f6 [Pipeline] lock 21:16:47 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-89-stack-cost] 21:16:47 Resource [jenkins-edgexfoundry-device-onvif-camera-main-89-stack-cost] did not exist. Created. 21:16:47 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-89-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:16:47 /w/workspace/device-onvif-camera/89@tmp/durable-c9ae7dfd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:16:47 + echo total: 0.10999999940395355 [Pipeline] stash 21:16:47 Warning: overwriting stash ‘stack-cost’ 21:16:47 Stashed 1 file(s) [Pipeline] } 21:16:47 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-89-stack-cost] [Pipeline] // lock [Pipeline] } 21:16:47 $ docker stop --time=1 ce7d9366607cf0afc736cce03febc3ea190eebe5d2879dd37d3d5ecf86a7d546 21:16:49 $ docker rm -f ce7d9366607cf0afc736cce03febc3ea190eebe5d2879dd37d3d5ecf86a7d546 [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 21:16:49 provisioning config files... 21:16:49 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1805594450798878593tmp [Pipeline] { [Pipeline] sh 21:16:50 + set +x 21:16:50 + curl -s https://codecov.io/bash 21:16:50 + bash -s -- 21:16:50 21:16:50 _____ _ 21:16:50 / ____| | | 21:16:50 | | ___ __| | ___ ___ _____ __ 21:16:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:16:50 | |___| (_) | (_| | __/ (_| (_) \ V / 21:16:50 \_____\___/ \__,_|\___|\___\___/ \_/ 21:16:50 Bash-1.0.6 21:16:50 21:16:50 21:16:50 ==> git version 2.25.1 found 21:16:50 ==> 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 21:16:50 Release-Date: 2020-01-08 21:16:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:16:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:16:50 ==> Jenkins CI detected. 21:16:50 current dir:  /w/workspace/foundry_device-onvif-camera_main 21:16:50 project root: . 21:16:50 --> token set from env 21:16:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:16:50 ==> Running gcov in . (disable via -X gcov) 21:16:50 ==> Python coveragepy not found 21:16:50 ==> Searching for coverage reports in: 21:16:50 + . 21:16:50 -> Found 1 reports 21:16:50 ==> Detecting git/mercurial file structure 21:16:50 ==> Reading reports 21:16:50 + ./coverage.out bytes=79184 21:16:50 ==> Appending adjustments 21:16:50 https://docs.codecov.io/docs/fixing-reports 21:16:50 + Found adjustments 21:16:50 ==> Gzipping contents 21:16:50 12K /tmp/codecov.Qlvost.gz 21:16:50 ==> Uploading reports 21:16:50 url: https://codecov.io 21:16:50 query: branch=main&commit=12ac4ca00df350acb7aaa5b8264558c40625f436&build=89&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F89%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 21:16:50 -> Pinging Codecov 21:16:50 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=12ac4ca00df350acb7aaa5b8264558c40625f436&build=89&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F89%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 21:16:50 -> Uploading to 21:16:50 https://storage.googleapis.com/codecov/v4/raw/2022-11-10/F29A59C45E3A92E06B3E522C9905F8EF/12ac4ca00df350acb7aaa5b8264558c40625f436/faf7f5e5-6031-49da-a378-511c96cf29f2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221110T211650Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b383ab78b0f5c3eea032e5a551a7ec4cfdb684c25af0b708fbad9e55e7823eea 21:16:50 % Total % Received % Xferd Average Speed Time Time Time Current 21:16:50 Dload Upload Total Spent Left Speed 21:16:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10838 0 0 100 10838 0 33974 --:--:-- --:--:-- --:--:-- 33974 21:16:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/12ac4ca00df350acb7aaa5b8264558c40625f436 [Pipeline] } 21:16:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:16:51 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:16:51 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:16:51 21:16:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:16:51 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:16:51 df9b9388f04a: Pulling fs layer 21:16:51 52dc419b0ee2: Pulling fs layer 21:16:51 25bc292e5bac: Pulling fs layer 21:16:51 114826534d7a: Pulling fs layer 21:16:51 4657fd5d0bcf: Pulling fs layer 21:16:51 6ad1cebc031e: Pulling fs layer 21:16:51 8a3aa393b2d8: Pulling fs layer 21:16:51 114826534d7a: Waiting 21:16:51 4657fd5d0bcf: Waiting 21:16:51 6ad1cebc031e: Waiting 21:16:51 25bc292e5bac: Verifying Checksum 21:16:51 25bc292e5bac: Download complete 21:16:51 52dc419b0ee2: Verifying Checksum 21:16:51 52dc419b0ee2: Download complete 21:16:51 4657fd5d0bcf: Verifying Checksum 21:16:51 4657fd5d0bcf: Download complete 21:16:51 df9b9388f04a: Download complete 21:16:52 df9b9388f04a: Pull complete 21:16:52 6ad1cebc031e: Verifying Checksum 21:16:52 6ad1cebc031e: Download complete 21:16:52 52dc419b0ee2: Pull complete 21:16:52 25bc292e5bac: Pull complete 21:16:52 114826534d7a: Download complete 21:16:52 8a3aa393b2d8: Verifying Checksum 21:16:52 8a3aa393b2d8: Download complete 21:16:56 114826534d7a: Pull complete 21:16:56 4657fd5d0bcf: Pull complete 21:16:56 6ad1cebc031e: Pull complete 21:16:59 8a3aa393b2d8: Pull complete 21:16:59 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:16:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:16:59 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:59 prd-ubuntu20.04-docker-8c-8g-118962 does not seem to be running inside a container 21:16:59 $ 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 21:17:01 $ docker top 59afc6a2ccb95e1c2a107db57014b06c8b5a51084aac28a23909bdfa6a2cb782 -eo pid,comm [Pipeline] { [Pipeline] echo 21:17:01 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 21:17:02 + set -o pipefail 21:17:02 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 21:17:10 21:17:10 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 21:17:10 21:17:10 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/f0f46475-dd2a-484f-aa1c-4cbfcc30b0da 21:17:10 21:17:10 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 21:17:10 21:17:10 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:17:10 21:17:10 21:17:10 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:17:10 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:17:10 More details here: https://snyk.co/ue1NS 21:17:10 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 21:17:10 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 21:17:10 $ docker stop --time=1 59afc6a2ccb95e1c2a107db57014b06c8b5a51084aac28a23909bdfa6a2cb782 21:17:12 $ docker rm -f 59afc6a2ccb95e1c2a107db57014b06c8b5a51084aac28a23909bdfa6a2cb782 [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 21:17:13 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:17:13 provisioning config files... 21:17:13 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13741108467603658184tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:17:13 --> edgex-publish-swagger.sh 21:17:13 === Publish doc/openapi/v2 API === 21:17:13 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 21:17:13 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 21:17:13 % Total % Received % Xferd Average Speed Time Time Time Current 21:17:13 Dload Upload Total Spent Left Speed 21:17:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 536k --:--:-- --:--:-- --:--:-- 536k 21:17:14 21:17:14 [Pipeline] } 21:17:14 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 21:17:14 + git log --format=format:%s -1 12ac4ca00df350acb7aaa5b8264558c40625f436 [Pipeline] sh 21:17:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:17:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:17:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:15 prd-ubuntu20.04-docker-8c-8g-118962 does not seem to be running inside a container 21:17:15 $ 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 21:17:16 $ docker top da37e5323d257fd061e56549f9f92996081c88f99119a34496f4b6cf5328d8aa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:17:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:17:16 [ssh-agent] Looking for ssh-agent implementation... 21:17:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:17:16 $ docker exec da37e5323d257fd061e56549f9f92996081c88f99119a34496f4b6cf5328d8aa ssh-agent 21:17:16 SSH_AUTH_SOCK=/tmp/ssh-P7nKPSsftxKn/agent.32 21:17:16 SSH_AGENT_PID=38 21:17:16 Running ssh-add (command line suppressed) 21:17:16 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7413474438096832120.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7413474438096832120.key) 21:17:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:17:16 + git semver tag 21:17:17 2022-11-10 21:17:16,931 [run_tag] DEBUG tag force:False 21:17:17 2022-11-10 21:17:16,932 [check_head_tag] DEBUG check head tag 21:17:17 2022-11-10 21:17:16,933 [execute] INFO git cat-file --batch-check 21:17:17 2022-11-10 21:17:16,933 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 21:17:17 2022-11-10 21:17:16,937 [execute] INFO git cat-file --batch 21:17:17 2022-11-10 21:17:16,937 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 21:17:17 2022-11-10 21:17:16,963 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:17:17 2022-11-10 21:17:16,963 [execute] INFO git tag -a v2.3.1-dev.1 -m v2.3.1-dev.1 21:17:17 2022-11-10 21:17:16,963 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.1-dev.1', '-m', 'v2.3.1-dev.1'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 21:17:17 2022-11-10 21:17:16,965 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:17:17 2.3.1-dev.1 [Pipeline] } 21:17:17 $ docker exec --env ******** --env ******** da37e5323d257fd061e56549f9f92996081c88f99119a34496f4b6cf5328d8aa ssh-agent -k 21:17:17 unset SSH_AUTH_SOCK; 21:17:17 unset SSH_AGENT_PID; 21:17:17 echo Agent pid 38 killed; 21:17:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:17:17 + git semver [Pipeline] } 21:17:17 $ docker stop --time=1 da37e5323d257fd061e56549f9f92996081c88f99119a34496f4b6cf5328d8aa 21:17:18 $ docker rm -f da37e5323d257fd061e56549f9f92996081c88f99119a34496f4b6cf5328d8aa [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:17:19 21:17:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:17:19 0.23.1-centos7: Pulling from edgex-lftools 21:17:19 ab5ef0e58194: Pulling fs layer 21:17:19 9712f1f96733: Pulling fs layer 21:17:19 63f879dbbcfc: Pulling fs layer 21:17:19 0d9ebad4ef96: Pulling fs layer 21:17:19 e9a5061849ea: Pulling fs layer 21:17:19 d747dcd14b5f: Pulling fs layer 21:17:19 2de7ff778b66: Pulling fs layer 21:17:19 e9a5061849ea: Waiting 21:17:19 d747dcd14b5f: Waiting 21:17:19 2de7ff778b66: Waiting 21:17:19 0d9ebad4ef96: Waiting 21:17:19 9712f1f96733: Verifying Checksum 21:17:19 9712f1f96733: Download complete 21:17:20 63f879dbbcfc: Verifying Checksum 21:17:20 63f879dbbcfc: Download complete 21:17:20 e9a5061849ea: Verifying Checksum 21:17:20 e9a5061849ea: Download complete 21:17:20 0d9ebad4ef96: Verifying Checksum 21:17:20 0d9ebad4ef96: Download complete 21:17:20 ab5ef0e58194: Verifying Checksum 21:17:20 ab5ef0e58194: Download complete 21:17:20 d747dcd14b5f: Verifying Checksum 21:17:20 d747dcd14b5f: Download complete 21:17:20 2de7ff778b66: Verifying Checksum 21:17:20 2de7ff778b66: Download complete 21:17:23 ab5ef0e58194: Pull complete 21:17:23 9712f1f96733: Pull complete 21:17:23 63f879dbbcfc: Pull complete 21:17:27 0d9ebad4ef96: Pull complete 21:17:27 e9a5061849ea: Pull complete 21:17:27 d747dcd14b5f: Pull complete 21:17:28 2de7ff778b66: Pull complete 21:17:28 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:17:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:17:28 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:28 prd-ubuntu20.04-docker-8c-8g-118962 does not seem to be running inside a container 21:17:28 $ 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 21:17:30 $ docker top bd960033526ff96feac33b42a32affa4a9fc5fe126620c7d336adc751d6df7c9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:17:30 provisioning config files... 21:17:30 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8651618635165113174tmp 21:17:30 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12570934556794429011tmp 21:17:30 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11581278442517934693tmp [Pipeline] { [Pipeline] echo 21:17:30 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:17:31 ---> sigul-configuration.sh 21:17:31 gpg: directory `/root/.gnupg' created 21:17:31 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:17:31 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:17:31 gpg: keyring `/root/.gnupg/secring.gpg' created 21:17:31 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:17:31 gpg: CAST5 encrypted data 21:17:31 gpg: encrypted with 1 passphrase 21:17:31 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:17:31 + mkdir /home/jenkins 21:17:31 + mkdir /home/jenkins/sigul [Pipeline] sh 21:17:31 + 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 21:17:31 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:17:31 ---> sigul-install.sh 21:17:31 Sigul already installed; skipping installation. [Pipeline] sh 21:17:32 + git tag --list 21:17:32 v0.0.0 21:17:32 v0.0.1-dev.1 21:17:32 v0.0.1-dev.10 21:17:32 v0.0.1-dev.11 21:17:32 v0.0.1-dev.12 21:17:32 v0.0.1-dev.13 21:17:32 v0.0.1-dev.14 21:17:32 v0.0.1-dev.15 21:17:32 v0.0.1-dev.16 21:17:32 v0.0.1-dev.17 21:17:32 v0.0.1-dev.18 21:17:32 v0.0.1-dev.19 21:17:32 v0.0.1-dev.2 21:17:32 v0.0.1-dev.20 21:17:32 v0.0.1-dev.21 21:17:32 v0.0.1-dev.22 21:17:32 v0.0.1-dev.23 21:17:32 v0.0.1-dev.24 21:17:32 v0.0.1-dev.25 21:17:32 v0.0.1-dev.26 21:17:32 v0.0.1-dev.27 21:17:32 v0.0.1-dev.28 21:17:32 v0.0.1-dev.3 21:17:32 v0.0.1-dev.4 21:17:32 v0.0.1-dev.5 21:17:32 v0.0.1-dev.6 21:17:32 v0.0.1-dev.7 21:17:32 v0.0.1-dev.8 21:17:32 v0.0.1-dev.9 21:17:32 v2.2.0 21:17:32 v2.2.0-dev.29 21:17:32 v2.2.0-dev.30 21:17:32 v2.2.0-dev.31 21:17:32 v2.2.0-dev.32 21:17:32 v2.2.0-dev.33 21:17:32 v2.2.0-dev.34 21:17:32 v2.2.0-dev.35 21:17:32 v2.3.0 21:17:32 v2.3.0-dev.1 21:17:32 v2.3.0-dev.10 21:17:32 v2.3.0-dev.11 21:17:32 v2.3.0-dev.12 21:17:32 v2.3.0-dev.13 21:17:32 v2.3.0-dev.14 21:17:32 v2.3.0-dev.15 21:17:32 v2.3.0-dev.16 21:17:32 v2.3.0-dev.17 21:17:32 v2.3.0-dev.18 21:17:32 v2.3.0-dev.19 21:17:32 v2.3.0-dev.2 21:17:32 v2.3.0-dev.20 21:17:32 v2.3.0-dev.21 21:17:32 v2.3.0-dev.22 21:17:32 v2.3.0-dev.23 21:17:32 v2.3.0-dev.24 21:17:32 v2.3.0-dev.25 21:17:32 v2.3.0-dev.26 21:17:32 v2.3.0-dev.27 21:17:32 v2.3.0-dev.28 21:17:32 v2.3.0-dev.29 21:17:32 v2.3.0-dev.3 21:17:32 v2.3.0-dev.30 21:17:32 v2.3.0-dev.31 21:17:32 v2.3.0-dev.32 21:17:32 v2.3.0-dev.33 21:17:32 v2.3.0-dev.34 21:17:32 v2.3.0-dev.35 21:17:32 v2.3.0-dev.36 21:17:32 v2.3.0-dev.37 21:17:32 v2.3.0-dev.38 21:17:32 v2.3.0-dev.39 21:17:32 v2.3.0-dev.4 21:17:32 v2.3.0-dev.40 21:17:32 v2.3.0-dev.41 21:17:32 v2.3.0-dev.42 21:17:32 v2.3.0-dev.43 21:17:32 v2.3.0-dev.44 21:17:32 v2.3.0-dev.45 21:17:32 v2.3.0-dev.5 21:17:32 v2.3.0-dev.6 21:17:32 v2.3.0-dev.7 21:17:32 v2.3.0-dev.8 21:17:32 v2.3.0-dev.9 21:17:32 v2.3.1-dev.1 [Pipeline] sh 21:17:32 + lftools sign git-tag v2.3.1-dev.1 21:17:33 Signing Git tag with Sigul... 21:17:33 Signing v2.3.1-dev.1 [Pipeline] echo 21:17:33 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:17:33 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:17:33 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:17:33 $ docker stop --time=1 bd960033526ff96feac33b42a32affa4a9fc5fe126620c7d336adc751d6df7c9 21:17:34 $ docker rm -f bd960033526ff96feac33b42a32affa4a9fc5fe126620c7d336adc751d6df7c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:17:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:17:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:17:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:35 prd-ubuntu20.04-docker-8c-8g-118962 does not seem to be running inside a container 21:17:35 $ 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 21:17:36 $ docker top 850117ea79e95096659b94e4104f081a2ff921bf0e29d27cb656a2dd633858d9 -eo pid,comm 21:17:36 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). 21:17:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:17:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:17:36 [ssh-agent] Looking for ssh-agent implementation... 21:17:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:17:36 $ docker exec 850117ea79e95096659b94e4104f081a2ff921bf0e29d27cb656a2dd633858d9 ssh-agent 21:17:36 SSH_AUTH_SOCK=/tmp/ssh-BRjHFHWKsvIa/agent.33 21:17:36 SSH_AGENT_PID=39 21:17:36 Running ssh-add (command line suppressed) 21:17:36 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9814320727427165306.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9814320727427165306.key) 21:17:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:17:36 + git semver bump pre 21:17:37 2022-11-10 21:17:36,953 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:17:37 2022-11-10 21:17:36,954 [bump_version] DEBUG bumping version:2.3.1-dev.1 on axis:pre with prefix:dev 21:17:37 2022-11-10 21:17:36,954 [bump_version] DEBUG bumped version:2.3.1-dev.2 21:17:37 2022-11-10 21:17:36,954 [write_version] DEBUG write version:2.3.1-dev.2 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 21:17:37 2022-11-10 21:17:36,954 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:17:37 2022-11-10 21:17:36,954 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 21:17:37 2022-11-10 21:17:36,956 [execute] INFO git cat-file --batch-check 21:17:37 2022-11-10 21:17:36,956 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 21:17:37 2022-11-10 21:17:36,961 [execute] INFO git cat-file --batch 21:17:37 2022-11-10 21:17:36,961 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 21:17:37 2022-11-10 21:17:36,966 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:17:37 2.3.1-dev.2 [Pipeline] } 21:17:37 $ docker exec --env ******** --env ******** 850117ea79e95096659b94e4104f081a2ff921bf0e29d27cb656a2dd633858d9 ssh-agent -k 21:17:37 unset SSH_AUTH_SOCK; 21:17:37 unset SSH_AGENT_PID; 21:17:37 echo Agent pid 39 killed; 21:17:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:17:37 + git semver [Pipeline] } 21:17:37 $ docker stop --time=1 850117ea79e95096659b94e4104f081a2ff921bf0e29d27cb656a2dd633858d9 21:17:39 $ docker rm -f 850117ea79e95096659b94e4104f081a2ff921bf0e29d27cb656a2dd633858d9 [Pipeline] // withDockerContainer [Pipeline] sh 21:17:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:17:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:17:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:39 prd-ubuntu20.04-docker-8c-8g-118962 does not seem to be running inside a container 21:17:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:17:40 $ docker top 2199f2bee8bf727a89a24db8f20acfa38a73bde4df49f02849a56b545b8af811 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:17:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:17:40 [ssh-agent] Looking for ssh-agent implementation... 21:17:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:17:40 $ docker exec 2199f2bee8bf727a89a24db8f20acfa38a73bde4df49f02849a56b545b8af811 ssh-agent 21:17:40 SSH_AUTH_SOCK=/tmp/ssh-eeNlHZpQJYTA/agent.32 21:17:40 SSH_AGENT_PID=38 21:17:40 Running ssh-add (command line suppressed) 21:17:40 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6308006505960323361.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6308006505960323361.key) 21:17:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:17:40 + git semver push 21:17:41 2022-11-10 21:17:41,140 [run_push] DEBUG push 21:17:41 2022-11-10 21:17:41,140 [execute] INFO git cat-file --batch-check 21:17:41 2022-11-10 21:17:41,140 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 21:17:41 2022-11-10 21:17:41,143 [execute] INFO git rev-list 4b9cca1d16a603123f531e4613148addf0b4c289 -- 21:17:41 2022-11-10 21:17:41,143 [execute] DEBUG Popen(['git', 'rev-list', '4b9cca1d16a603123f531e4613148addf0b4c289', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 21:17:41 2022-11-10 21:17:41,149 [execute] INFO git fetch -v origin 21:17:41 2022-11-10 21:17:41,150 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 21:17:41 2022-11-10 21:17:41,753 [run_push] DEBUG no remote changes detected 21:17:41 2022-11-10 21:17:41,754 [execute] INFO git push origin semver 21:17:41 2022-11-10 21:17:41,754 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 21:17:42 2022-11-10 21:17:42,598 [run_push] DEBUG push all version tags 21:17:42 2022-11-10 21:17:42,599 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:17:42 2022-11-10 21:17:42,599 [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) 21:17:43 2022-11-10 21:17:43,376 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:17:43 2.3.1-dev.2 [Pipeline] } 21:17:43 $ docker exec --env ******** --env ******** 2199f2bee8bf727a89a24db8f20acfa38a73bde4df49f02849a56b545b8af811 ssh-agent -k 21:17:43 unset SSH_AUTH_SOCK; 21:17:43 unset SSH_AGENT_PID; 21:17:43 echo Agent pid 38 killed; 21:17:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:17:44 + git semver [Pipeline] } 21:17:44 $ docker stop --time=1 2199f2bee8bf727a89a24db8f20acfa38a73bde4df49f02849a56b545b8af811 21:17:45 $ docker rm -f 2199f2bee8bf727a89a24db8f20acfa38a73bde4df49f02849a56b545b8af811 [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 21:17:46 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 21:17:46 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 21:17:46 total 16 21:17:46 drwxr-xr-x 3 root root 4096 Nov 10 21:08 . 21:17:46 drwxrwxr-x 11 jenkins jenkins 4096 Nov 10 21:17 .. 21:17:46 drwxr-xr-x 2 root root 4096 Nov 10 21:08 cost 21:17:46 -rw-r--r-- 1 root root 90 Nov 10 21:08 cost.csv 21:17:46 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 21:17:46 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 21:17:46 total 16 21:17:46 drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 21:08 . 21:17:46 drwxrwxr-x 11 jenkins jenkins 4096 Nov 10 21:17 .. 21:17:46 drwxr-xr-x 2 jenkins jenkins 4096 Nov 10 21:08 cost 21:17:46 -rw-r--r-- 1 jenkins jenkins 90 Nov 10 21:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:17:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:17:47 ---> package-listing.sh 21:17:47 ++ facter osfamily 21:17:47 ++ tr '[:upper:]' '[:lower:]' 21:17:47 + OS_FAMILY=debian 21:17:47 + workspace=/w/workspace/foundry_device-onvif-camera_main 21:17:47 + START_PACKAGES=/tmp/packages_start.txt 21:17:47 + END_PACKAGES=/tmp/packages_end.txt 21:17:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:17:47 + PACKAGES=/tmp/packages_start.txt 21:17:47 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 21:17:47 + PACKAGES=/tmp/packages_end.txt 21:17:47 + case "${OS_FAMILY}" in 21:17:47 + dpkg -l 21:17:47 + grep '^ii' 21:17:47 + '[' -f /tmp/packages_start.txt ']' 21:17:47 + '[' -f /tmp/packages_end.txt ']' 21:17:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:17:47 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 21:17:47 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 21:17:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 21:17:47 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 21:17:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:17:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:48 prd-ubuntu20.04-docker-8c-8g-118962 does not seem to be running inside a container 21:17:48 $ 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 21:17:48 $ docker top 1f39e60d76806a6893593c5e80894b354bc78bb719450f63af03b638b2aa7807 -eo pid,comm [Pipeline] { [Pipeline] sh 21:17:49 + touch /tmp/pre-build-complete [Pipeline] sh 21:17:49 + mkdir -p /var/log/sysstat [Pipeline] sh 21:17:49 + ls /var/log/sa-host 21:17:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:17:50 provisioning config files... 21:17:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4663564740450166726tmp [Pipeline] { [Pipeline] echo 21:17:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:17:50 ---> create-netrc.sh [Pipeline] } 21:17:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:17:50 ---> python-tools-install.sh [Pipeline] echo 21:17:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:17:50 ---> sudo-logs.sh 21:17:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:17:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:17:51 ---> job-cost.sh 21:17:51 lf-activate-venv: SKIPPING 21:17:51 DEBUG: total: 0.2199999988079071 21:17:51 INFO: Retrieving Stack Cost... 21:17:51 INFO: Retrieving Pricing Info for: v3-standard-8 21:17:52 INFO: Archiving Costs [Pipeline] echo 21:17:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:17:52 ---> logs-deploy.sh 21:17:52 lf-activate-venv: SKIPPING 21:17:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/89 21:17:52 INFO: archiving workspace using pattern(s): 21:17:53 Archives upload complete. 21:17:53 INFO: archiving logs to Nexus