Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c32d12cb3f3d5bd786ac66f0af1d84994387a230 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-ssh14847490168982129772.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh11615241945456123602.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh11012132204692567749.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh13209381662839178425.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-ssh3960422648495168018.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-8398 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 c32d12cb3f3d5bd786ac66f0af1d84994387a230 (main) Commit message: "docs: updated date in onvif function info (#177)" > git config core.sparsecheckout # timeout=10 > git checkout -f c32d12cb3f3d5bd786ac66f0af1d84994387a230 # timeout=10 > git rev-list --no-walk 45b6d688c6e97385f61642aadc73fdb1f0b5c87c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:48:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:48:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:48:17 ========================================================= 19:48:17 EdgeX Global Pipelines Version Info 19:48:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:48:18 ------------------- 19:48:18 stable info: 19:48:18 ------------------- 19:48:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:48:18 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 19:48:18 Message: update stable to v1.0.243 19:48:19 ------------------- 19:48:19 experimental info: 19:48:19 ------------------- 19:48:19 Commited By: **** collab-it+edgex@linuxfoundation.org 19:48:19 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 19:48:19 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c32d12cb3f3d5bd786ac66f0af1d84994387a230 [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c32d12c [Pipeline] echo 19:48:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:48:19 provisioning config files... 19:48:19 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6930259782317302333tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:48:20 ---> docker-login.sh 19:48:20 nexus3.edgexfoundry.org:10001 19:48:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:20 Configure a credential helper to remove this warning. See 19:48:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:20 19:48:20 Login Succeeded 19:48:20 nexus3.edgexfoundry.org:10002 19:48:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:20 Configure a credential helper to remove this warning. See 19:48:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:20 19:48:20 Login Succeeded 19:48:20 nexus3.edgexfoundry.org:10003 19:48:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:21 Configure a credential helper to remove this warning. See 19:48:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:21 19:48:21 Login Succeeded 19:48:21 nexus3.edgexfoundry.org:10004 19:48:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:21 Configure a credential helper to remove this warning. See 19:48:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:21 19:48:21 Login Succeeded 19:48:21 docker.io 19:48:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:21 Configure a credential helper to remove this warning. See 19:48:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:21 19:48:21 Login Succeeded 19:48:21 ---> docker-login.sh ends [Pipeline] } 19:48:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:48:21 + git rev-list -1 --merges c32d12cb3f3d5bd786ac66f0af1d84994387a230~1..c32d12cb3f3d5bd786ac66f0af1d84994387a230 [Pipeline] echo 19:48:22 -----------> git rev-list -1 --merges c32d12cb3f3d5bd786ac66f0af1d84994387a230~1..c32d12cb3f3d5bd786ac66f0af1d84994387a230 c32d12cb3f3d5bd786ac66f0af1d84994387a230 [false] [Pipeline] sh 19:48:22 + git log --format=format:%s -1 c32d12cb3f3d5bd786ac66f0af1d84994387a230 [Pipeline] echo 19:48:22 ========================================================= 19:48:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:48:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:48:22 + git log --format=format:%s -1 c32d12cb3f3d5bd786ac66f0af1d84994387a230 [Pipeline] echo 19:48:22 [semverPrep] GIT_COMMIT: c32d12cb3f3d5bd786ac66f0af1d84994387a230, Commit Message: docs: updated date in onvif function info (#177) [Pipeline] echo 19:48:22 [semverPrep] This is not a build commit. [Pipeline] sh 19:48:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:48:23 + grep -v github /etc/ssh/ssh_known_hosts 19:48:23 + [ -e /tmp/ssh_known_hosts ] 19:48:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:48:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:48:23 + sudo tee -a /etc/ssh/ssh_known_hosts 19:48:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:48:23 19:48:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:48:23 0.1.4: Pulling from edgex-devops/py-git-semver 19:48:23 b85a868b505f: Pulling fs layer 19:48:23 e2be974225ed: Pulling fs layer 19:48:23 339a4e72a1f5: Pulling fs layer 19:48:23 988bab9f4d93: Pulling fs layer 19:48:23 1469e6f7b9e6: Pulling fs layer 19:48:23 eaf3925da568: Pulling fs layer 19:48:23 bab4dde63d76: Pulling fs layer 19:48:23 bde34c3a00c8: Pulling fs layer 19:48:23 b352a97aabf1: Pulling fs layer 19:48:23 4872d77fe225: Pulling fs layer 19:48:23 5851b861e8e6: Pulling fs layer 19:48:23 eaf3925da568: Waiting 19:48:23 1469e6f7b9e6: Waiting 19:48:23 b352a97aabf1: Waiting 19:48:23 4872d77fe225: Waiting 19:48:23 5851b861e8e6: Waiting 19:48:23 988bab9f4d93: Waiting 19:48:23 bde34c3a00c8: Waiting 19:48:23 bab4dde63d76: Waiting 19:48:23 e2be974225ed: Verifying Checksum 19:48:23 e2be974225ed: Download complete 19:48:23 988bab9f4d93: Verifying Checksum 19:48:23 988bab9f4d93: Download complete 19:48:23 1469e6f7b9e6: Verifying Checksum 19:48:23 1469e6f7b9e6: Download complete 19:48:24 eaf3925da568: Download complete 19:48:24 339a4e72a1f5: Verifying Checksum 19:48:24 339a4e72a1f5: Download complete 19:48:24 bde34c3a00c8: Download complete 19:48:24 b352a97aabf1: Download complete 19:48:24 4872d77fe225: Download complete 19:48:24 5851b861e8e6: Download complete 19:48:24 b85a868b505f: Verifying Checksum 19:48:24 b85a868b505f: Download complete 19:48:24 bab4dde63d76: Verifying Checksum 19:48:24 bab4dde63d76: Download complete 19:48:25 b85a868b505f: Pull complete 19:48:25 e2be974225ed: Pull complete 19:48:26 339a4e72a1f5: Pull complete 19:48:26 988bab9f4d93: Pull complete 19:48:26 1469e6f7b9e6: Pull complete 19:48:26 eaf3925da568: Pull complete 19:48:28 bab4dde63d76: Pull complete 19:48:28 bde34c3a00c8: Pull complete 19:48:28 b352a97aabf1: Pull complete 19:48:28 4872d77fe225: Pull complete 19:48:28 5851b861e8e6: Pull complete 19:48:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:48:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:48:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:48:28 prd-ubuntu20.04-docker-8c-8g-8398 does not seem to be running inside a container 19:48:28 $ 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 19:48:30 $ docker top 223472a46f9177a8afc7c5030ab76747de1dbbeeaac2dff54416b6d43e60381e -eo pid,comm 19:48:30 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). 19:48:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:48:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:48:30 [ssh-agent] Looking for ssh-agent implementation... 19:48:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:48:30 $ docker exec 223472a46f9177a8afc7c5030ab76747de1dbbeeaac2dff54416b6d43e60381e ssh-agent 19:48:30 SSH_AUTH_SOCK=/tmp/ssh-luxuIxHADCMj/agent.32 19:48:30 SSH_AGENT_PID=38 19:48:30 Running ssh-add (command line suppressed) 19:48:30 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17973539025539340847.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17973539025539340847.key) 19:48:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:48:31 + git tag --points-at HEAD [Pipeline] } 19:48:31 $ docker exec --env ******** --env ******** 223472a46f9177a8afc7c5030ab76747de1dbbeeaac2dff54416b6d43e60381e ssh-agent -k 19:48:31 unset SSH_AUTH_SOCK; 19:48:31 unset SSH_AGENT_PID; 19:48:31 echo Agent pid 38 killed; 19:48:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:48:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:48:31 [ssh-agent] Looking for ssh-agent implementation... 19:48:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:48:31 $ docker exec 223472a46f9177a8afc7c5030ab76747de1dbbeeaac2dff54416b6d43e60381e ssh-agent 19:48:31 SSH_AUTH_SOCK=/tmp/ssh-fKA2w6nPEWgg/agent.70 19:48:31 SSH_AGENT_PID=76 19:48:31 Running ssh-add (command line suppressed) 19:48:31 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7115807374567561251.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7115807374567561251.key) 19:48:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:48:31 + git semver init 19:48:32 2022-10-17 19:48:32,175 [run_init] DEBUG init version:0.0.0 force:False 19:48:32 2022-10-17 19:48:32,175 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 19:48:32 2022-10-17 19:48:32,176 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 19:48:32 2022-10-17 19:48:32,176 [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) 19:48:33 2022-10-17 19:48:33,202 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 19:48:33 2022-10-17 19:48:33,202 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 19:48:33 2022-10-17 19:48:33,202 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:48:33 2022-10-17 19:48:33,203 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:48:33 2.3.0-dev.35 [Pipeline] } 19:48:33 $ docker exec --env ******** --env ******** 223472a46f9177a8afc7c5030ab76747de1dbbeeaac2dff54416b6d43e60381e ssh-agent -k 19:48:33 unset SSH_AUTH_SOCK; 19:48:33 unset SSH_AGENT_PID; 19:48:33 echo Agent pid 76 killed; 19:48:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:48:34 + git semver [Pipeline] } 19:48:34 $ docker stop --time=1 223472a46f9177a8afc7c5030ab76747de1dbbeeaac2dff54416b6d43e60381e 19:48:35 $ docker rm -f 223472a46f9177a8afc7c5030ab76747de1dbbeeaac2dff54416b6d43e60381e [Pipeline] // withDockerContainer [Pipeline] sh 19:48:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:48:36 Stashed 1 file(s) [Pipeline] echo 19:48:36 [edgeXSemver]: initialized semver on version 2.3.0-dev.35 [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 19:48:36 provisioning config files... 19:48:36 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3569370631711715986tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:48:36 ---> docker-login.sh 19:48:36 nexus3.edgexfoundry.org:10001 19:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:36 Configure a credential helper to remove this warning. See 19:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:36 19:48:36 Login Succeeded 19:48:36 nexus3.edgexfoundry.org:10002 19:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:36 Configure a credential helper to remove this warning. See 19:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:36 19:48:36 Login Succeeded 19:48:36 nexus3.edgexfoundry.org:10003 19:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:36 Configure a credential helper to remove this warning. See 19:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:36 19:48:36 Login Succeeded 19:48:36 nexus3.edgexfoundry.org:10004 19:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:36 Configure a credential helper to remove this warning. See 19:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:36 19:48:36 Login Succeeded 19:48:36 docker.io 19:48:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:37 Configure a credential helper to remove this warning. See 19:48:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:37 19:48:37 Login Succeeded 19:48:37 ---> docker-login.sh ends [Pipeline] } 19:48:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:48:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:48:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:48:37 ========================================================= 19:48:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 19:48:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:37 + 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 . 19:48:37 Sending build context to Docker daemon 21.31MB 19:48:37 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 19:48:37 Step 2/14 : FROM ${BASE} AS builder 19:48:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 19:48:38 213ec9aee27d: Pulling fs layer 19:48:38 4583459ba037: Pulling fs layer 19:48:38 93c1e223e6f2: Pulling fs layer 19:48:38 53926ce57604: Pulling fs layer 19:48:38 21b2b0c7a3f4: Pulling fs layer 19:48:38 30f14e443154: Pulling fs layer 19:48:38 801331c1e519: Pulling fs layer 19:48:38 99cc6dd402b0: Pulling fs layer 19:48:38 7d9ed39f4882: Pulling fs layer 19:48:38 53926ce57604: Waiting 19:48:38 21b2b0c7a3f4: Waiting 19:48:38 99cc6dd402b0: Waiting 19:48:38 7d9ed39f4882: Waiting 19:48:38 30f14e443154: Waiting 19:48:38 801331c1e519: Waiting 19:48:38 93c1e223e6f2: Verifying Checksum 19:48:38 93c1e223e6f2: Download complete 19:48:38 4583459ba037: Verifying Checksum 19:48:38 4583459ba037: Download complete 19:48:38 21b2b0c7a3f4: Verifying Checksum 19:48:38 21b2b0c7a3f4: Download complete 19:48:38 30f14e443154: Verifying Checksum 19:48:38 30f14e443154: Download complete 19:48:38 213ec9aee27d: Verifying Checksum 19:48:38 213ec9aee27d: Download complete 19:48:38 801331c1e519: Verifying Checksum 19:48:38 801331c1e519: Download complete 19:48:38 213ec9aee27d: Pull complete 19:48:38 4583459ba037: Pull complete 19:48:38 93c1e223e6f2: Pull complete 19:48:38 7d9ed39f4882: Verifying Checksum 19:48:38 7d9ed39f4882: Download complete 19:48:38 99cc6dd402b0: Verifying Checksum 19:48:38 99cc6dd402b0: Download complete 19:48:38 53926ce57604: Verifying Checksum 19:48:38 53926ce57604: Download complete 19:48:43 53926ce57604: Pull complete 19:48:43 21b2b0c7a3f4: Pull complete 19:48:43 30f14e443154: Pull complete 19:48:43 801331c1e519: Pull complete 19:48:44 99cc6dd402b0: Pull complete 19:48:45 7d9ed39f4882: Pull complete 19:48:45 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 19:48:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 19:48:45 ---> 1dedd983c030 19:48:45 Step 3/14 : ARG ADD_BUILD_TAGS="" 19:48:46 ---> Running in 292cb93c62c9 19:48:47 Removing intermediate container 292cb93c62c9 19:48:47 ---> 4cf204df2000 19:48:47 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:48:47 ---> Running in 9b5fe376edcd 19:48:47 Removing intermediate container 9b5fe376edcd 19:48:47 ---> 479e079b6d08 19:48:47 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 19:48:47 ---> Running in af82b294fb1b 19:48:47 Removing intermediate container af82b294fb1b 19:48:47 ---> f52ba53773dc 19:48:47 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 19:48:47 ---> Running in df48310ade36 19:48:47 Removing intermediate container df48310ade36 19:48:47 ---> d1f8f4f8ca63 19:48:47 Step 7/14 : LABEL Name=edgex-device-onvif-camera 19:48:47 ---> Running in 2d9fc112f6ab 19:48:47 Removing intermediate container 2d9fc112f6ab 19:48:47 ---> 4b4ecb98fc9b 19:48:47 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:48:47 ---> Running in 4100bcf5077b 19:48:48 Removing intermediate container 4100bcf5077b 19:48:48 ---> b9020fded3c3 19:48:48 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:48:48 ---> Running in e0e34a4e3639 19:48:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:48:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:48:49 OK: 211 MiB in 51 packages 19:48:49 Removing intermediate container e0e34a4e3639 19:48:49 ---> 0ce52e8d2417 19:48:49 Step 10/14 : WORKDIR /device-onvif-camera 19:48:49 ---> Running in f84a72e4cd36 19:48:50 Removing intermediate container f84a72e4cd36 19:48:50 ---> 90a3e22f6adf 19:48:50 Step 11/14 : COPY go.mod vendor* ./ 19:48:50 ---> 130e4918a4ed 19:48:50 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:48:50 ---> Running in f50ebe7cd9c4 19:48:51 Still waiting to schedule task 19:48:51 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:49:12 Removing intermediate container f50ebe7cd9c4 19:49:12 ---> f68292a91c3b 19:49:12 Step 13/14 : COPY . . 19:49:12 ---> aa7ac0f86f11 19:49:12 Step 14/14 : RUN ${MAKE} 19:49:12 ---> Running in 725b2fe354e3 19:49:13 noop 19:49:13 Removing intermediate container 725b2fe354e3 19:49:13 ---> 083afa4b96ee 19:49:13 Successfully built 083afa4b96ee 19:49:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:49:13 + docker inspect -f . ci-base-image-x86_64 19:49:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:49:13 prd-ubuntu20.04-docker-8c-8g-8398 does not seem to be running inside a container 19:49:13 $ 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 19:49:14 $ docker top e13d20bd8c1045e0aea44a8b23fba14b438dcdf5623fbde84149e0f1a5019eae -eo pid,comm [Pipeline] { [Pipeline] sh 19:49:14 + go version 19:49:14 go version go1.18.7 linux/amd64 [Pipeline] } 19:49:14 $ docker stop --time=1 e13d20bd8c1045e0aea44a8b23fba14b438dcdf5623fbde84149e0f1a5019eae 19:49:15 $ docker rm -f e13d20bd8c1045e0aea44a8b23fba14b438dcdf5623fbde84149e0f1a5019eae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:49:16 + docker inspect -f . ci-base-image-x86_64 19:49:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:49:16 prd-ubuntu20.04-docker-8c-8g-8398 does not seem to be running inside a container 19:49:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:49:16 $ docker top acf98196373a079228c6330f34d3309f6bcbd386f510638a6d020ce0da387109 -eo pid,comm [Pipeline] { [Pipeline] sh 19:49:16 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 19:49:17 + make test 19:49:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:49:17 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:49:29 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:49:29 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.035s coverage: 28.2% of statements 19:49:29 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:49:29 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.517s coverage: 86.5% of statements 19:49:38 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." 19:49:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:49:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:49:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:49:42 ./bin/test-attribution-txt.sh [Pipeline] echo 19:49:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:49:42 $ docker stop --time=1 acf98196373a079228c6330f34d3309f6bcbd386f510638a6d020ce0da387109 19:49:44 $ docker rm -f acf98196373a079228c6330f34d3309f6bcbd386f510638a6d020ce0da387109 [Pipeline] // withDockerContainer [Pipeline] sh 19:49:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:49:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:49:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:49:45 + ls -al . 19:49:45 total 236 19:49:45 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 19:49 . 19:49:45 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 19:48 .. 19:49:45 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 19:49 .git 19:49:45 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 19:48 .github 19:49:45 -rw-rw-r-- 1 jenkins jenkins 496 Oct 17 19:48 .gitignore 19:49:45 -rw-rw-r-- 1 jenkins jenkins 42 Oct 17 19:48 .golangci.yml 19:49:45 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 19:48 .semver 19:49:45 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 17 19:48 Attribution.txt 19:49:45 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 17 19:48 CHANGELOG.md 19:49:45 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 17 19:48 Dockerfile 19:49:45 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 19:48 GOVERNANCE.md 19:49:45 -rw-rw-r-- 1 jenkins jenkins 734 Oct 17 19:48 Jenkinsfile 19:49:45 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 17 19:48 LICENSE 19:49:45 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 17 19:48 Makefile 19:49:45 -rw-rw-r-- 1 jenkins jenkins 625 Oct 17 19:48 OWNERS.md 19:49:45 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 17 19:48 README.md 19:49:45 -rw-rw-r-- 1 jenkins jenkins 12 Oct 17 19:48 VERSION 19:49:45 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 19:48 bin 19:49:45 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 19:48 cmd 19:49:45 -rw-r--r-- 1 jenkins jenkins 78636 Oct 17 19:49 coverage.out 19:49:45 drwxrwxr-x 6 jenkins jenkins 4096 Oct 17 19:48 doc 19:49:45 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 17 19:48 go.mod 19:49:45 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 17 19:48 go.sum 19:49:45 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 19:48 internal 19:49:45 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 19:48 snap 19:49:45 -rw-rw-r-- 1 jenkins jenkins 236 Oct 17 19:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:49:46 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=c32d12cb3f3d5bd786ac66f0af1d84994387a230 --label arch=amd64 --label version=2.3.0-dev.35 . 19:49:46 Sending build context to Docker daemon 21.39MB 19:49:46 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 19:49:46 Step 2/27 : FROM ${BASE} AS builder 19:49:46 ---> 083afa4b96ee 19:49:46 Step 3/27 : ARG ADD_BUILD_TAGS="" 19:49:46 ---> Running in 716dce941231 19:49:46 Removing intermediate container 716dce941231 19:49:46 ---> ae150d236c56 19:49:46 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:49:46 ---> Running in 79af0a84b806 19:49:46 Removing intermediate container 79af0a84b806 19:49:46 ---> 08462b7a7763 19:49:46 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 19:49:46 ---> Running in cc758e4bbda0 19:49:46 Removing intermediate container cc758e4bbda0 19:49:46 ---> 744083573abb 19:49:46 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 19:49:46 ---> Running in 43808f217f72 19:49:46 Removing intermediate container 43808f217f72 19:49:46 ---> 31ea7bf637ca 19:49:46 Step 7/27 : LABEL Name=edgex-device-onvif-camera 19:49:46 ---> Running in d43b3e4acdd0 19:49:46 Removing intermediate container d43b3e4acdd0 19:49:46 ---> d0e5842f5db3 19:49:46 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:49:46 ---> Running in a1c3c304a1b0 19:49:47 Removing intermediate container a1c3c304a1b0 19:49:47 ---> da2ca5defa9f 19:49:47 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:49:47 ---> Running in a2ae9f0e3007 19:49:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:49:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:49:49 OK: 211 MiB in 51 packages 19:49:49 Removing intermediate container a2ae9f0e3007 19:49:49 ---> 884be9355d81 19:49:49 Step 10/27 : WORKDIR /device-onvif-camera 19:49:49 ---> Running in 357bc2c1ed11 19:49:49 Removing intermediate container 357bc2c1ed11 19:49:49 ---> a541a6ca1523 19:49:49 Step 11/27 : COPY go.mod vendor* ./ 19:49:49 ---> 3ce7915f052b 19:49:49 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:49:49 ---> Running in b91e287ff625 19:49:50 Removing intermediate container b91e287ff625 19:49:50 ---> a725b8ae2711 19:49:50 Step 13/27 : COPY . . 19:49:51 ---> 3bd9df28e852 19:49:51 Step 14/27 : RUN ${MAKE} 19:49:51 ---> Running in 39c1036cb7eb 19:49:51 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.35 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 19:50:18 Removing intermediate container 39c1036cb7eb 19:50:18 ---> 315d2d6f6bae 19:50:18 Step 15/27 : FROM alpine:3.16 19:50:18 3.16: Pulling from library/alpine 19:50:18 213ec9aee27d: Already exists 19:50:18 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 19:50:18 Status: Downloaded newer image for alpine:3.16 19:50:18 ---> 9c6f07244728 19:50:18 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:50:18 ---> Running in ddb74c4331aa 19:50:18 Removing intermediate container ddb74c4331aa 19:50:18 ---> 8fb027bd41a4 19:50:18 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 19:50:18 ---> Running in 30ad33898a8e 19:50:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:50:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:50:18 (1/6) Installing dumb-init (1.2.5-r1) 19:50:18 (2/6) Installing libgcc (11.2.1_git20220219-r2) 19:50:18 (3/6) Installing libsodium (1.0.18-r0) 19:50:18 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 19:50:18 (5/6) Installing libzmq (4.3.4-r0) 19:50:18 (6/6) Installing zeromq (4.3.4-r0) 19:50:18 Executing busybox-1.35.0-r17.trigger 19:50:18 OK: 8 MiB in 20 packages 19:50:18 Removing intermediate container 30ad33898a8e 19:50:18 ---> f7f06b49081d 19:50:18 Step 18/27 : WORKDIR / 19:50:18 ---> Running in 52efdcb33ac7 19:50:18 Removing intermediate container 52efdcb33ac7 19:50:18 ---> d081b8b62a2f 19:50:18 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 19:50:18 ---> 4821dfa7b8fd 19:50:18 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 19:50:18 ---> 1de6ecb180b9 19:50:18 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 19:50:18 ---> 9d9da624237d 19:50:18 Step 22/27 : EXPOSE 59984 19:50:18 ---> Running in 3298d3f88994 19:50:18 Removing intermediate container 3298d3f88994 19:50:18 ---> 435e43b17073 19:50:18 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 19:50:18 ---> Running in 6d525edcde88 19:50:18 Removing intermediate container 6d525edcde88 19:50:18 ---> d4fa20f5d93a 19:50:18 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:50:18 ---> Running in aa303a3dec67 19:50:18 Removing intermediate container aa303a3dec67 19:50:18 ---> 98498aebedf2 19:50:18 Step 25/27 : LABEL arch=amd64 19:50:18 ---> Running in 70450df99308 19:50:18 Removing intermediate container 70450df99308 19:50:18 ---> 315e8b00ecc5 19:50:18 Step 26/27 : LABEL git_sha=c32d12cb3f3d5bd786ac66f0af1d84994387a230 19:50:18 ---> Running in c86c339d2a5d 19:50:18 Removing intermediate container c86c339d2a5d 19:50:18 ---> f1fd330d5ba4 19:50:18 Step 27/27 : LABEL version=2.3.0-dev.35 19:50:18 ---> Running in c74ce47d8049 19:50:18 Removing intermediate container c74ce47d8049 19:50:18 ---> 3941467e2561 19:50:18 [Warning] One or more build-args [ARCH] were not consumed 19:50:18 Successfully built 3941467e2561 19:50:18 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 19:50:18 provisioning config files... 19:50:18 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3558784268416685018tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:50:18 ---> docker-login.sh 19:50:18 nexus3.edgexfoundry.org:10001 19:50:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:50:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:50:18 Configure a credential helper to remove this warning. See 19:50:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:50:18 19:50:18 Login Succeeded 19:50:18 nexus3.edgexfoundry.org:10002 19:50:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:50:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:50:18 Configure a credential helper to remove this warning. See 19:50:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:50:18 19:50:18 Login Succeeded 19:50:18 nexus3.edgexfoundry.org:10003 19:50:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:50:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:50:18 Configure a credential helper to remove this warning. See 19:50:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:50:18 19:50:18 Login Succeeded 19:50:18 nexus3.edgexfoundry.org:10004 19:50:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:50:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:50:18 Configure a credential helper to remove this warning. See 19:50:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:50:18 19:50:18 Login Succeeded 19:50:18 docker.io 19:50:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:50:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:50:19 Configure a credential helper to remove this warning. See 19:50:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:50:19 19:50:19 Login Succeeded 19:50:19 ---> docker-login.sh ends [Pipeline] } 19:50:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:50:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:50:19 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 19:50:19 c32d12cb3f3d5bd786ac66f0af1d84994387a230 19:50:19 latest 19:50:19 2.3.0-dev.35 19:50:19 c32d12cb3f3d5bd786ac66f0af1d84994387a230-2.3.0-dev.35 19:50:19 main 19:50:19 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:19 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:c32d12cb3f3d5bd786ac66f0af1d84994387a230 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:19 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:c32d12cb3f3d5bd786ac66f0af1d84994387a230 19:50:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 19:50:19 1a33c2b8189d: Preparing 19:50:19 2661fd841dbb: Preparing 19:50:19 096aed33253b: Preparing 19:50:19 729cb68e9822: Preparing 19:50:19 994393dc58e7: Preparing 19:50:19 994393dc58e7: Layer already exists 19:50:19 1a33c2b8189d: Pushed 19:50:19 2661fd841dbb: Pushed 19:50:20 729cb68e9822: Pushed 19:50:22 096aed33253b: Pushed 19:50:23 c32d12cb3f3d5bd786ac66f0af1d84994387a230: digest: sha256:463af84cad96c2f397157a71fc8970f23aa5415a9360693ee1611b54e9767dfb size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:23 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8399 in /w/workspace/foundry_device-onvif-camera_main 19:50:23 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 19:50:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 19:50:23 1a33c2b8189d: Preparing 19:50:23 2661fd841dbb: Preparing 19:50:23 096aed33253b: Preparing 19:50:23 729cb68e9822: Preparing 19:50:23 994393dc58e7: Preparing 19:50:23 1a33c2b8189d: Layer already exists 19:50:23 2661fd841dbb: Layer already exists 19:50:23 096aed33253b: Layer already exists 19:50:23 994393dc58e7: Layer already exists 19:50:23 729cb68e9822: Layer already exists 19:50:23 latest: digest: sha256:463af84cad96c2f397157a71fc8970f23aa5415a9360693ee1611b54e9767dfb size: 1367 [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] ws 19:50:23 Running in /w/workspace/device-onvif-camera/74 [Pipeline] { [Pipeline] checkout [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 19:50:23 The recommended git tool is: git [Pipeline] sh 19:50:24 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.35 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:24 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.35 19:50:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 19:50:24 1a33c2b8189d: Preparing 19:50:24 2661fd841dbb: Preparing 19:50:24 096aed33253b: Preparing 19:50:24 729cb68e9822: Preparing 19:50:24 994393dc58e7: Preparing 19:50:24 994393dc58e7: Layer already exists 19:50:24 1a33c2b8189d: Layer already exists 19:50:24 2661fd841dbb: Layer already exists 19:50:24 729cb68e9822: Layer already exists 19:50:24 096aed33253b: Layer already exists 19:50:24 2.3.0-dev.35: digest: sha256:463af84cad96c2f397157a71fc8970f23aa5415a9360693ee1611b54e9767dfb size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:24 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:c32d12cb3f3d5bd786ac66f0af1d84994387a230-2.3.0-dev.35 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:24 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:c32d12cb3f3d5bd786ac66f0af1d84994387a230-2.3.0-dev.35 19:50:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 19:50:24 1a33c2b8189d: Preparing 19:50:24 2661fd841dbb: Preparing 19:50:24 096aed33253b: Preparing 19:50:24 729cb68e9822: Preparing 19:50:24 994393dc58e7: Preparing 19:50:24 994393dc58e7: Layer already exists 19:50:24 2661fd841dbb: Layer already exists 19:50:24 096aed33253b: Layer already exists 19:50:24 1a33c2b8189d: Layer already exists 19:50:24 729cb68e9822: Layer already exists 19:50:24 c32d12cb3f3d5bd786ac66f0af1d84994387a230-2.3.0-dev.35: digest: sha256:463af84cad96c2f397157a71fc8970f23aa5415a9360693ee1611b54e9767dfb size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:25 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:25 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 19:50:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 19:50:25 1a33c2b8189d: Preparing 19:50:25 2661fd841dbb: Preparing 19:50:25 096aed33253b: Preparing 19:50:25 729cb68e9822: Preparing 19:50:25 994393dc58e7: Preparing 19:50:25 994393dc58e7: Layer already exists 19:50:25 729cb68e9822: Layer already exists 19:50:25 2661fd841dbb: Layer already exists 19:50:25 096aed33253b: Layer already exists 19:50:25 1a33c2b8189d: Layer already exists 19:50:25 main: digest: sha256:463af84cad96c2f397157a71fc8970f23aa5415a9360693ee1611b54e9767dfb size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:50:25 ===================================================== [Pipeline] echo 19:50:25 taggedImages: 19:50:25 - nexus3.edgexfoundry.org:10004/device-onvif-camera:c32d12cb3f3d5bd786ac66f0af1d84994387a230 19:50:25 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 19:50:25 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.35 19:50:25 - nexus3.edgexfoundry.org:10004/device-onvif-camera:c32d12cb3f3d5bd786ac66f0af1d84994387a230-2.3.0-dev.35 19:50:25 - 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 19:50:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:50:26 19:50:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:50:26 latest: Pulling from edgex-lftools-log-publisher 19:50:26 5eb5b503b376: Pulling fs layer 19:50:26 5c69ac0246d0: Pulling fs layer 19:50:26 ec43610c2a17: Pulling fs layer 19:50:26 3a2ae6a8a46f: Pulling fs layer 19:50:26 33b1e0a273af: Pulling fs layer 19:50:26 5d3b04190fa2: Pulling fs layer 19:50:26 2f39f015ded8: Pulling fs layer 19:50:26 33b1e0a273af: Waiting 19:50:26 5d3b04190fa2: Waiting 19:50:26 2f39f015ded8: Waiting 19:50:26 3a2ae6a8a46f: Waiting 19:50:26 5c69ac0246d0: Download complete 19:50:26 3a2ae6a8a46f: Verifying Checksum 19:50:26 3a2ae6a8a46f: Download complete 19:50:26 33b1e0a273af: Verifying Checksum 19:50:26 33b1e0a273af: Download complete 19:50:26 ec43610c2a17: Verifying Checksum 19:50:26 ec43610c2a17: Download complete 19:50:26 5d3b04190fa2: Download complete 19:50:26 5eb5b503b376: Download complete 19:50:27 2f39f015ded8: Download complete 19:50:27 5eb5b503b376: Pull complete 19:50:27 5c69ac0246d0: Pull complete 19:50:28 using credential edgex-jenkins-ssh 19:50:28 Cloning the remote Git repository 19:50:28 ec43610c2a17: Pull complete 19:50:28 3a2ae6a8a46f: Pull complete 19:50:28 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 19:50:28 > git init /w/workspace/device-onvif-camera/74 # timeout=10 19:50:28 33b1e0a273af: Pull complete 19:50:28 5d3b04190fa2: Pull complete 19:50:28 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 19:50:28 > git --version # timeout=10 19:50:28 > git --version # 'git version 2.25.1' 19:50:28 using GIT_SSH to set credentials SSH Credentials for GitHub 19:50:28 Verifying host key using known hosts file 19:50:29 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. 19:50:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:50:31 Avoid second fetch 19:50:31 Checking out Revision c32d12cb3f3d5bd786ac66f0af1d84994387a230 (main) 19:50:30 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 19:50:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:50:31 > git config core.sparsecheckout # timeout=10 19:50:31 > git checkout -f c32d12cb3f3d5bd786ac66f0af1d84994387a230 # timeout=10 19:50:31 Commit message: "docs: updated date in onvif function info (#177)" 19:50:32 19:50:32 GitHub has been notified of this commit’s build result 19:50:32 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:50:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:50:32 % Total % Received % Xferd Average Speed Time Time Time Current 19:50:32 Dload Upload Total Spent Left Speed 19:50:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 66326 0 --:--:-- --:--:-- --:--:-- 66326 [Pipeline] sh 19:50:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:50:33 + sudo tee /etc/docker/daemon.new 19:50:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:50:33 { 19:50:33 "registry-mirrors": [ 19:50:33 "https://nexus3.edgexfoundry.org:10001" 19:50:33 ], 19:50:33 "bip": "10.250.0.254/24", 19:50:33 "hosts": [ 19:50:33 "tcp://0.0.0.0:5555", 19:50:33 "unix:///var/run/docker.sock" 19:50:33 ], 19:50:33 "mtu": 1458, 19:50:33 "selinux-enabled": true, 19:50:33 "seccomp-profile": "/etc/docker/seccomp.json" 19:50:33 } [Pipeline] sh 19:50:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:50:34 2f39f015ded8: Pull complete 19:50:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:50:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:50:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:50:34 prd-ubuntu20.04-docker-8c-8g-8398 does not seem to be running inside a container 19:50:34 $ 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 19:50:34 + sudo service docker restart 19:50:38 $ docker top 58044cdf9217eadbe5902b9b81f7cf224d90003439d87645e94e5bee6521cebd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:50:38 ---> job-cost.sh 19:50:38 lf-activate-venv: SKIPPING 19:50:38 INFO: No Stack... 19:50:38 INFO: Retrieving Pricing Info for: v3-standard-8 19:50:39 INFO: Archiving Costs [Pipeline] sh 19:50:39 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 19:50:39 + cut -d, -f6 [Pipeline] lock 19:50:39 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-74-stack-cost] 19:50:39 Resource [jenkins-edgexfoundry-device-onvif-camera-main-74-stack-cost] did not exist. Created. 19:50:39 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-74-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:50:39 + echo total: 0.2199999988079071 [Pipeline] stash 19:50:39 Stashed 1 file(s) [Pipeline] } 19:50:39 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-74-stack-cost] [Pipeline] // lock [Pipeline] } 19:50:39 $ docker stop --time=1 58044cdf9217eadbe5902b9b81f7cf224d90003439d87645e94e5bee6521cebd 19:50:40 $ docker rm -f 58044cdf9217eadbe5902b9b81f7cf224d90003439d87645e94e5bee6521cebd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:50:52 provisioning config files... 19:50:52 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/74@tmp/config2034050199123029008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:50:52 ---> docker-login.sh 19:50:52 nexus3.edgexfoundry.org:10001 19:50:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:50:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:50:53 Configure a credential helper to remove this warning. See 19:50:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:50:53 19:50:53 Login Succeeded 19:50:53 nexus3.edgexfoundry.org:10002 19:50:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:50:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:50:53 Configure a credential helper to remove this warning. See 19:50:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:50:53 19:50:53 Login Succeeded 19:50:53 nexus3.edgexfoundry.org:10003 19:50:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:50:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:50:54 Configure a credential helper to remove this warning. See 19:50:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:50:54 19:50:54 Login Succeeded 19:50:54 nexus3.edgexfoundry.org:10004 19:50:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:50:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:50:54 Configure a credential helper to remove this warning. See 19:50:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:50:54 19:50:54 Login Succeeded 19:50:54 docker.io 19:50:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:50:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:50:55 Configure a credential helper to remove this warning. See 19:50:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:50:55 19:50:55 Login Succeeded 19:50:55 ---> docker-login.sh ends [Pipeline] } 19:50:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:50:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:50:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:50:55 ========================================================= 19:50:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 19:50:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:55 + 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 . 19:50:56 Sending build context to Docker daemon 14.68MB 19:50:56 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 19:50:56 Step 2/14 : FROM ${BASE} AS builder 19:50:56 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:50:56 9b18e9b68314: Pulling fs layer 19:50:56 d32db5db7311: Pulling fs layer 19:50:56 d0c4b47475fc: Pulling fs layer 19:50:56 5831b945b038: Pulling fs layer 19:50:56 86bbec2aaacd: Pulling fs layer 19:50:56 e10730c5d714: Pulling fs layer 19:50:56 5dd5c2283517: Pulling fs layer 19:50:56 d5ac0230b979: Pulling fs layer 19:50:56 5831b945b038: Waiting 19:50:56 86bbec2aaacd: Waiting 19:50:56 e10730c5d714: Waiting 19:50:56 5dd5c2283517: Waiting 19:50:56 d5ac0230b979: Waiting 19:50:56 d0c4b47475fc: Verifying Checksum 19:50:56 d0c4b47475fc: Download complete 19:50:56 d32db5db7311: Verifying Checksum 19:50:56 d32db5db7311: Download complete 19:50:56 86bbec2aaacd: Verifying Checksum 19:50:56 86bbec2aaacd: Download complete 19:50:56 e10730c5d714: Verifying Checksum 19:50:56 e10730c5d714: Download complete 19:50:56 9b18e9b68314: Verifying Checksum 19:50:57 9b18e9b68314: Pull complete 19:50:57 d5ac0230b979: Verifying Checksum 19:50:57 d5ac0230b979: Download complete 19:50:57 d32db5db7311: Pull complete 19:50:57 d0c4b47475fc: Pull complete 19:50:58 5dd5c2283517: Verifying Checksum 19:50:58 5dd5c2283517: Download complete 19:50:59 5831b945b038: Verifying Checksum 19:50:59 5831b945b038: Download complete 19:51:11 5831b945b038: Pull complete 19:51:11 86bbec2aaacd: Pull complete 19:51:11 e10730c5d714: Pull complete 19:51:18 5dd5c2283517: Pull complete 19:51:19 d5ac0230b979: Pull complete 19:51:19 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 19:51:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 19:51:19 ---> 59b3b1a385d4 19:51:19 Step 3/14 : ARG ADD_BUILD_TAGS="" 19:51:21 ---> Running in 48dc8a8df404 19:51:21 Removing intermediate container 48dc8a8df404 19:51:21 ---> c75d73af64e2 19:51:21 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:51:21 ---> Running in 5a79af454223 19:51:21 Removing intermediate container 5a79af454223 19:51:21 ---> f25bb51a4077 19:51:21 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 19:51:21 ---> Running in 1bd79785230e 19:51:21 Removing intermediate container 1bd79785230e 19:51:21 ---> 02d4127b716a 19:51:21 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 19:51:21 ---> Running in ebb62e5d78a2 19:51:22 Removing intermediate container ebb62e5d78a2 19:51:22 ---> 42b933002f69 19:51:22 Step 7/14 : LABEL Name=edgex-device-onvif-camera 19:51:22 ---> Running in 1db89e408c31 19:51:22 Removing intermediate container 1db89e408c31 19:51:22 ---> fd3310953c67 19:51:22 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:51:22 ---> Running in d69b87137dc5 19:51:25 Removing intermediate container d69b87137dc5 19:51:25 ---> 286f4d09f7c3 19:51:25 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:51:25 ---> Running in f1018ed821c2 19:51:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:51:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:51:28 OK: 221 MiB in 51 packages 19:51:28 Removing intermediate container f1018ed821c2 19:51:28 ---> 6c9169560b00 19:51:28 Step 10/14 : WORKDIR /device-onvif-camera 19:51:28 ---> Running in 2760fdede16e 19:51:29 Removing intermediate container 2760fdede16e 19:51:29 ---> d8917077c29a 19:51:29 Step 11/14 : COPY go.mod vendor* ./ 19:51:29 ---> e72eec5b66d4 19:51:29 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:51:29 ---> Running in f83223eb99bd 19:52:26 Removing intermediate container f83223eb99bd 19:52:26 ---> ef4d8d38953b 19:52:26 Step 13/14 : COPY . . 19:52:26 ---> f9c7039aec6f 19:52:26 Step 14/14 : RUN ${MAKE} 19:52:26 ---> Running in 7c0a7135d0d9 19:52:26 noop 19:52:26 Removing intermediate container 7c0a7135d0d9 19:52:26 ---> 40557fd19e58 19:52:26 Successfully built 40557fd19e58 19:52:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:52:26 + docker inspect -f . ci-base-image-arm64 19:52:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:52:26 prd-ubuntu20.04-docker-arm64-4c-16g-8399 does not seem to be running inside a container 19:52:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/74 -v /w/workspace/device-onvif-camera/74:/w/workspace/device-onvif-camera/74:rw,z -v /w/workspace/device-onvif-camera/74@tmp:/w/workspace/device-onvif-camera/74@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 19:52:27 $ docker top 5df88ed767a11f51e0318c2a8eddcc4256e17f592ba774ac72ec02f3a0d16820 -eo pid,comm [Pipeline] { [Pipeline] sh 19:52:28 + go version 19:52:28 go version go1.18.7 linux/arm64 [Pipeline] } 19:52:28 $ docker stop --time=1 5df88ed767a11f51e0318c2a8eddcc4256e17f592ba774ac72ec02f3a0d16820 19:52:30 $ docker rm -f 5df88ed767a11f51e0318c2a8eddcc4256e17f592ba774ac72ec02f3a0d16820 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:52:30 + docker inspect -f . ci-base-image-arm64 19:52:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:52:30 prd-ubuntu20.04-docker-arm64-4c-16g-8399 does not seem to be running inside a container 19:52:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/74 -v /w/workspace/device-onvif-camera/74:/w/workspace/device-onvif-camera/74:rw,z -v /w/workspace/device-onvif-camera/74@tmp:/w/workspace/device-onvif-camera/74@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 19:52:32 $ docker top 22fe5dcd77131876d72a632987f5a93c3f220e7dae6e658b6f9f0c485aaba8ff -eo pid,comm [Pipeline] { [Pipeline] sh 19:52:32 + git config --global --add safe.directory /w/workspace/device-onvif-camera/74 [Pipeline] fileExists [Pipeline] sh 19:52:33 + make test 19:52:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:52:34 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:54:11 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:54:11 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.196s coverage: 28.2% of statements 19:54:11 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:54:26 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.300s coverage: 86.5% of statements 19:54:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:54:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:54:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:54:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:54:53 ./bin/test-attribution-txt.sh [Pipeline] echo 19:54:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:54:53 $ docker stop --time=1 22fe5dcd77131876d72a632987f5a93c3f220e7dae6e658b6f9f0c485aaba8ff 19:54:54 $ docker rm -f 22fe5dcd77131876d72a632987f5a93c3f220e7dae6e658b6f9f0c485aaba8ff [Pipeline] // withDockerContainer [Pipeline] sh 19:54:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:54:55 Warning: overwriting stash ‘coverage-report’ 19:54:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:54:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:54:57 + ls -al . 19:54:57 total 232 19:54:57 drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 19:52 . 19:54:57 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 19:50 .. 19:54:57 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 19:50 .git 19:54:57 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 19:50 .github 19:54:57 -rw-rw-r-- 1 jenkins jenkins 496 Oct 17 19:50 .gitignore 19:54:57 -rw-rw-r-- 1 jenkins jenkins 42 Oct 17 19:50 .golangci.yml 19:54:57 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 17 19:50 Attribution.txt 19:54:57 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 17 19:50 CHANGELOG.md 19:54:57 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 17 19:50 Dockerfile 19:54:57 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 19:50 GOVERNANCE.md 19:54:57 -rw-rw-r-- 1 jenkins jenkins 734 Oct 17 19:50 Jenkinsfile 19:54:57 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 17 19:50 LICENSE 19:54:57 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 17 19:50 Makefile 19:54:57 -rw-rw-r-- 1 jenkins jenkins 625 Oct 17 19:50 OWNERS.md 19:54:57 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 17 19:50 README.md 19:54:57 -rw-rw-r-- 1 jenkins jenkins 12 Oct 17 19:48 VERSION 19:54:57 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 19:50 bin 19:54:57 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 19:50 cmd 19:54:57 -rw-r--r-- 1 jenkins jenkins 78636 Oct 17 19:54 coverage.out 19:54:57 drwxrwxr-x 6 jenkins jenkins 4096 Oct 17 19:50 doc 19:54:57 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 17 19:50 go.mod 19:54:57 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 17 19:50 go.sum 19:54:57 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 19:50 internal 19:54:57 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 19:50 snap 19:54:57 -rw-rw-r-- 1 jenkins jenkins 236 Oct 17 19:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:54:58 + 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=c32d12cb3f3d5bd786ac66f0af1d84994387a230 --label arch=arm64 --label version=2.3.0-dev.35 . 19:54:58 Sending build context to Docker daemon 14.76MB 19:54:58 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 19:54:58 Step 2/27 : FROM ${BASE} AS builder 19:54:58 ---> 40557fd19e58 19:54:58 Step 3/27 : ARG ADD_BUILD_TAGS="" 19:54:59 ---> Running in 9cabcb15a1d2 19:54:59 Removing intermediate container 9cabcb15a1d2 19:54:59 ---> 3eb9052ccc00 19:54:59 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:54:59 ---> Running in 0acfea62e5e1 19:55:00 Removing intermediate container 0acfea62e5e1 19:55:00 ---> ec92a1802541 19:55:00 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 19:55:00 ---> Running in fecf8936d122 19:55:00 Removing intermediate container fecf8936d122 19:55:00 ---> 014014d00a3e 19:55:00 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 19:55:01 ---> Running in fe06c53282a4 19:55:01 Removing intermediate container fe06c53282a4 19:55:01 ---> 9d58b032d60b 19:55:01 Step 7/27 : LABEL Name=edgex-device-onvif-camera 19:55:01 ---> Running in 5ea661dafae6 19:55:01 Removing intermediate container 5ea661dafae6 19:55:01 ---> 4f65527bc179 19:55:01 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:55:01 ---> Running in e58c7cf51903 19:55:03 Removing intermediate container e58c7cf51903 19:55:03 ---> 93a60de7fa7a 19:55:03 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:55:03 ---> Running in de626b500235 19:55:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:55:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:55:06 OK: 221 MiB in 51 packages 19:55:07 Removing intermediate container de626b500235 19:55:07 ---> 17f91d283559 19:55:07 Step 10/27 : WORKDIR /device-onvif-camera 19:55:07 ---> Running in 1c7830739cee 19:55:08 Removing intermediate container 1c7830739cee 19:55:08 ---> 47301d79957f 19:55:08 Step 11/27 : COPY go.mod vendor* ./ 19:55:08 ---> e6f640e9314b 19:55:08 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:55:08 ---> Running in fa20de7c6ae0 19:55:10 Removing intermediate container fa20de7c6ae0 19:55:10 ---> 7db48377d0f0 19:55:10 Step 13/27 : COPY . . 19:55:12 ---> 6321d13fb515 19:55:12 Step 14/27 : RUN ${MAKE} 19:55:12 ---> Running in 4f1bb2b632e7 19:55:13 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.35 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 19:57:50 Removing intermediate container 4f1bb2b632e7 19:57:50 ---> 155be210fe82 19:57:50 Step 15/27 : FROM alpine:3.16 19:57:50 3.16: Pulling from library/alpine 19:57:50 9b18e9b68314: Already exists 19:57:50 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 19:57:50 Status: Downloaded newer image for alpine:3.16 19:57:50 ---> a6215f271958 19:57:50 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:57:50 ---> Running in cacb4323b630 19:57:50 Removing intermediate container cacb4323b630 19:57:50 ---> ccfdd0f9e015 19:57:50 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 19:57:50 ---> Running in bedf4d8222b6 19:57:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:57:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:57:50 (1/6) Installing dumb-init (1.2.5-r1) 19:57:50 (2/6) Installing libgcc (11.2.1_git20220219-r2) 19:57:50 (3/6) Installing libsodium (1.0.18-r0) 19:57:50 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 19:57:50 (5/6) Installing libzmq (4.3.4-r0) 19:57:50 (6/6) Installing zeromq (4.3.4-r0) 19:57:50 Executing busybox-1.35.0-r17.trigger 19:57:50 OK: 8 MiB in 20 packages 19:57:50 Removing intermediate container bedf4d8222b6 19:57:50 ---> e47fff2d61ba 19:57:50 Step 18/27 : WORKDIR / 19:57:50 ---> Running in 0f5f9093fa10 19:57:50 Removing intermediate container 0f5f9093fa10 19:57:50 ---> d913ba23101a 19:57:50 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 19:57:50 ---> 7ea559be37d7 19:57:50 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 19:57:50 ---> c605cd46b00c 19:57:50 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 19:57:50 ---> f10bd9045adf 19:57:50 Step 22/27 : EXPOSE 59984 19:57:50 ---> Running in 470f638c8be0 19:57:50 Removing intermediate container 470f638c8be0 19:57:50 ---> 68a91f7ee116 19:57:50 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 19:57:50 ---> Running in fa1500403163 19:57:50 Removing intermediate container fa1500403163 19:57:50 ---> b225d040b4b6 19:57:50 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:57:50 ---> Running in fe3e6b512744 19:57:50 Removing intermediate container fe3e6b512744 19:57:50 ---> 51e82ee341fc 19:57:50 Step 25/27 : LABEL arch=arm64 19:57:50 ---> Running in c2352d459435 19:57:50 Removing intermediate container c2352d459435 19:57:50 ---> da27556ae0fc 19:57:50 Step 26/27 : LABEL git_sha=c32d12cb3f3d5bd786ac66f0af1d84994387a230 19:57:50 ---> Running in b3dc0ae13a64 19:57:50 Removing intermediate container b3dc0ae13a64 19:57:50 ---> 8ee7dd92acb1 19:57:50 Step 27/27 : LABEL version=2.3.0-dev.35 19:57:50 ---> Running in 5a37aabad376 19:57:50 Removing intermediate container 5a37aabad376 19:57:50 ---> fdae19ecc35b 19:57:50 [Warning] One or more build-args [ARCH] were not consumed 19:57:50 Successfully built fdae19ecc35b 19:57:50 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 19:57:50 provisioning config files... 19:57:50 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/74@tmp/config14781627513948567488tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:57:50 ---> docker-login.sh 19:57:50 nexus3.edgexfoundry.org:10001 19:57:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:57:50 Configure a credential helper to remove this warning. See 19:57:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:57:50 19:57:50 Login Succeeded 19:57:50 nexus3.edgexfoundry.org:10002 19:57:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:57:51 Configure a credential helper to remove this warning. See 19:57:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:57:51 19:57:51 Login Succeeded 19:57:51 nexus3.edgexfoundry.org:10003 19:57:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:57:51 Configure a credential helper to remove this warning. See 19:57:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:57:51 19:57:51 Login Succeeded 19:57:51 nexus3.edgexfoundry.org:10004 19:57:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:57:52 Configure a credential helper to remove this warning. See 19:57:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:57:52 19:57:52 Login Succeeded 19:57:52 docker.io 19:57:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:57:52 Configure a credential helper to remove this warning. See 19:57:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:57:52 19:57:52 Login Succeeded 19:57:52 ---> docker-login.sh ends [Pipeline] } 19:57:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:57:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:57:52 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 19:57:52 c32d12cb3f3d5bd786ac66f0af1d84994387a230 19:57:52 latest 19:57:52 2.3.0-dev.35 19:57:52 c32d12cb3f3d5bd786ac66f0af1d84994387a230-2.3.0-dev.35 19:57:52 main 19:57:52 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:57:52 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c32d12cb3f3d5bd786ac66f0af1d84994387a230 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:57:53 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c32d12cb3f3d5bd786ac66f0af1d84994387a230 19:57:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 19:57:53 fcaec8324e8f: Preparing 19:57:53 89f8c309427b: Preparing 19:57:53 0f211daf26de: Preparing 19:57:53 eadad9cd7b8f: Preparing 19:57:53 5d3e392a13a0: Preparing 19:57:53 5d3e392a13a0: Layer already exists 19:57:53 89f8c309427b: Pushed 19:57:53 fcaec8324e8f: Pushed 19:57:54 eadad9cd7b8f: Pushed 19:57:59 0f211daf26de: Pushed 19:57:59 c32d12cb3f3d5bd786ac66f0af1d84994387a230: digest: sha256:503bc001fa4ae05c004fd0cdd1b85adc3d956a504cc7c7fda46d941f20d8c3a2 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:57:59 + 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 19:58:00 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 19:58:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 19:58:00 fcaec8324e8f: Preparing 19:58:00 89f8c309427b: Preparing 19:58:00 0f211daf26de: Preparing 19:58:00 eadad9cd7b8f: Preparing 19:58:00 5d3e392a13a0: Preparing 19:58:00 89f8c309427b: Layer already exists 19:58:00 0f211daf26de: Layer already exists 19:58:00 eadad9cd7b8f: Layer already exists 19:58:00 fcaec8324e8f: Layer already exists 19:58:00 5d3e392a13a0: Layer already exists 19:58:00 latest: digest: sha256:503bc001fa4ae05c004fd0cdd1b85adc3d956a504cc7c7fda46d941f20d8c3a2 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:58:00 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.35 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:58:00 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.35 19:58:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 19:58:00 fcaec8324e8f: Preparing 19:58:00 89f8c309427b: Preparing 19:58:00 0f211daf26de: Preparing 19:58:00 eadad9cd7b8f: Preparing 19:58:00 5d3e392a13a0: Preparing 19:58:00 eadad9cd7b8f: Layer already exists 19:58:00 5d3e392a13a0: Layer already exists 19:58:00 89f8c309427b: Layer already exists 19:58:00 0f211daf26de: Layer already exists 19:58:00 fcaec8324e8f: Layer already exists 19:58:00 2.3.0-dev.35: digest: sha256:503bc001fa4ae05c004fd0cdd1b85adc3d956a504cc7c7fda46d941f20d8c3a2 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:58:01 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c32d12cb3f3d5bd786ac66f0af1d84994387a230-2.3.0-dev.35 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:58:01 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c32d12cb3f3d5bd786ac66f0af1d84994387a230-2.3.0-dev.35 19:58:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 19:58:01 fcaec8324e8f: Preparing 19:58:01 89f8c309427b: Preparing 19:58:01 0f211daf26de: Preparing 19:58:01 eadad9cd7b8f: Preparing 19:58:01 5d3e392a13a0: Preparing 19:58:01 fcaec8324e8f: Layer already exists 19:58:01 eadad9cd7b8f: Layer already exists 19:58:01 5d3e392a13a0: Layer already exists 19:58:01 89f8c309427b: Layer already exists 19:58:01 0f211daf26de: Layer already exists 19:58:01 c32d12cb3f3d5bd786ac66f0af1d84994387a230-2.3.0-dev.35: digest: sha256:503bc001fa4ae05c004fd0cdd1b85adc3d956a504cc7c7fda46d941f20d8c3a2 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:58:01 + 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 19:58:02 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 19:58:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 19:58:02 fcaec8324e8f: Preparing 19:58:02 89f8c309427b: Preparing 19:58:02 0f211daf26de: Preparing 19:58:02 eadad9cd7b8f: Preparing 19:58:02 5d3e392a13a0: Preparing 19:58:02 5d3e392a13a0: Layer already exists 19:58:02 fcaec8324e8f: Layer already exists 19:58:02 eadad9cd7b8f: Layer already exists 19:58:02 89f8c309427b: Layer already exists 19:58:02 0f211daf26de: Layer already exists 19:58:02 main: digest: sha256:503bc001fa4ae05c004fd0cdd1b85adc3d956a504cc7c7fda46d941f20d8c3a2 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:58:02 ===================================================== [Pipeline] echo 19:58:02 taggedImages: 19:58:02 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c32d12cb3f3d5bd786ac66f0af1d84994387a230 19:58:02 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 19:58:02 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.35 19:58:02 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c32d12cb3f3d5bd786ac66f0af1d84994387a230-2.3.0-dev.35 19:58:02 - 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 19:58:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:58:02 19:58:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:58:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:58:03 arm64: Pulling from edgex-lftools-log-publisher 19:58:03 8998bd30e6a1: Pulling fs layer 19:58:03 04944245beec: Pulling fs layer 19:58:03 699f458cf7ca: Pulling fs layer 19:58:03 765212b225bb: Pulling fs layer 19:58:03 f23df028b6ca: Pulling fs layer 19:58:03 d65c8cfc05b1: Pulling fs layer 19:58:03 2437ff75d9bd: Pulling fs layer 19:58:03 765212b225bb: Waiting 19:58:03 d65c8cfc05b1: Waiting 19:58:03 f23df028b6ca: Waiting 19:58:03 2437ff75d9bd: Waiting 19:58:03 04944245beec: Verifying Checksum 19:58:03 04944245beec: Download complete 19:58:03 765212b225bb: Verifying Checksum 19:58:03 765212b225bb: Download complete 19:58:03 f23df028b6ca: Verifying Checksum 19:58:03 f23df028b6ca: Download complete 19:58:03 d65c8cfc05b1: Verifying Checksum 19:58:03 d65c8cfc05b1: Download complete 19:58:03 699f458cf7ca: Verifying Checksum 19:58:03 699f458cf7ca: Download complete 19:58:04 8998bd30e6a1: Verifying Checksum 19:58:04 8998bd30e6a1: Download complete 19:58:06 2437ff75d9bd: Verifying Checksum 19:58:06 2437ff75d9bd: Download complete 19:58:08 8998bd30e6a1: Pull complete 19:58:08 04944245beec: Pull complete 19:58:10 699f458cf7ca: Pull complete 19:58:10 765212b225bb: Pull complete 19:58:11 f23df028b6ca: Pull complete 19:58:11 d65c8cfc05b1: Pull complete 19:58:26 2437ff75d9bd: Pull complete 19:58:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:58:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:58:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:58:26 prd-ubuntu20.04-docker-arm64-4c-16g-8399 does not seem to be running inside a container 19:58:26 $ 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/74 -v /w/workspace/device-onvif-camera/74:/w/workspace/device-onvif-camera/74:rw,z -v /w/workspace/device-onvif-camera/74@tmp:/w/workspace/device-onvif-camera/74@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 19:58:29 $ docker top be40538f7fe4f19ba8334ffb2cf527bbec453556b0a620f5525ffb4169927492 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:58:30 ---> job-cost.sh 19:58:30 lf-activate-venv: SKIPPING 19:58:30 INFO: No Stack... 19:58:30 INFO: Retrieving Pricing Info for: v3-standard-4 19:58:31 INFO: Archiving Costs [Pipeline] sh 19:58:31 + cut -d, -f6 19:58:31 + cat /w/workspace/device-onvif-camera/74/archives/cost.csv [Pipeline] lock 19:58:31 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-74-stack-cost] 19:58:31 Resource [jenkins-edgexfoundry-device-onvif-camera-main-74-stack-cost] did not exist. Created. 19:58:31 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-74-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:58:32 /w/workspace/device-onvif-camera/74@tmp/durable-435d1f2d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:58:32 + echo total: 0.10999999940395355 [Pipeline] stash 19:58:32 Warning: overwriting stash ‘stack-cost’ 19:58:32 Stashed 1 file(s) [Pipeline] } 19:58:32 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-74-stack-cost] [Pipeline] // lock [Pipeline] } 19:58:32 $ docker stop --time=1 be40538f7fe4f19ba8334ffb2cf527bbec453556b0a620f5525ffb4169927492 19:58:34 $ docker rm -f be40538f7fe4f19ba8334ffb2cf527bbec453556b0a620f5525ffb4169927492 [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 19:58:34 provisioning config files... 19:58:34 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14269007282151467405tmp [Pipeline] { [Pipeline] sh 19:58:35 + set +x 19:58:35 + curl -s https://codecov.io/bash 19:58:35 + bash -s -- 19:58:35 19:58:35 _____ _ 19:58:35 / ____| | | 19:58:35 | | ___ __| | ___ ___ _____ __ 19:58:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:58:35 | |___| (_) | (_| | __/ (_| (_) \ V / 19:58:35 \_____\___/ \__,_|\___|\___\___/ \_/ 19:58:35 Bash-1.0.6 19:58:35 19:58:35 19:58:35 ==> git version 2.25.1 found 19:58:35 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 19:58:35 Release-Date: 2020-01-08 19:58:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:58:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:58:35 ==> Jenkins CI detected. 19:58:35 current dir:  /w/workspace/foundry_device-onvif-camera_main 19:58:35 project root: . 19:58:35 --> token set from env 19:58:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:58:35 ==> Running gcov in . (disable via -X gcov) 19:58:35 ==> Python coveragepy not found 19:58:35 ==> Searching for coverage reports in: 19:58:35 + . 19:58:35 -> Found 1 reports 19:58:35 ==> Detecting git/mercurial file structure 19:58:35 ==> Reading reports 19:58:35 + ./coverage.out bytes=78636 19:58:35 ==> Appending adjustments 19:58:35 https://docs.codecov.io/docs/fixing-reports 19:58:35 + Found adjustments 19:58:35 ==> Gzipping contents 19:58:35 12K /tmp/codecov.kAc2KY.gz 19:58:35 ==> Uploading reports 19:58:35 url: https://codecov.io 19:58:35 query: branch=main&commit=c32d12cb3f3d5bd786ac66f0af1d84994387a230&build=74&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F74%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 19:58:35 -> Pinging Codecov 19:58:35 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=c32d12cb3f3d5bd786ac66f0af1d84994387a230&build=74&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F74%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 19:58:36 -> Uploading to 19:58:36 https://storage.googleapis.com/codecov/v4/raw/2022-10-17/F29A59C45E3A92E06B3E522C9905F8EF/c32d12cb3f3d5bd786ac66f0af1d84994387a230/b2fa6990-5cda-4b85-8d94-6fdb00d2e190.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T195836Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=14b85ffaa757e083ab7d73cb6c0a009b508d517141ddccb922c1d358e0af03af 19:58:36 % Total % Received % Xferd Average Speed Time Time Time Current 19:58:36 Dload Upload Total Spent Left Speed 19:58:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10796 0 0 100 10796 0 42503 --:--:-- --:--:-- --:--:-- 42503 19:58:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/c32d12cb3f3d5bd786ac66f0af1d84994387a230 [Pipeline] } 19:58:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 19:58:36 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 19:58:36 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:58:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:58:37 19:58:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:58:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:58:37 1.410.4: Pulling from edgex-devops/edgex-snyk-go 19:58:37 df9b9388f04a: Pulling fs layer 19:58:37 52dc419b0ee2: Pulling fs layer 19:58:37 25bc292e5bac: Pulling fs layer 19:58:37 114826534d7a: Pulling fs layer 19:58:37 4657fd5d0bcf: Pulling fs layer 19:58:37 6ad1cebc031e: Pulling fs layer 19:58:37 8a3aa393b2d8: Pulling fs layer 19:58:37 114826534d7a: Waiting 19:58:37 4657fd5d0bcf: Waiting 19:58:37 6ad1cebc031e: Waiting 19:58:37 8a3aa393b2d8: Waiting 19:58:37 25bc292e5bac: Verifying Checksum 19:58:37 25bc292e5bac: Download complete 19:58:37 52dc419b0ee2: Verifying Checksum 19:58:37 52dc419b0ee2: Download complete 19:58:37 4657fd5d0bcf: Verifying Checksum 19:58:37 4657fd5d0bcf: Download complete 19:58:37 df9b9388f04a: Download complete 19:58:37 6ad1cebc031e: Verifying Checksum 19:58:37 6ad1cebc031e: Download complete 19:58:37 df9b9388f04a: Pull complete 19:58:37 52dc419b0ee2: Pull complete 19:58:37 25bc292e5bac: Pull complete 19:58:38 114826534d7a: Verifying Checksum 19:58:38 114826534d7a: Download complete 19:58:38 8a3aa393b2d8: Verifying Checksum 19:58:38 8a3aa393b2d8: Download complete 19:58:41 114826534d7a: Pull complete 19:58:41 4657fd5d0bcf: Pull complete 19:58:41 6ad1cebc031e: Pull complete 19:58:45 8a3aa393b2d8: Pull complete 19:58:45 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 19:58:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:58:45 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:58:45 prd-ubuntu20.04-docker-8c-8g-8398 does not seem to be running inside a container 19:58:45 $ 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 19:58:47 $ docker top a14f9b0c3848d6f9fc0eb46728d0d163225fdb7552239c2af719aff2d6fdc279 -eo pid,comm [Pipeline] { [Pipeline] echo 19:58:47 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 19:58:47 + set -o pipefail 19:58:47 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 19:58:53 19:58:53 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 19:58:53 19:58:53 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/16d60400-cef8-4a5a-8b48-157c643fcd40 19:58:53 19:58:53 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 19:58:53 19:58:53 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 19:58:53 19:58:53 19:58:53 A medium severity vulnerability was found in the Snyk CLI versions you are using. 19:58:53 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 19:58:53 More details here: https://snyk.co/ue1NS [Pipeline] } 19:58:53 $ docker stop --time=1 a14f9b0c3848d6f9fc0eb46728d0d163225fdb7552239c2af719aff2d6fdc279 19:58:57 $ docker rm -f a14f9b0c3848d6f9fc0eb46728d0d163225fdb7552239c2af719aff2d6fdc279 [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 19:58:57 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:58:57 provisioning config files... 19:58:57 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8100739869546703602tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:58:57 --> edgex-publish-swagger.sh 19:58:57 === Publish doc/openapi/v2 API === 19:58:57 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 19:58:57 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 19:58:57 % Total % Received % Xferd Average Speed Time Time Time Current 19:58:57 Dload Upload Total Spent Left Speed 19:58:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 406k 0 0 100 406k 0 394k 0:00:01 0:00:01 --:--:-- 394k 100 406k 0 0 100 406k 0 394k 0:00:01 0:00:01 --:--:-- 394k 19:58:58 19:58:58 [Pipeline] } 19:58:58 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 19:58:59 + git log --format=format:%s -1 c32d12cb3f3d5bd786ac66f0af1d84994387a230 [Pipeline] sh 19:58:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:58:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:58:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:58:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:58:59 prd-ubuntu20.04-docker-8c-8g-8398 does not seem to be running inside a container 19:58:59 $ 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 19:59:00 $ docker top 4e3c035825b3629828f6d453a0186a9c7aa1f82afb8049d7fe8ef961d1f93fbf -eo pid,comm 19:59:00 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). 19:59:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:59:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:59:00 [ssh-agent] Looking for ssh-agent implementation... 19:59:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:59:00 $ docker exec 4e3c035825b3629828f6d453a0186a9c7aa1f82afb8049d7fe8ef961d1f93fbf ssh-agent 19:59:00 SSH_AUTH_SOCK=/tmp/ssh-PkKwr4bz98YP/agent.32 19:59:00 SSH_AGENT_PID=38 19:59:00 Running ssh-add (command line suppressed) 19:59:00 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2191098918855393379.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2191098918855393379.key) 19:59:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:59:00 + git semver tag 19:59:01 2022-10-17 19:59:01,090 [run_tag] DEBUG tag force:False 19:59:01 2022-10-17 19:59:01,090 [check_head_tag] DEBUG check head tag 19:59:01 2022-10-17 19:59:01,091 [execute] INFO git cat-file --batch-check 19:59:01 2022-10-17 19:59:01,091 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 19:59:01 2022-10-17 19:59:01,095 [execute] INFO git cat-file --batch 19:59:01 2022-10-17 19:59:01,095 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 19:59:01 2022-10-17 19:59:01,117 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:59:01 2022-10-17 19:59:01,117 [execute] INFO git tag -a v2.3.0-dev.35 -m v2.3.0-dev.35 19:59:01 2022-10-17 19:59:01,118 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.35', '-m', 'v2.3.0-dev.35'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 19:59:01 2022-10-17 19:59:01,122 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:59:01 2.3.0-dev.35 [Pipeline] } 19:59:01 $ docker exec --env ******** --env ******** 4e3c035825b3629828f6d453a0186a9c7aa1f82afb8049d7fe8ef961d1f93fbf ssh-agent -k 19:59:01 unset SSH_AUTH_SOCK; 19:59:01 unset SSH_AGENT_PID; 19:59:01 echo Agent pid 38 killed; 19:59:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:59:01 + git semver [Pipeline] } 19:59:01 $ docker stop --time=1 4e3c035825b3629828f6d453a0186a9c7aa1f82afb8049d7fe8ef961d1f93fbf 19:59:03 $ docker rm -f 4e3c035825b3629828f6d453a0186a9c7aa1f82afb8049d7fe8ef961d1f93fbf [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:59:03 19:59:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:59:03 0.23.1-centos7: Pulling from edgex-lftools 19:59:03 ab5ef0e58194: Pulling fs layer 19:59:03 9712f1f96733: Pulling fs layer 19:59:03 63f879dbbcfc: Pulling fs layer 19:59:03 0d9ebad4ef96: Pulling fs layer 19:59:03 e9a5061849ea: Pulling fs layer 19:59:03 d747dcd14b5f: Pulling fs layer 19:59:03 2de7ff778b66: Pulling fs layer 19:59:03 0d9ebad4ef96: Waiting 19:59:03 e9a5061849ea: Waiting 19:59:03 d747dcd14b5f: Waiting 19:59:03 2de7ff778b66: Waiting 19:59:03 9712f1f96733: Verifying Checksum 19:59:03 9712f1f96733: Download complete 19:59:04 63f879dbbcfc: Verifying Checksum 19:59:04 63f879dbbcfc: Download complete 19:59:04 ab5ef0e58194: Verifying Checksum 19:59:04 ab5ef0e58194: Download complete 19:59:04 d747dcd14b5f: Verifying Checksum 19:59:04 d747dcd14b5f: Download complete 19:59:04 e9a5061849ea: Verifying Checksum 19:59:04 e9a5061849ea: Download complete 19:59:04 0d9ebad4ef96: Verifying Checksum 19:59:04 0d9ebad4ef96: Download complete 19:59:04 2de7ff778b66: Verifying Checksum 19:59:04 2de7ff778b66: Download complete 19:59:06 ab5ef0e58194: Pull complete 19:59:07 9712f1f96733: Pull complete 19:59:07 63f879dbbcfc: Pull complete 19:59:11 0d9ebad4ef96: Pull complete 19:59:11 e9a5061849ea: Pull complete 19:59:11 d747dcd14b5f: Pull complete 19:59:13 2de7ff778b66: Pull complete 19:59:13 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 19:59:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:59:13 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:59:13 prd-ubuntu20.04-docker-8c-8g-8398 does not seem to be running inside a container 19:59:13 $ 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 19:59:15 $ docker top b3af28ae04c98d5aaa5b448b7a096c61b8dbc7004a7f577da5bd4d8dba5efdc7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 19:59:16 provisioning config files... 19:59:16 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3316296745053799219tmp 19:59:16 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3244110435602763918tmp 19:59:16 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12733609454366383940tmp [Pipeline] { [Pipeline] echo 19:59:16 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 19:59:16 ---> sigul-configuration.sh 19:59:16 gpg: directory `/root/.gnupg' created 19:59:16 gpg: new configuration file `/root/.gnupg/gpg.conf' created 19:59:16 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 19:59:16 gpg: keyring `/root/.gnupg/secring.gpg' created 19:59:16 gpg: keyring `/root/.gnupg/pubring.gpg' created 19:59:16 gpg: CAST5 encrypted data 19:59:16 gpg: encrypted with 1 passphrase 19:59:16 gpg: WARNING: message was not integrity protected [Pipeline] sh 19:59:16 + mkdir /home/jenkins 19:59:16 + mkdir /home/jenkins/sigul [Pipeline] sh 19:59:16 + 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 19:59:16 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 19:59:17 ---> sigul-install.sh 19:59:17 Sigul already installed; skipping installation. [Pipeline] sh 19:59:17 + git tag --list 19:59:17 v0.0.0 19:59:17 v0.0.1-dev.1 19:59:17 v0.0.1-dev.10 19:59:17 v0.0.1-dev.11 19:59:17 v0.0.1-dev.12 19:59:17 v0.0.1-dev.13 19:59:17 v0.0.1-dev.14 19:59:17 v0.0.1-dev.15 19:59:17 v0.0.1-dev.16 19:59:17 v0.0.1-dev.17 19:59:17 v0.0.1-dev.18 19:59:17 v0.0.1-dev.19 19:59:17 v0.0.1-dev.2 19:59:17 v0.0.1-dev.20 19:59:17 v0.0.1-dev.21 19:59:17 v0.0.1-dev.22 19:59:17 v0.0.1-dev.23 19:59:17 v0.0.1-dev.24 19:59:17 v0.0.1-dev.25 19:59:17 v0.0.1-dev.26 19:59:17 v0.0.1-dev.27 19:59:17 v0.0.1-dev.28 19:59:17 v0.0.1-dev.3 19:59:17 v0.0.1-dev.4 19:59:17 v0.0.1-dev.5 19:59:17 v0.0.1-dev.6 19:59:17 v0.0.1-dev.7 19:59:17 v0.0.1-dev.8 19:59:17 v0.0.1-dev.9 19:59:17 v2.2.0 19:59:17 v2.2.0-dev.29 19:59:17 v2.2.0-dev.30 19:59:17 v2.2.0-dev.31 19:59:17 v2.2.0-dev.32 19:59:17 v2.2.0-dev.33 19:59:17 v2.2.0-dev.34 19:59:17 v2.2.0-dev.35 19:59:17 v2.3.0-dev.1 19:59:17 v2.3.0-dev.10 19:59:17 v2.3.0-dev.11 19:59:17 v2.3.0-dev.12 19:59:17 v2.3.0-dev.13 19:59:17 v2.3.0-dev.14 19:59:17 v2.3.0-dev.15 19:59:17 v2.3.0-dev.16 19:59:17 v2.3.0-dev.17 19:59:17 v2.3.0-dev.18 19:59:17 v2.3.0-dev.19 19:59:17 v2.3.0-dev.2 19:59:17 v2.3.0-dev.20 19:59:17 v2.3.0-dev.21 19:59:17 v2.3.0-dev.22 19:59:17 v2.3.0-dev.23 19:59:17 v2.3.0-dev.24 19:59:17 v2.3.0-dev.25 19:59:17 v2.3.0-dev.26 19:59:17 v2.3.0-dev.27 19:59:17 v2.3.0-dev.28 19:59:17 v2.3.0-dev.29 19:59:17 v2.3.0-dev.3 19:59:17 v2.3.0-dev.30 19:59:17 v2.3.0-dev.31 19:59:17 v2.3.0-dev.32 19:59:17 v2.3.0-dev.33 19:59:17 v2.3.0-dev.34 19:59:17 v2.3.0-dev.35 19:59:17 v2.3.0-dev.4 19:59:17 v2.3.0-dev.5 19:59:17 v2.3.0-dev.6 19:59:17 v2.3.0-dev.7 19:59:17 v2.3.0-dev.8 19:59:17 v2.3.0-dev.9 [Pipeline] sh 19:59:17 + lftools sign git-tag v2.3.0-dev.35 19:59:18 Signing Git tag with Sigul... 19:59:18 Signing v2.3.0-dev.35 [Pipeline] echo 19:59:18 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 19:59:19 ---> sigul-configuration-cleanup.sh [Pipeline] } 19:59:19 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 19:59:19 $ docker stop --time=1 b3af28ae04c98d5aaa5b448b7a096c61b8dbc7004a7f577da5bd4d8dba5efdc7 19:59:20 $ docker rm -f b3af28ae04c98d5aaa5b448b7a096c61b8dbc7004a7f577da5bd4d8dba5efdc7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 19:59:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:59:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:59:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:59:21 prd-ubuntu20.04-docker-8c-8g-8398 does not seem to be running inside a container 19:59:21 $ 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 19:59:21 $ docker top 3fedac9a818ebe32f3d0a320a751eef810264460251b083d724fa5ab1a6d35e1 -eo pid,comm 19:59:21 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). 19:59:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:59:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:59:21 [ssh-agent] Looking for ssh-agent implementation... 19:59:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:59:21 $ docker exec 3fedac9a818ebe32f3d0a320a751eef810264460251b083d724fa5ab1a6d35e1 ssh-agent 19:59:22 SSH_AUTH_SOCK=/tmp/ssh-XbsFjHrLHmLK/agent.32 19:59:22 SSH_AGENT_PID=38 19:59:22 Running ssh-add (command line suppressed) 19:59:22 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14854366403802947472.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14854366403802947472.key) 19:59:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:59:22 + git semver bump pre 19:59:22 2022-10-17 19:59:22,694 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:59:22 2022-10-17 19:59:22,695 [bump_version] DEBUG bumping version:2.3.0-dev.35 on axis:pre with prefix:dev 19:59:22 2022-10-17 19:59:22,695 [bump_version] DEBUG bumped version:2.3.0-dev.36 19:59:22 2022-10-17 19:59:22,695 [write_version] DEBUG write version:2.3.0-dev.36 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 19:59:22 2022-10-17 19:59:22,695 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:59:22 2022-10-17 19:59:22,695 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 19:59:22 2022-10-17 19:59:22,698 [execute] INFO git cat-file --batch-check 19:59:22 2022-10-17 19:59:22,698 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 19:59:22 2022-10-17 19:59:22,704 [execute] INFO git cat-file --batch 19:59:22 2022-10-17 19:59:22,705 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 19:59:22 2022-10-17 19:59:22,710 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:59:22 2.3.0-dev.36 [Pipeline] } 19:59:22 $ docker exec --env ******** --env ******** 3fedac9a818ebe32f3d0a320a751eef810264460251b083d724fa5ab1a6d35e1 ssh-agent -k 19:59:22 unset SSH_AUTH_SOCK; 19:59:22 unset SSH_AGENT_PID; 19:59:22 echo Agent pid 38 killed; 19:59:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:59:23 + git semver [Pipeline] } 19:59:23 $ docker stop --time=1 3fedac9a818ebe32f3d0a320a751eef810264460251b083d724fa5ab1a6d35e1 19:59:24 $ docker rm -f 3fedac9a818ebe32f3d0a320a751eef810264460251b083d724fa5ab1a6d35e1 [Pipeline] // withDockerContainer [Pipeline] sh 19:59:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:59:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:59:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:59:25 prd-ubuntu20.04-docker-8c-8g-8398 does not seem to be running inside a container 19:59:25 $ 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 19:59:25 $ docker top 42557aa924179a7e5b6764081257bd43ca7a0cb16c9e52919996c48a9a549915 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:59:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:59:25 [ssh-agent] Looking for ssh-agent implementation... 19:59:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:59:26 $ docker exec 42557aa924179a7e5b6764081257bd43ca7a0cb16c9e52919996c48a9a549915 ssh-agent 19:59:26 SSH_AUTH_SOCK=/tmp/ssh-kYnSmMZ9ecbU/agent.32 19:59:26 SSH_AGENT_PID=38 19:59:26 Running ssh-add (command line suppressed) 19:59:26 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10702110024885504780.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10702110024885504780.key) 19:59:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:59:26 + git semver push 19:59:26 2022-10-17 19:59:26,704 [run_push] DEBUG push 19:59:26 2022-10-17 19:59:26,704 [execute] INFO git cat-file --batch-check 19:59:26 2022-10-17 19:59:26,704 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 19:59:26 2022-10-17 19:59:26,709 [execute] INFO git rev-list 4260be0f43fd5d45245e780dd428437761c4ed5f -- 19:59:26 2022-10-17 19:59:26,710 [execute] DEBUG Popen(['git', 'rev-list', '4260be0f43fd5d45245e780dd428437761c4ed5f', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 19:59:26 2022-10-17 19:59:26,717 [execute] INFO git fetch -v origin 19:59:26 2022-10-17 19:59:26,717 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 19:59:27 2022-10-17 19:59:27,312 [run_push] DEBUG no remote changes detected 19:59:27 2022-10-17 19:59:27,312 [execute] INFO git push origin semver 19:59:27 2022-10-17 19:59:27,313 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 19:59:28 2022-10-17 19:59:28,064 [run_push] DEBUG push all version tags 19:59:28 2022-10-17 19:59:28,065 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 19:59:28 2022-10-17 19:59:28,065 [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) 19:59:28 2022-10-17 19:59:28,835 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:59:28 2.3.0-dev.36 [Pipeline] } 19:59:29 $ docker exec --env ******** --env ******** 42557aa924179a7e5b6764081257bd43ca7a0cb16c9e52919996c48a9a549915 ssh-agent -k 19:59:29 unset SSH_AUTH_SOCK; 19:59:29 unset SSH_AGENT_PID; 19:59:29 echo Agent pid 38 killed; 19:59:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:59:29 + git semver [Pipeline] } 19:59:29 $ docker stop --time=1 42557aa924179a7e5b6764081257bd43ca7a0cb16c9e52919996c48a9a549915 19:59:31 $ docker rm -f 42557aa924179a7e5b6764081257bd43ca7a0cb16c9e52919996c48a9a549915 [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 19:59:31 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 19:59:31 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 19:59:31 total 16 19:59:31 drwxr-xr-x 3 root root 4096 Oct 17 19:50 . 19:59:31 drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 19:59 .. 19:59:31 drwxr-xr-x 2 root root 4096 Oct 17 19:50 cost 19:59:31 -rw-r--r-- 1 root root 90 Oct 17 19:50 cost.csv 19:59:31 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 19:59:31 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 19:59:31 total 16 19:59:31 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 19:50 . 19:59:31 drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 19:59 .. 19:59:31 drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 19:50 cost 19:59:31 -rw-r--r-- 1 jenkins jenkins 90 Oct 17 19:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:59:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:59:32 ---> package-listing.sh 19:59:32 ++ facter osfamily 19:59:32 ++ tr '[:upper:]' '[:lower:]' 19:59:33 + OS_FAMILY=debian 19:59:33 + workspace=/w/workspace/foundry_device-onvif-camera_main 19:59:33 + START_PACKAGES=/tmp/packages_start.txt 19:59:33 + END_PACKAGES=/tmp/packages_end.txt 19:59:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:59:33 + PACKAGES=/tmp/packages_start.txt 19:59:33 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 19:59:33 + PACKAGES=/tmp/packages_end.txt 19:59:33 + case "${OS_FAMILY}" in 19:59:33 + dpkg -l 19:59:33 + grep '^ii' 19:59:33 + '[' -f /tmp/packages_start.txt ']' 19:59:33 + '[' -f /tmp/packages_end.txt ']' 19:59:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:59:33 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 19:59:33 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 19:59:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 19:59:33 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 19:59:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:59:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:59:33 prd-ubuntu20.04-docker-8c-8g-8398 does not seem to be running inside a container 19:59:33 $ 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 19:59:34 $ docker top 1e2d807715ef2770b542ff7b6ce9f2d6ce6933a91f8509307762ea720488a384 -eo pid,comm [Pipeline] { [Pipeline] sh 19:59:34 + touch /tmp/pre-build-complete [Pipeline] sh 19:59:34 + mkdir -p /var/log/sysstat [Pipeline] sh 19:59:35 + ls /var/log/sa-host 19:59:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:59:35 provisioning config files... 19:59:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7743775388697214221tmp [Pipeline] { [Pipeline] echo 19:59:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:59:35 ---> create-netrc.sh [Pipeline] } 19:59:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:59:36 ---> python-tools-install.sh [Pipeline] echo 19:59:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:59:36 ---> sudo-logs.sh 19:59:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:59:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:59:36 ---> job-cost.sh 19:59:36 lf-activate-venv: SKIPPING 19:59:36 DEBUG: total: 0.2199999988079071 19:59:36 INFO: Retrieving Stack Cost... 19:59:37 INFO: Retrieving Pricing Info for: v3-standard-8 19:59:37 INFO: Archiving Costs [Pipeline] echo 19:59:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:59:37 ---> logs-deploy.sh 19:59:37 lf-activate-venv: SKIPPING 19:59:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/74 19:59:37 INFO: archiving workspace using pattern(s): 19:59:38 Archives upload complete. 19:59:38 INFO: archiving logs to Nexus 19:59:39 ---> uname -a: 19:59:39 Linux prd-ubuntu20-04-docker-8c-8g-8398 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 19:59:39 19:59:39 19:59:39 ---> lscpu: 19:59:39 Architecture: x86_64 19:59:39 CPU op-mode(s): 32-bit, 64-bit 19:59:39 Byte Order: Little Endian 19:59:39 Address sizes: 40 bits physical, 48 bits virtual 19:59:39 CPU(s): 8 19:59:39 On-line CPU(s) list: 0-7 19:59:39 Thread(s) per core: 1 19:59:39 Core(s) per socket: 1 19:59:39 Socket(s): 8 19:59:39 NUMA node(s): 1 19:59:39 Vendor ID: AuthenticAMD 19:59:39 CPU family: 23 19:59:39 Model: 49 19:59:39 Model name: AMD EPYC-Rome Processor 19:59:39 Stepping: 0 19:59:39 CPU MHz: 2799.998 19:59:39 BogoMIPS: 5599.99 19:59:39 Virtualization: AMD-V 19:59:39 Hypervisor vendor: KVM 19:59:39 Virtualization type: full 19:59:39 L1d cache: 256 KiB 19:59:39 L1i cache: 256 KiB 19:59:39 L2 cache: 4 MiB 19:59:39 L3 cache: 128 MiB 19:59:39 NUMA node0 CPU(s): 0-7 19:59:39 Vulnerability Itlb multihit: Not affected 19:59:39 Vulnerability L1tf: Not affected 19:59:39 Vulnerability Mds: Not affected 19:59:39 Vulnerability Meltdown: Not affected 19:59:39 Vulnerability Mmio stale data: Not affected 19:59:39 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:59:39 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 19:59:39 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 19:59:39 Vulnerability Srbds: Not affected 19:59:39 Vulnerability Tsx async abort: Not affected 19:59:39 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 19:59:39 19:59:39 19:59:39 ---> nproc: 19:59:39 8 19:59:39 19:59:39 19:59:39 ---> df -h: 19:59:39 Filesystem Size Used Avail Use% Mounted on 19:59:39 overlay 155G 13G 143G 9% / 19:59:39 tmpfs 64M 0 64M 0% /dev 19:59:39 tmpfs 16G 0 16G 0% /sys/fs/cgroup 19:59:39 shm 64M 0 64M 0% /dev/shm 19:59:39 /dev/vda1 155G 13G 143G 9% /facter-os 19:59:39 19:59:39