Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b5d57169a01cae7d6970e625d19bbc10451e80af 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-ssh7367691650079073828.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh4759678337469990332.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh4514752481187368187.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh9636034951739568396.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-ssh3938528712915334716.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 ‘prd-centos7-blackbox-4c-2g-7901’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-8063’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-8062’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8275 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 Avoid second fetch Checking out Revision b5d57169a01cae7d6970e625d19bbc10451e80af (main) Commit message: "feat(snap): add config interface with unique identifier (#179)" > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b5d57169a01cae7d6970e625d19bbc10451e80af # timeout=10 > git rev-list --no-walk 7ec405a7ebe2d3fd94ca179867e83cca09fb31d0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:29:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:29:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:29:53 ========================================================= 09:29:53 EdgeX Global Pipelines Version Info 09:29:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:29:53 ------------------- 09:29:53 stable info: 09:29:53 ------------------- 09:29:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:29:53 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 09:29:53 Message: update stable to v1.0.239 09:29:54 ------------------- 09:29:54 experimental info: 09:29:54 ------------------- 09:29:54 Commited By: **** collab-it+edgex@linuxfoundation.org 09:29:54 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 09:29:54 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b5d57169a01cae7d6970e625d19bbc10451e80af [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b5d5716 [Pipeline] echo 09:29:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:29:55 provisioning config files... 09:29:55 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config18257695262368851414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:29:55 ---> docker-login.sh 09:29:55 nexus3.edgexfoundry.org:10001 09:29:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:29:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:29:55 Configure a credential helper to remove this warning. See 09:29:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:29:55 09:29:55 Login Succeeded 09:29:55 nexus3.edgexfoundry.org:10002 09:29:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:29:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:29:55 Configure a credential helper to remove this warning. See 09:29:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:29:55 09:29:55 Login Succeeded 09:29:55 nexus3.edgexfoundry.org:10003 09:29:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:29:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:29:55 Configure a credential helper to remove this warning. See 09:29:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:29:55 09:29:55 Login Succeeded 09:29:55 nexus3.edgexfoundry.org:10004 09:29:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:29:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:29:56 Configure a credential helper to remove this warning. See 09:29:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:29:56 09:29:56 Login Succeeded 09:29:56 docker.io 09:29:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:29:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:29:56 Configure a credential helper to remove this warning. See 09:29:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:29:56 09:29:56 Login Succeeded 09:29:56 ---> docker-login.sh ends [Pipeline] } 09:29:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:29:56 + git rev-list -1 --merges b5d57169a01cae7d6970e625d19bbc10451e80af~1..b5d57169a01cae7d6970e625d19bbc10451e80af [Pipeline] echo 09:29:56 -----------> git rev-list -1 --merges b5d57169a01cae7d6970e625d19bbc10451e80af~1..b5d57169a01cae7d6970e625d19bbc10451e80af b5d57169a01cae7d6970e625d19bbc10451e80af [false] [Pipeline] sh 09:29:57 + git log --format=format:%s -1 b5d57169a01cae7d6970e625d19bbc10451e80af [Pipeline] echo 09:29:57 ========================================================= 09:29:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:29:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:29:57 + git log --format=format:%s -1 b5d57169a01cae7d6970e625d19bbc10451e80af [Pipeline] echo 09:29:57 [semverPrep] GIT_COMMIT: b5d57169a01cae7d6970e625d19bbc10451e80af, Commit Message: feat(snap): add config interface with unique identifier (#179) [Pipeline] echo 09:29:57 [semverPrep] This is not a build commit. [Pipeline] sh 09:29:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:29:57 + grep -v github /etc/ssh/ssh_known_hosts 09:29:57 + [ -e /tmp/ssh_known_hosts ] 09:29:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:29:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:29:57 + sudo tee -a /etc/ssh/ssh_known_hosts 09:29:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:29:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:29:58 09:29:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:29:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:29:58 0.1.4: Pulling from edgex-devops/py-git-semver 09:29:58 b85a868b505f: Pulling fs layer 09:29:58 e2be974225ed: Pulling fs layer 09:29:58 339a4e72a1f5: Pulling fs layer 09:29:58 988bab9f4d93: Pulling fs layer 09:29:58 1469e6f7b9e6: Pulling fs layer 09:29:58 eaf3925da568: Pulling fs layer 09:29:58 bab4dde63d76: Pulling fs layer 09:29:58 bde34c3a00c8: Pulling fs layer 09:29:58 b352a97aabf1: Pulling fs layer 09:29:58 4872d77fe225: Pulling fs layer 09:29:58 5851b861e8e6: Pulling fs layer 09:29:58 1469e6f7b9e6: Waiting 09:29:58 eaf3925da568: Waiting 09:29:58 bab4dde63d76: Waiting 09:29:58 bde34c3a00c8: Waiting 09:29:58 b352a97aabf1: Waiting 09:29:58 988bab9f4d93: Waiting 09:29:58 4872d77fe225: Waiting 09:29:58 5851b861e8e6: Waiting 09:29:58 e2be974225ed: Download complete 09:29:58 988bab9f4d93: Verifying Checksum 09:29:58 988bab9f4d93: Download complete 09:29:58 339a4e72a1f5: Verifying Checksum 09:29:58 339a4e72a1f5: Download complete 09:29:58 eaf3925da568: Verifying Checksum 09:29:58 eaf3925da568: Download complete 09:29:58 1469e6f7b9e6: Verifying Checksum 09:29:58 1469e6f7b9e6: Download complete 09:29:58 bde34c3a00c8: Verifying Checksum 09:29:58 bde34c3a00c8: Download complete 09:29:58 b352a97aabf1: Download complete 09:29:58 4872d77fe225: Verifying Checksum 09:29:58 4872d77fe225: Download complete 09:29:58 5851b861e8e6: Verifying Checksum 09:29:58 5851b861e8e6: Download complete 09:29:59 bab4dde63d76: Verifying Checksum 09:29:59 bab4dde63d76: Download complete 09:30:00 b85a868b505f: Verifying Checksum 09:30:00 b85a868b505f: Download complete 09:30:00 b85a868b505f: Pull complete 09:30:01 e2be974225ed: Pull complete 09:30:01 339a4e72a1f5: Pull complete 09:30:01 988bab9f4d93: Pull complete 09:30:02 1469e6f7b9e6: Pull complete 09:30:02 eaf3925da568: Pull complete 09:30:03 bab4dde63d76: Pull complete 09:30:03 bde34c3a00c8: Pull complete 09:30:04 b352a97aabf1: Pull complete 09:30:04 4872d77fe225: Pull complete 09:30:04 5851b861e8e6: Pull complete 09:30:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:30:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:30:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:30:04 prd-ubuntu20.04-docker-8c-8g-8275 does not seem to be running inside a container 09:30:04 $ 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 09:30:06 $ docker top 0555b9f2a4bb858d97b1a02dceb2a750183e949c0cd0739d279733e1f2639df4 -eo pid,comm 09:30:06 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). 09:30:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:30:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:30:06 [ssh-agent] Looking for ssh-agent implementation... 09:30:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:30:06 $ docker exec 0555b9f2a4bb858d97b1a02dceb2a750183e949c0cd0739d279733e1f2639df4 ssh-agent 09:30:06 SSH_AUTH_SOCK=/tmp/ssh-x1iNS46K5kDp/agent.32 09:30:06 SSH_AGENT_PID=38 09:30:06 Running ssh-add (command line suppressed) 09:30:06 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9647563945103686261.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9647563945103686261.key) 09:30:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:30:06 + git tag --points-at HEAD [Pipeline] } 09:30:07 $ docker exec --env ******** --env ******** 0555b9f2a4bb858d97b1a02dceb2a750183e949c0cd0739d279733e1f2639df4 ssh-agent -k 09:30:07 unset SSH_AUTH_SOCK; 09:30:07 unset SSH_AGENT_PID; 09:30:07 echo Agent pid 38 killed; 09:30:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:30:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:30:07 [ssh-agent] Looking for ssh-agent implementation... 09:30:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:30:07 $ docker exec 0555b9f2a4bb858d97b1a02dceb2a750183e949c0cd0739d279733e1f2639df4 ssh-agent 09:30:07 SSH_AUTH_SOCK=/tmp/ssh-zsbnioqkpNyr/agent.70 09:30:07 SSH_AGENT_PID=76 09:30:07 Running ssh-add (command line suppressed) 09:30:07 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1244270521895313409.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1244270521895313409.key) 09:30:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:30:07 + git semver init 09:30:08 2022-10-17 09:30:07,979 [run_init] DEBUG init version:0.0.0 force:False 09:30:08 2022-10-17 09:30:07,980 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 09:30:08 2022-10-17 09:30:07,980 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 09:30:08 2022-10-17 09:30:07,980 [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) 09:30:09 2022-10-17 09:30:09,060 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 09:30:09 2022-10-17 09:30:09,060 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 09:30:09 2022-10-17 09:30:09,061 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 09:30:09 2022-10-17 09:30:09,061 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 09:30:09 2.3.0-dev.33 [Pipeline] } 09:30:09 $ docker exec --env ******** --env ******** 0555b9f2a4bb858d97b1a02dceb2a750183e949c0cd0739d279733e1f2639df4 ssh-agent -k 09:30:09 unset SSH_AUTH_SOCK; 09:30:09 unset SSH_AGENT_PID; 09:30:09 echo Agent pid 76 killed; 09:30:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:30:09 + git semver [Pipeline] } 09:30:10 $ docker stop --time=1 0555b9f2a4bb858d97b1a02dceb2a750183e949c0cd0739d279733e1f2639df4 09:30:11 $ docker rm -f 0555b9f2a4bb858d97b1a02dceb2a750183e949c0cd0739d279733e1f2639df4 [Pipeline] // withDockerContainer [Pipeline] sh 09:30:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:30:12 Stashed 1 file(s) [Pipeline] echo 09:30:12 [edgeXSemver]: initialized semver on version 2.3.0-dev.33 [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 09:30:12 provisioning config files... 09:30:12 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4947442984704895597tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:30:12 ---> docker-login.sh 09:30:12 nexus3.edgexfoundry.org:10001 09:30:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:12 Configure a credential helper to remove this warning. See 09:30:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:12 09:30:12 Login Succeeded 09:30:12 nexus3.edgexfoundry.org:10002 09:30:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:12 Configure a credential helper to remove this warning. See 09:30:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:12 09:30:12 Login Succeeded 09:30:12 nexus3.edgexfoundry.org:10003 09:30:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:12 Configure a credential helper to remove this warning. See 09:30:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:12 09:30:12 Login Succeeded 09:30:12 nexus3.edgexfoundry.org:10004 09:30:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:12 Configure a credential helper to remove this warning. See 09:30:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:12 09:30:12 Login Succeeded 09:30:12 docker.io 09:30:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:13 Configure a credential helper to remove this warning. See 09:30:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:13 09:30:13 Login Succeeded 09:30:13 ---> docker-login.sh ends [Pipeline] } 09:30:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:30:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:30:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:30:13 ========================================================= 09:30:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 09:30:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:30:13 + 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 . 09:30:13 Sending build context to Docker daemon 21.3MB 09:30:13 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 09:30:13 Step 2/14 : FROM ${BASE} AS builder 09:30:14 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 09:30:14 213ec9aee27d: Pulling fs layer 09:30:14 4583459ba037: Pulling fs layer 09:30:14 93c1e223e6f2: Pulling fs layer 09:30:14 53926ce57604: Pulling fs layer 09:30:14 21b2b0c7a3f4: Pulling fs layer 09:30:14 30f14e443154: Pulling fs layer 09:30:14 801331c1e519: Pulling fs layer 09:30:14 99cc6dd402b0: Pulling fs layer 09:30:14 7d9ed39f4882: Pulling fs layer 09:30:14 21b2b0c7a3f4: Waiting 09:30:14 99cc6dd402b0: Waiting 09:30:14 53926ce57604: Waiting 09:30:14 30f14e443154: Waiting 09:30:14 801331c1e519: Waiting 09:30:14 7d9ed39f4882: Waiting 09:30:14 93c1e223e6f2: Verifying Checksum 09:30:14 93c1e223e6f2: Download complete 09:30:14 4583459ba037: Download complete 09:30:14 21b2b0c7a3f4: Verifying Checksum 09:30:14 21b2b0c7a3f4: Download complete 09:30:14 30f14e443154: Verifying Checksum 09:30:14 30f14e443154: Download complete 09:30:14 213ec9aee27d: Verifying Checksum 09:30:14 213ec9aee27d: Download complete 09:30:14 801331c1e519: Download complete 09:30:14 213ec9aee27d: Pull complete 09:30:14 4583459ba037: Pull complete 09:30:14 93c1e223e6f2: Pull complete 09:30:14 7d9ed39f4882: Verifying Checksum 09:30:14 7d9ed39f4882: Download complete 09:30:14 53926ce57604: Verifying Checksum 09:30:14 53926ce57604: Download complete 09:30:14 99cc6dd402b0: Verifying Checksum 09:30:14 99cc6dd402b0: Download complete 09:30:19 53926ce57604: Pull complete 09:30:19 21b2b0c7a3f4: Pull complete 09:30:19 30f14e443154: Pull complete 09:30:19 801331c1e519: Pull complete 09:30:20 99cc6dd402b0: Pull complete 09:30:21 7d9ed39f4882: Pull complete 09:30:21 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 09:30:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 09:30:21 ---> 1dedd983c030 09:30:21 Step 3/14 : ARG ADD_BUILD_TAGS="" 09:30:25 ---> Running in a22c80a0341d 09:30:25 Removing intermediate container a22c80a0341d 09:30:25 ---> 8c8677f0e6f6 09:30:25 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:30:25 ---> Running in 8467aba7a76c 09:30:25 Removing intermediate container 8467aba7a76c 09:30:25 ---> 52d9cbf78ece 09:30:25 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 09:30:25 ---> Running in f653984d9fbe 09:30:25 Removing intermediate container f653984d9fbe 09:30:25 ---> 43ae82f59884 09:30:25 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 09:30:25 ---> Running in d9332ce85667 09:30:25 Removing intermediate container d9332ce85667 09:30:25 ---> cb56b9125680 09:30:25 Step 7/14 : LABEL Name=edgex-device-onvif-camera 09:30:25 ---> Running in 9f247de04088 09:30:25 Removing intermediate container 9f247de04088 09:30:25 ---> 90b39967b362 09:30:25 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:30:25 ---> Running in e9b47aa6843c 09:30:26 Removing intermediate container e9b47aa6843c 09:30:26 ---> 8f7275c529ec 09:30:26 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:30:26 ---> Running in 75f3e7117b13 09:30:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:30:27 Still waiting to schedule task 09:30:27 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 09:30:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:30:27 OK: 211 MiB in 51 packages 09:30:28 Removing intermediate container 75f3e7117b13 09:30:28 ---> caa8ad6aa3dd 09:30:28 Step 10/14 : WORKDIR /device-onvif-camera 09:30:28 ---> Running in 7bee2d9ac162 09:30:28 Removing intermediate container 7bee2d9ac162 09:30:28 ---> abb9be6254f6 09:30:28 Step 11/14 : COPY go.mod vendor* ./ 09:30:28 ---> 871473b4733f 09:30:28 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:30:29 ---> Running in 6814b828f268 09:30:47 Removing intermediate container 6814b828f268 09:30:47 ---> af58b2a7e68e 09:30:47 Step 13/14 : COPY . . 09:30:47 ---> 04c6cba346ad 09:30:47 Step 14/14 : RUN ${MAKE} 09:30:47 ---> Running in 1eb0088d94a3 09:30:48 noop 09:30:48 Removing intermediate container 1eb0088d94a3 09:30:48 ---> b91d71bdad2e 09:30:48 Successfully built b91d71bdad2e 09:30:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:30:48 + docker inspect -f . ci-base-image-x86_64 09:30:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:30:48 prd-ubuntu20.04-docker-8c-8g-8275 does not seem to be running inside a container 09:30:48 $ 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 09:30:49 $ docker top dde8c31a24c4964713176c1720d1e8947973c2ae65a03b4d3ecc85fc10ca42cd -eo pid,comm [Pipeline] { [Pipeline] sh 09:30:49 + go version 09:30:49 go version go1.18.7 linux/amd64 [Pipeline] } 09:30:49 $ docker stop --time=1 dde8c31a24c4964713176c1720d1e8947973c2ae65a03b4d3ecc85fc10ca42cd 09:30:50 $ docker rm -f dde8c31a24c4964713176c1720d1e8947973c2ae65a03b4d3ecc85fc10ca42cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:30:51 + docker inspect -f . ci-base-image-x86_64 09:30:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:30:51 prd-ubuntu20.04-docker-8c-8g-8275 does not seem to be running inside a container 09:30:51 $ 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 09:30:51 $ docker top 232ba40dbc4e7682776ee664785473eb062365d509bf67b38472ba42ccd6794d -eo pid,comm [Pipeline] { [Pipeline] sh 09:30:51 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 09:30:52 + make test 09:30:52 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:30:52 ? github.com/edgexfoundry/device-onvif-camera [no test files] 09:31:04 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 09:31:04 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.040s coverage: 28.2% of statements 09:31:04 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 09:31:04 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.571s coverage: 86.5% of statements 09:31:11 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." 09:31:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:31:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:31:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:31:14 ./bin/test-attribution-txt.sh [Pipeline] echo 09:31:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:31:14 $ docker stop --time=1 232ba40dbc4e7682776ee664785473eb062365d509bf67b38472ba42ccd6794d 09:31:16 $ docker rm -f 232ba40dbc4e7682776ee664785473eb062365d509bf67b38472ba42ccd6794d [Pipeline] // withDockerContainer [Pipeline] sh 09:31:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:31:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:31:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:31:17 + ls -al . 09:31:17 total 236 09:31:17 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 09:30 . 09:31:17 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:29 .. 09:31:17 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 09:31 .git 09:31:17 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:29 .github 09:31:17 -rw-rw-r-- 1 jenkins jenkins 496 Oct 17 09:29 .gitignore 09:31:17 -rw-rw-r-- 1 jenkins jenkins 42 Oct 17 09:29 .golangci.yml 09:31:17 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 09:30 .semver 09:31:17 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 17 09:29 Attribution.txt 09:31:17 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 17 09:29 CHANGELOG.md 09:31:17 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 17 09:29 Dockerfile 09:31:17 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 09:29 GOVERNANCE.md 09:31:17 -rw-rw-r-- 1 jenkins jenkins 734 Oct 17 09:29 Jenkinsfile 09:31:17 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 17 09:29 LICENSE 09:31:17 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 17 09:29 Makefile 09:31:17 -rw-rw-r-- 1 jenkins jenkins 625 Oct 17 09:29 OWNERS.md 09:31:17 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 17 09:29 README.md 09:31:17 -rw-rw-r-- 1 jenkins jenkins 12 Oct 17 09:30 VERSION 09:31:17 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:29 bin 09:31:17 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:29 cmd 09:31:17 -rw-r--r-- 1 jenkins jenkins 78636 Oct 17 09:31 coverage.out 09:31:17 drwxrwxr-x 6 jenkins jenkins 4096 Oct 17 09:29 doc 09:31:17 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 17 09:29 go.mod 09:31:17 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 17 09:29 go.sum 09:31:17 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:29 internal 09:31:17 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:29 snap 09:31:17 -rw-rw-r-- 1 jenkins jenkins 236 Oct 17 09:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:18 + 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=b5d57169a01cae7d6970e625d19bbc10451e80af --label arch=amd64 --label version=2.3.0-dev.33 . 09:31:18 Sending build context to Docker daemon 21.38MB 09:31:18 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 09:31:18 Step 2/27 : FROM ${BASE} AS builder 09:31:18 ---> b91d71bdad2e 09:31:18 Step 3/27 : ARG ADD_BUILD_TAGS="" 09:31:18 ---> Running in 7ee4064cb59f 09:31:18 Removing intermediate container 7ee4064cb59f 09:31:18 ---> 33e6fc54fc2f 09:31:18 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:31:18 ---> Running in 3e0565c13686 09:31:18 Removing intermediate container 3e0565c13686 09:31:18 ---> c7afdfa8be2a 09:31:18 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 09:31:18 ---> Running in 2bd0160990b0 09:31:19 Removing intermediate container 2bd0160990b0 09:31:19 ---> 88b2a15eccf1 09:31:19 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 09:31:19 ---> Running in d8ab79b56510 09:31:19 Removing intermediate container d8ab79b56510 09:31:19 ---> acb635540fd8 09:31:19 Step 7/27 : LABEL Name=edgex-device-onvif-camera 09:31:19 ---> Running in afa3493871d5 09:31:19 Removing intermediate container afa3493871d5 09:31:19 ---> 4afb0811efee 09:31:19 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:31:19 ---> Running in 664e3c232fa5 09:31:19 Removing intermediate container 664e3c232fa5 09:31:19 ---> 20d6be8c6201 09:31:19 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:31:19 ---> Running in fc858ad913d4 09:31:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:31:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:31:21 OK: 211 MiB in 51 packages 09:31:22 Removing intermediate container fc858ad913d4 09:31:22 ---> 2d6c3ffcb5bb 09:31:22 Step 10/27 : WORKDIR /device-onvif-camera 09:31:22 ---> Running in d9784edfd00e 09:31:22 Removing intermediate container d9784edfd00e 09:31:22 ---> dec78c69ca84 09:31:22 Step 11/27 : COPY go.mod vendor* ./ 09:31:22 ---> 838f8c9b843d 09:31:22 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:31:22 ---> Running in 5954065e8584 09:31:22 Removing intermediate container 5954065e8584 09:31:22 ---> 47c0cf997d56 09:31:22 Step 13/27 : COPY . . 09:31:23 ---> 514e58ba5b9c 09:31:23 Step 14/27 : RUN ${MAKE} 09:31:23 ---> Running in fcbb63313e4f 09:31:23 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.33 -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 09:31:45 Removing intermediate container fcbb63313e4f 09:31:45 ---> c06366d81e57 09:31:45 Step 15/27 : FROM alpine:3.16 09:31:45 3.16: Pulling from library/alpine 09:31:45 213ec9aee27d: Already exists 09:31:45 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:31:45 Status: Downloaded newer image for alpine:3.16 09:31:45 ---> 9c6f07244728 09:31:45 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 09:31:45 ---> Running in efd4db5222ce 09:31:45 Removing intermediate container efd4db5222ce 09:31:45 ---> 712e38f0311b 09:31:45 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 09:31:45 ---> Running in 16ca3989afe4 09:31:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:31:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:31:45 (1/6) Installing dumb-init (1.2.5-r1) 09:31:45 (2/6) Installing libgcc (11.2.1_git20220219-r2) 09:31:45 (3/6) Installing libsodium (1.0.18-r0) 09:31:45 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 09:31:45 (5/6) Installing libzmq (4.3.4-r0) 09:31:45 (6/6) Installing zeromq (4.3.4-r0) 09:31:45 Executing busybox-1.35.0-r17.trigger 09:31:45 OK: 8 MiB in 20 packages 09:31:45 Removing intermediate container 16ca3989afe4 09:31:45 ---> 72d24e6139ed 09:31:45 Step 18/27 : WORKDIR / 09:31:45 ---> Running in 0b83df71217d 09:31:45 Removing intermediate container 0b83df71217d 09:31:45 ---> b32f02ad42c7 09:31:45 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 09:31:45 ---> a429b40e1e64 09:31:45 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 09:31:45 ---> 722a90f29980 09:31:45 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 09:31:45 ---> 6855b6d4aec5 09:31:45 Step 22/27 : EXPOSE 59984 09:31:46 ---> Running in 0a4f52b38d2d 09:31:46 Removing intermediate container 0a4f52b38d2d 09:31:46 ---> 093608c4a150 09:31:46 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 09:31:46 ---> Running in 79d77cc2424c 09:31:46 Removing intermediate container 79d77cc2424c 09:31:46 ---> 1fba18e4c445 09:31:46 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:31:46 ---> Running in 46df7cad8081 09:31:46 Removing intermediate container 46df7cad8081 09:31:46 ---> d967ca7fe3a9 09:31:46 Step 25/27 : LABEL arch=amd64 09:31:46 ---> Running in 18869bdb1e31 09:31:46 Removing intermediate container 18869bdb1e31 09:31:46 ---> 38f82826a48a 09:31:46 Step 26/27 : LABEL git_sha=b5d57169a01cae7d6970e625d19bbc10451e80af 09:31:46 ---> Running in a65a8976b72f 09:31:46 Removing intermediate container a65a8976b72f 09:31:46 ---> 8a66c4eaeb99 09:31:46 Step 27/27 : LABEL version=2.3.0-dev.33 09:31:46 ---> Running in 707f7921588f 09:31:46 Removing intermediate container 707f7921588f 09:31:46 ---> 2ae74df39076 09:31:46 [Warning] One or more build-args [ARCH] were not consumed 09:31:46 Successfully built 2ae74df39076 09:31:46 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 09:31:46 provisioning config files... 09:31:46 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1190688941459610951tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:31:47 ---> docker-login.sh 09:31:47 nexus3.edgexfoundry.org:10001 09:31:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:31:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:31:47 Configure a credential helper to remove this warning. See 09:31:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:31:47 09:31:47 Login Succeeded 09:31:47 nexus3.edgexfoundry.org:10002 09:31:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:31:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:31:47 Configure a credential helper to remove this warning. See 09:31:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:31:47 09:31:47 Login Succeeded 09:31:47 nexus3.edgexfoundry.org:10003 09:31:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:31:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:31:47 Configure a credential helper to remove this warning. See 09:31:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:31:47 09:31:47 Login Succeeded 09:31:47 nexus3.edgexfoundry.org:10004 09:31:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:31:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:31:47 Configure a credential helper to remove this warning. See 09:31:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:31:47 09:31:47 Login Succeeded 09:31:47 docker.io 09:31:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:31:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:31:47 Configure a credential helper to remove this warning. See 09:31:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:31:47 09:31:47 Login Succeeded 09:31:47 ---> docker-login.sh ends [Pipeline] } 09:31:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:31:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:31:47 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 09:31:47 b5d57169a01cae7d6970e625d19bbc10451e80af 09:31:47 latest 09:31:47 2.3.0-dev.33 09:31:47 b5d57169a01cae7d6970e625d19bbc10451e80af-2.3.0-dev.33 09:31:47 main 09:31:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:48 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:b5d57169a01cae7d6970e625d19bbc10451e80af [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:48 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:b5d57169a01cae7d6970e625d19bbc10451e80af 09:31:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 09:31:48 66f7e457fa4a: Preparing 09:31:48 d9c65b0bed55: Preparing 09:31:48 7299f97855ec: Preparing 09:31:48 dfdcba22c755: Preparing 09:31:48 994393dc58e7: Preparing 09:31:48 994393dc58e7: Layer already exists 09:31:48 d9c65b0bed55: Pushed 09:31:48 66f7e457fa4a: Pushed 09:31:48 dfdcba22c755: Pushed 09:31:51 7299f97855ec: Pushed 09:31:51 b5d57169a01cae7d6970e625d19bbc10451e80af: digest: sha256:26829a9cfc24c1d58c9bb1b5d91208705747523f8c4c0facbbd86b4b670b60d9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:51 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:51 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 09:31:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 09:31:51 66f7e457fa4a: Preparing 09:31:51 d9c65b0bed55: Preparing 09:31:51 7299f97855ec: Preparing 09:31:51 dfdcba22c755: Preparing 09:31:51 994393dc58e7: Preparing 09:31:51 994393dc58e7: Layer already exists 09:31:51 66f7e457fa4a: Layer already exists 09:31:51 7299f97855ec: Layer already exists 09:31:51 d9c65b0bed55: Layer already exists 09:31:51 dfdcba22c755: Layer already exists 09:31:51 latest: digest: sha256:26829a9cfc24c1d58c9bb1b5d91208705747523f8c4c0facbbd86b4b670b60d9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:52 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:52 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.33 09:31:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 09:31:52 66f7e457fa4a: Preparing 09:31:52 d9c65b0bed55: Preparing 09:31:52 7299f97855ec: Preparing 09:31:52 dfdcba22c755: Preparing 09:31:52 994393dc58e7: Preparing 09:31:52 994393dc58e7: Layer already exists 09:31:52 66f7e457fa4a: Layer already exists 09:31:52 7299f97855ec: Layer already exists 09:31:52 d9c65b0bed55: Layer already exists 09:31:52 dfdcba22c755: Layer already exists 09:31:52 2.3.0-dev.33: digest: sha256:26829a9cfc24c1d58c9bb1b5d91208705747523f8c4c0facbbd86b4b670b60d9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:52 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:b5d57169a01cae7d6970e625d19bbc10451e80af-2.3.0-dev.33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:53 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:b5d57169a01cae7d6970e625d19bbc10451e80af-2.3.0-dev.33 09:31:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 09:31:53 66f7e457fa4a: Preparing 09:31:53 d9c65b0bed55: Preparing 09:31:53 7299f97855ec: Preparing 09:31:53 dfdcba22c755: Preparing 09:31:53 994393dc58e7: Preparing 09:31:53 66f7e457fa4a: Layer already exists 09:31:53 994393dc58e7: Layer already exists 09:31:53 dfdcba22c755: Layer already exists 09:31:53 7299f97855ec: Layer already exists 09:31:53 d9c65b0bed55: Layer already exists 09:31:53 b5d57169a01cae7d6970e625d19bbc10451e80af-2.3.0-dev.33: digest: sha256:26829a9cfc24c1d58c9bb1b5d91208705747523f8c4c0facbbd86b4b670b60d9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:53 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:53 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 09:31:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 09:31:53 66f7e457fa4a: Preparing 09:31:53 d9c65b0bed55: Preparing 09:31:53 7299f97855ec: Preparing 09:31:53 dfdcba22c755: Preparing 09:31:53 994393dc58e7: Preparing 09:31:53 66f7e457fa4a: Layer already exists 09:31:53 d9c65b0bed55: Layer already exists 09:31:53 994393dc58e7: Layer already exists 09:31:53 dfdcba22c755: Layer already exists 09:31:53 7299f97855ec: Layer already exists 09:31:53 main: digest: sha256:26829a9cfc24c1d58c9bb1b5d91208705747523f8c4c0facbbd86b4b670b60d9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:31:53 ===================================================== [Pipeline] echo 09:31:53 taggedImages: 09:31:53 - nexus3.edgexfoundry.org:10004/device-onvif-camera:b5d57169a01cae7d6970e625d19bbc10451e80af 09:31:53 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 09:31:53 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.33 09:31:53 - nexus3.edgexfoundry.org:10004/device-onvif-camera:b5d57169a01cae7d6970e625d19bbc10451e80af-2.3.0-dev.33 09:31:53 - 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 09:31:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:31:54 09:31:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:31:54 latest: Pulling from edgex-lftools-log-publisher 09:31:54 5eb5b503b376: Pulling fs layer 09:31:54 5c69ac0246d0: Pulling fs layer 09:31:54 ec43610c2a17: Pulling fs layer 09:31:54 3a2ae6a8a46f: Pulling fs layer 09:31:54 33b1e0a273af: Pulling fs layer 09:31:54 5d3b04190fa2: Pulling fs layer 09:31:54 2f39f015ded8: Pulling fs layer 09:31:54 5d3b04190fa2: Waiting 09:31:54 33b1e0a273af: Waiting 09:31:54 2f39f015ded8: Waiting 09:31:54 3a2ae6a8a46f: Waiting 09:31:54 5c69ac0246d0: Download complete 09:31:54 3a2ae6a8a46f: Verifying Checksum 09:31:54 3a2ae6a8a46f: Download complete 09:31:54 33b1e0a273af: Verifying Checksum 09:31:54 33b1e0a273af: Download complete 09:31:54 5d3b04190fa2: Download complete 09:31:54 ec43610c2a17: Verifying Checksum 09:31:54 ec43610c2a17: Download complete 09:31:54 5eb5b503b376: Verifying Checksum 09:31:54 5eb5b503b376: Download complete 09:31:55 2f39f015ded8: Download complete 09:31:55 5eb5b503b376: Pull complete 09:31:56 5c69ac0246d0: Pull complete 09:31:56 ec43610c2a17: Pull complete 09:31:56 3a2ae6a8a46f: Pull complete 09:31:56 33b1e0a273af: Pull complete 09:31:56 5d3b04190fa2: Pull complete 09:32:00 2f39f015ded8: Pull complete 09:32:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:32:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:32:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:32:00 prd-ubuntu20.04-docker-8c-8g-8275 does not seem to be running inside a container 09:32:00 $ 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 09:32:02 $ docker top 44e64d44f566b0b5e48be816a2a6326f9c378363d4e6d1956df8fd95a7ad20fc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:32:02 ---> job-cost.sh 09:32:02 lf-activate-venv: SKIPPING 09:32:02 INFO: No Stack... 09:32:03 INFO: Retrieving Pricing Info for: v3-standard-8 09:32:03 INFO: Archiving Costs [Pipeline] sh 09:32:03 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 09:32:03 + cut -d, -f6 [Pipeline] lock 09:32:03 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-72-stack-cost] 09:32:03 Resource [jenkins-edgexfoundry-device-onvif-camera-main-72-stack-cost] did not exist. Created. 09:32:03 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-72-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:32:04 + echo total: 0.2199999988079071 [Pipeline] stash 09:32:04 Stashed 1 file(s) [Pipeline] } 09:32:04 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-72-stack-cost] [Pipeline] // lock [Pipeline] } 09:32:04 $ docker stop --time=1 44e64d44f566b0b5e48be816a2a6326f9c378363d4e6d1956df8fd95a7ad20fc 09:32:05 $ docker rm -f 44e64d44f566b0b5e48be816a2a6326f9c378363d4e6d1956df8fd95a7ad20fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:35:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8280 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 09:35:36 Running in /w/workspace/device-onvif-camera/72 [Pipeline] { [Pipeline] checkout 09:35:36 The recommended git tool is: git 09:35:42 using credential edgex-jenkins-ssh 09:35:42 Cloning the remote Git repository 09:35:42 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 09:35:42 > git init /w/workspace/device-onvif-camera/72 # timeout=10 09:35:42 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 09:35:42 > git --version # timeout=10 09:35:42 > git --version # 'git version 2.25.1' 09:35:42 using GIT_SSH to set credentials SSH Credentials for GitHub 09:35:42 Verifying host key using known hosts file 09:35:42 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. 09:35:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:35:44 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 09:35:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:35:45 Avoid second fetch 09:35:45 Checking out Revision b5d57169a01cae7d6970e625d19bbc10451e80af (main) 09:35:45 Commit message: "feat(snap): add config interface with unique identifier (#179)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:35:45 > git config core.sparsecheckout # timeout=10 09:35:45 > git checkout -f b5d57169a01cae7d6970e625d19bbc10451e80af # timeout=10 09:35:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:35:46 % Total % Received % Xferd Average Speed Time Time Time Current 09:35:46 Dload Upload Total Spent Left Speed 09:35:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 85148 0 --:--:-- --:--:-- --:--:-- 85148 [Pipeline] sh 09:35:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:35:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:35:47 + sudo tee /etc/docker/daemon.new 09:35:47 { 09:35:47 "registry-mirrors": [ 09:35:47 "https://nexus3.edgexfoundry.org:10001" 09:35:47 ], 09:35:47 "bip": "10.250.0.254/24", 09:35:47 "hosts": [ 09:35:47 "tcp://0.0.0.0:5555", 09:35:47 "unix:///var/run/docker.sock" 09:35:47 ], 09:35:47 "mtu": 1458, 09:35:47 "selinux-enabled": true, 09:35:47 "seccomp-profile": "/etc/docker/seccomp.json" 09:35:47 } [Pipeline] sh 09:35:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:35:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:36:06 provisioning config files... 09:36:06 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/72@tmp/config16467211863445813856tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:36:07 ---> docker-login.sh 09:36:07 nexus3.edgexfoundry.org:10001 09:36:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:36:08 Configure a credential helper to remove this warning. See 09:36:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:36:08 09:36:08 Login Succeeded 09:36:08 nexus3.edgexfoundry.org:10002 09:36:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:36:08 Configure a credential helper to remove this warning. See 09:36:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:36:08 09:36:08 Login Succeeded 09:36:08 nexus3.edgexfoundry.org:10003 09:36:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:36:08 Configure a credential helper to remove this warning. See 09:36:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:36:08 09:36:08 Login Succeeded 09:36:08 nexus3.edgexfoundry.org:10004 09:36:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:36:09 Configure a credential helper to remove this warning. See 09:36:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:36:09 09:36:09 Login Succeeded 09:36:09 docker.io 09:36:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:36:09 Configure a credential helper to remove this warning. See 09:36:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:36:09 09:36:09 Login Succeeded 09:36:09 ---> docker-login.sh ends [Pipeline] } 09:36:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:36:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:36:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:36:09 ========================================================= 09:36:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 09:36:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:36:10 + 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 . 09:36:10 Sending build context to Docker daemon 14.68MB 09:36:10 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 09:36:10 Step 2/14 : FROM ${BASE} AS builder 09:36:10 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:36:10 9b18e9b68314: Pulling fs layer 09:36:10 d32db5db7311: Pulling fs layer 09:36:10 d0c4b47475fc: Pulling fs layer 09:36:10 5831b945b038: Pulling fs layer 09:36:10 86bbec2aaacd: Pulling fs layer 09:36:10 e10730c5d714: Pulling fs layer 09:36:10 5dd5c2283517: Pulling fs layer 09:36:10 d5ac0230b979: Pulling fs layer 09:36:10 e10730c5d714: Waiting 09:36:10 5831b945b038: Waiting 09:36:10 5dd5c2283517: Waiting 09:36:10 86bbec2aaacd: Waiting 09:36:10 d5ac0230b979: Waiting 09:36:10 d0c4b47475fc: Verifying Checksum 09:36:10 d0c4b47475fc: Download complete 09:36:10 d32db5db7311: Verifying Checksum 09:36:10 d32db5db7311: Download complete 09:36:11 86bbec2aaacd: Verifying Checksum 09:36:11 86bbec2aaacd: Download complete 09:36:11 e10730c5d714: Verifying Checksum 09:36:11 e10730c5d714: Download complete 09:36:11 9b18e9b68314: Verifying Checksum 09:36:11 9b18e9b68314: Download complete 09:36:11 9b18e9b68314: Pull complete 09:36:11 d5ac0230b979: Verifying Checksum 09:36:11 d5ac0230b979: Download complete 09:36:12 d32db5db7311: Pull complete 09:36:12 d0c4b47475fc: Pull complete 09:36:13 5dd5c2283517: Verifying Checksum 09:36:13 5dd5c2283517: Download complete 09:36:14 5831b945b038: Verifying Checksum 09:36:14 5831b945b038: Download complete 09:36:26 5831b945b038: Pull complete 09:36:26 86bbec2aaacd: Pull complete 09:36:26 e10730c5d714: Pull complete 09:36:33 5dd5c2283517: Pull complete 09:36:34 d5ac0230b979: Pull complete 09:36:34 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 09:36:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 09:36:34 ---> 59b3b1a385d4 09:36:34 Step 3/14 : ARG ADD_BUILD_TAGS="" 09:36:36 ---> Running in bbba8865e09e 09:36:37 Removing intermediate container bbba8865e09e 09:36:37 ---> 268e7527fca9 09:36:37 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:36:37 ---> Running in 811bc83cd574 09:36:37 Removing intermediate container 811bc83cd574 09:36:37 ---> 719f9c696162 09:36:37 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 09:36:37 ---> Running in 83fbe56f44c0 09:36:37 Removing intermediate container 83fbe56f44c0 09:36:37 ---> 8327008739bc 09:36:37 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 09:36:37 ---> Running in 14f871ed3a93 09:36:38 Removing intermediate container 14f871ed3a93 09:36:38 ---> ae2866d74954 09:36:38 Step 7/14 : LABEL Name=edgex-device-onvif-camera 09:36:38 ---> Running in d562cdf2793e 09:36:38 Removing intermediate container d562cdf2793e 09:36:38 ---> cdd041a0d97f 09:36:38 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:36:38 ---> Running in 4dd5aa0f6345 09:36:40 Removing intermediate container 4dd5aa0f6345 09:36:40 ---> 8acb0d236396 09:36:40 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:36:40 ---> Running in d6874458d283 09:36:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:36:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:36:49 OK: 221 MiB in 51 packages 09:36:49 Removing intermediate container d6874458d283 09:36:49 ---> 637978ade9c7 09:36:49 Step 10/14 : WORKDIR /device-onvif-camera 09:36:49 ---> Running in 67ae1ae66a74 09:36:50 Removing intermediate container 67ae1ae66a74 09:36:50 ---> d2eb4fbd0307 09:36:50 Step 11/14 : COPY go.mod vendor* ./ 09:36:50 ---> 948e61c99a13 09:36:50 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:36:50 ---> Running in ee219f907a05 09:37:47 Removing intermediate container ee219f907a05 09:37:47 ---> 2ca2bfe78117 09:37:47 Step 13/14 : COPY . . 09:37:47 ---> 42bf9512034a 09:37:47 Step 14/14 : RUN ${MAKE} 09:37:47 ---> Running in d03f0216eb9c 09:37:47 noop 09:37:47 Removing intermediate container d03f0216eb9c 09:37:47 ---> 68e43d7dbe14 09:37:47 Successfully built 68e43d7dbe14 09:37:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:47 + docker inspect -f . ci-base-image-arm64 09:37:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:37:47 prd-ubuntu20.04-docker-arm64-4c-16g-8280 does not seem to be running inside a container 09:37:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/72 -v /w/workspace/device-onvif-camera/72:/w/workspace/device-onvif-camera/72:rw,z -v /w/workspace/device-onvif-camera/72@tmp:/w/workspace/device-onvif-camera/72@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 09:37:49 $ docker top 07cb614661fe356be0ee351fc06ba4561722089be5f2173dcf80f7f072bd0ab1 -eo pid,comm [Pipeline] { [Pipeline] sh 09:37:49 + go version 09:37:49 go version go1.18.7 linux/arm64 [Pipeline] } 09:37:49 $ docker stop --time=1 07cb614661fe356be0ee351fc06ba4561722089be5f2173dcf80f7f072bd0ab1 09:37:51 $ docker rm -f 07cb614661fe356be0ee351fc06ba4561722089be5f2173dcf80f7f072bd0ab1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:52 + docker inspect -f . ci-base-image-arm64 09:37:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:37:52 prd-ubuntu20.04-docker-arm64-4c-16g-8280 does not seem to be running inside a container 09:37:52 $ 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/72 -v /w/workspace/device-onvif-camera/72:/w/workspace/device-onvif-camera/72:rw,z -v /w/workspace/device-onvif-camera/72@tmp:/w/workspace/device-onvif-camera/72@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 09:37:53 $ docker top 57d5b0a2820ac332612015622890867ea36e86cf63408b1d02777f1f4595de14 -eo pid,comm [Pipeline] { [Pipeline] sh 09:37:53 + git config --global --add safe.directory /w/workspace/device-onvif-camera/72 [Pipeline] fileExists [Pipeline] sh 09:37:54 + make test 09:37:54 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:37:56 ? github.com/edgexfoundry/device-onvif-camera [no test files] 09:39:33 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 09:39:36 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.202s coverage: 28.2% of statements 09:39:36 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 09:39:54 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.826s coverage: 86.5% of statements 09:39:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:39:54 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:40:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:40:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:40:26 ./bin/test-attribution-txt.sh [Pipeline] echo 09:40:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:40:26 $ docker stop --time=1 57d5b0a2820ac332612015622890867ea36e86cf63408b1d02777f1f4595de14 09:40:29 $ docker rm -f 57d5b0a2820ac332612015622890867ea36e86cf63408b1d02777f1f4595de14 [Pipeline] // withDockerContainer [Pipeline] sh 09:40:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:40:30 Warning: overwriting stash ‘coverage-report’ 09:40:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:40:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:40:31 + ls -al . 09:40:31 total 232 09:40:31 drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 09:37 . 09:40:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:35 .. 09:40:31 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 09:35 .git 09:40:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:35 .github 09:40:31 -rw-rw-r-- 1 jenkins jenkins 496 Oct 17 09:35 .gitignore 09:40:31 -rw-rw-r-- 1 jenkins jenkins 42 Oct 17 09:35 .golangci.yml 09:40:31 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 17 09:35 Attribution.txt 09:40:31 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 17 09:35 CHANGELOG.md 09:40:31 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 17 09:35 Dockerfile 09:40:31 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 09:35 GOVERNANCE.md 09:40:31 -rw-rw-r-- 1 jenkins jenkins 734 Oct 17 09:35 Jenkinsfile 09:40:31 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 17 09:35 LICENSE 09:40:31 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 17 09:35 Makefile 09:40:31 -rw-rw-r-- 1 jenkins jenkins 625 Oct 17 09:35 OWNERS.md 09:40:31 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 17 09:35 README.md 09:40:31 -rw-rw-r-- 1 jenkins jenkins 12 Oct 17 09:30 VERSION 09:40:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:35 bin 09:40:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:35 cmd 09:40:31 -rw-r--r-- 1 jenkins jenkins 78636 Oct 17 09:39 coverage.out 09:40:31 drwxrwxr-x 6 jenkins jenkins 4096 Oct 17 09:35 doc 09:40:31 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 17 09:35 go.mod 09:40:31 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 17 09:35 go.sum 09:40:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:35 internal 09:40:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:35 snap 09:40:31 -rw-rw-r-- 1 jenkins jenkins 236 Oct 17 09:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:31 + 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=b5d57169a01cae7d6970e625d19bbc10451e80af --label arch=arm64 --label version=2.3.0-dev.33 . 09:40:32 Sending build context to Docker daemon 14.76MB 09:40:32 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 09:40:32 Step 2/27 : FROM ${BASE} AS builder 09:40:32 ---> 68e43d7dbe14 09:40:32 Step 3/27 : ARG ADD_BUILD_TAGS="" 09:40:32 ---> Running in 902f893bbcf1 09:40:33 Removing intermediate container 902f893bbcf1 09:40:33 ---> 1c2601c8ce46 09:40:33 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:40:33 ---> Running in fe1842c0f0da 09:40:33 Removing intermediate container fe1842c0f0da 09:40:33 ---> a887d8365c3e 09:40:33 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 09:40:33 ---> Running in d07075abe202 09:40:34 Removing intermediate container d07075abe202 09:40:34 ---> d005a9272c25 09:40:34 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 09:40:34 ---> Running in d4b68af54322 09:40:34 Removing intermediate container d4b68af54322 09:40:34 ---> e8c7ed0fe3ea 09:40:34 Step 7/27 : LABEL Name=edgex-device-onvif-camera 09:40:34 ---> Running in 5cdc50c6002f 09:40:35 Removing intermediate container 5cdc50c6002f 09:40:35 ---> 86050a720300 09:40:35 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:40:35 ---> Running in e801121fcdb8 09:40:37 Removing intermediate container e801121fcdb8 09:40:37 ---> 30a687e08a38 09:40:37 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:40:37 ---> Running in caf9c9971e7d 09:40:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:40:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:40:40 OK: 221 MiB in 51 packages 09:40:42 Removing intermediate container caf9c9971e7d 09:40:42 ---> a35f83b77631 09:40:42 Step 10/27 : WORKDIR /device-onvif-camera 09:40:42 ---> Running in e3a20c68e60b 09:40:42 Removing intermediate container e3a20c68e60b 09:40:42 ---> 55299248efb6 09:40:42 Step 11/27 : COPY go.mod vendor* ./ 09:40:43 ---> 1bb18a08423e 09:40:43 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:40:43 ---> Running in 389a5937bd4b 09:40:48 Removing intermediate container 389a5937bd4b 09:40:48 ---> 51774a4daba6 09:40:48 Step 13/27 : COPY . . 09:40:49 ---> 04ee841ada7e 09:40:49 Step 14/27 : RUN ${MAKE} 09:40:49 ---> Running in 315bf2ef77d0 09:40:50 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.33 -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 09:43:27 Removing intermediate container 315bf2ef77d0 09:43:27 ---> 75f02307d237 09:43:27 Step 15/27 : FROM alpine:3.16 09:43:27 3.16: Pulling from library/alpine 09:43:27 9b18e9b68314: Already exists 09:43:27 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:43:27 Status: Downloaded newer image for alpine:3.16 09:43:27 ---> a6215f271958 09:43:27 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 09:43:27 ---> Running in 66ff869bb6f1 09:43:27 Removing intermediate container 66ff869bb6f1 09:43:27 ---> cfe0a2839e49 09:43:27 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 09:43:27 ---> Running in 7b89efc174b5 09:43:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:43:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:43:27 (1/6) Installing dumb-init (1.2.5-r1) 09:43:27 (2/6) Installing libgcc (11.2.1_git20220219-r2) 09:43:27 (3/6) Installing libsodium (1.0.18-r0) 09:43:27 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 09:43:27 (5/6) Installing libzmq (4.3.4-r0) 09:43:27 (6/6) Installing zeromq (4.3.4-r0) 09:43:27 Executing busybox-1.35.0-r17.trigger 09:43:27 OK: 8 MiB in 20 packages 09:43:27 Removing intermediate container 7b89efc174b5 09:43:27 ---> 6b2b22897d39 09:43:27 Step 18/27 : WORKDIR / 09:43:27 ---> Running in a7d7e1d355c7 09:43:27 Removing intermediate container a7d7e1d355c7 09:43:27 ---> 7196d6c08d33 09:43:27 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 09:43:27 ---> 233254106444 09:43:27 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 09:43:27 ---> 55b7bf140a90 09:43:27 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 09:43:27 ---> f4c625f2c38d 09:43:27 Step 22/27 : EXPOSE 59984 09:43:27 ---> Running in 2ba06fa56965 09:43:27 Removing intermediate container 2ba06fa56965 09:43:27 ---> 758676e99050 09:43:27 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 09:43:27 ---> Running in b023104bfab7 09:43:27 Removing intermediate container b023104bfab7 09:43:27 ---> 574618711125 09:43:27 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:43:27 ---> Running in 89d4104a5b9c 09:43:27 Removing intermediate container 89d4104a5b9c 09:43:27 ---> b9b3aaea8464 09:43:27 Step 25/27 : LABEL arch=arm64 09:43:27 ---> Running in 6f37cc70955d 09:43:27 Removing intermediate container 6f37cc70955d 09:43:27 ---> 34e5ed9b9e82 09:43:27 Step 26/27 : LABEL git_sha=b5d57169a01cae7d6970e625d19bbc10451e80af 09:43:27 ---> Running in 651fa6ef6623 09:43:27 Removing intermediate container 651fa6ef6623 09:43:27 ---> 73fdeed1b2f7 09:43:27 Step 27/27 : LABEL version=2.3.0-dev.33 09:43:27 ---> Running in 689854198f3a 09:43:27 Removing intermediate container 689854198f3a 09:43:27 ---> 17ba8d1ae3da 09:43:27 [Warning] One or more build-args [ARCH] were not consumed 09:43:27 Successfully built 17ba8d1ae3da 09:43:27 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 09:43:27 provisioning config files... 09:43:27 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/72@tmp/config4831458765478548250tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:43:28 ---> docker-login.sh 09:43:28 nexus3.edgexfoundry.org:10001 09:43:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:43:28 Configure a credential helper to remove this warning. See 09:43:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:43:28 09:43:28 Login Succeeded 09:43:28 nexus3.edgexfoundry.org:10002 09:43:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:43:28 Configure a credential helper to remove this warning. See 09:43:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:43:28 09:43:28 Login Succeeded 09:43:28 nexus3.edgexfoundry.org:10003 09:43:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:43:29 Configure a credential helper to remove this warning. See 09:43:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:43:29 09:43:29 Login Succeeded 09:43:29 nexus3.edgexfoundry.org:10004 09:43:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:43:29 Configure a credential helper to remove this warning. See 09:43:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:43:29 09:43:29 Login Succeeded 09:43:29 docker.io 09:43:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:43:29 Configure a credential helper to remove this warning. See 09:43:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:43:29 09:43:29 Login Succeeded 09:43:29 ---> docker-login.sh ends [Pipeline] } 09:43:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:43:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:43:30 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 09:43:30 b5d57169a01cae7d6970e625d19bbc10451e80af 09:43:30 latest 09:43:30 2.3.0-dev.33 09:43:30 b5d57169a01cae7d6970e625d19bbc10451e80af-2.3.0-dev.33 09:43:30 main 09:43:30 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:30 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b5d57169a01cae7d6970e625d19bbc10451e80af [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:30 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b5d57169a01cae7d6970e625d19bbc10451e80af 09:43:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 09:43:30 561456b1f398: Preparing 09:43:30 092a9655761a: Preparing 09:43:30 0300f7d1d33d: Preparing 09:43:30 f38695be673b: Preparing 09:43:30 5d3e392a13a0: Preparing 09:43:30 5d3e392a13a0: Layer already exists 09:43:31 092a9655761a: Pushed 09:43:31 561456b1f398: Pushed 09:43:31 f38695be673b: Pushed 09:43:37 0300f7d1d33d: Pushed 09:43:37 b5d57169a01cae7d6970e625d19bbc10451e80af: digest: sha256:343f106d5e76893551bdb75554c0d4354d5a2b186fafb618c9f6fd706df872b3 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:37 + 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 09:43:37 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 09:43:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 09:43:37 561456b1f398: Preparing 09:43:37 092a9655761a: Preparing 09:43:37 0300f7d1d33d: Preparing 09:43:37 f38695be673b: Preparing 09:43:37 5d3e392a13a0: Preparing 09:43:37 092a9655761a: Layer already exists 09:43:37 f38695be673b: Layer already exists 09:43:37 5d3e392a13a0: Layer already exists 09:43:37 0300f7d1d33d: Layer already exists 09:43:37 561456b1f398: Layer already exists 09:43:37 latest: digest: sha256:343f106d5e76893551bdb75554c0d4354d5a2b186fafb618c9f6fd706df872b3 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:38 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:38 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.33 09:43:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 09:43:38 561456b1f398: Preparing 09:43:38 092a9655761a: Preparing 09:43:38 0300f7d1d33d: Preparing 09:43:38 f38695be673b: Preparing 09:43:38 5d3e392a13a0: Preparing 09:43:38 f38695be673b: Layer already exists 09:43:38 092a9655761a: Layer already exists 09:43:38 5d3e392a13a0: Layer already exists 09:43:38 561456b1f398: Layer already exists 09:43:38 0300f7d1d33d: Layer already exists 09:43:38 2.3.0-dev.33: digest: sha256:343f106d5e76893551bdb75554c0d4354d5a2b186fafb618c9f6fd706df872b3 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:38 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b5d57169a01cae7d6970e625d19bbc10451e80af-2.3.0-dev.33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:39 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b5d57169a01cae7d6970e625d19bbc10451e80af-2.3.0-dev.33 09:43:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 09:43:39 561456b1f398: Preparing 09:43:39 092a9655761a: Preparing 09:43:39 0300f7d1d33d: Preparing 09:43:39 f38695be673b: Preparing 09:43:39 5d3e392a13a0: Preparing 09:43:39 561456b1f398: Layer already exists 09:43:39 0300f7d1d33d: Layer already exists 09:43:39 092a9655761a: Layer already exists 09:43:39 f38695be673b: Layer already exists 09:43:39 5d3e392a13a0: Layer already exists 09:43:39 b5d57169a01cae7d6970e625d19bbc10451e80af-2.3.0-dev.33: digest: sha256:343f106d5e76893551bdb75554c0d4354d5a2b186fafb618c9f6fd706df872b3 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:39 + 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 09:43:39 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 09:43:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 09:43:39 561456b1f398: Preparing 09:43:39 092a9655761a: Preparing 09:43:39 0300f7d1d33d: Preparing 09:43:39 f38695be673b: Preparing 09:43:39 5d3e392a13a0: Preparing 09:43:39 561456b1f398: Layer already exists 09:43:39 5d3e392a13a0: Layer already exists 09:43:39 f38695be673b: Layer already exists 09:43:39 092a9655761a: Layer already exists 09:43:39 0300f7d1d33d: Layer already exists 09:43:39 main: digest: sha256:343f106d5e76893551bdb75554c0d4354d5a2b186fafb618c9f6fd706df872b3 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:43:39 ===================================================== [Pipeline] echo 09:43:39 taggedImages: 09:43:39 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b5d57169a01cae7d6970e625d19bbc10451e80af 09:43:39 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 09:43:39 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.33 09:43:39 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b5d57169a01cae7d6970e625d19bbc10451e80af-2.3.0-dev.33 09:43:39 - 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 09:43:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:43:40 09:43:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:43:40 arm64: Pulling from edgex-lftools-log-publisher 09:43:40 8998bd30e6a1: Pulling fs layer 09:43:40 04944245beec: Pulling fs layer 09:43:40 699f458cf7ca: Pulling fs layer 09:43:40 765212b225bb: Pulling fs layer 09:43:40 f23df028b6ca: Pulling fs layer 09:43:40 d65c8cfc05b1: Pulling fs layer 09:43:40 2437ff75d9bd: Pulling fs layer 09:43:40 765212b225bb: Waiting 09:43:40 f23df028b6ca: Waiting 09:43:40 d65c8cfc05b1: Waiting 09:43:40 2437ff75d9bd: Waiting 09:43:40 04944245beec: Verifying Checksum 09:43:40 04944245beec: Download complete 09:43:40 765212b225bb: Verifying Checksum 09:43:40 765212b225bb: Download complete 09:43:40 f23df028b6ca: Verifying Checksum 09:43:40 f23df028b6ca: Download complete 09:43:40 d65c8cfc05b1: Verifying Checksum 09:43:40 d65c8cfc05b1: Download complete 09:43:40 699f458cf7ca: Verifying Checksum 09:43:40 699f458cf7ca: Download complete 09:43:41 8998bd30e6a1: Verifying Checksum 09:43:41 8998bd30e6a1: Download complete 09:43:43 2437ff75d9bd: Verifying Checksum 09:43:43 2437ff75d9bd: Download complete 09:43:45 8998bd30e6a1: Pull complete 09:43:45 04944245beec: Pull complete 09:43:46 699f458cf7ca: Pull complete 09:43:47 765212b225bb: Pull complete 09:43:47 f23df028b6ca: Pull complete 09:43:48 d65c8cfc05b1: Pull complete 09:44:03 2437ff75d9bd: Pull complete 09:44:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:44:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:44:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:44:03 prd-ubuntu20.04-docker-arm64-4c-16g-8280 does not seem to be running inside a container 09:44:03 $ 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/72 -v /w/workspace/device-onvif-camera/72:/w/workspace/device-onvif-camera/72:rw,z -v /w/workspace/device-onvif-camera/72@tmp:/w/workspace/device-onvif-camera/72@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 09:44:05 $ docker top b10ddf5ea66c356c58b7084c8f5f17bf04b5c642acae2466499dc6256f65a97d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:44:06 ---> job-cost.sh 09:44:06 lf-activate-venv: SKIPPING 09:44:06 INFO: No Stack... 09:44:06 INFO: Retrieving Pricing Info for: v3-standard-4 09:44:07 INFO: Archiving Costs [Pipeline] sh 09:44:08 + cat /w/workspace/device-onvif-camera/72/archives/cost.csv 09:44:08 + cut -d, -f6 [Pipeline] lock 09:44:08 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-72-stack-cost] 09:44:08 Resource [jenkins-edgexfoundry-device-onvif-camera-main-72-stack-cost] did not exist. Created. 09:44:08 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-72-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:44:08 /w/workspace/device-onvif-camera/72@tmp/durable-3b2c3a91/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:44:09 + echo total: 0.10999999940395355 [Pipeline] stash 09:44:09 Warning: overwriting stash ‘stack-cost’ 09:44:09 Stashed 1 file(s) [Pipeline] } 09:44:09 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-72-stack-cost] [Pipeline] // lock [Pipeline] } 09:44:09 $ docker stop --time=1 b10ddf5ea66c356c58b7084c8f5f17bf04b5c642acae2466499dc6256f65a97d 09:44:10 $ docker rm -f b10ddf5ea66c356c58b7084c8f5f17bf04b5c642acae2466499dc6256f65a97d [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 09:44:11 provisioning config files... 09:44:11 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2658671810784158124tmp [Pipeline] { [Pipeline] sh 09:44:11 + set +x 09:44:11 + curl -s https://codecov.io/bash 09:44:11 + bash -s -- 09:44:11 09:44:11 _____ _ 09:44:11 / ____| | | 09:44:11 | | ___ __| | ___ ___ _____ __ 09:44:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:44:11 | |___| (_) | (_| | __/ (_| (_) \ V / 09:44:11 \_____\___/ \__,_|\___|\___\___/ \_/ 09:44:11 Bash-1.0.6 09:44:11 09:44:11 09:44:11 ==> git version 2.25.1 found 09:44:11 ==> 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 09:44:11 Release-Date: 2020-01-08 09:44:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:44:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:44:11 ==> Jenkins CI detected. 09:44:11 current dir:  /w/workspace/foundry_device-onvif-camera_main 09:44:11 project root: . 09:44:11 --> token set from env 09:44:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:44:11 ==> Running gcov in . (disable via -X gcov) 09:44:11 ==> Python coveragepy not found 09:44:11 ==> Searching for coverage reports in: 09:44:11 + . 09:44:11 -> Found 1 reports 09:44:11 ==> Detecting git/mercurial file structure 09:44:11 ==> Reading reports 09:44:11 + ./coverage.out bytes=78636 09:44:11 ==> Appending adjustments 09:44:11 https://docs.codecov.io/docs/fixing-reports 09:44:11 + Found adjustments 09:44:11 ==> Gzipping contents 09:44:11 12K /tmp/codecov.3v8xN3.gz 09:44:11 ==> Uploading reports 09:44:11 url: https://codecov.io 09:44:11 query: branch=main&commit=b5d57169a01cae7d6970e625d19bbc10451e80af&build=72&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F72%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 09:44:11 -> Pinging Codecov 09:44:11 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=b5d57169a01cae7d6970e625d19bbc10451e80af&build=72&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F72%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 09:44:11 -> Uploading to 09:44:11 https://storage.googleapis.com/codecov/v4/raw/2022-10-17/F29A59C45E3A92E06B3E522C9905F8EF/b5d57169a01cae7d6970e625d19bbc10451e80af/e655844f-9962-4edb-b773-fc17d4dcdcbf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T094411Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e2ad23dbd260f564f58d547b074807cb239127c112c653a000eaa5a294c8e274 09:44:11 % Total % Received % Xferd Average Speed Time Time Time Current 09:44:11 Dload Upload Total Spent Left Speed 09:44:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10781 0 0 100 10781 0 48782 --:--:-- --:--:-- --:--:-- 48782 09:44:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/b5d57169a01cae7d6970e625d19bbc10451e80af [Pipeline] } 09:44:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:44:12 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:44:12 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:44:12 09:44:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:44:12 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:44:12 df9b9388f04a: Pulling fs layer 09:44:12 52dc419b0ee2: Pulling fs layer 09:44:12 25bc292e5bac: Pulling fs layer 09:44:12 114826534d7a: Pulling fs layer 09:44:12 4657fd5d0bcf: Pulling fs layer 09:44:12 6ad1cebc031e: Pulling fs layer 09:44:12 8a3aa393b2d8: Pulling fs layer 09:44:12 114826534d7a: Waiting 09:44:12 4657fd5d0bcf: Waiting 09:44:12 8a3aa393b2d8: Waiting 09:44:12 6ad1cebc031e: Waiting 09:44:12 25bc292e5bac: Download complete 09:44:12 52dc419b0ee2: Download complete 09:44:12 4657fd5d0bcf: Download complete 09:44:12 df9b9388f04a: Verifying Checksum 09:44:13 df9b9388f04a: Pull complete 09:44:13 6ad1cebc031e: Download complete 09:44:13 52dc419b0ee2: Pull complete 09:44:13 25bc292e5bac: Pull complete 09:44:13 114826534d7a: Download complete 09:44:13 8a3aa393b2d8: Verifying Checksum 09:44:13 8a3aa393b2d8: Download complete 09:44:17 114826534d7a: Pull complete 09:44:17 4657fd5d0bcf: Pull complete 09:44:17 6ad1cebc031e: Pull complete 09:44:19 8a3aa393b2d8: Pull complete 09:44:19 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 09:44:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:44:19 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:44:20 prd-ubuntu20.04-docker-8c-8g-8275 does not seem to be running inside a container 09:44:20 $ 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 09:44:22 $ docker top f265bece14260f49e14b1ac13524187aa2db9f302a6fbaf603ac02b749882180 -eo pid,comm [Pipeline] { [Pipeline] echo 09:44:22 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 09:44:22 + set -o pipefail 09:44:22 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 09:44:28 09:44:28 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 09:44:28 09:44:28 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/68e855b8-aabf-43ba-bd62-fb91142a5322 09:44:28 09:44:28 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 09:44:28 09:44:28 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:44:28 09:44:29 09:44:29 A medium severity vulnerability was found in the Snyk CLI versions you are using. 09:44:29 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 09:44:29 More details here: https://snyk.co/ue1NS [Pipeline] } 09:44:29 $ docker stop --time=1 f265bece14260f49e14b1ac13524187aa2db9f302a6fbaf603ac02b749882180 09:44:31 $ docker rm -f f265bece14260f49e14b1ac13524187aa2db9f302a6fbaf603ac02b749882180 [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 09:44:31 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:44:31 provisioning config files... 09:44:31 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2888699316538856225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:44:32 --> edgex-publish-swagger.sh 09:44:32 === Publish doc/openapi/v2 API === 09:44:32 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 09:44:32 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 09:44:32 % Total % Received % Xferd Average Speed Time Time Time Current 09:44:32 Dload Upload Total Spent Left Speed 09:44:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 405k 0 0 100 405k 0 1924k --:--:-- --:--:-- --:--:-- 1914k 100 405k 0 0 100 405k 0 522k --:--:-- --:--:-- --:--:-- 521k 09:44:32 09:44:32 [Pipeline] } 09:44:32 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 09:44:33 + git log --format=format:%s -1 b5d57169a01cae7d6970e625d19bbc10451e80af [Pipeline] sh 09:44:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:44:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:44:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:44:33 prd-ubuntu20.04-docker-8c-8g-8275 does not seem to be running inside a container 09:44:33 $ 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 09:44:34 $ docker top f6680bd2c9a720fc7da67957bb6820b5530752e3ae1670e47ac0c2c1086f12cc -eo pid,comm 09:44:34 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). 09:44:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:44:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:44:34 [ssh-agent] Looking for ssh-agent implementation... 09:44:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:44:34 $ docker exec f6680bd2c9a720fc7da67957bb6820b5530752e3ae1670e47ac0c2c1086f12cc ssh-agent 09:44:34 SSH_AUTH_SOCK=/tmp/ssh-cbrggqBcq190/agent.31 09:44:34 SSH_AGENT_PID=37 09:44:34 Running ssh-add (command line suppressed) 09:44:34 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16338528636860875566.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16338528636860875566.key) 09:44:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:44:34 + git semver tag 09:44:35 2022-10-17 09:44:34,990 [run_tag] DEBUG tag force:False 09:44:35 2022-10-17 09:44:34,990 [check_head_tag] DEBUG check head tag 09:44:35 2022-10-17 09:44:34,991 [execute] INFO git cat-file --batch-check 09:44:35 2022-10-17 09:44:34,992 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 09:44:35 2022-10-17 09:44:34,995 [execute] INFO git cat-file --batch 09:44:35 2022-10-17 09:44:34,996 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 09:44:35 2022-10-17 09:44:35,020 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 09:44:35 2022-10-17 09:44:35,021 [execute] INFO git tag -a v2.3.0-dev.33 -m v2.3.0-dev.33 09:44:35 2022-10-17 09:44:35,021 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.33', '-m', 'v2.3.0-dev.33'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 09:44:35 2022-10-17 09:44:35,028 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 09:44:35 2.3.0-dev.33 [Pipeline] } 09:44:35 $ docker exec --env ******** --env ******** f6680bd2c9a720fc7da67957bb6820b5530752e3ae1670e47ac0c2c1086f12cc ssh-agent -k 09:44:35 unset SSH_AUTH_SOCK; 09:44:35 unset SSH_AGENT_PID; 09:44:35 echo Agent pid 37 killed; 09:44:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:44:35 + git semver [Pipeline] } 09:44:35 $ docker stop --time=1 f6680bd2c9a720fc7da67957bb6820b5530752e3ae1670e47ac0c2c1086f12cc 09:44:37 $ docker rm -f f6680bd2c9a720fc7da67957bb6820b5530752e3ae1670e47ac0c2c1086f12cc [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:44:37 09:44:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:44:37 0.23.1-centos7: Pulling from edgex-lftools 09:44:37 ab5ef0e58194: Pulling fs layer 09:44:37 9712f1f96733: Pulling fs layer 09:44:37 63f879dbbcfc: Pulling fs layer 09:44:37 0d9ebad4ef96: Pulling fs layer 09:44:37 e9a5061849ea: Pulling fs layer 09:44:37 d747dcd14b5f: Pulling fs layer 09:44:37 2de7ff778b66: Pulling fs layer 09:44:37 d747dcd14b5f: Waiting 09:44:37 2de7ff778b66: Waiting 09:44:37 0d9ebad4ef96: Waiting 09:44:37 e9a5061849ea: Waiting 09:44:37 9712f1f96733: Verifying Checksum 09:44:37 9712f1f96733: Download complete 09:44:38 63f879dbbcfc: Verifying Checksum 09:44:38 63f879dbbcfc: Download complete 09:44:38 0d9ebad4ef96: Verifying Checksum 09:44:38 0d9ebad4ef96: Download complete 09:44:38 d747dcd14b5f: Download complete 09:44:38 e9a5061849ea: Verifying Checksum 09:44:38 e9a5061849ea: Download complete 09:44:38 ab5ef0e58194: Verifying Checksum 09:44:38 ab5ef0e58194: Download complete 09:44:38 2de7ff778b66: Verifying Checksum 09:44:38 2de7ff778b66: Download complete 09:44:41 ab5ef0e58194: Pull complete 09:44:41 9712f1f96733: Pull complete 09:44:41 63f879dbbcfc: Pull complete 09:44:44 0d9ebad4ef96: Pull complete 09:44:44 e9a5061849ea: Pull complete 09:44:44 d747dcd14b5f: Pull complete 09:44:45 2de7ff778b66: Pull complete 09:44:45 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:44:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:44:45 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:44:45 prd-ubuntu20.04-docker-8c-8g-8275 does not seem to be running inside a container 09:44:45 $ 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 09:44:47 $ docker top 47868508ecc1d884bd3f442b3bf6f1ea3956c148284c5221eab275845b2c87ec -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:44:47 provisioning config files... 09:44:47 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11799201040493256211tmp 09:44:47 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4674483653429837535tmp 09:44:47 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10735021835194435784tmp [Pipeline] { [Pipeline] echo 09:44:47 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:44:48 ---> sigul-configuration.sh 09:44:48 gpg: directory `/root/.gnupg' created 09:44:48 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:44:48 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:44:48 gpg: keyring `/root/.gnupg/secring.gpg' created 09:44:48 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:44:48 gpg: CAST5 encrypted data 09:44:48 gpg: encrypted with 1 passphrase 09:44:48 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:44:48 + mkdir /home/jenkins 09:44:48 + mkdir /home/jenkins/sigul [Pipeline] sh 09:44:48 + 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 09:44:48 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:44:49 ---> sigul-install.sh 09:44:49 Sigul already installed; skipping installation. [Pipeline] sh 09:44:49 + git tag --list 09:44:49 v0.0.0 09:44:49 v0.0.1-dev.1 09:44:49 v0.0.1-dev.10 09:44:49 v0.0.1-dev.11 09:44:49 v0.0.1-dev.12 09:44:49 v0.0.1-dev.13 09:44:49 v0.0.1-dev.14 09:44:49 v0.0.1-dev.15 09:44:49 v0.0.1-dev.16 09:44:49 v0.0.1-dev.17 09:44:49 v0.0.1-dev.18 09:44:49 v0.0.1-dev.19 09:44:49 v0.0.1-dev.2 09:44:49 v0.0.1-dev.20 09:44:49 v0.0.1-dev.21 09:44:49 v0.0.1-dev.22 09:44:49 v0.0.1-dev.23 09:44:49 v0.0.1-dev.24 09:44:49 v0.0.1-dev.25 09:44:49 v0.0.1-dev.26 09:44:49 v0.0.1-dev.27 09:44:49 v0.0.1-dev.28 09:44:49 v0.0.1-dev.3 09:44:49 v0.0.1-dev.4 09:44:49 v0.0.1-dev.5 09:44:49 v0.0.1-dev.6 09:44:49 v0.0.1-dev.7 09:44:49 v0.0.1-dev.8 09:44:49 v0.0.1-dev.9 09:44:49 v2.2.0 09:44:49 v2.2.0-dev.29 09:44:49 v2.2.0-dev.30 09:44:49 v2.2.0-dev.31 09:44:49 v2.2.0-dev.32 09:44:49 v2.2.0-dev.33 09:44:49 v2.2.0-dev.34 09:44:49 v2.2.0-dev.35 09:44:49 v2.3.0-dev.1 09:44:49 v2.3.0-dev.10 09:44:49 v2.3.0-dev.11 09:44:49 v2.3.0-dev.12 09:44:49 v2.3.0-dev.13 09:44:49 v2.3.0-dev.14 09:44:49 v2.3.0-dev.15 09:44:49 v2.3.0-dev.16 09:44:49 v2.3.0-dev.17 09:44:49 v2.3.0-dev.18 09:44:49 v2.3.0-dev.19 09:44:49 v2.3.0-dev.2 09:44:49 v2.3.0-dev.20 09:44:49 v2.3.0-dev.21 09:44:49 v2.3.0-dev.22 09:44:49 v2.3.0-dev.23 09:44:49 v2.3.0-dev.24 09:44:49 v2.3.0-dev.25 09:44:49 v2.3.0-dev.26 09:44:49 v2.3.0-dev.27 09:44:49 v2.3.0-dev.28 09:44:49 v2.3.0-dev.29 09:44:49 v2.3.0-dev.3 09:44:49 v2.3.0-dev.30 09:44:49 v2.3.0-dev.31 09:44:49 v2.3.0-dev.32 09:44:49 v2.3.0-dev.33 09:44:49 v2.3.0-dev.4 09:44:49 v2.3.0-dev.5 09:44:49 v2.3.0-dev.6 09:44:49 v2.3.0-dev.7 09:44:49 v2.3.0-dev.8 09:44:49 v2.3.0-dev.9 [Pipeline] sh 09:44:49 + lftools sign git-tag v2.3.0-dev.33 09:44:50 Signing Git tag with Sigul... 09:44:50 Signing v2.3.0-dev.33 [Pipeline] echo 09:44:50 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:44:50 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:44:50 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:44:50 $ docker stop --time=1 47868508ecc1d884bd3f442b3bf6f1ea3956c148284c5221eab275845b2c87ec 09:44:52 $ docker rm -f 47868508ecc1d884bd3f442b3bf6f1ea3956c148284c5221eab275845b2c87ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:44:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:44:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:44:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:44:52 prd-ubuntu20.04-docker-8c-8g-8275 does not seem to be running inside a container 09:44:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:44:53 $ docker top 82838d80e632341ee6f961bed2a34b3f31d7329c5b880d2c86db939aa2d168fd -eo pid,comm 09:44:53 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). 09:44:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:44:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:44:53 [ssh-agent] Looking for ssh-agent implementation... 09:44:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:44:53 $ docker exec 82838d80e632341ee6f961bed2a34b3f31d7329c5b880d2c86db939aa2d168fd ssh-agent 09:44:53 SSH_AUTH_SOCK=/tmp/ssh-024IZ4RGueXw/agent.31 09:44:53 SSH_AGENT_PID=37 09:44:53 Running ssh-add (command line suppressed) 09:44:53 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2644591946976575338.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2644591946976575338.key) 09:44:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:44:53 + git semver bump pre 09:44:54 2022-10-17 09:44:54,044 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 09:44:54 2022-10-17 09:44:54,044 [bump_version] DEBUG bumping version:2.3.0-dev.33 on axis:pre with prefix:dev 09:44:54 2022-10-17 09:44:54,044 [bump_version] DEBUG bumped version:2.3.0-dev.34 09:44:54 2022-10-17 09:44:54,045 [write_version] DEBUG write version:2.3.0-dev.34 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 09:44:54 2022-10-17 09:44:54,045 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 09:44:54 2022-10-17 09:44:54,045 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 09:44:54 2022-10-17 09:44:54,046 [execute] INFO git cat-file --batch-check 09:44:54 2022-10-17 09:44:54,046 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 09:44:54 2022-10-17 09:44:54,051 [execute] INFO git cat-file --batch 09:44:54 2022-10-17 09:44:54,051 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 09:44:54 2022-10-17 09:44:54,056 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 09:44:54 2.3.0-dev.34 [Pipeline] } 09:44:54 $ docker exec --env ******** --env ******** 82838d80e632341ee6f961bed2a34b3f31d7329c5b880d2c86db939aa2d168fd ssh-agent -k 09:44:54 unset SSH_AUTH_SOCK; 09:44:54 unset SSH_AGENT_PID; 09:44:54 echo Agent pid 37 killed; 09:44:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:44:54 + git semver [Pipeline] } 09:44:54 $ docker stop --time=1 82838d80e632341ee6f961bed2a34b3f31d7329c5b880d2c86db939aa2d168fd 09:44:56 $ docker rm -f 82838d80e632341ee6f961bed2a34b3f31d7329c5b880d2c86db939aa2d168fd [Pipeline] // withDockerContainer [Pipeline] sh 09:44:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:44:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:44:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:44:56 prd-ubuntu20.04-docker-8c-8g-8275 does not seem to be running inside a container 09:44:56 $ 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 09:44:57 $ docker top 2288d8b1e30fa64fa653cbe3e775f4f4f7723eeb88649c2abc524df9b3730719 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:44:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:44:57 [ssh-agent] Looking for ssh-agent implementation... 09:44:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:44:57 $ docker exec 2288d8b1e30fa64fa653cbe3e775f4f4f7723eeb88649c2abc524df9b3730719 ssh-agent 09:44:57 SSH_AUTH_SOCK=/tmp/ssh-7DhmnDDk9dTX/agent.32 09:44:57 SSH_AGENT_PID=38 09:44:57 Running ssh-add (command line suppressed) 09:44:57 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11330796282233587522.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11330796282233587522.key) 09:44:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:44:57 + git semver push 09:44:58 2022-10-17 09:44:58,087 [run_push] DEBUG push 09:44:58 2022-10-17 09:44:58,088 [execute] INFO git cat-file --batch-check 09:44:58 2022-10-17 09:44:58,088 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 09:44:58 2022-10-17 09:44:58,092 [execute] INFO git rev-list 574188ecdd1cd626049726e12224aae73c337583 -- 09:44:58 2022-10-17 09:44:58,092 [execute] DEBUG Popen(['git', 'rev-list', '574188ecdd1cd626049726e12224aae73c337583', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 09:44:58 2022-10-17 09:44:58,100 [execute] INFO git fetch -v origin 09:44:58 2022-10-17 09:44:58,100 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 09:44:58 2022-10-17 09:44:58,691 [run_push] DEBUG no remote changes detected 09:44:58 2022-10-17 09:44:58,691 [execute] INFO git push origin semver 09:44:58 2022-10-17 09:44:58,692 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 09:44:59 2022-10-17 09:44:59,477 [run_push] DEBUG push all version tags 09:44:59 2022-10-17 09:44:59,478 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:44:59 2022-10-17 09:44:59,478 [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) 09:45:00 2022-10-17 09:45:00,269 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 09:45:00 2.3.0-dev.34 [Pipeline] } 09:45:00 $ docker exec --env ******** --env ******** 2288d8b1e30fa64fa653cbe3e775f4f4f7723eeb88649c2abc524df9b3730719 ssh-agent -k 09:45:00 unset SSH_AUTH_SOCK; 09:45:00 unset SSH_AGENT_PID; 09:45:00 echo Agent pid 38 killed; 09:45:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:45:01 + git semver [Pipeline] } 09:45:01 $ docker stop --time=1 2288d8b1e30fa64fa653cbe3e775f4f4f7723eeb88649c2abc524df9b3730719 09:45:02 $ docker rm -f 2288d8b1e30fa64fa653cbe3e775f4f4f7723eeb88649c2abc524df9b3730719 [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 09:45:03 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 09:45:03 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 09:45:03 total 16 09:45:03 drwxr-xr-x 3 root root 4096 Oct 17 09:32 . 09:45:03 drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 09:44 .. 09:45:03 drwxr-xr-x 2 root root 4096 Oct 17 09:32 cost 09:45:03 -rw-r--r-- 1 root root 90 Oct 17 09:32 cost.csv 09:45:03 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 09:45:03 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 09:45:03 total 16 09:45:03 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 09:32 . 09:45:03 drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 09:44 .. 09:45:03 drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 09:32 cost 09:45:03 -rw-r--r-- 1 jenkins jenkins 90 Oct 17 09:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:45:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:45:04 ---> package-listing.sh 09:45:04 ++ facter osfamily 09:45:04 ++ tr '[:upper:]' '[:lower:]' 09:45:04 + OS_FAMILY=debian 09:45:04 + workspace=/w/workspace/foundry_device-onvif-camera_main 09:45:04 + START_PACKAGES=/tmp/packages_start.txt 09:45:04 + END_PACKAGES=/tmp/packages_end.txt 09:45:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:45:04 + PACKAGES=/tmp/packages_start.txt 09:45:04 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 09:45:04 + PACKAGES=/tmp/packages_end.txt 09:45:04 + case "${OS_FAMILY}" in 09:45:04 + dpkg -l 09:45:04 + grep '^ii' 09:45:04 + '[' -f /tmp/packages_start.txt ']' 09:45:04 + '[' -f /tmp/packages_end.txt ']' 09:45:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:45:04 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 09:45:04 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 09:45:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 09:45:04 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 09:45:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:45:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:45:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:45:05 prd-ubuntu20.04-docker-8c-8g-8275 does not seem to be running inside a container 09:45:05 $ 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 09:45:05 $ docker top 52e3a5407c8a43ca62f8188202f40b8b1a1256fb98318e1902e36c26bf2be544 -eo pid,comm [Pipeline] { [Pipeline] sh 09:45:06 + touch /tmp/pre-build-complete [Pipeline] sh 09:45:06 + mkdir -p /var/log/sysstat [Pipeline] sh 09:45:06 + ls /var/log/sa-host 09:45:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:45:06 provisioning config files... 09:45:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14278871721085242014tmp [Pipeline] { [Pipeline] echo 09:45:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:45:07 ---> create-netrc.sh [Pipeline] } 09:45:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:45:07 ---> python-tools-install.sh [Pipeline] echo 09:45:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:45:07 ---> sudo-logs.sh 09:45:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:45:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:45:08 ---> job-cost.sh 09:45:08 lf-activate-venv: SKIPPING 09:45:08 DEBUG: total: 0.2199999988079071 09:45:08 INFO: Retrieving Stack Cost... 09:45:08 INFO: Retrieving Pricing Info for: v3-standard-8 09:45:08 INFO: Archiving Costs [Pipeline] echo 09:45:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:45:09 ---> logs-deploy.sh 09:45:09 lf-activate-venv: SKIPPING 09:45:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/72 09:45:09 INFO: archiving workspace using pattern(s): 09:45:10 Archives upload complete. 09:45:10 INFO: archiving logs to Nexus