Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 11fb6f615188eef9ab209f36e043f371254b5d5e 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-ssh14945516128508425164.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh13702467694712713434.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh418676271231746930.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh14804004881257483855.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-ssh1714710485059750407.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-23446 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 11fb6f615188eef9ab209f36e043f371254b5d5e (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 11fb6f615188eef9ab209f36e043f371254b5d5e # timeout=10 Commit message: "Onvif footnotes (#144)" > git rev-list --no-walk a7f4bbdd92e86766513fcb71b61d6b3a5793edb3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:54:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:54:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:54:23 ========================================================= 17:54:23 EdgeX Global Pipelines Version Info 17:54:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:54:24 ------------------- 17:54:24 stable info: 17:54:24 ------------------- 17:54:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:54:24 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 17:54:24 Message: update stable to v1.0.238 17:54:25 ------------------- 17:54:25 experimental info: 17:54:25 ------------------- 17:54:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:54:25 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 17:54:25 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 11fb6f615188eef9ab209f36e043f371254b5d5e [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 11fb6f6 [Pipeline] echo 17:54:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:54:25 provisioning config files... 17:54:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8421181625175671666tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:54:26 ---> docker-login.sh 17:54:26 nexus3.edgexfoundry.org:10001 17:54:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:26 Configure a credential helper to remove this warning. See 17:54:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:26 17:54:26 Login Succeeded 17:54:26 nexus3.edgexfoundry.org:10002 17:54:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:27 Configure a credential helper to remove this warning. See 17:54:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:27 17:54:27 Login Succeeded 17:54:27 nexus3.edgexfoundry.org:10003 17:54:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:27 Configure a credential helper to remove this warning. See 17:54:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:27 17:54:27 Login Succeeded 17:54:27 nexus3.edgexfoundry.org:10004 17:54:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:27 Configure a credential helper to remove this warning. See 17:54:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:27 17:54:27 Login Succeeded 17:54:27 docker.io 17:54:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:27 Configure a credential helper to remove this warning. See 17:54:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:27 17:54:27 Login Succeeded 17:54:27 ---> docker-login.sh ends [Pipeline] } 17:54:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:54:27 + git rev-list -1 --merges 11fb6f615188eef9ab209f36e043f371254b5d5e~1..11fb6f615188eef9ab209f36e043f371254b5d5e [Pipeline] echo 17:54:27 -----------> git rev-list -1 --merges 11fb6f615188eef9ab209f36e043f371254b5d5e~1..11fb6f615188eef9ab209f36e043f371254b5d5e 11fb6f615188eef9ab209f36e043f371254b5d5e [false] [Pipeline] sh 17:54:28 + git log --format=format:%s -1 11fb6f615188eef9ab209f36e043f371254b5d5e [Pipeline] echo 17:54:28 ========================================================= 17:54:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:54:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:54:28 + git log --format=format:%s -1 11fb6f615188eef9ab209f36e043f371254b5d5e [Pipeline] echo 17:54:28 [semverPrep] GIT_COMMIT: 11fb6f615188eef9ab209f36e043f371254b5d5e, Commit Message: Onvif footnotes (#144) [Pipeline] echo 17:54:28 [semverPrep] This is not a build commit. [Pipeline] sh 17:54:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:54:28 + grep -v github /etc/ssh/ssh_known_hosts 17:54:28 + [ -e /tmp/ssh_known_hosts ] 17:54:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:54:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:54:28 + sudo tee -a /etc/ssh/ssh_known_hosts 17:54:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:54:29 17:54:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:54:29 0.1.4: Pulling from edgex-devops/py-git-semver 17:54:29 b85a868b505f: Pulling fs layer 17:54:29 e2be974225ed: Pulling fs layer 17:54:29 339a4e72a1f5: Pulling fs layer 17:54:29 988bab9f4d93: Pulling fs layer 17:54:29 1469e6f7b9e6: Pulling fs layer 17:54:29 eaf3925da568: Pulling fs layer 17:54:29 bab4dde63d76: Pulling fs layer 17:54:29 bde34c3a00c8: Pulling fs layer 17:54:29 b352a97aabf1: Pulling fs layer 17:54:29 4872d77fe225: Pulling fs layer 17:54:29 5851b861e8e6: Pulling fs layer 17:54:29 988bab9f4d93: Waiting 17:54:29 bde34c3a00c8: Waiting 17:54:29 1469e6f7b9e6: Waiting 17:54:29 b352a97aabf1: Waiting 17:54:29 eaf3925da568: Waiting 17:54:29 bab4dde63d76: Waiting 17:54:29 4872d77fe225: Waiting 17:54:29 5851b861e8e6: Waiting 17:54:29 e2be974225ed: Verifying Checksum 17:54:29 e2be974225ed: Download complete 17:54:29 988bab9f4d93: Verifying Checksum 17:54:29 988bab9f4d93: Download complete 17:54:29 339a4e72a1f5: Verifying Checksum 17:54:29 339a4e72a1f5: Download complete 17:54:29 eaf3925da568: Download complete 17:54:29 1469e6f7b9e6: Verifying Checksum 17:54:29 1469e6f7b9e6: Download complete 17:54:29 bde34c3a00c8: Verifying Checksum 17:54:29 bde34c3a00c8: Download complete 17:54:29 b352a97aabf1: Verifying Checksum 17:54:29 4872d77fe225: Download complete 17:54:29 5851b861e8e6: Verifying Checksum 17:54:29 5851b861e8e6: Download complete 17:54:29 b85a868b505f: Download complete 17:54:30 bab4dde63d76: Verifying Checksum 17:54:31 b85a868b505f: Pull complete 17:54:31 e2be974225ed: Pull complete 17:54:32 339a4e72a1f5: Pull complete 17:54:32 988bab9f4d93: Pull complete 17:54:32 1469e6f7b9e6: Pull complete 17:54:32 eaf3925da568: Pull complete 17:54:34 bab4dde63d76: Pull complete 17:54:34 bde34c3a00c8: Pull complete 17:54:34 b352a97aabf1: Pull complete 17:54:34 4872d77fe225: Pull complete 17:54:34 5851b861e8e6: Pull complete 17:54:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:54:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:54:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:54:34 prd-ubuntu20.04-docker-8c-8g-23446 does not seem to be running inside a container 17:54:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:54:36 $ docker top 668410e2dc7080bd1a293da9664eef632bdb5442f55f546ab9c73518a3e0ab8b -eo pid,comm 17:54:36 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:54:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:54:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:54:36 [ssh-agent] Looking for ssh-agent implementation... 17:54:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:54:36 $ docker exec 668410e2dc7080bd1a293da9664eef632bdb5442f55f546ab9c73518a3e0ab8b ssh-agent 17:54:36 SSH_AUTH_SOCK=/tmp/ssh-bYI6SCFg9Np6/agent.34 17:54:36 SSH_AGENT_PID=41 17:54:36 Running ssh-add (command line suppressed) 17:54:36 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7812050689251718560.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7812050689251718560.key) 17:54:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:54:37 + git tag --points-at HEAD [Pipeline] } 17:54:37 $ docker exec --env ******** --env ******** 668410e2dc7080bd1a293da9664eef632bdb5442f55f546ab9c73518a3e0ab8b ssh-agent -k 17:54:37 unset SSH_AUTH_SOCK; 17:54:37 unset SSH_AGENT_PID; 17:54:37 echo Agent pid 41 killed; 17:54:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:54:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:54:37 [ssh-agent] Looking for ssh-agent implementation... 17:54:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:54:37 $ docker exec 668410e2dc7080bd1a293da9664eef632bdb5442f55f546ab9c73518a3e0ab8b ssh-agent 17:54:37 SSH_AUTH_SOCK=/tmp/ssh-hM1AzdOoyFXx/agent.74 17:54:37 SSH_AGENT_PID=80 17:54:37 Running ssh-add (command line suppressed) 17:54:37 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7303192738856624933.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7303192738856624933.key) 17:54:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:54:38 + git semver init 17:54:38 2022-08-24 17:54:38,202 [run_init] DEBUG init version:0.0.0 force:False 17:54:38 2022-08-24 17:54:38,202 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 17:54:38 2022-08-24 17:54:38,203 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 17:54:38 2022-08-24 17:54:38,203 [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:54:39 2022-08-24 17:54:38,982 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 17:54:39 2022-08-24 17:54:38,983 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 17:54:39 2022-08-24 17:54:38,983 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:54:39 2022-08-24 17:54:38,983 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:54:39 2.3.0-dev.9 [Pipeline] } 17:54:39 $ docker exec --env ******** --env ******** 668410e2dc7080bd1a293da9664eef632bdb5442f55f546ab9c73518a3e0ab8b ssh-agent -k 17:54:39 unset SSH_AUTH_SOCK; 17:54:39 unset SSH_AGENT_PID; 17:54:39 echo Agent pid 80 killed; 17:54:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:54:39 + git semver [Pipeline] } 17:54:39 $ docker stop --time=1 668410e2dc7080bd1a293da9664eef632bdb5442f55f546ab9c73518a3e0ab8b 17:54:41 $ docker rm -f 668410e2dc7080bd1a293da9664eef632bdb5442f55f546ab9c73518a3e0ab8b [Pipeline] // withDockerContainer [Pipeline] sh 17:54:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:54:41 Stashed 1 file(s) [Pipeline] echo 17:54:41 [edgeXSemver]: initialized semver on version 2.3.0-dev.9 [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:54:42 provisioning config files... 17:54:42 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7159836340094606131tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:54:42 ---> docker-login.sh 17:54:42 nexus3.edgexfoundry.org:10001 17:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:42 Configure a credential helper to remove this warning. See 17:54:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:42 17:54:42 Login Succeeded 17:54:42 nexus3.edgexfoundry.org:10002 17:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:42 Configure a credential helper to remove this warning. See 17:54:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:42 17:54:42 Login Succeeded 17:54:42 nexus3.edgexfoundry.org:10003 17:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:42 Configure a credential helper to remove this warning. See 17:54:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:42 17:54:42 Login Succeeded 17:54:42 nexus3.edgexfoundry.org:10004 17:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:42 Configure a credential helper to remove this warning. See 17:54:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:42 17:54:42 Login Succeeded 17:54:42 docker.io 17:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:43 Configure a credential helper to remove this warning. See 17:54:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:43 17:54:43 Login Succeeded 17:54:43 ---> docker-login.sh ends [Pipeline] } 17:54:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:54:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:54:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:54:43 ========================================================= 17:54:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:54:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:43 + 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:54:43 Sending build context to Docker daemon 20.55MB 17:54:43 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:54:43 Step 2/13 : FROM ${BASE} AS builder 17:54:43 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:54:43 2408cc74d12b: Pulling fs layer 17:54:43 ea60b727a1ce: Pulling fs layer 17:54:43 30c4a7721957: Pulling fs layer 17:54:43 370296b7ddb6: Pulling fs layer 17:54:43 7c6cee850709: Pulling fs layer 17:54:43 39a5fcdaea64: Pulling fs layer 17:54:43 d94ebbe4e438: Pulling fs layer 17:54:43 bcfd1f05c69d: Pulling fs layer 17:54:43 59ccb84bbe0f: Pulling fs layer 17:54:43 39a5fcdaea64: Waiting 17:54:43 d94ebbe4e438: Waiting 17:54:43 bcfd1f05c69d: Waiting 17:54:43 59ccb84bbe0f: Waiting 17:54:43 370296b7ddb6: Waiting 17:54:43 30c4a7721957: Verifying Checksum 17:54:43 30c4a7721957: Download complete 17:54:43 ea60b727a1ce: Download complete 17:54:43 7c6cee850709: Verifying Checksum 17:54:43 7c6cee850709: Download complete 17:54:43 39a5fcdaea64: Download complete 17:54:43 2408cc74d12b: Verifying Checksum 17:54:43 d94ebbe4e438: Download complete 17:54:43 2408cc74d12b: Pull complete 17:54:44 ea60b727a1ce: Pull complete 17:54:44 30c4a7721957: Pull complete 17:54:44 bcfd1f05c69d: Verifying Checksum 17:54:44 bcfd1f05c69d: Download complete 17:54:44 59ccb84bbe0f: Verifying Checksum 17:54:44 59ccb84bbe0f: Download complete 17:54:44 370296b7ddb6: Verifying Checksum 17:54:44 370296b7ddb6: Download complete 17:54:49 370296b7ddb6: Pull complete 17:54:49 7c6cee850709: Pull complete 17:54:49 39a5fcdaea64: Pull complete 17:54:49 d94ebbe4e438: Pull complete 17:54:51 bcfd1f05c69d: Pull complete 17:54:51 59ccb84bbe0f: Pull complete 17:54:51 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 17:54:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:54:51 ---> a4fb48ad2a94 17:54:51 Step 3/13 : ARG MAKE="make build" 17:54:54 ---> Running in c224fe33a408 17:54:54 Removing intermediate container c224fe33a408 17:54:54 ---> 542c8e637e17 17:54:54 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:54:54 ---> Running in 329986938abd 17:54:54 Removing intermediate container 329986938abd 17:54:54 ---> d0c0a1df7dea 17:54:54 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 17:54:54 ---> Running in 5271e441aa6f 17:54:54 Removing intermediate container 5271e441aa6f 17:54:54 ---> 2a121dda4826 17:54:54 Step 6/13 : LABEL Name=edgex-device-onvif-camera 17:54:54 ---> Running in 496602e12a8f 17:54:54 Removing intermediate container 496602e12a8f 17:54:54 ---> fbd8f40c50fe 17:54:54 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:54:54 ---> Running in f53af586d095 17:54:55 Removing intermediate container f53af586d095 17:54:55 ---> 132074bea9c7 17:54:55 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:54:55 ---> Running in 2a4eec920567 17:54:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:54:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:54:56 OK: 211 MiB in 51 packages 17:54:56 Removing intermediate container 2a4eec920567 17:54:56 ---> 1310e3652ce2 17:54:56 Step 9/13 : WORKDIR /device-onvif-camera 17:54:56 ---> Running in ead18679eb2c 17:54:57 Still waiting to schedule task 17:54:57 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:54:57 Removing intermediate container ead18679eb2c 17:54:57 ---> ddc112d6b318 17:54:57 Step 10/13 : COPY go.mod vendor* ./ 17:54:57 ---> 1f55f5565741 17:54:57 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:54:57 ---> Running in 64d24d0028ca 17:55:23 Removing intermediate container 64d24d0028ca 17:55:23 ---> 525d5d3ab9aa 17:55:23 Step 12/13 : COPY . . 17:55:23 ---> d6a7a9a21746 17:55:23 Step 13/13 : RUN ${MAKE} 17:55:23 ---> Running in a92d4d3e34b4 17:55:23 noop 17:55:23 Removing intermediate container a92d4d3e34b4 17:55:23 ---> 0aaaf67d6a8e 17:55:23 Successfully built 0aaaf67d6a8e 17:55:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:24 + docker inspect -f . ci-base-image-x86_64 17:55:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:55:24 prd-ubuntu20.04-docker-8c-8g-23446 does not seem to be running inside a container 17:55:24 $ 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 ******** ci-base-image-x86_64 cat 17:55:24 $ docker top b0350ea2e8aeb62fdd149a39b28fec32ce6327261142dd490458f2f7a5db37af -eo pid,comm [Pipeline] { [Pipeline] sh 17:55:24 + go version 17:55:24 go version go1.18.3 linux/amd64 [Pipeline] } 17:55:24 $ docker stop --time=1 b0350ea2e8aeb62fdd149a39b28fec32ce6327261142dd490458f2f7a5db37af 17:55:26 $ docker rm -f b0350ea2e8aeb62fdd149a39b28fec32ce6327261142dd490458f2f7a5db37af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:26 + docker inspect -f . ci-base-image-x86_64 17:55:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:55:26 prd-ubuntu20.04-docker-8c-8g-23446 does not seem to be running inside a container 17:55:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 ******** ci-base-image-x86_64 cat 17:55:27 $ docker top 4db043e563ac2e048f9ee7a41730cd0f605dd1cbea727eb02de32726caf29ee7 -eo pid,comm [Pipeline] { [Pipeline] sh 17:55:27 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 17:55:27 + make test 17:55:27 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:55:28 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:55:40 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:55:40 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.027s coverage: 10.6% of statements 17:55:40 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:55:42 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.368s coverage: 13.8% of statements 17:55:49 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:55:49 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:55:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:55:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:55:53 ./bin/test-attribution-txt.sh [Pipeline] echo 17:55:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:55:53 $ docker stop --time=1 4db043e563ac2e048f9ee7a41730cd0f605dd1cbea727eb02de32726caf29ee7 17:55:55 $ docker rm -f 4db043e563ac2e048f9ee7a41730cd0f605dd1cbea727eb02de32726caf29ee7 [Pipeline] // withDockerContainer [Pipeline] sh 17:55:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:55:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:55:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:55:56 + ls -al . 17:55:56 total 232 17:55:56 drwxrwxr-x 10 jenkins jenkins 4096 Aug 24 17:55 . 17:55:56 drwxrwxr-x 4 jenkins jenkins 4096 Aug 24 17:54 .. 17:55:56 drwxrwxr-x 8 jenkins jenkins 4096 Aug 24 17:55 .git 17:55:56 drwxrwxr-x 3 jenkins jenkins 4096 Aug 24 17:54 .github 17:55:56 -rw-rw-r-- 1 jenkins jenkins 418 Aug 24 17:54 .gitignore 17:55:56 -rw-rw-r-- 1 jenkins jenkins 42 Aug 24 17:54 .golangci.yml 17:55:56 drwxr-xr-x 3 jenkins jenkins 4096 Aug 24 17:54 .semver 17:55:56 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 24 17:54 Attribution.txt 17:55:56 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 24 17:54 CHANGELOG.md 17:55:56 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 24 17:54 Dockerfile 17:55:56 -rw-rw-r-- 1 jenkins jenkins 677 Aug 24 17:54 GOVERNANCE.md 17:55:56 -rw-rw-r-- 1 jenkins jenkins 734 Aug 24 17:54 Jenkinsfile 17:55:56 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 24 17:54 LICENSE 17:55:56 -rw-rw-r-- 1 jenkins jenkins 2649 Aug 24 17:54 Makefile 17:55:56 -rw-rw-r-- 1 jenkins jenkins 625 Aug 24 17:54 OWNERS.md 17:55:56 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 24 17:54 README.md 17:55:56 -rw-rw-r-- 1 jenkins jenkins 11 Aug 24 17:54 VERSION 17:55:56 drwxrwxr-x 2 jenkins jenkins 4096 Aug 24 17:54 bin 17:55:56 drwxrwxr-x 3 jenkins jenkins 4096 Aug 24 17:54 cmd 17:55:56 -rw-r--r-- 1 jenkins jenkins 76854 Aug 24 17:55 coverage.out 17:55:56 drwxrwxr-x 6 jenkins jenkins 4096 Aug 24 17:54 doc 17:55:56 -rw-rw-r-- 1 jenkins jenkins 3783 Aug 24 17:54 go.mod 17:55:56 -rw-rw-r-- 1 jenkins jenkins 39275 Aug 24 17:54 go.sum 17:55:56 drwxrwxr-x 4 jenkins jenkins 4096 Aug 24 17:54 internal 17:55:56 drwxrwxr-x 4 jenkins jenkins 4096 Aug 24 17:54 snap 17:55:56 -rw-rw-r-- 1 jenkins jenkins 236 Aug 24 17:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:56 + 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=11fb6f615188eef9ab209f36e043f371254b5d5e --label arch=amd64 --label version=2.3.0-dev.9 . 17:55:56 Sending build context to Docker daemon 20.62MB 17:55:56 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:55:56 Step 2/26 : FROM ${BASE} AS builder 17:55:56 ---> 0aaaf67d6a8e 17:55:56 Step 3/26 : ARG MAKE="make build" 17:55:57 ---> Running in 99538ca2863c 17:55:57 Removing intermediate container 99538ca2863c 17:55:57 ---> b2b54a3258e7 17:55:57 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:55:57 ---> Running in 9fead3308c39 17:55:57 Removing intermediate container 9fead3308c39 17:55:57 ---> 52c69981233b 17:55:57 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 17:55:57 ---> Running in 3f988e61f4c9 17:55:57 Removing intermediate container 3f988e61f4c9 17:55:57 ---> 789c87c4fa2c 17:55:57 Step 6/26 : LABEL Name=edgex-device-onvif-camera 17:55:57 ---> Running in 3faf196c6e5d 17:55:57 Removing intermediate container 3faf196c6e5d 17:55:57 ---> 11e84776768c 17:55:57 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:55:57 ---> Running in 86d957af2f68 17:55:57 Removing intermediate container 86d957af2f68 17:55:57 ---> a7689eab8ea7 17:55:57 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:55:57 ---> Running in 1f36f2fdf373 17:55:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:55:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:55:59 OK: 211 MiB in 51 packages 17:55:59 Removing intermediate container 1f36f2fdf373 17:55:59 ---> 69a5fbf0b8b6 17:55:59 Step 9/26 : WORKDIR /device-onvif-camera 17:55:59 ---> Running in 761f9d73b390 17:55:59 Removing intermediate container 761f9d73b390 17:55:59 ---> 67709d4c52a5 17:55:59 Step 10/26 : COPY go.mod vendor* ./ 17:55:59 ---> 173bfdb25fdb 17:55:59 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:55:59 ---> Running in 2b87e4cff364 17:56:00 Removing intermediate container 2b87e4cff364 17:56:00 ---> 2c030f196713 17:56:00 Step 12/26 : COPY . . 17:56:01 ---> fcdd58da6743 17:56:01 Step 13/26 : RUN ${MAKE} 17:56:01 ---> Running in 586f160fdf36 17:56:01 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.9 -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:56:23 Removing intermediate container 586f160fdf36 17:56:23 ---> 23d9f66fd443 17:56:23 Step 14/26 : FROM alpine:3.16 17:56:23 3.16: Pulling from library/alpine 17:56:23 213ec9aee27d: Pulling fs layer 17:56:23 213ec9aee27d: Verifying Checksum 17:56:23 213ec9aee27d: Download complete 17:56:23 213ec9aee27d: Pull complete 17:56:23 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:56:23 Status: Downloaded newer image for alpine:3.16 17:56:23 ---> 9c6f07244728 17:56:23 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:56:23 ---> Running in c62465360c55 17:56:23 Removing intermediate container c62465360c55 17:56:23 ---> 572c2f965a4f 17:56:23 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 17:56:23 ---> Running in dde80b9352ca 17:56:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:56:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:56:23 (1/6) Installing dumb-init (1.2.5-r1) 17:56:23 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:56:23 (3/6) Installing libsodium (1.0.18-r0) 17:56:23 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:56:23 (5/6) Installing libzmq (4.3.4-r0) 17:56:23 (6/6) Installing zeromq (4.3.4-r0) 17:56:23 Executing busybox-1.35.0-r17.trigger 17:56:23 OK: 8 MiB in 20 packages 17:56:23 Removing intermediate container dde80b9352ca 17:56:23 ---> 68a043f4fb95 17:56:23 Step 17/26 : WORKDIR / 17:56:23 ---> Running in 2694747e5da2 17:56:23 Removing intermediate container 2694747e5da2 17:56:23 ---> bb5f920be3b2 17:56:23 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:56:23 ---> 09d98eb9b255 17:56:23 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:56:23 ---> eda36d637f69 17:56:23 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:56:23 ---> 01575618f4e8 17:56:23 Step 21/26 : EXPOSE 59984 17:56:23 ---> Running in b6d8082321af 17:56:23 Removing intermediate container b6d8082321af 17:56:23 ---> bd381027ee8a 17:56:23 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:56:23 ---> Running in 8db5e4a2bdb9 17:56:23 Removing intermediate container 8db5e4a2bdb9 17:56:23 ---> d46986266d94 17:56:23 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:56:23 ---> Running in 4dccc5f40f61 17:56:23 Removing intermediate container 4dccc5f40f61 17:56:23 ---> be7b227b39c9 17:56:23 Step 24/26 : LABEL arch=amd64 17:56:23 ---> Running in 36575db666b6 17:56:23 Removing intermediate container 36575db666b6 17:56:23 ---> b94f378575ce 17:56:23 Step 25/26 : LABEL git_sha=11fb6f615188eef9ab209f36e043f371254b5d5e 17:56:23 ---> Running in 7d3204240b5e 17:56:23 Removing intermediate container 7d3204240b5e 17:56:23 ---> b272a14da041 17:56:23 Step 26/26 : LABEL version=2.3.0-dev.9 17:56:23 ---> Running in 4b44124a4e74 17:56:23 Removing intermediate container 4b44124a4e74 17:56:23 ---> 53aaac420f37 17:56:23 [Warning] One or more build-args [ARCH] were not consumed 17:56:23 Successfully built 53aaac420f37 17:56:23 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:56:23 provisioning config files... 17:56:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4433323162504989095tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:56:24 ---> docker-login.sh 17:56:24 nexus3.edgexfoundry.org:10001 17:56:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:24 Configure a credential helper to remove this warning. See 17:56:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:24 17:56:24 Login Succeeded 17:56:24 nexus3.edgexfoundry.org:10002 17:56:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:24 Configure a credential helper to remove this warning. See 17:56:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:24 17:56:24 Login Succeeded 17:56:24 nexus3.edgexfoundry.org:10003 17:56:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:24 Configure a credential helper to remove this warning. See 17:56:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:24 17:56:24 Login Succeeded 17:56:24 nexus3.edgexfoundry.org:10004 17:56:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:24 Configure a credential helper to remove this warning. See 17:56:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:24 17:56:24 Login Succeeded 17:56:24 docker.io 17:56:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:24 Configure a credential helper to remove this warning. See 17:56:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:24 17:56:24 Login Succeeded 17:56:24 ---> docker-login.sh ends [Pipeline] } 17:56:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:56:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:56:24 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 17:56:24 11fb6f615188eef9ab209f36e043f371254b5d5e 17:56:24 latest 17:56:24 2.3.0-dev.9 17:56:24 11fb6f615188eef9ab209f36e043f371254b5d5e-2.3.0-dev.9 17:56:24 main 17:56:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:25 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:11fb6f615188eef9ab209f36e043f371254b5d5e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:25 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:11fb6f615188eef9ab209f36e043f371254b5d5e 17:56:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:56:25 5d2744ec8336: Preparing 17:56:25 d8e63d56e43a: Preparing 17:56:25 07484011fd83: Preparing 17:56:25 623b8ceaf716: Preparing 17:56:25 994393dc58e7: Preparing 17:56:25 994393dc58e7: Layer already exists 17:56:25 5d2744ec8336: Pushed 17:56:25 d8e63d56e43a: Pushed 17:56:25 623b8ceaf716: Pushed 17:56:28 07484011fd83: Pushed 17:56:28 11fb6f615188eef9ab209f36e043f371254b5d5e: digest: sha256:d626f3bf81088d77a17df7ced04d379ea5c8675d2c7fb57e1c59b90bd8d89bcd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:28 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:28 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 17:56:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:56:28 5d2744ec8336: Preparing 17:56:28 d8e63d56e43a: Preparing 17:56:28 07484011fd83: Preparing 17:56:28 623b8ceaf716: Preparing 17:56:28 994393dc58e7: Preparing 17:56:28 5d2744ec8336: Layer already exists 17:56:28 d8e63d56e43a: Layer already exists 17:56:28 623b8ceaf716: Layer already exists 17:56:28 07484011fd83: Layer already exists 17:56:28 994393dc58e7: Layer already exists 17:56:28 latest: digest: sha256:d626f3bf81088d77a17df7ced04d379ea5c8675d2c7fb57e1c59b90bd8d89bcd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:29 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:29 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.9 17:56:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:56:29 5d2744ec8336: Preparing 17:56:29 d8e63d56e43a: Preparing 17:56:29 07484011fd83: Preparing 17:56:29 623b8ceaf716: Preparing 17:56:29 994393dc58e7: Preparing 17:56:29 623b8ceaf716: Layer already exists 17:56:29 994393dc58e7: Layer already exists 17:56:29 07484011fd83: Layer already exists 17:56:29 5d2744ec8336: Layer already exists 17:56:29 d8e63d56e43a: Layer already exists 17:56:29 2.3.0-dev.9: digest: sha256:d626f3bf81088d77a17df7ced04d379ea5c8675d2c7fb57e1c59b90bd8d89bcd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:29 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:11fb6f615188eef9ab209f36e043f371254b5d5e-2.3.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:30 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:11fb6f615188eef9ab209f36e043f371254b5d5e-2.3.0-dev.9 17:56:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:56:30 5d2744ec8336: Preparing 17:56:30 d8e63d56e43a: Preparing 17:56:30 07484011fd83: Preparing 17:56:30 623b8ceaf716: Preparing 17:56:30 994393dc58e7: Preparing 17:56:30 623b8ceaf716: Layer already exists 17:56:30 5d2744ec8336: Layer already exists 17:56:30 d8e63d56e43a: Layer already exists 17:56:30 994393dc58e7: Layer already exists 17:56:30 07484011fd83: Layer already exists 17:56:30 11fb6f615188eef9ab209f36e043f371254b5d5e-2.3.0-dev.9: digest: sha256:d626f3bf81088d77a17df7ced04d379ea5c8675d2c7fb57e1c59b90bd8d89bcd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:30 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:30 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 17:56:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:56:30 5d2744ec8336: Preparing 17:56:30 d8e63d56e43a: Preparing 17:56:30 07484011fd83: Preparing 17:56:30 623b8ceaf716: Preparing 17:56:30 994393dc58e7: Preparing 17:56:30 623b8ceaf716: Layer already exists 17:56:30 07484011fd83: Layer already exists 17:56:30 d8e63d56e43a: Layer already exists 17:56:30 994393dc58e7: Layer already exists 17:56:30 5d2744ec8336: Layer already exists 17:56:30 main: digest: sha256:d626f3bf81088d77a17df7ced04d379ea5c8675d2c7fb57e1c59b90bd8d89bcd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:56:30 ===================================================== [Pipeline] echo 17:56:30 taggedImages: 17:56:30 - nexus3.edgexfoundry.org:10004/device-onvif-camera:11fb6f615188eef9ab209f36e043f371254b5d5e 17:56:30 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 17:56:30 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.9 17:56:30 - nexus3.edgexfoundry.org:10004/device-onvif-camera:11fb6f615188eef9ab209f36e043f371254b5d5e-2.3.0-dev.9 17:56:30 - 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:56:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:56:31 17:56:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:56:31 latest: Pulling from edgex-lftools-log-publisher 17:56:31 5eb5b503b376: Pulling fs layer 17:56:31 5c69ac0246d0: Pulling fs layer 17:56:31 ec43610c2a17: Pulling fs layer 17:56:31 3a2ae6a8a46f: Pulling fs layer 17:56:31 33b1e0a273af: Pulling fs layer 17:56:31 5d3b04190fa2: Pulling fs layer 17:56:31 2f39f015ded8: Pulling fs layer 17:56:31 33b1e0a273af: Waiting 17:56:31 2f39f015ded8: Waiting 17:56:31 5d3b04190fa2: Waiting 17:56:31 3a2ae6a8a46f: Waiting 17:56:31 5c69ac0246d0: Download complete 17:56:31 3a2ae6a8a46f: Verifying Checksum 17:56:31 3a2ae6a8a46f: Download complete 17:56:31 33b1e0a273af: Verifying Checksum 17:56:31 33b1e0a273af: Download complete 17:56:31 5d3b04190fa2: Verifying Checksum 17:56:31 5d3b04190fa2: Download complete 17:56:31 ec43610c2a17: Verifying Checksum 17:56:31 ec43610c2a17: Download complete 17:56:31 5eb5b503b376: Verifying Checksum 17:56:31 5eb5b503b376: Download complete 17:56:32 2f39f015ded8: Download complete 17:56:33 5eb5b503b376: Pull complete 17:56:33 5c69ac0246d0: Pull complete 17:56:33 ec43610c2a17: Pull complete 17:56:33 3a2ae6a8a46f: Pull complete 17:56:33 33b1e0a273af: Pull complete 17:56:34 5d3b04190fa2: Pull complete 17:56:38 2f39f015ded8: Pull complete 17:56:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:56:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:56:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:56:38 prd-ubuntu20.04-docker-8c-8g-23446 does not seem to be running inside a container 17:56:38 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:56:40 $ docker top 15c630c74101d91c5b321994350c3ee21e1db1158974f8f041bf6c5d06e9c50d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:56:40 ---> job-cost.sh 17:56:40 lf-activate-venv: SKIPPING 17:56:40 INFO: No Stack... 17:56:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23447 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 17:56:40 Running in /w/workspace/device-onvif-camera/48 [Pipeline] { [Pipeline] checkout 17:56:40 Selected Git installation does not exist. Using Default 17:56:40 The recommended git tool is: NONE 17:56:41 INFO: Retrieving Pricing Info for: v3-standard-8 17:56:41 INFO: Archiving Costs [Pipeline] sh 17:56:41 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 17:56:41 + cut -d, -f6 [Pipeline] lock 17:56:41 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-48-stack-cost] 17:56:41 Resource [jenkins-edgexfoundry-device-onvif-camera-main-48-stack-cost] did not exist. Created. 17:56:41 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-48-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:56:42 + echo total: 0.2199999988079071 [Pipeline] stash 17:56:42 Stashed 1 file(s) [Pipeline] } 17:56:42 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-48-stack-cost] [Pipeline] // lock [Pipeline] } 17:56:42 $ docker stop --time=1 15c630c74101d91c5b321994350c3ee21e1db1158974f8f041bf6c5d06e9c50d 17:56:43 $ docker rm -f 15c630c74101d91c5b321994350c3ee21e1db1158974f8f041bf6c5d06e9c50d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:56:47 using credential edgex-jenkins-ssh 17:56:47 Cloning the remote Git repository 17:56:47 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:56:47 > git init /w/workspace/device-onvif-camera/48 # timeout=10 17:56:48 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:56:48 > git --version # timeout=10 17:56:48 > git --version # 'git version 2.25.1' 17:56:48 using GIT_SSH to set credentials SSH Credentials for GitHub 17:56:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:56:49 Avoid second fetch 17:56:49 Checking out Revision 11fb6f615188eef9ab209f36e043f371254b5d5e (main) 17:56:49 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:56:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:56:49 > git config core.sparsecheckout # timeout=10 17:56:49 > git checkout -f 11fb6f615188eef9ab209f36e043f371254b5d5e # timeout=10 17:56:53 Commit message: "Onvif footnotes (#144)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:56:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:56:54 % Total % Received % Xferd Average Speed Time Time Time Current 17:56:54 Dload Upload Total Spent Left Speed 17:56:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 92661 0 --:--:-- --:--:-- --:--:-- 92661 [Pipeline] sh 17:56:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:56:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:56:55 + sudo tee /etc/docker/daemon.new 17:56:55 { 17:56:55 "registry-mirrors": [ 17:56:55 "https://nexus3.edgexfoundry.org:10001" 17:56:55 ], 17:56:55 "bip": "10.250.0.254/24", 17:56:55 "hosts": [ 17:56:55 "tcp://0.0.0.0:5555", 17:56:55 "unix:///var/run/docker.sock" 17:56:55 ], 17:56:55 "mtu": 1458, 17:56:55 "selinux-enabled": true, 17:56:55 "seccomp-profile": "/etc/docker/seccomp.json" 17:56:55 } [Pipeline] sh 17:56:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:56:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:57:14 provisioning config files... 17:57:14 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/48@tmp/config5391430799602530404tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:57:15 ---> docker-login.sh 17:57:15 nexus3.edgexfoundry.org:10001 17:57:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:16 Configure a credential helper to remove this warning. See 17:57:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:16 17:57:16 Login Succeeded 17:57:16 nexus3.edgexfoundry.org:10002 17:57:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:16 Configure a credential helper to remove this warning. See 17:57:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:16 17:57:16 Login Succeeded 17:57:16 nexus3.edgexfoundry.org:10003 17:57:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:16 Configure a credential helper to remove this warning. See 17:57:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:16 17:57:16 Login Succeeded 17:57:16 nexus3.edgexfoundry.org:10004 17:57:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:17 Configure a credential helper to remove this warning. See 17:57:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:17 17:57:17 Login Succeeded 17:57:17 docker.io 17:57:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:18 Configure a credential helper to remove this warning. See 17:57:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:18 17:57:18 Login Succeeded 17:57:18 ---> docker-login.sh ends [Pipeline] } 17:57:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:57:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:57:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:57:18 ========================================================= 17:57:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:57:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:18 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:57:19 Sending build context to Docker daemon 14.06MB 17:57:19 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:57:19 Step 2/13 : FROM ${BASE} AS builder 17:57:19 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:57:19 b3c136eddcbf: Pulling fs layer 17:57:19 c0a3192eca97: Pulling fs layer 17:57:19 a050256f5b6f: Pulling fs layer 17:57:19 656be50a0ddc: Pulling fs layer 17:57:19 2bbca73fdf42: Pulling fs layer 17:57:19 46d945488cbd: Pulling fs layer 17:57:19 8a5474983e97: Pulling fs layer 17:57:19 329c88fbcd65: Pulling fs layer 17:57:19 2bbca73fdf42: Waiting 17:57:19 46d945488cbd: Waiting 17:57:19 8a5474983e97: Waiting 17:57:19 329c88fbcd65: Waiting 17:57:19 656be50a0ddc: Waiting 17:57:19 a050256f5b6f: Verifying Checksum 17:57:19 a050256f5b6f: Download complete 17:57:19 c0a3192eca97: Verifying Checksum 17:57:19 c0a3192eca97: Download complete 17:57:19 2bbca73fdf42: Verifying Checksum 17:57:19 2bbca73fdf42: Download complete 17:57:19 46d945488cbd: Download complete 17:57:19 b3c136eddcbf: Verifying Checksum 17:57:19 b3c136eddcbf: Download complete 17:57:20 b3c136eddcbf: Pull complete 17:57:20 329c88fbcd65: Verifying Checksum 17:57:20 329c88fbcd65: Download complete 17:57:21 c0a3192eca97: Pull complete 17:57:21 a050256f5b6f: Pull complete 17:57:22 8a5474983e97: Verifying Checksum 17:57:22 8a5474983e97: Download complete 17:57:22 656be50a0ddc: Verifying Checksum 17:57:22 656be50a0ddc: Download complete 17:57:37 656be50a0ddc: Pull complete 17:57:37 2bbca73fdf42: Pull complete 17:57:37 46d945488cbd: Pull complete 17:57:42 8a5474983e97: Pull complete 17:57:44 329c88fbcd65: Pull complete 17:57:44 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 17:57:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:57:44 ---> ff4287adb874 17:57:44 Step 3/13 : ARG MAKE="make build" 17:57:46 ---> Running in 14ddad673d4a 17:57:46 Removing intermediate container 14ddad673d4a 17:57:46 ---> 83cd81f94c27 17:57:46 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:57:46 ---> Running in a683babff6ed 17:57:46 Removing intermediate container a683babff6ed 17:57:46 ---> a5490e492132 17:57:46 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 17:57:46 ---> Running in 153d1fffb7a6 17:57:46 Removing intermediate container 153d1fffb7a6 17:57:46 ---> 3a5585cc92dd 17:57:46 Step 6/13 : LABEL Name=edgex-device-onvif-camera 17:57:46 ---> Running in 735f55e7f45e 17:57:47 Removing intermediate container 735f55e7f45e 17:57:47 ---> a90949cd914a 17:57:47 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:57:47 ---> Running in 3c200283b9b0 17:57:50 Removing intermediate container 3c200283b9b0 17:57:50 ---> a8a429d428e4 17:57:50 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:57:50 ---> Running in fe8970bb23ef 17:57:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:57:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:57:52 OK: 221 MiB in 51 packages 17:57:53 Removing intermediate container fe8970bb23ef 17:57:53 ---> 5d028c4daf00 17:57:53 Step 9/13 : WORKDIR /device-onvif-camera 17:57:53 ---> Running in f2491ee93c86 17:57:53 Removing intermediate container f2491ee93c86 17:57:53 ---> cf880fcda4e9 17:57:53 Step 10/13 : COPY go.mod vendor* ./ 17:57:54 ---> 09cfa7ab948d 17:57:54 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:57:54 ---> Running in 5fdae03f3024 17:58:50 Removing intermediate container 5fdae03f3024 17:58:50 ---> d501a37532e1 17:58:50 Step 12/13 : COPY . . 17:58:50 ---> b4750bf503fa 17:58:50 Step 13/13 : RUN ${MAKE} 17:58:50 ---> Running in 438fb1e4b21e 17:58:50 noop 17:58:50 Removing intermediate container 438fb1e4b21e 17:58:50 ---> cbc6de480548 17:58:50 Successfully built cbc6de480548 17:58:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:51 + docker inspect -f . ci-base-image-arm64 17:58:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:51 prd-ubuntu20.04-docker-arm64-4c-16g-23447 does not seem to be running inside a container 17:58:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/48 -v /w/workspace/device-onvif-camera/48:/w/workspace/device-onvif-camera/48:rw,z -v /w/workspace/device-onvif-camera/48@tmp:/w/workspace/device-onvif-camera/48@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:58:52 $ docker top 0fe008c40a0206de8a387d6e9c6344a93aec6ccd72c540ddde0c9c017e85391a -eo pid,comm [Pipeline] { [Pipeline] sh 17:58:53 + go version 17:58:53 go version go1.18.3 linux/arm64 [Pipeline] } 17:58:53 $ docker stop --time=1 0fe008c40a0206de8a387d6e9c6344a93aec6ccd72c540ddde0c9c017e85391a 17:58:55 $ docker rm -f 0fe008c40a0206de8a387d6e9c6344a93aec6ccd72c540ddde0c9c017e85391a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:56 + docker inspect -f . ci-base-image-arm64 17:58:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:56 prd-ubuntu20.04-docker-arm64-4c-16g-23447 does not seem to be running inside a container 17:58:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/48 -v /w/workspace/device-onvif-camera/48:/w/workspace/device-onvif-camera/48:rw,z -v /w/workspace/device-onvif-camera/48@tmp:/w/workspace/device-onvif-camera/48@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:58:57 $ docker top 3387309f54a1e62a75e3cfc2d4c599ee1da151a7089a5a9b57b47995183b7327 -eo pid,comm [Pipeline] { [Pipeline] sh 17:58:58 + git config --global --add safe.directory /w/workspace/device-onvif-camera/48 [Pipeline] fileExists [Pipeline] sh 17:58:59 + make test 17:58:59 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:59:00 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:00:22 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:00:29 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.114s coverage: 10.6% of statements 18:00:29 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:00:51 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.173s coverage: 13.8% of statements 18:00:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:00:51 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:01:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:01:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:01:13 ./bin/test-attribution-txt.sh [Pipeline] echo 18:01:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:01:13 $ docker stop --time=1 3387309f54a1e62a75e3cfc2d4c599ee1da151a7089a5a9b57b47995183b7327 18:01:15 $ docker rm -f 3387309f54a1e62a75e3cfc2d4c599ee1da151a7089a5a9b57b47995183b7327 [Pipeline] // withDockerContainer [Pipeline] sh 18:01:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:01:16 Warning: overwriting stash ‘coverage-report’ 18:01:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:01:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:01:17 + ls -al . 18:01:17 total 228 18:01:17 drwxrwxr-x 9 jenkins jenkins 4096 Aug 24 17:59 . 18:01:17 drwxrwxr-x 4 jenkins jenkins 4096 Aug 24 17:56 .. 18:01:17 drwxrwxr-x 8 jenkins jenkins 4096 Aug 24 17:56 .git 18:01:17 drwxrwxr-x 3 jenkins jenkins 4096 Aug 24 17:56 .github 18:01:17 -rw-rw-r-- 1 jenkins jenkins 418 Aug 24 17:56 .gitignore 18:01:17 -rw-rw-r-- 1 jenkins jenkins 42 Aug 24 17:56 .golangci.yml 18:01:17 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 24 17:56 Attribution.txt 18:01:17 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 24 17:56 CHANGELOG.md 18:01:17 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 24 17:56 Dockerfile 18:01:17 -rw-rw-r-- 1 jenkins jenkins 677 Aug 24 17:56 GOVERNANCE.md 18:01:17 -rw-rw-r-- 1 jenkins jenkins 734 Aug 24 17:56 Jenkinsfile 18:01:17 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 24 17:56 LICENSE 18:01:17 -rw-rw-r-- 1 jenkins jenkins 2649 Aug 24 17:56 Makefile 18:01:17 -rw-rw-r-- 1 jenkins jenkins 625 Aug 24 17:56 OWNERS.md 18:01:17 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 24 17:56 README.md 18:01:17 -rw-rw-r-- 1 jenkins jenkins 11 Aug 24 17:54 VERSION 18:01:17 drwxrwxr-x 2 jenkins jenkins 4096 Aug 24 17:56 bin 18:01:17 drwxrwxr-x 3 jenkins jenkins 4096 Aug 24 17:56 cmd 18:01:17 -rw-r--r-- 1 jenkins jenkins 76854 Aug 24 18:00 coverage.out 18:01:17 drwxrwxr-x 6 jenkins jenkins 4096 Aug 24 17:56 doc 18:01:17 -rw-rw-r-- 1 jenkins jenkins 3783 Aug 24 17:56 go.mod 18:01:17 -rw-rw-r-- 1 jenkins jenkins 39275 Aug 24 17:56 go.sum 18:01:17 drwxrwxr-x 4 jenkins jenkins 4096 Aug 24 17:56 internal 18:01:17 drwxrwxr-x 4 jenkins jenkins 4096 Aug 24 17:56 snap 18:01:17 -rw-rw-r-- 1 jenkins jenkins 236 Aug 24 17:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:18 + 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=11fb6f615188eef9ab209f36e043f371254b5d5e --label arch=arm64 --label version=2.3.0-dev.9 . 18:01:18 Sending build context to Docker daemon 14.14MB 18:01:18 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 18:01:18 Step 2/26 : FROM ${BASE} AS builder 18:01:18 ---> cbc6de480548 18:01:18 Step 3/26 : ARG MAKE="make build" 18:01:18 ---> Running in e263540184b3 18:01:18 Removing intermediate container e263540184b3 18:01:18 ---> e3893fb3c330 18:01:18 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:01:18 ---> Running in 2f688d786cca 18:01:19 Removing intermediate container 2f688d786cca 18:01:19 ---> afe6fe3b4b13 18:01:19 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 18:01:19 ---> Running in b09ca277f63f 18:01:19 Removing intermediate container b09ca277f63f 18:01:19 ---> 1d8463db2458 18:01:19 Step 6/26 : LABEL Name=edgex-device-onvif-camera 18:01:19 ---> Running in 7a99ec9e1488 18:01:19 Removing intermediate container 7a99ec9e1488 18:01:19 ---> df7b891a3be4 18:01:19 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:01:19 ---> Running in 0958ab4f86f5 18:01:21 Removing intermediate container 0958ab4f86f5 18:01:21 ---> c1faba85496e 18:01:21 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:01:21 ---> Running in 2952111924f9 18:01:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:01:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:01:24 OK: 221 MiB in 51 packages 18:01:25 Removing intermediate container 2952111924f9 18:01:25 ---> 7eb4c53f51a8 18:01:25 Step 9/26 : WORKDIR /device-onvif-camera 18:01:25 ---> Running in 1151a800b7e3 18:01:25 Removing intermediate container 1151a800b7e3 18:01:25 ---> d0ab065490b5 18:01:25 Step 10/26 : COPY go.mod vendor* ./ 18:01:26 ---> b043fe750614 18:01:26 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:01:26 ---> Running in 15fa68ebd020 18:01:28 Removing intermediate container 15fa68ebd020 18:01:28 ---> e1309b1a1b58 18:01:28 Step 12/26 : COPY . . 18:01:29 ---> d505a7c35811 18:01:29 Step 13/26 : RUN ${MAKE} 18:01:29 ---> Running in 302bd9d35b1a 18:01:30 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.9 -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 18:03:37 Removing intermediate container 302bd9d35b1a 18:03:37 ---> 2ce2b8515ace 18:03:37 Step 14/26 : FROM alpine:3.16 18:03:37 3.16: Pulling from library/alpine 18:03:37 9b18e9b68314: Pulling fs layer 18:03:38 9b18e9b68314: Download complete 18:03:38 9b18e9b68314: Pull complete 18:03:38 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 18:03:38 Status: Downloaded newer image for alpine:3.16 18:03:38 ---> a6215f271958 18:03:38 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:03:38 ---> Running in 238474ebb62c 18:03:39 Removing intermediate container 238474ebb62c 18:03:39 ---> b1b494168fc7 18:03:39 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 18:03:39 ---> Running in e27e8abad276 18:03:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:03:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:03:41 (1/6) Installing dumb-init (1.2.5-r1) 18:03:41 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:03:41 (3/6) Installing libsodium (1.0.18-r0) 18:03:41 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:03:41 (5/6) Installing libzmq (4.3.4-r0) 18:03:41 (6/6) Installing zeromq (4.3.4-r0) 18:03:41 Executing busybox-1.35.0-r17.trigger 18:03:41 OK: 8 MiB in 20 packages 18:03:42 Removing intermediate container e27e8abad276 18:03:42 ---> 539b00935dea 18:03:42 Step 17/26 : WORKDIR / 18:03:42 ---> Running in b2b029f193a5 18:03:42 Removing intermediate container b2b029f193a5 18:03:42 ---> ac46971e6a17 18:03:42 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 18:03:44 ---> 84171370dd6e 18:03:44 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 18:03:45 ---> aaf39709d10b 18:03:45 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:03:45 ---> 88b9b7e6f1aa 18:03:45 Step 21/26 : EXPOSE 59984 18:03:45 ---> Running in d1bb6fd99732 18:03:45 Removing intermediate container d1bb6fd99732 18:03:45 ---> ea3c477bbb3c 18:03:45 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 18:03:45 ---> Running in 0f2dd3553a0a 18:03:46 Removing intermediate container 0f2dd3553a0a 18:03:46 ---> 2190d8935e4c 18:03:46 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:03:46 ---> Running in 6047f26966a0 18:03:46 Removing intermediate container 6047f26966a0 18:03:46 ---> a67fd57e60f5 18:03:46 Step 24/26 : LABEL arch=arm64 18:03:46 ---> Running in a469f8163ba7 18:03:47 Removing intermediate container a469f8163ba7 18:03:47 ---> 93523c11fe6c 18:03:47 Step 25/26 : LABEL git_sha=11fb6f615188eef9ab209f36e043f371254b5d5e 18:03:47 ---> Running in 0d7a761e1e90 18:03:47 Removing intermediate container 0d7a761e1e90 18:03:47 ---> f98385f1f310 18:03:47 Step 26/26 : LABEL version=2.3.0-dev.9 18:03:47 ---> Running in c88d5039f4c6 18:03:47 Removing intermediate container c88d5039f4c6 18:03:47 ---> d4893066dd69 18:03:47 [Warning] One or more build-args [ARCH] were not consumed 18:03:47 Successfully built d4893066dd69 18:03:47 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 18:03:48 provisioning config files... 18:03:48 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/48@tmp/config6935280437027354256tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:03:48 ---> docker-login.sh 18:03:48 nexus3.edgexfoundry.org:10001 18:03:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:48 Configure a credential helper to remove this warning. See 18:03:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:48 18:03:48 Login Succeeded 18:03:48 nexus3.edgexfoundry.org:10002 18:03:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:49 Configure a credential helper to remove this warning. See 18:03:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:49 18:03:49 Login Succeeded 18:03:49 nexus3.edgexfoundry.org:10003 18:03:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:49 Configure a credential helper to remove this warning. See 18:03:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:49 18:03:49 Login Succeeded 18:03:49 nexus3.edgexfoundry.org:10004 18:03:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:50 Configure a credential helper to remove this warning. See 18:03:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:50 18:03:50 Login Succeeded 18:03:50 docker.io 18:03:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:50 Configure a credential helper to remove this warning. See 18:03:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:50 18:03:50 Login Succeeded 18:03:50 ---> docker-login.sh ends [Pipeline] } 18:03:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:03:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:03:50 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 18:03:50 11fb6f615188eef9ab209f36e043f371254b5d5e 18:03:50 latest 18:03:50 2.3.0-dev.9 18:03:50 11fb6f615188eef9ab209f36e043f371254b5d5e-2.3.0-dev.9 18:03:50 main 18:03:50 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:51 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:11fb6f615188eef9ab209f36e043f371254b5d5e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:51 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:11fb6f615188eef9ab209f36e043f371254b5d5e 18:03:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:03:51 3d859dd66789: Preparing 18:03:51 ff730bb65775: Preparing 18:03:51 f0cb3d581225: Preparing 18:03:51 1418e3f324ba: Preparing 18:03:51 5d3e392a13a0: Preparing 18:03:52 5d3e392a13a0: Layer already exists 18:03:52 3d859dd66789: Pushed 18:03:52 ff730bb65775: Pushed 18:03:52 1418e3f324ba: Pushed 18:03:58 f0cb3d581225: Pushed 18:03:58 11fb6f615188eef9ab209f36e043f371254b5d5e: digest: sha256:36777f65838405d073d26158e8cd1b60ef725ff93fcaec64c9769c9842ccb810 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:58 + 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 18:03:58 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 18:03:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:03:58 3d859dd66789: Preparing 18:03:58 ff730bb65775: Preparing 18:03:58 f0cb3d581225: Preparing 18:03:58 1418e3f324ba: Preparing 18:03:58 5d3e392a13a0: Preparing 18:03:58 f0cb3d581225: Layer already exists 18:03:58 5d3e392a13a0: Layer already exists 18:03:58 1418e3f324ba: Layer already exists 18:03:58 3d859dd66789: Layer already exists 18:03:58 ff730bb65775: Layer already exists 18:03:59 latest: digest: sha256:36777f65838405d073d26158e8cd1b60ef725ff93fcaec64c9769c9842ccb810 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:59 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:59 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.9 18:03:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:03:59 3d859dd66789: Preparing 18:03:59 ff730bb65775: Preparing 18:03:59 f0cb3d581225: Preparing 18:03:59 1418e3f324ba: Preparing 18:03:59 5d3e392a13a0: Preparing 18:03:59 3d859dd66789: Layer already exists 18:03:59 1418e3f324ba: Layer already exists 18:03:59 f0cb3d581225: Layer already exists 18:03:59 5d3e392a13a0: Layer already exists 18:03:59 ff730bb65775: Layer already exists 18:04:00 2.3.0-dev.9: digest: sha256:36777f65838405d073d26158e8cd1b60ef725ff93fcaec64c9769c9842ccb810 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:00 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:11fb6f615188eef9ab209f36e043f371254b5d5e-2.3.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:00 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:11fb6f615188eef9ab209f36e043f371254b5d5e-2.3.0-dev.9 18:04:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:04:00 3d859dd66789: Preparing 18:04:00 ff730bb65775: Preparing 18:04:00 f0cb3d581225: Preparing 18:04:00 1418e3f324ba: Preparing 18:04:00 5d3e392a13a0: Preparing 18:04:00 5d3e392a13a0: Layer already exists 18:04:00 1418e3f324ba: Layer already exists 18:04:00 f0cb3d581225: Layer already exists 18:04:00 3d859dd66789: Layer already exists 18:04:00 ff730bb65775: Layer already exists 18:04:01 11fb6f615188eef9ab209f36e043f371254b5d5e-2.3.0-dev.9: digest: sha256:36777f65838405d073d26158e8cd1b60ef725ff93fcaec64c9769c9842ccb810 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:01 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:01 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 18:04:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:04:01 3d859dd66789: Preparing 18:04:01 ff730bb65775: Preparing 18:04:01 f0cb3d581225: Preparing 18:04:01 1418e3f324ba: Preparing 18:04:01 5d3e392a13a0: Preparing 18:04:01 ff730bb65775: Layer already exists 18:04:01 5d3e392a13a0: Layer already exists 18:04:01 3d859dd66789: Layer already exists 18:04:01 1418e3f324ba: Layer already exists 18:04:01 f0cb3d581225: Layer already exists 18:04:02 main: digest: sha256:36777f65838405d073d26158e8cd1b60ef725ff93fcaec64c9769c9842ccb810 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:04:02 ===================================================== [Pipeline] echo 18:04:02 taggedImages: 18:04:02 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:11fb6f615188eef9ab209f36e043f371254b5d5e 18:04:02 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 18:04:02 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.9 18:04:02 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:11fb6f615188eef9ab209f36e043f371254b5d5e-2.3.0-dev.9 18:04:02 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:04:02 18:04:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:04:03 arm64: Pulling from edgex-lftools-log-publisher 18:04:03 8998bd30e6a1: Pulling fs layer 18:04:03 04944245beec: Pulling fs layer 18:04:03 699f458cf7ca: Pulling fs layer 18:04:03 765212b225bb: Pulling fs layer 18:04:03 f23df028b6ca: Pulling fs layer 18:04:03 d65c8cfc05b1: Pulling fs layer 18:04:03 2437ff75d9bd: Pulling fs layer 18:04:03 765212b225bb: Waiting 18:04:03 f23df028b6ca: Waiting 18:04:03 d65c8cfc05b1: Waiting 18:04:03 2437ff75d9bd: Waiting 18:04:03 04944245beec: Verifying Checksum 18:04:03 04944245beec: Download complete 18:04:03 765212b225bb: Verifying Checksum 18:04:03 765212b225bb: Download complete 18:04:03 f23df028b6ca: Verifying Checksum 18:04:03 d65c8cfc05b1: Verifying Checksum 18:04:03 d65c8cfc05b1: Download complete 18:04:03 699f458cf7ca: Verifying Checksum 18:04:03 699f458cf7ca: Download complete 18:04:03 8998bd30e6a1: Verifying Checksum 18:04:03 8998bd30e6a1: Download complete 18:04:06 2437ff75d9bd: Verifying Checksum 18:04:06 2437ff75d9bd: Download complete 18:04:08 8998bd30e6a1: Pull complete 18:04:08 04944245beec: Pull complete 18:04:10 699f458cf7ca: Pull complete 18:04:10 765212b225bb: Pull complete 18:04:10 f23df028b6ca: Pull complete 18:04:11 d65c8cfc05b1: Pull complete 18:04:26 2437ff75d9bd: Pull complete 18:04:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:04:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:04:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:26 prd-ubuntu20.04-docker-arm64-4c-16g-23447 does not seem to be running inside a container 18:04:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/48 -v /w/workspace/device-onvif-camera/48:/w/workspace/device-onvif-camera/48:rw,z -v /w/workspace/device-onvif-camera/48@tmp:/w/workspace/device-onvif-camera/48@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 18:04:29 $ docker top 540144b560c267c884dd872cc789efcbf3c40b3956c74cd934f04c4916a62a23 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:04:30 ---> job-cost.sh 18:04:30 lf-activate-venv: SKIPPING 18:04:30 INFO: No Stack... 18:04:30 INFO: Retrieving Pricing Info for: v3-standard-4 18:04:31 INFO: Archiving Costs [Pipeline] sh 18:04:32 + cat /w/workspace/device-onvif-camera/48/archives/cost.csv 18:04:32 + cut -d, -f6 [Pipeline] lock 18:04:32 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-48-stack-cost] 18:04:32 Resource [jenkins-edgexfoundry-device-onvif-camera-main-48-stack-cost] did not exist. Created. 18:04:32 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-48-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:04:33 /w/workspace/device-onvif-camera/48@tmp/durable-046d8abd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:04:34 + echo total: 0.10999999940395355 [Pipeline] stash 18:04:34 Warning: overwriting stash ‘stack-cost’ 18:04:34 Stashed 1 file(s) [Pipeline] } 18:04:34 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-48-stack-cost] [Pipeline] // lock [Pipeline] } 18:04:34 $ docker stop --time=1 540144b560c267c884dd872cc789efcbf3c40b3956c74cd934f04c4916a62a23 18:04:35 $ docker rm -f 540144b560c267c884dd872cc789efcbf3c40b3956c74cd934f04c4916a62a23 [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 18:04:36 provisioning config files... 18:04:36 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2574834491283932617tmp [Pipeline] { [Pipeline] sh 18:04:36 + set +x 18:04:36 + curl -s https://codecov.io/bash 18:04:36 + bash -s -- 18:04:36 18:04:36 _____ _ 18:04:36 / ____| | | 18:04:36 | | ___ __| | ___ ___ _____ __ 18:04:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:04:36 | |___| (_) | (_| | __/ (_| (_) \ V / 18:04:36 \_____\___/ \__,_|\___|\___\___/ \_/ 18:04:36 Bash-1.0.6 18:04:36 18:04:36 18:04:36 ==> git version 2.25.1 found 18:04:36 ==> 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 18:04:36 Release-Date: 2020-01-08 18:04:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:04:36 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:04:36 ==> Jenkins CI detected. 18:04:36 current dir:  /w/workspace/foundry_device-onvif-camera_main 18:04:36 project root: . 18:04:36 --> token set from env 18:04:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:04:36 ==> Running gcov in . (disable via -X gcov) 18:04:36 ==> Python coveragepy not found 18:04:36 ==> Searching for coverage reports in: 18:04:36 + . 18:04:36 -> Found 1 reports 18:04:36 ==> Detecting git/mercurial file structure 18:04:36 ==> Reading reports 18:04:36 + ./coverage.out bytes=76854 18:04:36 ==> Appending adjustments 18:04:36 https://docs.codecov.io/docs/fixing-reports 18:04:36 + Found adjustments 18:04:36 ==> Gzipping contents 18:04:36 12K /tmp/codecov.WM8gWe.gz 18:04:36 ==> Uploading reports 18:04:36 url: https://codecov.io 18:04:36 query: branch=main&commit=11fb6f615188eef9ab209f36e043f371254b5d5e&build=48&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F48%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:04:36 -> Pinging Codecov 18:04:36 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=main&commit=11fb6f615188eef9ab209f36e043f371254b5d5e&build=48&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F48%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:04:37 -> Uploading to 18:04:37 https://storage.googleapis.com/codecov/v4/raw/2022-08-24/F29A59C45E3A92E06B3E522C9905F8EF/11fb6f615188eef9ab209f36e043f371254b5d5e/87d5654e-a536-4c53-bbec-48a65d0cf912.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220824%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220824T180436Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=94202decd6841124d530fb6a56a0412a5017e30deb5959771951fddca5b9327d 18:04:37 % Total % Received % Xferd Average Speed Time Time Time Current 18:04:37 Dload Upload Total Spent Left Speed 18:04:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10405 0 0 100 10405 0 41126 --:--:-- --:--:-- --:--:-- 41126 18:04:37 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/11fb6f615188eef9ab209f36e043f371254b5d5e [Pipeline] } 18:04:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:04:37 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:04:37 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:04:37 18:04:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:04:38 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:04:38 df9b9388f04a: Pulling fs layer 18:04:38 52dc419b0ee2: Pulling fs layer 18:04:38 25bc292e5bac: Pulling fs layer 18:04:38 114826534d7a: Pulling fs layer 18:04:38 4657fd5d0bcf: Pulling fs layer 18:04:38 6ad1cebc031e: Pulling fs layer 18:04:38 8a3aa393b2d8: Pulling fs layer 18:04:38 114826534d7a: Waiting 18:04:38 4657fd5d0bcf: Waiting 18:04:38 6ad1cebc031e: Waiting 18:04:38 8a3aa393b2d8: Waiting 18:04:38 25bc292e5bac: Verifying Checksum 18:04:38 25bc292e5bac: Download complete 18:04:38 52dc419b0ee2: Verifying Checksum 18:04:38 52dc419b0ee2: Download complete 18:04:38 4657fd5d0bcf: Verifying Checksum 18:04:38 4657fd5d0bcf: Download complete 18:04:38 df9b9388f04a: Download complete 18:04:38 df9b9388f04a: Pull complete 18:04:38 6ad1cebc031e: Verifying Checksum 18:04:38 6ad1cebc031e: Download complete 18:04:38 52dc419b0ee2: Pull complete 18:04:38 25bc292e5bac: Pull complete 18:04:39 114826534d7a: Verifying Checksum 18:04:39 114826534d7a: Download complete 18:04:39 8a3aa393b2d8: Verifying Checksum 18:04:39 8a3aa393b2d8: Download complete 18:04:42 114826534d7a: Pull complete 18:04:42 4657fd5d0bcf: Pull complete 18:04:42 6ad1cebc031e: Pull complete 18:04:46 8a3aa393b2d8: Pull complete 18:04:46 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:04:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:04:46 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:46 prd-ubuntu20.04-docker-8c-8g-23446 does not seem to be running inside a container 18:04:46 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 18:04:48 $ docker top d699722142c230c41c4855054f9615d6805d8a4d4ee3eba130a492abaefa81f5 -eo pid,comm [Pipeline] { [Pipeline] echo 18:04:48 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 18:04:49 + set -o pipefail 18:04:49 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 18:04:59 18:04:59 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 18:04:59 18:04:59 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/9c3ad8e7-f2fe-4b78-a03a-14f4c861401d 18:04:59 18:04:59 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 18:04:59 18:04:59 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:04:59 18:04:59 [Pipeline] } 18:04:59 $ docker stop --time=1 d699722142c230c41c4855054f9615d6805d8a4d4ee3eba130a492abaefa81f5 18:05:01 $ docker rm -f d699722142c230c41c4855054f9615d6805d8a4d4ee3eba130a492abaefa81f5 [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 18:05:02 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:05:02 provisioning config files... 18:05:02 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7545797738210320056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:05:02 --> edgex-publish-swagger.sh 18:05:02 === Publish doc/openapi/v2 API === 18:05:02 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 18:05:02 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 18:05:02 % Total % Received % Xferd Average Speed Time Time Time Current 18:05:02 Dload Upload Total Spent Left Speed 18:05:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 139k 0 0 100 139k 0 112k 0:00:01 0:00:01 --:--:-- 112k 100 139k 0 0 100 139k 0 63779 0:00:02 0:00:02 --:--:-- 63779 100 139k 0 0 100 139k 0 44042 0:00:03 0:00:03 --:--:-- 44042 100 139k 0 0 100 139k 0 33642 0:00:04 0:00:04 --:--:-- 33642 100 139k 0 0 100 139k 0 27215 0:00:05 0:00:05 --:--:-- 27215 100 139k 0 0 100 139k 0 26852 0:00:05 0:00:05 --:--:-- 0 18:05:07 18:05:07 [Pipeline] } 18:05:07 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 18:05:07 + git log --format=format:%s -1 11fb6f615188eef9ab209f36e043f371254b5d5e [Pipeline] sh 18:05:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:05:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:05:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:05:08 prd-ubuntu20.04-docker-8c-8g-23446 does not seem to be running inside a container 18:05:08 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:05:09 $ docker top 6226268b92dcadca9c4c102bbefdfc830edad1f1d5c2ba28b27806abaac8258b -eo pid,comm 18:05:09 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). 18:05:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:05:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:05:09 [ssh-agent] Looking for ssh-agent implementation... 18:05:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:05:09 $ docker exec 6226268b92dcadca9c4c102bbefdfc830edad1f1d5c2ba28b27806abaac8258b ssh-agent 18:05:09 SSH_AUTH_SOCK=/tmp/ssh-t0JRjnGfFDEM/agent.32 18:05:09 SSH_AGENT_PID=38 18:05:09 Running ssh-add (command line suppressed) 18:05:09 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8159538144624664537.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8159538144624664537.key) 18:05:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:05:09 + git semver tag 18:05:10 2022-08-24 18:05:10,116 [run_tag] DEBUG tag force:False 18:05:10 2022-08-24 18:05:10,116 [check_head_tag] DEBUG check head tag 18:05:10 2022-08-24 18:05:10,117 [execute] INFO git cat-file --batch-check 18:05:10 2022-08-24 18:05:10,117 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 18:05:10 2022-08-24 18:05:10,121 [execute] INFO git cat-file --batch 18:05:10 2022-08-24 18:05:10,121 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 18:05:10 2022-08-24 18:05:10,135 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:05:10 2022-08-24 18:05:10,135 [execute] INFO git tag -a v2.3.0-dev.9 -m v2.3.0-dev.9 18:05:10 2022-08-24 18:05:10,136 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.9', '-m', 'v2.3.0-dev.9'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 18:05:10 2022-08-24 18:05:10,140 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:05:10 2.3.0-dev.9 [Pipeline] } 18:05:10 $ docker exec --env ******** --env ******** 6226268b92dcadca9c4c102bbefdfc830edad1f1d5c2ba28b27806abaac8258b ssh-agent -k 18:05:10 unset SSH_AUTH_SOCK; 18:05:10 unset SSH_AGENT_PID; 18:05:10 echo Agent pid 38 killed; 18:05:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:05:10 + git semver [Pipeline] } 18:05:10 $ docker stop --time=1 6226268b92dcadca9c4c102bbefdfc830edad1f1d5c2ba28b27806abaac8258b 18:05:12 $ docker rm -f 6226268b92dcadca9c4c102bbefdfc830edad1f1d5c2ba28b27806abaac8258b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:05:12 18:05:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:05:12 0.23.1-centos7: Pulling from edgex-lftools 18:05:12 ab5ef0e58194: Pulling fs layer 18:05:12 9712f1f96733: Pulling fs layer 18:05:12 63f879dbbcfc: Pulling fs layer 18:05:12 0d9ebad4ef96: Pulling fs layer 18:05:12 e9a5061849ea: Pulling fs layer 18:05:12 d747dcd14b5f: Pulling fs layer 18:05:12 2de7ff778b66: Pulling fs layer 18:05:12 e9a5061849ea: Waiting 18:05:12 d747dcd14b5f: Waiting 18:05:12 0d9ebad4ef96: Waiting 18:05:12 2de7ff778b66: Waiting 18:05:12 9712f1f96733: Verifying Checksum 18:05:12 9712f1f96733: Download complete 18:05:13 63f879dbbcfc: Verifying Checksum 18:05:13 63f879dbbcfc: Download complete 18:05:13 0d9ebad4ef96: Verifying Checksum 18:05:13 0d9ebad4ef96: Download complete 18:05:13 e9a5061849ea: Verifying Checksum 18:05:13 e9a5061849ea: Download complete 18:05:13 d747dcd14b5f: Download complete 18:05:13 ab5ef0e58194: Verifying Checksum 18:05:13 ab5ef0e58194: Download complete 18:05:13 2de7ff778b66: Verifying Checksum 18:05:13 2de7ff778b66: Download complete 18:05:16 ab5ef0e58194: Pull complete 18:05:16 9712f1f96733: Pull complete 18:05:16 63f879dbbcfc: Pull complete 18:05:21 0d9ebad4ef96: Pull complete 18:05:21 e9a5061849ea: Pull complete 18:05:21 d747dcd14b5f: Pull complete 18:05:22 2de7ff778b66: Pull complete 18:05:22 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:05:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:05:22 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:05:22 prd-ubuntu20.04-docker-8c-8g-23446 does not seem to be running inside a container 18:05:22 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 18:05:25 $ docker top 50a70c42354694a95df0ff09ca7f73f0f074a86b2870a2b5337ba19106c6784f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:05:25 provisioning config files... 18:05:25 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6927837108934734976tmp 18:05:25 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3477296129602456107tmp 18:05:25 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2131283371038975670tmp [Pipeline] { [Pipeline] echo 18:05:25 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:05:25 ---> sigul-configuration.sh 18:05:25 gpg: directory `/root/.gnupg' created 18:05:25 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:05:25 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:05:25 gpg: keyring `/root/.gnupg/secring.gpg' created 18:05:25 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:05:25 gpg: CAST5 encrypted data 18:05:25 gpg: encrypted with 1 passphrase 18:05:25 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:05:25 + mkdir /home/jenkins 18:05:25 + mkdir /home/jenkins/sigul [Pipeline] sh 18:05:26 + 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 18:05:26 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:05:26 ---> sigul-install.sh 18:05:26 Sigul already installed; skipping installation. [Pipeline] sh 18:05:26 + git tag --list 18:05:26 v0.0.0 18:05:26 v0.0.1-dev.1 18:05:26 v0.0.1-dev.10 18:05:26 v0.0.1-dev.11 18:05:26 v0.0.1-dev.12 18:05:26 v0.0.1-dev.13 18:05:26 v0.0.1-dev.14 18:05:26 v0.0.1-dev.15 18:05:26 v0.0.1-dev.16 18:05:26 v0.0.1-dev.17 18:05:26 v0.0.1-dev.18 18:05:26 v0.0.1-dev.19 18:05:26 v0.0.1-dev.2 18:05:26 v0.0.1-dev.20 18:05:26 v0.0.1-dev.21 18:05:26 v0.0.1-dev.22 18:05:26 v0.0.1-dev.23 18:05:26 v0.0.1-dev.24 18:05:26 v0.0.1-dev.25 18:05:26 v0.0.1-dev.26 18:05:26 v0.0.1-dev.27 18:05:26 v0.0.1-dev.28 18:05:26 v0.0.1-dev.3 18:05:26 v0.0.1-dev.4 18:05:26 v0.0.1-dev.5 18:05:26 v0.0.1-dev.6 18:05:26 v0.0.1-dev.7 18:05:26 v0.0.1-dev.8 18:05:26 v0.0.1-dev.9 18:05:26 v2.2.0 18:05:26 v2.2.0-dev.29 18:05:26 v2.2.0-dev.30 18:05:26 v2.2.0-dev.31 18:05:26 v2.2.0-dev.32 18:05:26 v2.2.0-dev.33 18:05:26 v2.2.0-dev.34 18:05:26 v2.2.0-dev.35 18:05:26 v2.3.0-dev.1 18:05:26 v2.3.0-dev.2 18:05:26 v2.3.0-dev.3 18:05:26 v2.3.0-dev.4 18:05:26 v2.3.0-dev.5 18:05:26 v2.3.0-dev.6 18:05:26 v2.3.0-dev.7 18:05:26 v2.3.0-dev.8 18:05:26 v2.3.0-dev.9 [Pipeline] sh 18:05:26 + lftools sign git-tag v2.3.0-dev.9 18:05:27 Signing Git tag with Sigul... 18:05:27 Signing v2.3.0-dev.9 [Pipeline] echo 18:05:27 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:05:28 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:05:28 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:05:28 $ docker stop --time=1 50a70c42354694a95df0ff09ca7f73f0f074a86b2870a2b5337ba19106c6784f 18:05:29 $ docker rm -f 50a70c42354694a95df0ff09ca7f73f0f074a86b2870a2b5337ba19106c6784f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:05:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:05:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:05:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:05:30 prd-ubuntu20.04-docker-8c-8g-23446 does not seem to be running inside a container 18:05:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:05:30 $ docker top e9a5e977dbc52313f8bb7fdb9f89cd8003c469581966d9b519351cb9a5b6836b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:05:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:05:30 [ssh-agent] Looking for ssh-agent implementation... 18:05:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:05:30 $ docker exec e9a5e977dbc52313f8bb7fdb9f89cd8003c469581966d9b519351cb9a5b6836b ssh-agent 18:05:30 SSH_AUTH_SOCK=/tmp/ssh-NxoFC6afIC7m/agent.32 18:05:30 SSH_AGENT_PID=38 18:05:30 Running ssh-add (command line suppressed) 18:05:31 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5013852853068599743.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5013852853068599743.key) 18:05:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:05:31 + git semver bump pre 18:05:31 2022-08-24 18:05:31,544 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:05:31 2022-08-24 18:05:31,544 [bump_version] DEBUG bumping version:2.3.0-dev.9 on axis:pre with prefix:dev 18:05:31 2022-08-24 18:05:31,544 [bump_version] DEBUG bumped version:2.3.0-dev.10 18:05:31 2022-08-24 18:05:31,545 [write_version] DEBUG write version:2.3.0-dev.10 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 18:05:31 2022-08-24 18:05:31,545 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:05:31 2022-08-24 18:05:31,545 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 18:05:31 2022-08-24 18:05:31,547 [execute] INFO git cat-file --batch-check 18:05:31 2022-08-24 18:05:31,547 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:05:31 2022-08-24 18:05:31,553 [execute] INFO git cat-file --batch 18:05:31 2022-08-24 18:05:31,553 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:05:31 2022-08-24 18:05:31,558 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:05:31 2.3.0-dev.10 [Pipeline] } 18:05:31 $ docker exec --env ******** --env ******** e9a5e977dbc52313f8bb7fdb9f89cd8003c469581966d9b519351cb9a5b6836b ssh-agent -k 18:05:31 unset SSH_AUTH_SOCK; 18:05:31 unset SSH_AGENT_PID; 18:05:31 echo Agent pid 38 killed; 18:05:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:05:32 + git semver [Pipeline] } 18:05:32 $ docker stop --time=1 e9a5e977dbc52313f8bb7fdb9f89cd8003c469581966d9b519351cb9a5b6836b 18:05:33 $ docker rm -f e9a5e977dbc52313f8bb7fdb9f89cd8003c469581966d9b519351cb9a5b6836b [Pipeline] // withDockerContainer [Pipeline] sh 18:05:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:05:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:05:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:05:34 prd-ubuntu20.04-docker-8c-8g-23446 does not seem to be running inside a container 18:05:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:05:34 $ docker top 35c6124bb47c681e42a04d9029a7edc5b032e3163fe897c31281005f24a1e741 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:05:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:05:34 [ssh-agent] Looking for ssh-agent implementation... 18:05:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:05:35 $ docker exec 35c6124bb47c681e42a04d9029a7edc5b032e3163fe897c31281005f24a1e741 ssh-agent 18:05:35 SSH_AUTH_SOCK=/tmp/ssh-XtLYBepDeQhR/agent.33 18:05:35 SSH_AGENT_PID=40 18:05:35 Running ssh-add (command line suppressed) 18:05:35 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5317353133339045358.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5317353133339045358.key) 18:05:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:05:35 + git semver push 18:05:35 2022-08-24 18:05:35,834 [run_push] DEBUG push 18:05:35 2022-08-24 18:05:35,835 [execute] INFO git cat-file --batch-check 18:05:35 2022-08-24 18:05:35,835 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:05:35 2022-08-24 18:05:35,839 [execute] INFO git rev-list 453f09d94297a20cf9646399e915cf11d2c9916f -- 18:05:35 2022-08-24 18:05:35,839 [execute] DEBUG Popen(['git', 'rev-list', '453f09d94297a20cf9646399e915cf11d2c9916f', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:05:35 2022-08-24 18:05:35,846 [execute] INFO git fetch -v origin 18:05:35 2022-08-24 18:05:35,847 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 18:05:36 2022-08-24 18:05:36,324 [run_push] DEBUG no remote changes detected 18:05:36 2022-08-24 18:05:36,325 [execute] INFO git push origin semver 18:05:36 2022-08-24 18:05:36,325 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:05:37 2022-08-24 18:05:36,996 [run_push] DEBUG push all version tags 18:05:37 2022-08-24 18:05:36,996 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:05:37 2022-08-24 18:05:36,997 [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) 18:05:37 2022-08-24 18:05:37,763 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:05:37 2.3.0-dev.10 [Pipeline] } 18:05:37 $ docker exec --env ******** --env ******** 35c6124bb47c681e42a04d9029a7edc5b032e3163fe897c31281005f24a1e741 ssh-agent -k 18:05:38 unset SSH_AUTH_SOCK; 18:05:38 unset SSH_AGENT_PID; 18:05:38 echo Agent pid 40 killed; 18:05:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:05:38 + git semver [Pipeline] } 18:05:38 $ docker stop --time=1 35c6124bb47c681e42a04d9029a7edc5b032e3163fe897c31281005f24a1e741 18:05:39 $ docker rm -f 35c6124bb47c681e42a04d9029a7edc5b032e3163fe897c31281005f24a1e741 [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 18:05:40 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 18:05:40 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 18:05:40 total 16 18:05:40 drwxr-xr-x 3 root root 4096 Aug 24 17:56 . 18:05:40 drwxrwxr-x 11 jenkins jenkins 4096 Aug 24 18:05 .. 18:05:40 drwxr-xr-x 2 root root 4096 Aug 24 17:56 cost 18:05:40 -rw-r--r-- 1 root root 90 Aug 24 17:56 cost.csv 18:05:40 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 18:05:40 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 18:05:40 total 16 18:05:40 drwxr-xr-x 3 jenkins jenkins 4096 Aug 24 17:56 . 18:05:40 drwxrwxr-x 11 jenkins jenkins 4096 Aug 24 18:05 .. 18:05:40 drwxr-xr-x 2 jenkins jenkins 4096 Aug 24 17:56 cost 18:05:40 -rw-r--r-- 1 jenkins jenkins 90 Aug 24 17:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:05:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:05:41 ---> package-listing.sh 18:05:41 ++ facter osfamily 18:05:41 ++ tr '[:upper:]' '[:lower:]' 18:05:41 + OS_FAMILY=debian 18:05:41 + workspace=/w/workspace/foundry_device-onvif-camera_main 18:05:41 + START_PACKAGES=/tmp/packages_start.txt 18:05:41 + END_PACKAGES=/tmp/packages_end.txt 18:05:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:05:41 + PACKAGES=/tmp/packages_start.txt 18:05:41 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 18:05:41 + PACKAGES=/tmp/packages_end.txt 18:05:41 + case "${OS_FAMILY}" in 18:05:41 + dpkg -l 18:05:41 + grep '^ii' 18:05:41 + '[' -f /tmp/packages_start.txt ']' 18:05:41 + '[' -f /tmp/packages_end.txt ']' 18:05:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:05:41 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 18:05:41 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 18:05:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 18:05:41 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 18:05:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:05:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:05:42 prd-ubuntu20.04-docker-8c-8g-23446 does not seem to be running inside a container 18:05:42 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:05:43 $ docker top f2123aad39199c3cc22213710d478edaa66a3501e7dbb054964dbdeed172f496 -eo pid,comm [Pipeline] { [Pipeline] sh 18:05:43 + touch /tmp/pre-build-complete [Pipeline] sh 18:05:43 + mkdir -p /var/log/sysstat [Pipeline] sh 18:05:44 + ls /var/log/sa-host 18:05:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:05:44 provisioning config files... 18:05:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8658952321660371793tmp [Pipeline] { [Pipeline] echo 18:05:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:05:44 ---> create-netrc.sh [Pipeline] } 18:05:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:05:44 ---> python-tools-install.sh [Pipeline] echo 18:05:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:05:45 ---> sudo-logs.sh 18:05:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:05:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:05:45 ---> job-cost.sh 18:05:45 lf-activate-venv: SKIPPING 18:05:45 DEBUG: total: 0.2199999988079071 18:05:45 INFO: Retrieving Stack Cost... 18:05:45 INFO: Retrieving Pricing Info for: v3-standard-8 18:05:46 INFO: Archiving Costs [Pipeline] echo 18:05:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:05:46 ---> logs-deploy.sh 18:05:46 lf-activate-venv: SKIPPING 18:05:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/48 18:05:46 INFO: archiving workspace using pattern(s): 18:05:47 Archives upload complete. 18:05:47 INFO: archiving logs to Nexus 18:05:48 ---> uname -a: 18:05:48 Linux prd-ubuntu20-04-docker-8c-8g-23446 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 18:05:48 18:05:48 18:05:48 ---> lscpu: 18:05:48 Architecture: x86_64 18:05:48 CPU op-mode(s): 32-bit, 64-bit 18:05:48 Byte Order: Little Endian 18:05:48 Address sizes: 40 bits physical, 48 bits virtual 18:05:48 CPU(s): 8 18:05:48 On-line CPU(s) list: 0-7 18:05:48 Thread(s) per core: 1 18:05:48 Core(s) per socket: 1 18:05:48 Socket(s): 8 18:05:48 NUMA node(s): 1 18:05:48 Vendor ID: AuthenticAMD 18:05:48 CPU family: 23 18:05:48 Model: 49 18:05:48 Model name: AMD EPYC-Rome Processor 18:05:48 Stepping: 0 18:05:48 CPU MHz: 2799.988 18:05:48 BogoMIPS: 5599.97 18:05:48 Virtualization: AMD-V 18:05:48 Hypervisor vendor: KVM 18:05:48 Virtualization type: full 18:05:48 L1d cache: 256 KiB 18:05:48 L1i cache: 256 KiB 18:05:48 L2 cache: 4 MiB 18:05:48 L3 cache: 128 MiB 18:05:48 NUMA node0 CPU(s): 0-7 18:05:48 Vulnerability Itlb multihit: Not affected 18:05:48 Vulnerability L1tf: Not affected 18:05:48 Vulnerability Mds: Not affected 18:05:48 Vulnerability Meltdown: Not affected 18:05:48 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:05:48 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 18:05:48 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 18:05:48 Vulnerability Srbds: Not affected 18:05:48 Vulnerability Tsx async abort: Not affected 18:05:48 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 18:05:48 18:05:48 18:05:48 ---> nproc: 18:05:48 8 18:05:48 18:05:48 18:05:48 ---> df -h: 18:05:48 Filesystem Size Used Avail Use% Mounted on 18:05:48 overlay 155G 13G 143G 8% / 18:05:48 tmpfs 64M 0 64M 0% /dev 18:05:48 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:05:48 shm 64M 0 64M 0% /dev/shm 18:05:48 /dev/vda1 155G 13G 143G 8% /facter-os 18:05:48 18:05:48