Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 745ce0ececd70d604063f252cada215ed76a682d 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-ssh16810401057341501415.key > 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-ssh18277369649980719731.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 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-ssh15932023615151329229.key > 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-ssh7988408470451877249.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5312373027278565134.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-28963 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 745ce0ececd70d604063f252cada215ed76a682d (main) > 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 745ce0ececd70d604063f252cada215ed76a682d # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#159)" > git rev-list --no-walk 8a3386b2ee541d18e88ea65fa18280a00a2df7ca # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:11:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:11:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:11:38 ========================================================= 17:11:38 EdgeX Global Pipelines Version Info 17:11:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:11:39 ------------------- 17:11:39 stable info: 17:11:39 ------------------- 17:11:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:11:39 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 17:11:39 Message: update stable to v1.0.239 17:11:39 ------------------- 17:11:39 experimental info: 17:11:39 ------------------- 17:11:39 Commited By: **** collab-it+edgex@linuxfoundation.org 17:11:39 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 17:11:39 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 745ce0ececd70d604063f252cada215ed76a682d [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 745ce0e [Pipeline] echo 17:11:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:11:40 provisioning config files... 17:11:40 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3715970068495218227tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:11:40 ---> docker-login.sh 17:11:40 nexus3.edgexfoundry.org:10001 17:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:41 Configure a credential helper to remove this warning. See 17:11:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:41 17:11:41 Login Succeeded 17:11:41 nexus3.edgexfoundry.org:10002 17:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:41 Configure a credential helper to remove this warning. See 17:11:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:41 17:11:41 Login Succeeded 17:11:41 nexus3.edgexfoundry.org:10003 17:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:41 Configure a credential helper to remove this warning. See 17:11:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:41 17:11:41 Login Succeeded 17:11:41 nexus3.edgexfoundry.org:10004 17:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:41 Configure a credential helper to remove this warning. See 17:11:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:41 17:11:41 Login Succeeded 17:11:41 docker.io 17:11:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:42 Configure a credential helper to remove this warning. See 17:11:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:42 17:11:42 Login Succeeded 17:11:42 ---> docker-login.sh ends [Pipeline] } 17:11:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:11:42 + git rev-list -1 --merges 745ce0ececd70d604063f252cada215ed76a682d~1..745ce0ececd70d604063f252cada215ed76a682d [Pipeline] echo 17:11:42 -----------> git rev-list -1 --merges 745ce0ececd70d604063f252cada215ed76a682d~1..745ce0ececd70d604063f252cada215ed76a682d 745ce0ececd70d604063f252cada215ed76a682d [false] [Pipeline] sh 17:11:42 + git log --format=format:%s -1 745ce0ececd70d604063f252cada215ed76a682d [Pipeline] echo 17:11:42 ========================================================= 17:11:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:11:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:11:43 + git log --format=format:%s -1 745ce0ececd70d604063f252cada215ed76a682d [Pipeline] echo 17:11:43 [semverPrep] GIT_COMMIT: 745ce0ececd70d604063f252cada215ed76a682d, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#159) [Pipeline] echo 17:11:43 [semverPrep] This is not a build commit. [Pipeline] sh 17:11:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:11:43 + grep -v github /etc/ssh/ssh_known_hosts 17:11:43 + [ -e /tmp/ssh_known_hosts ] 17:11:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:11:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:11:43 + sudo tee -a /etc/ssh/ssh_known_hosts 17:11:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:11:44 17:11:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:11:44 0.1.4: Pulling from edgex-devops/py-git-semver 17:11:44 b85a868b505f: Pulling fs layer 17:11:44 e2be974225ed: Pulling fs layer 17:11:44 339a4e72a1f5: Pulling fs layer 17:11:44 988bab9f4d93: Pulling fs layer 17:11:44 1469e6f7b9e6: Pulling fs layer 17:11:44 eaf3925da568: Pulling fs layer 17:11:44 bab4dde63d76: Pulling fs layer 17:11:44 bde34c3a00c8: Pulling fs layer 17:11:44 b352a97aabf1: Pulling fs layer 17:11:44 4872d77fe225: Pulling fs layer 17:11:44 5851b861e8e6: Pulling fs layer 17:11:44 bab4dde63d76: Waiting 17:11:44 bde34c3a00c8: Waiting 17:11:44 b352a97aabf1: Waiting 17:11:44 4872d77fe225: Waiting 17:11:44 988bab9f4d93: Waiting 17:11:44 5851b861e8e6: Waiting 17:11:44 eaf3925da568: Waiting 17:11:44 1469e6f7b9e6: Waiting 17:11:44 e2be974225ed: Download complete 17:11:44 988bab9f4d93: Verifying Checksum 17:11:44 988bab9f4d93: Download complete 17:11:44 1469e6f7b9e6: Verifying Checksum 17:11:44 1469e6f7b9e6: Download complete 17:11:44 eaf3925da568: Verifying Checksum 17:11:44 eaf3925da568: Download complete 17:11:44 339a4e72a1f5: Verifying Checksum 17:11:44 339a4e72a1f5: Download complete 17:11:44 bde34c3a00c8: Verifying Checksum 17:11:44 bde34c3a00c8: Download complete 17:11:44 b352a97aabf1: Verifying Checksum 17:11:44 b352a97aabf1: Download complete 17:11:44 4872d77fe225: Verifying Checksum 17:11:44 4872d77fe225: Download complete 17:11:44 5851b861e8e6: Download complete 17:11:44 b85a868b505f: Verifying Checksum 17:11:44 b85a868b505f: Download complete 17:11:44 bab4dde63d76: Verifying Checksum 17:11:44 bab4dde63d76: Download complete 17:11:46 b85a868b505f: Pull complete 17:11:46 e2be974225ed: Pull complete 17:11:46 339a4e72a1f5: Pull complete 17:11:46 988bab9f4d93: Pull complete 17:11:47 1469e6f7b9e6: Pull complete 17:11:47 eaf3925da568: Pull complete 17:11:49 bab4dde63d76: Pull complete 17:11:49 bde34c3a00c8: Pull complete 17:11:49 b352a97aabf1: Pull complete 17:11:49 4872d77fe225: Pull complete 17:11:49 5851b861e8e6: Pull complete 17:11:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:11:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:11:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:11:49 prd-ubuntu20.04-docker-8c-8g-28963 does not seem to be running inside a container 17:11:49 $ 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 17:11:52 $ docker top 7737ea77cc7d6178603c70969a8be31e5194828594cb3b031d19a596efac6693 -eo pid,comm 17:11:52 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:11:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:11:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:11:52 [ssh-agent] Looking for ssh-agent implementation... 17:11:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:11:52 $ docker exec 7737ea77cc7d6178603c70969a8be31e5194828594cb3b031d19a596efac6693 ssh-agent 17:11:52 SSH_AUTH_SOCK=/tmp/ssh-SfsnkhELOX9u/agent.33 17:11:52 SSH_AGENT_PID=41 17:11:52 Running ssh-add (command line suppressed) 17:11:52 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6059917365462069229.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6059917365462069229.key) 17:11:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:11:53 + git tag --points-at HEAD [Pipeline] } 17:11:53 $ docker exec --env ******** --env ******** 7737ea77cc7d6178603c70969a8be31e5194828594cb3b031d19a596efac6693 ssh-agent -k 17:11:53 unset SSH_AUTH_SOCK; 17:11:53 unset SSH_AGENT_PID; 17:11:53 echo Agent pid 41 killed; 17:11:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:11:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:11:53 [ssh-agent] Looking for ssh-agent implementation... 17:11:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:11:53 $ docker exec 7737ea77cc7d6178603c70969a8be31e5194828594cb3b031d19a596efac6693 ssh-agent 17:11:53 SSH_AUTH_SOCK=/tmp/ssh-xYnbH7UkNkHr/agent.73 17:11:53 SSH_AGENT_PID=79 17:11:53 Running ssh-add (command line suppressed) 17:11:53 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1675596831453232810.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1675596831453232810.key) 17:11:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:11:53 + git semver init 17:11:54 2022-09-12 17:11:54,202 [run_init] DEBUG init version:0.0.0 force:False 17:11:54 2022-09-12 17:11:54,203 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 17:11:54 2022-09-12 17:11:54,204 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 17:11:54 2022-09-12 17:11:54,204 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 17:11:55 2022-09-12 17:11:55,243 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 17:11:55 2022-09-12 17:11:55,244 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 17:11:55 2022-09-12 17:11:55,244 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:11:55 2022-09-12 17:11:55,244 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:11:55 2.3.0-dev.17 [Pipeline] } 17:11:55 $ docker exec --env ******** --env ******** 7737ea77cc7d6178603c70969a8be31e5194828594cb3b031d19a596efac6693 ssh-agent -k 17:11:55 unset SSH_AUTH_SOCK; 17:11:55 unset SSH_AGENT_PID; 17:11:55 echo Agent pid 79 killed; 17:11:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:11:56 + git semver [Pipeline] } 17:11:56 $ docker stop --time=1 7737ea77cc7d6178603c70969a8be31e5194828594cb3b031d19a596efac6693 17:11:57 $ docker rm -f 7737ea77cc7d6178603c70969a8be31e5194828594cb3b031d19a596efac6693 [Pipeline] // withDockerContainer [Pipeline] sh 17:11:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:11:58 Stashed 1 file(s) [Pipeline] echo 17:11:58 [edgeXSemver]: initialized semver on version 2.3.0-dev.17 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:11:58 provisioning config files... 17:11:58 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8475614567518787346tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:11:58 ---> docker-login.sh 17:11:58 nexus3.edgexfoundry.org:10001 17:11:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:58 Configure a credential helper to remove this warning. See 17:11:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:58 17:11:58 Login Succeeded 17:11:58 nexus3.edgexfoundry.org:10002 17:11:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:59 Configure a credential helper to remove this warning. See 17:11:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:59 17:11:59 Login Succeeded 17:11:59 nexus3.edgexfoundry.org:10003 17:11:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:59 Configure a credential helper to remove this warning. See 17:11:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:59 17:11:59 Login Succeeded 17:11:59 nexus3.edgexfoundry.org:10004 17:11:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:59 Configure a credential helper to remove this warning. See 17:11:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:59 17:11:59 Login Succeeded 17:11:59 docker.io 17:11:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:11:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:11:59 Configure a credential helper to remove this warning. See 17:11:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:11:59 17:11:59 Login Succeeded 17:11:59 ---> docker-login.sh ends [Pipeline] } 17:11:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:11:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:11:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:11:59 ========================================================= 17:11:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:11:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:59 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:11:59 Sending build context to Docker daemon 20.62MB 17:11:59 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:11:59 Step 2/13 : FROM ${BASE} AS builder 17:12:00 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:12:00 2408cc74d12b: Pulling fs layer 17:12:00 ea60b727a1ce: Pulling fs layer 17:12:00 30c4a7721957: Pulling fs layer 17:12:00 370296b7ddb6: Pulling fs layer 17:12:00 7c6cee850709: Pulling fs layer 17:12:00 39a5fcdaea64: Pulling fs layer 17:12:00 d94ebbe4e438: Pulling fs layer 17:12:00 bcfd1f05c69d: Pulling fs layer 17:12:00 59ccb84bbe0f: Pulling fs layer 17:12:00 39a5fcdaea64: Waiting 17:12:00 7c6cee850709: Waiting 17:12:00 d94ebbe4e438: Waiting 17:12:00 370296b7ddb6: Waiting 17:12:00 bcfd1f05c69d: Waiting 17:12:00 59ccb84bbe0f: Waiting 17:12:00 30c4a7721957: Verifying Checksum 17:12:00 30c4a7721957: Download complete 17:12:00 ea60b727a1ce: Verifying Checksum 17:12:00 ea60b727a1ce: Download complete 17:12:00 7c6cee850709: Verifying Checksum 17:12:00 7c6cee850709: Download complete 17:12:00 39a5fcdaea64: Verifying Checksum 17:12:00 39a5fcdaea64: Download complete 17:12:00 2408cc74d12b: Verifying Checksum 17:12:00 2408cc74d12b: Download complete 17:12:00 d94ebbe4e438: Verifying Checksum 17:12:00 d94ebbe4e438: Download complete 17:12:00 2408cc74d12b: Pull complete 17:12:00 ea60b727a1ce: Pull complete 17:12:00 30c4a7721957: Pull complete 17:12:00 59ccb84bbe0f: Verifying Checksum 17:12:00 59ccb84bbe0f: Download complete 17:12:00 bcfd1f05c69d: Verifying Checksum 17:12:00 bcfd1f05c69d: Download complete 17:12:00 370296b7ddb6: Verifying Checksum 17:12:00 370296b7ddb6: Download complete 17:12:05 370296b7ddb6: Pull complete 17:12:05 7c6cee850709: Pull complete 17:12:05 39a5fcdaea64: Pull complete 17:12:05 d94ebbe4e438: Pull complete 17:12:07 bcfd1f05c69d: Pull complete 17:12:08 59ccb84bbe0f: Pull complete 17:12:08 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 17:12:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:12:08 ---> a4fb48ad2a94 17:12:08 Step 3/13 : ARG MAKE="make build" 17:12:11 ---> Running in f199d33ccd2c 17:12:11 Removing intermediate container f199d33ccd2c 17:12:11 ---> 8267b13475e9 17:12:11 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:12:11 ---> Running in f2195873a21b 17:12:11 Removing intermediate container f2195873a21b 17:12:11 ---> 0590e1886733 17:12:11 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 17:12:11 ---> Running in b38519b5d988 17:12:11 Removing intermediate container b38519b5d988 17:12:11 ---> 39e7ca007fa4 17:12:11 Step 6/13 : LABEL Name=edgex-device-onvif-camera 17:12:11 ---> Running in 7d5877f818c8 17:12:11 Removing intermediate container 7d5877f818c8 17:12:11 ---> 5c2fd0bb6f65 17:12:11 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:12:11 ---> Running in 5d74af10048b 17:12:12 Removing intermediate container 5d74af10048b 17:12:12 ---> 874b56c45a8f 17:12:12 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:12:12 ---> Running in db404c008e88 17:12:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:12:13 Still waiting to schedule task 17:12:13 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:12:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:12:14 OK: 211 MiB in 51 packages 17:12:14 Removing intermediate container db404c008e88 17:12:14 ---> 39f780bd17be 17:12:14 Step 9/13 : WORKDIR /device-onvif-camera 17:12:14 ---> Running in 44eea5fe935a 17:12:14 Removing intermediate container 44eea5fe935a 17:12:14 ---> b3776f61666e 17:12:14 Step 10/13 : COPY go.mod vendor* ./ 17:12:14 ---> ebed5ae507c0 17:12:14 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:12:15 ---> Running in 5f2750205733 17:12:41 Removing intermediate container 5f2750205733 17:12:41 ---> 7a2c52742088 17:12:41 Step 12/13 : COPY . . 17:12:41 ---> a02043ee87a1 17:12:41 Step 13/13 : RUN ${MAKE} 17:12:41 ---> Running in ff22444c5ff6 17:12:41 noop 17:12:41 Removing intermediate container ff22444c5ff6 17:12:41 ---> cde5d59c55f0 17:12:41 Successfully built cde5d59c55f0 17:12:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:12:42 + docker inspect -f . ci-base-image-x86_64 17:12:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:12:42 prd-ubuntu20.04-docker-8c-8g-28963 does not seem to be running inside a container 17:12:42 $ 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 17:12:42 $ docker top 8342493b9e042e1a1cd944749c3573ce4631fb1d85e65a1b49673a490e3a1069 -eo pid,comm [Pipeline] { [Pipeline] sh 17:12:43 + go version 17:12:43 go version go1.18.3 linux/amd64 [Pipeline] } 17:12:43 $ docker stop --time=1 8342493b9e042e1a1cd944749c3573ce4631fb1d85e65a1b49673a490e3a1069 17:12:44 $ docker rm -f 8342493b9e042e1a1cd944749c3573ce4631fb1d85e65a1b49673a490e3a1069 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:12:44 + docker inspect -f . ci-base-image-x86_64 17:12:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:12:44 prd-ubuntu20.04-docker-8c-8g-28963 does not seem to be running inside a container 17:12:44 $ 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 17:12:45 $ docker top 9fa266118b329137d8efb950f8cc9e276dc550ae2498fbd25ee6c0c8bcaf4e77 -eo pid,comm [Pipeline] { [Pipeline] sh 17:12:45 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 17:12:45 + make test 17:12:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:12:46 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:12:58 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:12:58 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.043s coverage: 28.6% of statements 17:12:58 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:13:01 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.541s coverage: 13.8% of statements 17:13:09 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." 17:13:09 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:13:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:13:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:13:13 ./bin/test-attribution-txt.sh [Pipeline] echo 17:13:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:13:13 $ docker stop --time=1 9fa266118b329137d8efb950f8cc9e276dc550ae2498fbd25ee6c0c8bcaf4e77 17:13:15 $ docker rm -f 9fa266118b329137d8efb950f8cc9e276dc550ae2498fbd25ee6c0c8bcaf4e77 [Pipeline] // withDockerContainer [Pipeline] sh 17:13:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:13:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:13:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:13:16 + ls -al . 17:13:16 total 232 17:13:16 drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 17:12 . 17:13:16 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 17:11 .. 17:13:16 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 17:13 .git 17:13:16 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 17:11 .github 17:13:16 -rw-rw-r-- 1 jenkins jenkins 418 Sep 12 17:11 .gitignore 17:13:16 -rw-rw-r-- 1 jenkins jenkins 42 Sep 12 17:11 .golangci.yml 17:13:16 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 17:11 .semver 17:13:16 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 12 17:11 Attribution.txt 17:13:16 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 12 17:11 CHANGELOG.md 17:13:16 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 12 17:11 Dockerfile 17:13:16 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 17:11 GOVERNANCE.md 17:13:16 -rw-rw-r-- 1 jenkins jenkins 734 Sep 12 17:11 Jenkinsfile 17:13:16 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 12 17:11 LICENSE 17:13:16 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 12 17:11 Makefile 17:13:16 -rw-rw-r-- 1 jenkins jenkins 625 Sep 12 17:11 OWNERS.md 17:13:16 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 12 17:11 README.md 17:13:16 -rw-rw-r-- 1 jenkins jenkins 12 Sep 12 17:11 VERSION 17:13:16 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 17:11 bin 17:13:16 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 17:11 cmd 17:13:16 -rw-r--r-- 1 jenkins jenkins 77283 Sep 12 17:13 coverage.out 17:13:16 drwxrwxr-x 6 jenkins jenkins 4096 Sep 12 17:11 doc 17:13:16 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 12 17:11 go.mod 17:13:16 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 12 17:11 go.sum 17:13:16 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 17:11 internal 17:13:16 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 17:11 snap 17:13:16 -rw-rw-r-- 1 jenkins jenkins 236 Sep 12 17:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:17 + 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=745ce0ececd70d604063f252cada215ed76a682d --label arch=amd64 --label version=2.3.0-dev.17 . 17:13:17 Sending build context to Docker daemon 20.7MB 17:13:17 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:13:17 Step 2/26 : FROM ${BASE} AS builder 17:13:17 ---> cde5d59c55f0 17:13:17 Step 3/26 : ARG MAKE="make build" 17:13:17 ---> Running in a30af629ae44 17:13:17 Removing intermediate container a30af629ae44 17:13:17 ---> c7cadc4da0f0 17:13:17 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:13:17 ---> Running in 36909911e399 17:13:17 Removing intermediate container 36909911e399 17:13:17 ---> 793a7d2fec33 17:13:17 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 17:13:17 ---> Running in c577a6f445f4 17:13:17 Removing intermediate container c577a6f445f4 17:13:17 ---> 1b133e39f6fa 17:13:17 Step 6/26 : LABEL Name=edgex-device-onvif-camera 17:13:17 ---> Running in f7050d033873 17:13:17 Removing intermediate container f7050d033873 17:13:17 ---> 1b7a47294bb3 17:13:17 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:13:17 ---> Running in 83f6fa79bdb3 17:13:18 Removing intermediate container 83f6fa79bdb3 17:13:18 ---> 517a3c6cda45 17:13:18 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:13:18 ---> Running in 0caaa92a9063 17:13:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:13:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:13:19 OK: 211 MiB in 51 packages 17:13:20 Removing intermediate container 0caaa92a9063 17:13:20 ---> 6dbb1b9b9b8b 17:13:20 Step 9/26 : WORKDIR /device-onvif-camera 17:13:20 ---> Running in f73aa0e68098 17:13:20 Removing intermediate container f73aa0e68098 17:13:20 ---> 378eada1ab77 17:13:20 Step 10/26 : COPY go.mod vendor* ./ 17:13:20 ---> 08d36778a8e8 17:13:20 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:13:20 ---> Running in e085e7f4c1aa 17:13:20 Removing intermediate container e085e7f4c1aa 17:13:20 ---> a0fe98f512e7 17:13:20 Step 12/26 : COPY . . 17:13:21 ---> cd11ce33cb88 17:13:21 Step 13/26 : RUN ${MAKE} 17:13:21 ---> Running in 83fbe90e0db2 17:13:21 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 17:13:43 Removing intermediate container 83fbe90e0db2 17:13:43 ---> 4519f9f1e4da 17:13:43 Step 14/26 : FROM alpine:3.16 17:13:44 3.16: Pulling from library/alpine 17:13:44 213ec9aee27d: Pulling fs layer 17:13:44 213ec9aee27d: Download complete 17:13:45 213ec9aee27d: Pull complete 17:13:45 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:13:45 Status: Downloaded newer image for alpine:3.16 17:13:45 ---> 9c6f07244728 17:13:45 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:13:45 ---> Running in fafa6f0855f3 17:13:45 Removing intermediate container fafa6f0855f3 17:13:45 ---> e6aacfec6b5e 17:13:45 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 17:13:45 ---> Running in 5fd6018ae269 17:13:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:13:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:13:45 (1/6) Installing dumb-init (1.2.5-r1) 17:13:45 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:13:45 (3/6) Installing libsodium (1.0.18-r0) 17:13:45 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:13:45 (5/6) Installing libzmq (4.3.4-r0) 17:13:45 (6/6) Installing zeromq (4.3.4-r0) 17:13:45 Executing busybox-1.35.0-r17.trigger 17:13:45 OK: 8 MiB in 20 packages 17:13:46 Removing intermediate container 5fd6018ae269 17:13:46 ---> 242f7bb4dd7d 17:13:46 Step 17/26 : WORKDIR / 17:13:46 ---> Running in 87de12c499cc 17:13:46 Removing intermediate container 87de12c499cc 17:13:46 ---> 9c16eb69a843 17:13:46 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:13:47 ---> 695ef159bdd0 17:13:47 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:13:47 ---> aafc57af104e 17:13:47 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:13:47 ---> d83df738425e 17:13:47 Step 21/26 : EXPOSE 59984 17:13:47 ---> Running in 2210eebf42e1 17:13:47 Removing intermediate container 2210eebf42e1 17:13:47 ---> f1b32565cf10 17:13:47 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:13:47 ---> Running in ffcf5a5f9169 17:13:47 Removing intermediate container ffcf5a5f9169 17:13:47 ---> fd5de4a407a7 17:13:47 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:13:47 ---> Running in a104f57e4595 17:13:47 Removing intermediate container a104f57e4595 17:13:47 ---> 0d65732e42f7 17:13:47 Step 24/26 : LABEL arch=amd64 17:13:47 ---> Running in 39d4af535ede 17:13:47 Removing intermediate container 39d4af535ede 17:13:47 ---> 2eaabd32e7f4 17:13:47 Step 25/26 : LABEL git_sha=745ce0ececd70d604063f252cada215ed76a682d 17:13:47 ---> Running in ada4d35546c0 17:13:47 Removing intermediate container ada4d35546c0 17:13:47 ---> 7af251d34306 17:13:47 Step 26/26 : LABEL version=2.3.0-dev.17 17:13:48 ---> Running in cb49cb988c8b 17:13:48 Removing intermediate container cb49cb988c8b 17:13:48 ---> b1673b20d4e8 17:13:48 [Warning] One or more build-args [ARCH] were not consumed 17:13:48 Successfully built b1673b20d4e8 17:13:48 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:13:48 provisioning config files... 17:13:48 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1969718412332718428tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:13:48 ---> docker-login.sh 17:13:48 nexus3.edgexfoundry.org:10001 17:13:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:48 Configure a credential helper to remove this warning. See 17:13:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:48 17:13:48 Login Succeeded 17:13:48 nexus3.edgexfoundry.org:10002 17:13:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:48 Configure a credential helper to remove this warning. See 17:13:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:48 17:13:48 Login Succeeded 17:13:48 nexus3.edgexfoundry.org:10003 17:13:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:48 Configure a credential helper to remove this warning. See 17:13:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:48 17:13:48 Login Succeeded 17:13:48 nexus3.edgexfoundry.org:10004 17:13:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-28964 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 17:13:48 Running in /w/workspace/device-onvif-camera/56 [Pipeline] { [Pipeline] checkout 17:13:48 Selected Git installation does not exist. Using Default 17:13:48 The recommended git tool is: NONE 17:13:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:49 Configure a credential helper to remove this warning. See 17:13:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:49 17:13:49 Login Succeeded 17:13:49 docker.io 17:13:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:49 Configure a credential helper to remove this warning. See 17:13:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:49 17:13:49 Login Succeeded 17:13:49 ---> docker-login.sh ends [Pipeline] } 17:13:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:13:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:13:49 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 17:13:49 745ce0ececd70d604063f252cada215ed76a682d 17:13:49 latest 17:13:49 2.3.0-dev.17 17:13:49 745ce0ececd70d604063f252cada215ed76a682d-2.3.0-dev.17 17:13:49 main 17:13:49 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:49 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:745ce0ececd70d604063f252cada215ed76a682d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:50 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:745ce0ececd70d604063f252cada215ed76a682d 17:13:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:13:50 b145db9e71b9: Preparing 17:13:50 5d1e7a25eb98: Preparing 17:13:50 abe74a7e4cfa: Preparing 17:13:50 e1ba0c12c7f7: Preparing 17:13:50 994393dc58e7: Preparing 17:13:50 994393dc58e7: Layer already exists 17:13:50 5d1e7a25eb98: Pushed 17:13:50 b145db9e71b9: Pushed 17:13:50 e1ba0c12c7f7: Pushed 17:13:53 abe74a7e4cfa: Pushed 17:13:53 745ce0ececd70d604063f252cada215ed76a682d: digest: sha256:9796b2523f286032e962485dc91fa9ff00de273923322c324c6309ff6ad72409 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:54 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:54 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 17:13:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:13:54 b145db9e71b9: Preparing 17:13:54 5d1e7a25eb98: Preparing 17:13:54 abe74a7e4cfa: Preparing 17:13:54 e1ba0c12c7f7: Preparing 17:13:54 994393dc58e7: Preparing 17:13:54 e1ba0c12c7f7: Layer already exists 17:13:54 abe74a7e4cfa: Layer already exists 17:13:54 994393dc58e7: Layer already exists 17:13:54 b145db9e71b9: Layer already exists 17:13:54 5d1e7a25eb98: Layer already exists 17:13:54 latest: digest: sha256:9796b2523f286032e962485dc91fa9ff00de273923322c324c6309ff6ad72409 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:54 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:54 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.17 17:13:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:13:54 b145db9e71b9: Preparing 17:13:54 5d1e7a25eb98: Preparing 17:13:54 abe74a7e4cfa: Preparing 17:13:54 e1ba0c12c7f7: Preparing 17:13:54 994393dc58e7: Preparing 17:13:54 994393dc58e7: Layer already exists 17:13:54 5d1e7a25eb98: Layer already exists 17:13:54 b145db9e71b9: Layer already exists 17:13:54 abe74a7e4cfa: Layer already exists 17:13:54 e1ba0c12c7f7: Layer already exists 17:13:54 2.3.0-dev.17: digest: sha256:9796b2523f286032e962485dc91fa9ff00de273923322c324c6309ff6ad72409 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:55 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:745ce0ececd70d604063f252cada215ed76a682d-2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:55 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:745ce0ececd70d604063f252cada215ed76a682d-2.3.0-dev.17 17:13:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:13:55 b145db9e71b9: Preparing 17:13:55 5d1e7a25eb98: Preparing 17:13:55 abe74a7e4cfa: Preparing 17:13:55 e1ba0c12c7f7: Preparing 17:13:55 994393dc58e7: Preparing 17:13:55 e1ba0c12c7f7: Layer already exists 17:13:55 5d1e7a25eb98: Layer already exists 17:13:55 994393dc58e7: Layer already exists 17:13:55 b145db9e71b9: Layer already exists 17:13:55 abe74a7e4cfa: Layer already exists 17:13:55 745ce0ececd70d604063f252cada215ed76a682d-2.3.0-dev.17: digest: sha256:9796b2523f286032e962485dc91fa9ff00de273923322c324c6309ff6ad72409 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:55 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:55 using credential edgex-jenkins-ssh 17:13:56 Cloning the remote Git repository 17:13:56 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 17:13:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:13:56 b145db9e71b9: Preparing 17:13:56 5d1e7a25eb98: Preparing 17:13:56 abe74a7e4cfa: Preparing 17:13:56 e1ba0c12c7f7: Preparing 17:13:56 994393dc58e7: Preparing 17:13:56 abe74a7e4cfa: Layer already exists 17:13:56 b145db9e71b9: Layer already exists 17:13:56 5d1e7a25eb98: Layer already exists 17:13:56 e1ba0c12c7f7: Layer already exists 17:13:56 994393dc58e7: Layer already exists 17:13:56 main: digest: sha256:9796b2523f286032e962485dc91fa9ff00de273923322c324c6309ff6ad72409 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:13:56 ===================================================== [Pipeline] echo 17:13:56 taggedImages: 17:13:56 - nexus3.edgexfoundry.org:10004/device-onvif-camera:745ce0ececd70d604063f252cada215ed76a682d 17:13:56 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 17:13:56 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.17 17:13:56 - nexus3.edgexfoundry.org:10004/device-onvif-camera:745ce0ececd70d604063f252cada215ed76a682d-2.3.0-dev.17 17:13:56 - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:56 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:13:56 > git init /w/workspace/device-onvif-camera/56 # timeout=10 17:13:56 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:13:56 > git --version # timeout=10 17:13:56 > git --version # 'git version 2.25.1' 17:13:56 using GIT_SSH to set credentials SSH Credentials for GitHub 17:13:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:13:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:13:56 17:13:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:13:56 latest: Pulling from edgex-lftools-log-publisher 17:13:56 5eb5b503b376: Pulling fs layer 17:13:56 5c69ac0246d0: Pulling fs layer 17:13:56 ec43610c2a17: Pulling fs layer 17:13:56 3a2ae6a8a46f: Pulling fs layer 17:13:56 33b1e0a273af: Pulling fs layer 17:13:56 5d3b04190fa2: Pulling fs layer 17:13:56 2f39f015ded8: Pulling fs layer 17:13:56 3a2ae6a8a46f: Waiting 17:13:56 33b1e0a273af: Waiting 17:13:56 5d3b04190fa2: Waiting 17:13:56 2f39f015ded8: Waiting 17:13:56 5c69ac0246d0: Download complete 17:13:56 3a2ae6a8a46f: Verifying Checksum 17:13:56 3a2ae6a8a46f: Download complete 17:13:56 ec43610c2a17: Verifying Checksum 17:13:56 ec43610c2a17: Download complete 17:13:56 33b1e0a273af: Verifying Checksum 17:13:56 33b1e0a273af: Download complete 17:13:56 5d3b04190fa2: Verifying Checksum 17:13:56 5d3b04190fa2: Download complete 17:13:57 5eb5b503b376: Download complete 17:13:57 2f39f015ded8: Download complete 17:13:57 Avoid second fetch 17:13:57 Checking out Revision 745ce0ececd70d604063f252cada215ed76a682d (main) 17:13:57 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:13:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:13:57 > git config core.sparsecheckout # timeout=10 17:13:57 > git checkout -f 745ce0ececd70d604063f252cada215ed76a682d # timeout=10 17:13:58 5eb5b503b376: Pull complete 17:13:58 5c69ac0246d0: Pull complete 17:13:59 ec43610c2a17: Pull complete 17:13:59 3a2ae6a8a46f: Pull complete 17:13:59 33b1e0a273af: Pull complete 17:13:59 5d3b04190fa2: Pull complete 17:14:02 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#159)" 17:14:02 17:14:02 GitHub has been notified of this commit’s build result 17:14:02 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:14:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:14:03 % Total % Received % Xferd Average Speed Time Time Time Current 17:14:03 Dload Upload Total Spent Left Speed 17:14:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 86315 0 --:--:-- --:--:-- --:--:-- 86315 [Pipeline] sh 17:14:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:14:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:14:04 + sudo tee /etc/docker/daemon.new 17:14:04 { 17:14:04 "registry-mirrors": [ 17:14:04 "https://nexus3.edgexfoundry.org:10001" 17:14:04 ], 17:14:04 "bip": "10.250.0.254/24", 17:14:04 "hosts": [ 17:14:04 "tcp://0.0.0.0:5555", 17:14:04 "unix:///var/run/docker.sock" 17:14:04 ], 17:14:04 "mtu": 1458, 17:14:04 "selinux-enabled": true, 17:14:04 "seccomp-profile": "/etc/docker/seccomp.json" 17:14:04 } [Pipeline] sh 17:14:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:14:04 2f39f015ded8: Pull complete 17:14:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:14:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:14:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:14:05 prd-ubuntu20.04-docker-8c-8g-28963 does not seem to be running inside a container 17:14:05 $ 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 17:14:05 + sudo service docker restart 17:14:07 $ docker top 708caca398334cb09b914e5850032cf6b98a52240dc6b809068549385fe7aa3c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:14:08 ---> job-cost.sh 17:14:08 lf-activate-venv: SKIPPING 17:14:08 INFO: No Stack... 17:14:08 INFO: Retrieving Pricing Info for: v3-standard-8 17:14:09 INFO: Archiving Costs [Pipeline] sh 17:14:09 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 17:14:09 + cut -d, -f6 [Pipeline] lock 17:14:09 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-56-stack-cost] 17:14:09 Resource [jenkins-edgexfoundry-device-onvif-camera-main-56-stack-cost] did not exist. Created. 17:14:09 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:14:09 + echo total: 0.2199999988079071 [Pipeline] stash 17:14:09 Stashed 1 file(s) [Pipeline] } 17:14:09 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-56-stack-cost] [Pipeline] // lock [Pipeline] } 17:14:09 $ docker stop --time=1 708caca398334cb09b914e5850032cf6b98a52240dc6b809068549385fe7aa3c 17:14:10 $ docker rm -f 708caca398334cb09b914e5850032cf6b98a52240dc6b809068549385fe7aa3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:14:23 provisioning config files... 17:14:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/56@tmp/config1051962710606732104tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:14:24 ---> docker-login.sh 17:14:24 nexus3.edgexfoundry.org:10001 17:14:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:25 Configure a credential helper to remove this warning. See 17:14:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:25 17:14:25 Login Succeeded 17:14:25 nexus3.edgexfoundry.org:10002 17:14:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:25 Configure a credential helper to remove this warning. See 17:14:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:25 17:14:25 Login Succeeded 17:14:25 nexus3.edgexfoundry.org:10003 17:14:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:26 Configure a credential helper to remove this warning. See 17:14:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:26 17:14:26 Login Succeeded 17:14:26 nexus3.edgexfoundry.org:10004 17:14:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:26 Configure a credential helper to remove this warning. See 17:14:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:26 17:14:26 Login Succeeded 17:14:26 docker.io 17:14:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:27 Configure a credential helper to remove this warning. See 17:14:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:27 17:14:27 Login Succeeded 17:14:27 ---> docker-login.sh ends [Pipeline] } 17:14:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:14:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:14:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:14:27 ========================================================= 17:14:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:14:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:27 + 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 . 17:14:28 Sending build context to Docker daemon 14.11MB 17:14:28 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:14:28 Step 2/13 : FROM ${BASE} AS builder 17:14:28 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:14:28 b3c136eddcbf: Pulling fs layer 17:14:28 c0a3192eca97: Pulling fs layer 17:14:28 a050256f5b6f: Pulling fs layer 17:14:28 656be50a0ddc: Pulling fs layer 17:14:28 2bbca73fdf42: Pulling fs layer 17:14:28 46d945488cbd: Pulling fs layer 17:14:28 8a5474983e97: Pulling fs layer 17:14:28 329c88fbcd65: Pulling fs layer 17:14:28 656be50a0ddc: Waiting 17:14:28 2bbca73fdf42: Waiting 17:14:28 46d945488cbd: Waiting 17:14:28 8a5474983e97: Waiting 17:14:28 329c88fbcd65: Waiting 17:14:28 a050256f5b6f: Verifying Checksum 17:14:28 a050256f5b6f: Download complete 17:14:28 c0a3192eca97: Verifying Checksum 17:14:28 c0a3192eca97: Download complete 17:14:28 2bbca73fdf42: Verifying Checksum 17:14:28 2bbca73fdf42: Download complete 17:14:28 46d945488cbd: Verifying Checksum 17:14:28 46d945488cbd: Download complete 17:14:28 b3c136eddcbf: Verifying Checksum 17:14:28 b3c136eddcbf: Download complete 17:14:29 b3c136eddcbf: Pull complete 17:14:29 329c88fbcd65: Verifying Checksum 17:14:29 329c88fbcd65: Download complete 17:14:30 c0a3192eca97: Pull complete 17:14:30 a050256f5b6f: Pull complete 17:14:30 8a5474983e97: Verifying Checksum 17:14:30 8a5474983e97: Download complete 17:14:31 656be50a0ddc: Download complete 17:14:46 656be50a0ddc: Pull complete 17:14:46 2bbca73fdf42: Pull complete 17:14:46 46d945488cbd: Pull complete 17:14:50 8a5474983e97: Pull complete 17:14:52 329c88fbcd65: Pull complete 17:14:52 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 17:14:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:14:52 ---> ff4287adb874 17:14:52 Step 3/13 : ARG MAKE="make build" 17:14:54 ---> Running in 41a2db81c8ec 17:14:54 Removing intermediate container 41a2db81c8ec 17:14:54 ---> a6d8dde3b741 17:14:54 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:14:54 ---> Running in d4c8b7253a43 17:14:54 Removing intermediate container d4c8b7253a43 17:14:54 ---> 0619ac7e76ff 17:14:54 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 17:14:54 ---> Running in 6e535ab67cdf 17:14:55 Removing intermediate container 6e535ab67cdf 17:14:55 ---> 6d28c2772c79 17:14:55 Step 6/13 : LABEL Name=edgex-device-onvif-camera 17:14:55 ---> Running in 7e297c596fd6 17:14:55 Removing intermediate container 7e297c596fd6 17:14:55 ---> 7329c87992f3 17:14:55 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:14:55 ---> Running in b7a65a6de5c8 17:14:58 Removing intermediate container b7a65a6de5c8 17:14:58 ---> 450ce4ceef86 17:14:58 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:14:58 ---> Running in 87bb904c12ea 17:14:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:15:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:15:01 OK: 221 MiB in 51 packages 17:15:01 Removing intermediate container 87bb904c12ea 17:15:01 ---> e81318eb3e5b 17:15:01 Step 9/13 : WORKDIR /device-onvif-camera 17:15:01 ---> Running in 889ccc88719b 17:15:02 Removing intermediate container 889ccc88719b 17:15:02 ---> 8052a59c0c1a 17:15:02 Step 10/13 : COPY go.mod vendor* ./ 17:15:02 ---> 6ebbd889da50 17:15:02 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:15:03 ---> Running in da8c53416cc8 17:16:00 Removing intermediate container da8c53416cc8 17:16:00 ---> 9e18530458b1 17:16:00 Step 12/13 : COPY . . 17:16:00 ---> 3e011307829d 17:16:00 Step 13/13 : RUN ${MAKE} 17:16:00 ---> Running in 6ec1147a617e 17:16:00 noop 17:16:00 Removing intermediate container 6ec1147a617e 17:16:00 ---> 72503a513320 17:16:00 Successfully built 72503a513320 17:16:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:01 + docker inspect -f . ci-base-image-arm64 17:16:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:16:01 prd-ubuntu20.04-docker-arm64-4c-16g-28964 does not seem to be running inside a container 17:16:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/56 -v /w/workspace/device-onvif-camera/56:/w/workspace/device-onvif-camera/56:rw,z -v /w/workspace/device-onvif-camera/56@tmp:/w/workspace/device-onvif-camera/56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:16:02 $ docker top 51109e1bb6ba0f8d8104f1c19afcee8c41041f3770f3d4f12187c6d0f9050372 -eo pid,comm [Pipeline] { [Pipeline] sh 17:16:03 + go version 17:16:03 go version go1.18.3 linux/arm64 [Pipeline] } 17:16:03 $ docker stop --time=1 51109e1bb6ba0f8d8104f1c19afcee8c41041f3770f3d4f12187c6d0f9050372 17:16:05 $ docker rm -f 51109e1bb6ba0f8d8104f1c19afcee8c41041f3770f3d4f12187c6d0f9050372 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:05 + docker inspect -f . ci-base-image-arm64 17:16:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:16:06 prd-ubuntu20.04-docker-arm64-4c-16g-28964 does not seem to be running inside a container 17:16:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/56 -v /w/workspace/device-onvif-camera/56:/w/workspace/device-onvif-camera/56:rw,z -v /w/workspace/device-onvif-camera/56@tmp:/w/workspace/device-onvif-camera/56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:16:07 $ docker top 64e7c7ce4be82c9b44dc1b49a443198d8b928efc80057fa70f0fcf683a373608 -eo pid,comm [Pipeline] { [Pipeline] sh 17:16:08 + git config --global --add safe.directory /w/workspace/device-onvif-camera/56 [Pipeline] fileExists [Pipeline] sh 17:16:09 + make test 17:16:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:16:11 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:17:48 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:17:49 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.189s coverage: 28.6% of statements 17:17:49 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:18:11 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.333s coverage: 13.8% of statements 17:18:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:18:12 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:18:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:18:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:18:39 ./bin/test-attribution-txt.sh [Pipeline] echo 17:18:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:18:39 $ docker stop --time=1 64e7c7ce4be82c9b44dc1b49a443198d8b928efc80057fa70f0fcf683a373608 17:18:41 $ docker rm -f 64e7c7ce4be82c9b44dc1b49a443198d8b928efc80057fa70f0fcf683a373608 [Pipeline] // withDockerContainer [Pipeline] sh 17:18:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:18:42 Warning: overwriting stash ‘coverage-report’ 17:18:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:18:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:18:43 + ls -al . 17:18:43 total 228 17:18:43 drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 17:16 . 17:18:43 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 17:13 .. 17:18:43 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 17:14 .git 17:18:43 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 17:13 .github 17:18:43 -rw-rw-r-- 1 jenkins jenkins 418 Sep 12 17:13 .gitignore 17:18:43 -rw-rw-r-- 1 jenkins jenkins 42 Sep 12 17:13 .golangci.yml 17:18:43 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 12 17:13 Attribution.txt 17:18:43 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 12 17:13 CHANGELOG.md 17:18:43 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 12 17:13 Dockerfile 17:18:43 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 17:13 GOVERNANCE.md 17:18:43 -rw-rw-r-- 1 jenkins jenkins 734 Sep 12 17:13 Jenkinsfile 17:18:43 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 12 17:13 LICENSE 17:18:43 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 12 17:13 Makefile 17:18:43 -rw-rw-r-- 1 jenkins jenkins 625 Sep 12 17:13 OWNERS.md 17:18:43 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 12 17:13 README.md 17:18:43 -rw-rw-r-- 1 jenkins jenkins 12 Sep 12 17:11 VERSION 17:18:43 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 17:13 bin 17:18:43 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 17:13 cmd 17:18:43 -rw-r--r-- 1 jenkins jenkins 77283 Sep 12 17:18 coverage.out 17:18:43 drwxrwxr-x 6 jenkins jenkins 4096 Sep 12 17:13 doc 17:18:43 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 12 17:13 go.mod 17:18:43 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 12 17:13 go.sum 17:18:43 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 17:13 internal 17:18:43 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 17:13 snap 17:18:43 -rw-rw-r-- 1 jenkins jenkins 236 Sep 12 17:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:18:44 + 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=745ce0ececd70d604063f252cada215ed76a682d --label arch=arm64 --label version=2.3.0-dev.17 . 17:18:44 Sending build context to Docker daemon 14.19MB 17:18:44 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:18:44 Step 2/26 : FROM ${BASE} AS builder 17:18:44 ---> 72503a513320 17:18:44 Step 3/26 : ARG MAKE="make build" 17:18:44 ---> Running in 1894a8ee038b 17:18:45 Removing intermediate container 1894a8ee038b 17:18:45 ---> b09d85495f74 17:18:45 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:18:45 ---> Running in d5a644816aa9 17:18:45 Removing intermediate container d5a644816aa9 17:18:45 ---> 3d642627fbca 17:18:45 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 17:18:45 ---> Running in f5c2e189e5f9 17:18:46 Removing intermediate container f5c2e189e5f9 17:18:46 ---> be5be88a97d2 17:18:46 Step 6/26 : LABEL Name=edgex-device-onvif-camera 17:18:46 ---> Running in 3c4e07fcb6f4 17:18:46 Removing intermediate container 3c4e07fcb6f4 17:18:46 ---> d9aecc44e463 17:18:46 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:18:46 ---> Running in d3d7168dee78 17:18:48 Removing intermediate container d3d7168dee78 17:18:48 ---> 3966bbb2d2a7 17:18:48 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:18:48 ---> Running in d8ff7b50afd0 17:18:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:18:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:18:51 OK: 221 MiB in 51 packages 17:18:52 Removing intermediate container d8ff7b50afd0 17:18:52 ---> 7d7e774b4589 17:18:52 Step 9/26 : WORKDIR /device-onvif-camera 17:18:52 ---> Running in a0fa54dbb882 17:18:52 Removing intermediate container a0fa54dbb882 17:18:52 ---> 6b066b47b297 17:18:52 Step 10/26 : COPY go.mod vendor* ./ 17:18:53 ---> ed7363cd60bb 17:18:53 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:18:53 ---> Running in 4c17520eccd6 17:18:55 Removing intermediate container 4c17520eccd6 17:18:55 ---> 3e1bf41a8ef4 17:18:55 Step 12/26 : COPY . . 17:18:56 ---> 83de7936280f 17:18:56 Step 13/26 : RUN ${MAKE} 17:18:57 ---> Running in 16b6a81f5a72 17:18:58 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 17:21:35 Removing intermediate container 16b6a81f5a72 17:21:35 ---> f933cb33d58a 17:21:35 Step 14/26 : FROM alpine:3.16 17:21:35 3.16: Pulling from library/alpine 17:21:35 9b18e9b68314: Pulling fs layer 17:21:35 9b18e9b68314: Verifying Checksum 17:21:35 9b18e9b68314: Download complete 17:21:35 9b18e9b68314: Pull complete 17:21:35 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:21:35 Status: Downloaded newer image for alpine:3.16 17:21:35 ---> a6215f271958 17:21:35 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:21:35 ---> Running in 167ea0d8a1a4 17:21:35 Removing intermediate container 167ea0d8a1a4 17:21:35 ---> 1fc07bc69467 17:21:35 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 17:21:35 ---> Running in 073c24c4ee6e 17:21:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:21:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:21:35 (1/6) Installing dumb-init (1.2.5-r1) 17:21:35 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:21:35 (3/6) Installing libsodium (1.0.18-r0) 17:21:35 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:21:35 (5/6) Installing libzmq (4.3.4-r0) 17:21:35 (6/6) Installing zeromq (4.3.4-r0) 17:21:35 Executing busybox-1.35.0-r17.trigger 17:21:35 OK: 8 MiB in 20 packages 17:21:35 Removing intermediate container 073c24c4ee6e 17:21:35 ---> 7734523aafca 17:21:35 Step 17/26 : WORKDIR / 17:21:35 ---> Running in a0802e5d6a05 17:21:35 Removing intermediate container a0802e5d6a05 17:21:35 ---> 3773835d1318 17:21:35 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:21:35 ---> 8de1515b871b 17:21:35 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:21:35 ---> d03ac37d7699 17:21:35 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:21:35 ---> f4674afdbabd 17:21:35 Step 21/26 : EXPOSE 59984 17:21:35 ---> Running in abad9dd4e59f 17:21:35 Removing intermediate container abad9dd4e59f 17:21:35 ---> f6d73486076c 17:21:35 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:21:35 ---> Running in 2500e4ab4e7a 17:21:35 Removing intermediate container 2500e4ab4e7a 17:21:35 ---> c82df5b24467 17:21:35 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:21:35 ---> Running in e7b0e6908fca 17:21:35 Removing intermediate container e7b0e6908fca 17:21:35 ---> 07a6e40ddc9a 17:21:35 Step 24/26 : LABEL arch=arm64 17:21:35 ---> Running in 11c978ef8b81 17:21:35 Removing intermediate container 11c978ef8b81 17:21:35 ---> 8f69226c18ae 17:21:35 Step 25/26 : LABEL git_sha=745ce0ececd70d604063f252cada215ed76a682d 17:21:35 ---> Running in fd30a9d22ecf 17:21:35 Removing intermediate container fd30a9d22ecf 17:21:35 ---> a712b40e998d 17:21:35 Step 26/26 : LABEL version=2.3.0-dev.17 17:21:35 ---> Running in c5bbdaaeb9d0 17:21:35 Removing intermediate container c5bbdaaeb9d0 17:21:35 ---> e25d7bdd6e44 17:21:35 [Warning] One or more build-args [ARCH] were not consumed 17:21:35 Successfully built e25d7bdd6e44 17:21:35 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:21:35 provisioning config files... 17:21:35 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/56@tmp/config7454488444485737219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:21:35 ---> docker-login.sh 17:21:35 nexus3.edgexfoundry.org:10001 17:21:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:35 Configure a credential helper to remove this warning. See 17:21:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:35 17:21:35 Login Succeeded 17:21:35 nexus3.edgexfoundry.org:10002 17:21:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:36 Configure a credential helper to remove this warning. See 17:21:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:36 17:21:36 Login Succeeded 17:21:36 nexus3.edgexfoundry.org:10003 17:21:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:37 Configure a credential helper to remove this warning. See 17:21:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:37 17:21:37 Login Succeeded 17:21:37 nexus3.edgexfoundry.org:10004 17:21:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:37 Configure a credential helper to remove this warning. See 17:21:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:37 17:21:37 Login Succeeded 17:21:37 docker.io 17:21:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:38 Configure a credential helper to remove this warning. See 17:21:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:38 17:21:38 Login Succeeded 17:21:38 ---> docker-login.sh ends [Pipeline] } 17:21:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:21:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:21:38 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 17:21:38 745ce0ececd70d604063f252cada215ed76a682d 17:21:38 latest 17:21:38 2.3.0-dev.17 17:21:38 745ce0ececd70d604063f252cada215ed76a682d-2.3.0-dev.17 17:21:38 main 17:21:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:38 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:745ce0ececd70d604063f252cada215ed76a682d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:39 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:745ce0ececd70d604063f252cada215ed76a682d 17:21:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:21:39 6fad5ec6497b: Preparing 17:21:39 c2dcb3356fb7: Preparing 17:21:39 4b3146da7029: Preparing 17:21:39 e08c5a55ae28: Preparing 17:21:39 5d3e392a13a0: Preparing 17:21:39 5d3e392a13a0: Layer already exists 17:21:39 c2dcb3356fb7: Pushed 17:21:39 6fad5ec6497b: Pushed 17:21:40 e08c5a55ae28: Pushed 17:21:45 4b3146da7029: Pushed 17:21:46 745ce0ececd70d604063f252cada215ed76a682d: digest: sha256:d2daaf3f1b997177040e48abec1a0fc43882f5da7b0114cd1ec9f41135f0d49f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:46 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:46 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 17:21:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:21:46 6fad5ec6497b: Preparing 17:21:46 c2dcb3356fb7: Preparing 17:21:46 4b3146da7029: Preparing 17:21:46 e08c5a55ae28: Preparing 17:21:46 5d3e392a13a0: Preparing 17:21:46 5d3e392a13a0: Layer already exists 17:21:46 c2dcb3356fb7: Layer already exists 17:21:47 e08c5a55ae28: Layer already exists 17:21:47 4b3146da7029: Layer already exists 17:21:47 6fad5ec6497b: Layer already exists 17:21:47 latest: digest: sha256:d2daaf3f1b997177040e48abec1a0fc43882f5da7b0114cd1ec9f41135f0d49f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:47 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:48 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.17 17:21:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:21:48 6fad5ec6497b: Preparing 17:21:48 c2dcb3356fb7: Preparing 17:21:48 4b3146da7029: Preparing 17:21:48 e08c5a55ae28: Preparing 17:21:48 5d3e392a13a0: Preparing 17:21:48 6fad5ec6497b: Layer already exists 17:21:48 e08c5a55ae28: Layer already exists 17:21:48 5d3e392a13a0: Layer already exists 17:21:48 4b3146da7029: Layer already exists 17:21:48 c2dcb3356fb7: Layer already exists 17:21:48 2.3.0-dev.17: digest: sha256:d2daaf3f1b997177040e48abec1a0fc43882f5da7b0114cd1ec9f41135f0d49f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:48 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:745ce0ececd70d604063f252cada215ed76a682d-2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:49 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:745ce0ececd70d604063f252cada215ed76a682d-2.3.0-dev.17 17:21:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:21:49 6fad5ec6497b: Preparing 17:21:49 c2dcb3356fb7: Preparing 17:21:49 4b3146da7029: Preparing 17:21:49 e08c5a55ae28: Preparing 17:21:49 5d3e392a13a0: Preparing 17:21:49 e08c5a55ae28: Layer already exists 17:21:49 5d3e392a13a0: Layer already exists 17:21:49 4b3146da7029: Layer already exists 17:21:49 c2dcb3356fb7: Layer already exists 17:21:49 6fad5ec6497b: Layer already exists 17:21:49 745ce0ececd70d604063f252cada215ed76a682d-2.3.0-dev.17: digest: sha256:d2daaf3f1b997177040e48abec1a0fc43882f5da7b0114cd1ec9f41135f0d49f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:49 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:50 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 17:21:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:21:50 6fad5ec6497b: Preparing 17:21:50 c2dcb3356fb7: Preparing 17:21:50 4b3146da7029: Preparing 17:21:50 e08c5a55ae28: Preparing 17:21:50 5d3e392a13a0: Preparing 17:21:50 5d3e392a13a0: Layer already exists 17:21:50 c2dcb3356fb7: Layer already exists 17:21:50 e08c5a55ae28: Layer already exists 17:21:50 4b3146da7029: Layer already exists 17:21:50 6fad5ec6497b: Layer already exists 17:21:50 main: digest: sha256:d2daaf3f1b997177040e48abec1a0fc43882f5da7b0114cd1ec9f41135f0d49f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:21:50 ===================================================== [Pipeline] echo 17:21:50 taggedImages: 17:21:50 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:745ce0ececd70d604063f252cada215ed76a682d 17:21:50 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 17:21:50 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.17 17:21:50 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:745ce0ececd70d604063f252cada215ed76a682d-2.3.0-dev.17 17:21:50 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:21:50 17:21:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:21:51 arm64: Pulling from edgex-lftools-log-publisher 17:21:51 8998bd30e6a1: Pulling fs layer 17:21:51 04944245beec: Pulling fs layer 17:21:51 699f458cf7ca: Pulling fs layer 17:21:51 765212b225bb: Pulling fs layer 17:21:51 f23df028b6ca: Pulling fs layer 17:21:51 d65c8cfc05b1: Pulling fs layer 17:21:51 2437ff75d9bd: Pulling fs layer 17:21:51 f23df028b6ca: Waiting 17:21:51 d65c8cfc05b1: Waiting 17:21:51 2437ff75d9bd: Waiting 17:21:51 765212b225bb: Waiting 17:21:51 04944245beec: Verifying Checksum 17:21:51 04944245beec: Download complete 17:21:51 765212b225bb: Verifying Checksum 17:21:51 765212b225bb: Download complete 17:21:51 f23df028b6ca: Download complete 17:21:51 d65c8cfc05b1: Verifying Checksum 17:21:51 d65c8cfc05b1: Download complete 17:21:51 699f458cf7ca: Verifying Checksum 17:21:51 699f458cf7ca: Download complete 17:21:52 8998bd30e6a1: Verifying Checksum 17:21:52 8998bd30e6a1: Download complete 17:21:55 2437ff75d9bd: Verifying Checksum 17:21:55 2437ff75d9bd: Download complete 17:21:57 8998bd30e6a1: Pull complete 17:21:58 04944245beec: Pull complete 17:22:00 699f458cf7ca: Pull complete 17:22:00 765212b225bb: Pull complete 17:22:01 f23df028b6ca: Pull complete 17:22:01 d65c8cfc05b1: Pull complete 17:22:19 2437ff75d9bd: Pull complete 17:22:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:22:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:22:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:22:19 prd-ubuntu20.04-docker-arm64-4c-16g-28964 does not seem to be running inside a container 17:22:19 $ 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/56 -v /w/workspace/device-onvif-camera/56:/w/workspace/device-onvif-camera/56:rw,z -v /w/workspace/device-onvif-camera/56@tmp:/w/workspace/device-onvif-camera/56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:22:22 $ docker top d2376e8e25a277c8c64ab1dbb3c15e2c527d379361b7d051fc8e09ddcec018c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:22:23 ---> job-cost.sh 17:22:23 lf-activate-venv: SKIPPING 17:22:23 INFO: No Stack... 17:22:24 INFO: Retrieving Pricing Info for: v3-standard-4 17:22:25 INFO: Archiving Costs [Pipeline] sh 17:22:26 + cat /w/workspace/device-onvif-camera/56/archives/cost.csv 17:22:26 + cut -d, -f6 [Pipeline] lock 17:22:26 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-56-stack-cost] 17:22:26 Resource [jenkins-edgexfoundry-device-onvif-camera-main-56-stack-cost] did not exist. Created. 17:22:26 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:22:26 /w/workspace/device-onvif-camera/56@tmp/durable-6cf6b69d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:22:27 + echo total: 0.10999999940395355 [Pipeline] stash 17:22:27 Warning: overwriting stash ‘stack-cost’ 17:22:27 Stashed 1 file(s) [Pipeline] } 17:22:27 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-56-stack-cost] [Pipeline] // lock [Pipeline] } 17:22:27 $ docker stop --time=1 d2376e8e25a277c8c64ab1dbb3c15e2c527d379361b7d051fc8e09ddcec018c1 17:22:29 $ docker rm -f d2376e8e25a277c8c64ab1dbb3c15e2c527d379361b7d051fc8e09ddcec018c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 17:22:29 provisioning config files... 17:22:29 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config266581624402870919tmp [Pipeline] { [Pipeline] sh 17:22:30 + set +x 17:22:30 + curl -s https://codecov.io/bash 17:22:30 + bash -s -- 17:22:30 17:22:30 _____ _ 17:22:30 / ____| | | 17:22:30 | | ___ __| | ___ ___ _____ __ 17:22:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:22:30 | |___| (_) | (_| | __/ (_| (_) \ V / 17:22:30 \_____\___/ \__,_|\___|\___\___/ \_/ 17:22:30 Bash-1.0.6 17:22:30 17:22:30 17:22:30 ==> git version 2.25.1 found 17:22:30 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:22:30 Release-Date: 2020-01-08 17:22:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:22:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:22:30 ==> Jenkins CI detected. 17:22:30 current dir:  /w/workspace/foundry_device-onvif-camera_main 17:22:30 project root: . 17:22:30 --> token set from env 17:22:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:22:30 ==> Running gcov in . (disable via -X gcov) 17:22:30 ==> Python coveragepy not found 17:22:30 ==> Searching for coverage reports in: 17:22:30 + . 17:22:30 -> Found 1 reports 17:22:30 ==> Detecting git/mercurial file structure 17:22:30 ==> Reading reports 17:22:30 + ./coverage.out bytes=77283 17:22:30 ==> Appending adjustments 17:22:30 https://docs.codecov.io/docs/fixing-reports 17:22:30 + Found adjustments 17:22:30 ==> Gzipping contents 17:22:30 12K /tmp/codecov.KKDsSP.gz 17:22:30 ==> Uploading reports 17:22:30 url: https://codecov.io 17:22:30 query: branch=main&commit=745ce0ececd70d604063f252cada215ed76a682d&build=56&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F56%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:22:30 -> Pinging Codecov 17:22:30 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=745ce0ececd70d604063f252cada215ed76a682d&build=56&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F56%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:22:30 -> Uploading to 17:22:30 https://storage.googleapis.com/codecov/v4/raw/2022-09-12/F29A59C45E3A92E06B3E522C9905F8EF/745ce0ececd70d604063f252cada215ed76a682d/3ab3b64c-a354-4db8-bbaf-7bb395b91e90.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220912T172230Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9b5f203f4b0ba47d8d2ef687a4532d6ce9c83957d12d8b68852588c644c521c3 17:22:30 % Total % Received % Xferd Average Speed Time Time Time Current 17:22:30 Dload Upload Total Spent Left Speed 17:22:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10557 0 0 100 10557 0 45900 --:--:-- --:--:-- --:--:-- 45900 17:22:30 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/745ce0ececd70d604063f252cada215ed76a682d [Pipeline] } 17:22:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:22:30 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:22:30 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:22:31 17:22:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:22:31 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:22:31 df9b9388f04a: Pulling fs layer 17:22:31 52dc419b0ee2: Pulling fs layer 17:22:31 25bc292e5bac: Pulling fs layer 17:22:31 114826534d7a: Pulling fs layer 17:22:31 4657fd5d0bcf: Pulling fs layer 17:22:31 6ad1cebc031e: Pulling fs layer 17:22:31 8a3aa393b2d8: Pulling fs layer 17:22:31 4657fd5d0bcf: Waiting 17:22:31 6ad1cebc031e: Waiting 17:22:31 8a3aa393b2d8: Waiting 17:22:31 114826534d7a: Waiting 17:22:31 25bc292e5bac: Verifying Checksum 17:22:31 25bc292e5bac: Download complete 17:22:31 52dc419b0ee2: Verifying Checksum 17:22:31 52dc419b0ee2: Download complete 17:22:31 4657fd5d0bcf: Download complete 17:22:31 df9b9388f04a: Verifying Checksum 17:22:31 df9b9388f04a: Download complete 17:22:31 df9b9388f04a: Pull complete 17:22:31 6ad1cebc031e: Verifying Checksum 17:22:31 6ad1cebc031e: Download complete 17:22:32 52dc419b0ee2: Pull complete 17:22:32 25bc292e5bac: Pull complete 17:22:32 114826534d7a: Verifying Checksum 17:22:32 114826534d7a: Download complete 17:22:32 8a3aa393b2d8: Verifying Checksum 17:22:32 8a3aa393b2d8: Download complete 17:22:35 114826534d7a: Pull complete 17:22:35 4657fd5d0bcf: Pull complete 17:22:36 6ad1cebc031e: Pull complete 17:22:39 8a3aa393b2d8: Pull complete 17:22:39 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:22:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:22:39 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:22:39 prd-ubuntu20.04-docker-8c-8g-28963 does not seem to be running inside a container 17:22:39 $ 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 17:22:42 $ docker top fb56c1cd67ef64b6a1e9952b396ab12a3fee0fe5816cc000ae4c8fd4447f992c -eo pid,comm [Pipeline] { [Pipeline] echo 17:22:42 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 17:22:42 + set -o pipefail 17:22:42 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 17:22:47 17:22:47 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 17:22:47 17:22:47 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/181e2407-f220-4103-b31d-95a851c0d3cf 17:22:47 17:22:47 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 17:22:47 17:22:47 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:22:47 17:22:51 [Pipeline] } 17:22:51 $ docker stop --time=1 fb56c1cd67ef64b6a1e9952b396ab12a3fee0fe5816cc000ae4c8fd4447f992c 17:22:55 $ docker rm -f fb56c1cd67ef64b6a1e9952b396ab12a3fee0fe5816cc000ae4c8fd4447f992c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 17:22:55 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:22:55 provisioning config files... 17:22:55 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4201362985155962209tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:22:55 --> edgex-publish-swagger.sh 17:22:55 === Publish doc/openapi/v2 API === 17:22:55 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 17:22:55 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 17:22:55 % Total % Received % Xferd Average Speed Time Time Time Current 17:22:55 Dload Upload Total Spent Left Speed 17:22:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 139k 0 0 100 139k 0 200k --:--:-- --:--:-- --:--:-- 200k 17:22:56 17:22:56 [Pipeline] } 17:22:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:22:56 + git log --format=format:%s -1 745ce0ececd70d604063f252cada215ed76a682d [Pipeline] sh 17:22:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:22:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:22:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:22:57 prd-ubuntu20.04-docker-8c-8g-28963 does not seem to be running inside a container 17:22:57 $ 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 17:22:57 $ docker top dd7f5a81ba4e930e2b21ffacaf2b27adc08fcc07d4d04f9e9f3511fdbe9cd187 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:22:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:22:58 [ssh-agent] Looking for ssh-agent implementation... 17:22:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:22:58 $ docker exec dd7f5a81ba4e930e2b21ffacaf2b27adc08fcc07d4d04f9e9f3511fdbe9cd187 ssh-agent 17:22:58 SSH_AUTH_SOCK=/tmp/ssh-kUe2QOWBhbRv/agent.33 17:22:58 SSH_AGENT_PID=39 17:22:58 Running ssh-add (command line suppressed) 17:22:58 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8263236824584991145.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8263236824584991145.key) 17:22:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:22:58 + git semver tag 17:22:58 2022-09-12 17:22:58,909 [run_tag] DEBUG tag force:False 17:22:58 2022-09-12 17:22:58,909 [check_head_tag] DEBUG check head tag 17:22:58 2022-09-12 17:22:58,910 [execute] INFO git cat-file --batch-check 17:22:58 2022-09-12 17:22:58,910 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 17:22:58 2022-09-12 17:22:58,913 [execute] INFO git cat-file --batch 17:22:58 2022-09-12 17:22:58,913 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 17:22:58 2022-09-12 17:22:58,931 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:22:58 2022-09-12 17:22:58,931 [execute] INFO git tag -a v2.3.0-dev.17 -m v2.3.0-dev.17 17:22:58 2022-09-12 17:22:58,931 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.17', '-m', 'v2.3.0-dev.17'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 17:22:58 2022-09-12 17:22:58,934 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:22:58 2.3.0-dev.17 [Pipeline] } 17:22:59 $ docker exec --env ******** --env ******** dd7f5a81ba4e930e2b21ffacaf2b27adc08fcc07d4d04f9e9f3511fdbe9cd187 ssh-agent -k 17:22:59 unset SSH_AUTH_SOCK; 17:22:59 unset SSH_AGENT_PID; 17:22:59 echo Agent pid 39 killed; 17:22:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:22:59 + git semver [Pipeline] } 17:22:59 $ docker stop --time=1 dd7f5a81ba4e930e2b21ffacaf2b27adc08fcc07d4d04f9e9f3511fdbe9cd187 17:23:00 $ docker rm -f dd7f5a81ba4e930e2b21ffacaf2b27adc08fcc07d4d04f9e9f3511fdbe9cd187 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:23:01 17:23:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:23:01 0.23.1-centos7: Pulling from edgex-lftools 17:23:01 ab5ef0e58194: Pulling fs layer 17:23:01 9712f1f96733: Pulling fs layer 17:23:01 63f879dbbcfc: Pulling fs layer 17:23:01 0d9ebad4ef96: Pulling fs layer 17:23:01 e9a5061849ea: Pulling fs layer 17:23:01 d747dcd14b5f: Pulling fs layer 17:23:01 2de7ff778b66: Pulling fs layer 17:23:01 e9a5061849ea: Waiting 17:23:01 0d9ebad4ef96: Waiting 17:23:01 d747dcd14b5f: Waiting 17:23:01 2de7ff778b66: Waiting 17:23:01 9712f1f96733: Verifying Checksum 17:23:01 9712f1f96733: Download complete 17:23:01 63f879dbbcfc: Verifying Checksum 17:23:01 63f879dbbcfc: Download complete 17:23:02 ab5ef0e58194: Download complete 17:23:02 d747dcd14b5f: Download complete 17:23:02 0d9ebad4ef96: Verifying Checksum 17:23:02 0d9ebad4ef96: Download complete 17:23:02 e9a5061849ea: Download complete 17:23:02 2de7ff778b66: Verifying Checksum 17:23:02 2de7ff778b66: Download complete 17:23:05 ab5ef0e58194: Pull complete 17:23:05 9712f1f96733: Pull complete 17:23:05 63f879dbbcfc: Pull complete 17:23:09 0d9ebad4ef96: Pull complete 17:23:09 e9a5061849ea: Pull complete 17:23:09 d747dcd14b5f: Pull complete 17:23:10 2de7ff778b66: Pull complete 17:23:10 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:23:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:23:10 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:10 prd-ubuntu20.04-docker-8c-8g-28963 does not seem to be running inside a container 17:23:10 $ 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 17:23:14 $ docker top cae1389373a608179e4078ae069927672d6d024d6e75a16e23dd3edaabdc1cf4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:23:14 provisioning config files... 17:23:14 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5509803706129250701tmp 17:23:14 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1273903711818449133tmp 17:23:14 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3994669296325508106tmp [Pipeline] { [Pipeline] echo 17:23:14 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:23:14 ---> sigul-configuration.sh 17:23:14 gpg: directory `/root/.gnupg' created 17:23:14 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:23:14 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:23:14 gpg: keyring `/root/.gnupg/secring.gpg' created 17:23:14 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:23:14 gpg: CAST5 encrypted data 17:23:14 gpg: encrypted with 1 passphrase 17:23:14 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:23:14 + mkdir /home/jenkins 17:23:14 + mkdir /home/jenkins/sigul [Pipeline] sh 17:23:15 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 17:23:15 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:23:15 ---> sigul-install.sh 17:23:15 Sigul already installed; skipping installation. [Pipeline] sh 17:23:15 + git tag --list 17:23:15 v0.0.0 17:23:15 v0.0.1-dev.1 17:23:15 v0.0.1-dev.10 17:23:15 v0.0.1-dev.11 17:23:15 v0.0.1-dev.12 17:23:15 v0.0.1-dev.13 17:23:15 v0.0.1-dev.14 17:23:15 v0.0.1-dev.15 17:23:15 v0.0.1-dev.16 17:23:15 v0.0.1-dev.17 17:23:15 v0.0.1-dev.18 17:23:15 v0.0.1-dev.19 17:23:15 v0.0.1-dev.2 17:23:15 v0.0.1-dev.20 17:23:15 v0.0.1-dev.21 17:23:15 v0.0.1-dev.22 17:23:15 v0.0.1-dev.23 17:23:15 v0.0.1-dev.24 17:23:15 v0.0.1-dev.25 17:23:15 v0.0.1-dev.26 17:23:15 v0.0.1-dev.27 17:23:15 v0.0.1-dev.28 17:23:15 v0.0.1-dev.3 17:23:15 v0.0.1-dev.4 17:23:15 v0.0.1-dev.5 17:23:15 v0.0.1-dev.6 17:23:15 v0.0.1-dev.7 17:23:15 v0.0.1-dev.8 17:23:15 v0.0.1-dev.9 17:23:15 v2.2.0 17:23:15 v2.2.0-dev.29 17:23:15 v2.2.0-dev.30 17:23:15 v2.2.0-dev.31 17:23:15 v2.2.0-dev.32 17:23:15 v2.2.0-dev.33 17:23:15 v2.2.0-dev.34 17:23:15 v2.2.0-dev.35 17:23:15 v2.3.0-dev.1 17:23:15 v2.3.0-dev.10 17:23:15 v2.3.0-dev.11 17:23:15 v2.3.0-dev.12 17:23:15 v2.3.0-dev.13 17:23:15 v2.3.0-dev.14 17:23:15 v2.3.0-dev.15 17:23:15 v2.3.0-dev.16 17:23:15 v2.3.0-dev.17 17:23:15 v2.3.0-dev.2 17:23:15 v2.3.0-dev.3 17:23:15 v2.3.0-dev.4 17:23:15 v2.3.0-dev.5 17:23:15 v2.3.0-dev.6 17:23:15 v2.3.0-dev.7 17:23:15 v2.3.0-dev.8 17:23:15 v2.3.0-dev.9 [Pipeline] sh 17:23:16 + lftools sign git-tag v2.3.0-dev.17 17:23:16 Signing Git tag with Sigul... 17:23:16 Signing v2.3.0-dev.17 [Pipeline] echo 17:23:16 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:23:17 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:23:17 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:23:17 $ docker stop --time=1 cae1389373a608179e4078ae069927672d6d024d6e75a16e23dd3edaabdc1cf4 17:23:18 $ docker rm -f cae1389373a608179e4078ae069927672d6d024d6e75a16e23dd3edaabdc1cf4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:23:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:23:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:23:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:19 prd-ubuntu20.04-docker-8c-8g-28963 does not seem to be running inside a container 17:23:19 $ 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 17:23:19 $ docker top 814ef8c6de0610ac839a6cc50b39aa4e5676cac391fdff9ca44e25f0e3ce09ad -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:23:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:23:19 [ssh-agent] Looking for ssh-agent implementation... 17:23:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:23:19 $ docker exec 814ef8c6de0610ac839a6cc50b39aa4e5676cac391fdff9ca44e25f0e3ce09ad ssh-agent 17:23:20 SSH_AUTH_SOCK=/tmp/ssh-WYnYhzi8hFVl/agent.32 17:23:20 SSH_AGENT_PID=38 17:23:20 Running ssh-add (command line suppressed) 17:23:20 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1918501470531181205.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1918501470531181205.key) 17:23:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:23:20 + git semver bump pre 17:23:20 2022-09-12 17:23:20,657 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:23:20 2022-09-12 17:23:20,658 [bump_version] DEBUG bumping version:2.3.0-dev.17 on axis:pre with prefix:dev 17:23:20 2022-09-12 17:23:20,658 [bump_version] DEBUG bumped version:2.3.0-dev.18 17:23:20 2022-09-12 17:23:20,658 [write_version] DEBUG write version:2.3.0-dev.18 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 17:23:20 2022-09-12 17:23:20,658 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:23:20 2022-09-12 17:23:20,658 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 17:23:20 2022-09-12 17:23:20,660 [execute] INFO git cat-file --batch-check 17:23:20 2022-09-12 17:23:20,660 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:23:20 2022-09-12 17:23:20,666 [execute] INFO git cat-file --batch 17:23:20 2022-09-12 17:23:20,666 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:23:20 2022-09-12 17:23:20,672 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:23:20 2.3.0-dev.18 [Pipeline] } 17:23:20 $ docker exec --env ******** --env ******** 814ef8c6de0610ac839a6cc50b39aa4e5676cac391fdff9ca44e25f0e3ce09ad ssh-agent -k 17:23:20 unset SSH_AUTH_SOCK; 17:23:20 unset SSH_AGENT_PID; 17:23:20 echo Agent pid 38 killed; 17:23:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:23:21 + git semver [Pipeline] } 17:23:21 $ docker stop --time=1 814ef8c6de0610ac839a6cc50b39aa4e5676cac391fdff9ca44e25f0e3ce09ad 17:23:22 $ docker rm -f 814ef8c6de0610ac839a6cc50b39aa4e5676cac391fdff9ca44e25f0e3ce09ad [Pipeline] // withDockerContainer [Pipeline] sh 17:23:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:23:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:23:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:23 prd-ubuntu20.04-docker-8c-8g-28963 does not seem to be running inside a container 17:23:23 $ 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 17:23:23 $ docker top b33f1e6f9afab31aa2b010c80b6a408ff0a26d493bed81b00238d075d11b7654 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:23:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:23:23 [ssh-agent] Looking for ssh-agent implementation... 17:23:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:23:24 $ docker exec b33f1e6f9afab31aa2b010c80b6a408ff0a26d493bed81b00238d075d11b7654 ssh-agent 17:23:24 SSH_AUTH_SOCK=/tmp/ssh-aB26dwJpoBhQ/agent.34 17:23:24 SSH_AGENT_PID=40 17:23:24 Running ssh-add (command line suppressed) 17:23:24 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9016467381602626225.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9016467381602626225.key) 17:23:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:23:24 + git semver push 17:23:24 2022-09-12 17:23:24,893 [run_push] DEBUG push 17:23:24 2022-09-12 17:23:24,893 [execute] INFO git cat-file --batch-check 17:23:24 2022-09-12 17:23:24,894 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:23:24 2022-09-12 17:23:24,898 [execute] INFO git rev-list 5326e3e9d369b3a87d9cd648773cc47e65f298cd -- 17:23:24 2022-09-12 17:23:24,898 [execute] DEBUG Popen(['git', 'rev-list', '5326e3e9d369b3a87d9cd648773cc47e65f298cd', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:23:24 2022-09-12 17:23:24,905 [execute] INFO git fetch -v origin 17:23:24 2022-09-12 17:23:24,905 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 17:23:25 2022-09-12 17:23:25,493 [run_push] DEBUG no remote changes detected 17:23:25 2022-09-12 17:23:25,493 [execute] INFO git push origin semver 17:23:25 2022-09-12 17:23:25,494 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:23:26 2022-09-12 17:23:26,243 [run_push] DEBUG push all version tags 17:23:26 2022-09-12 17:23:26,244 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:23:26 2022-09-12 17:23:26,244 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 17:23:27 2022-09-12 17:23:26,962 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:23:27 2.3.0-dev.18 [Pipeline] } 17:23:27 $ docker exec --env ******** --env ******** b33f1e6f9afab31aa2b010c80b6a408ff0a26d493bed81b00238d075d11b7654 ssh-agent -k 17:23:27 unset SSH_AUTH_SOCK; 17:23:27 unset SSH_AGENT_PID; 17:23:27 echo Agent pid 40 killed; 17:23:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:23:27 + git semver [Pipeline] } 17:23:27 $ docker stop --time=1 b33f1e6f9afab31aa2b010c80b6a408ff0a26d493bed81b00238d075d11b7654 17:23:29 $ docker rm -f b33f1e6f9afab31aa2b010c80b6a408ff0a26d493bed81b00238d075d11b7654 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:23:29 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 17:23:29 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 17:23:29 total 16 17:23:29 drwxr-xr-x 3 root root 4096 Sep 12 17:14 . 17:23:29 drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 17:23 .. 17:23:29 drwxr-xr-x 2 root root 4096 Sep 12 17:14 cost 17:23:29 -rw-r--r-- 1 root root 90 Sep 12 17:14 cost.csv 17:23:29 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 17:23:29 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 17:23:29 total 16 17:23:29 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 17:14 . 17:23:29 drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 17:23 .. 17:23:29 drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 17:14 cost 17:23:29 -rw-r--r-- 1 jenkins jenkins 90 Sep 12 17:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:23:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:23:30 ---> package-listing.sh 17:23:30 ++ facter osfamily 17:23:30 ++ tr '[:upper:]' '[:lower:]' 17:23:30 + OS_FAMILY=debian 17:23:30 + workspace=/w/workspace/foundry_device-onvif-camera_main 17:23:30 + START_PACKAGES=/tmp/packages_start.txt 17:23:30 + END_PACKAGES=/tmp/packages_end.txt 17:23:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:23:30 + PACKAGES=/tmp/packages_start.txt 17:23:30 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 17:23:30 + PACKAGES=/tmp/packages_end.txt 17:23:30 + case "${OS_FAMILY}" in 17:23:30 + dpkg -l 17:23:30 + grep '^ii' 17:23:30 + '[' -f /tmp/packages_start.txt ']' 17:23:30 + '[' -f /tmp/packages_end.txt ']' 17:23:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:23:30 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 17:23:30 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 17:23:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 17:23:30 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:23:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:23:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:31 prd-ubuntu20.04-docker-8c-8g-28963 does not seem to be running inside a container 17:23:31 $ 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 17:23:32 $ docker top 6f700f7f105d581d162cb151624cc806e92977cf4f5db9554ab756cc30c27b5f -eo pid,comm [Pipeline] { [Pipeline] sh 17:23:32 + touch /tmp/pre-build-complete [Pipeline] sh 17:23:32 + mkdir -p /var/log/sysstat [Pipeline] sh 17:23:33 + ls /var/log/sa-host 17:23:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:23:33 provisioning config files... 17:23:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3587744006217808276tmp [Pipeline] { [Pipeline] echo 17:23:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:23:33 ---> create-netrc.sh [Pipeline] } 17:23:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:23:33 ---> python-tools-install.sh [Pipeline] echo 17:23:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:23:34 ---> sudo-logs.sh 17:23:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:23:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:23:34 ---> job-cost.sh 17:23:34 lf-activate-venv: SKIPPING 17:23:34 DEBUG: total: 0.2199999988079071 17:23:34 INFO: Retrieving Stack Cost... 17:23:35 INFO: Retrieving Pricing Info for: v3-standard-8 17:23:35 INFO: Archiving Costs [Pipeline] echo 17:23:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:23:35 ---> logs-deploy.sh 17:23:35 lf-activate-venv: SKIPPING 17:23:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/56 17:23:35 INFO: archiving workspace using pattern(s): 17:23:36 Archives upload complete. 17:23:36 INFO: archiving logs to Nexus