Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9caa4df0b819edecbec0a70300df9517bef2bd36 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-ssh733505513168592769.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh7084078887717470612.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh2464112553163835101.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh6378006088425358784.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-ssh3068642478870681503.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/v3]] ========================================================= [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.20 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/v3 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-5521 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 9caa4df0b819edecbec0a70300df9517bef2bd36 (main) Commit message: "Merge pull request #382 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.19" > 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 9caa4df0b819edecbec0a70300df9517bef2bd36 # timeout=10 > git rev-list --no-walk 4961a50c3c420d16cc3291a3be0ac7992b67990b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:44:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:44:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:44:19 ========================================================= 04:44:19 EdgeX Global Pipelines Version Info 04:44:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:44:19 ------------------- 04:44:19 stable info: 04:44:19 ------------------- 04:44:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:44:19 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 04:44:19 Message: update stable to v1.0.253 04:44:20 ------------------- 04:44:20 experimental info: 04:44:20 ------------------- 04:44:20 Commited By: **** collab-it+edgex@linuxfoundation.org 04:44:20 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 04:44:20 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:44:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 04:44:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 04:44:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:44:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:44:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:44:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:44:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:44:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:44:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:44:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:44:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:44:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 04:44:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:44:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:44:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:44:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:44:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:44:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:44:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:44:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:44:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:44:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 04:44:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:44:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:44:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:44:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:44:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:44:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:44:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:44:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:44:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9caa4df0b819edecbec0a70300df9517bef2bd36 [Pipeline] echo 04:44:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9caa4df [Pipeline] echo 04:44:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:44:21 provisioning config files... 04:44:21 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15854117603986275714tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:44:21 ---> docker-login.sh 04:44:21 nexus3.edgexfoundry.org:10001 04:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:21 Configure a credential helper to remove this warning. See 04:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:21 04:44:21 Login Succeeded 04:44:21 nexus3.edgexfoundry.org:10002 04:44:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:22 Configure a credential helper to remove this warning. See 04:44:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:22 04:44:22 Login Succeeded 04:44:22 nexus3.edgexfoundry.org:10003 04:44:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:22 Configure a credential helper to remove this warning. See 04:44:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:22 04:44:22 Login Succeeded 04:44:22 nexus3.edgexfoundry.org:10004 04:44:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:22 Configure a credential helper to remove this warning. See 04:44:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:22 04:44:22 Login Succeeded 04:44:22 docker.io 04:44:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:22 Configure a credential helper to remove this warning. See 04:44:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:22 04:44:22 Login Succeeded 04:44:22 ---> docker-login.sh ends [Pipeline] } 04:44:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:44:22 + git rev-list -1 --merges 9caa4df0b819edecbec0a70300df9517bef2bd36~1..9caa4df0b819edecbec0a70300df9517bef2bd36 [Pipeline] echo 04:44:22 -----------> git rev-list -1 --merges 9caa4df0b819edecbec0a70300df9517bef2bd36~1..9caa4df0b819edecbec0a70300df9517bef2bd36 9caa4df0b819edecbec0a70300df9517bef2bd36 04:44:22 9caa4df0b819edecbec0a70300df9517bef2bd36 [false] [Pipeline] sh 04:44:23 + git log --format=format:%s -1 9caa4df0b819edecbec0a70300df9517bef2bd36 [Pipeline] echo 04:44:23 ========================================================= 04:44:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:44:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:44:23 + git log --format=format:%s -1 9caa4df0b819edecbec0a70300df9517bef2bd36 [Pipeline] echo 04:44:23 [semverPrep] GIT_COMMIT: 9caa4df0b819edecbec0a70300df9517bef2bd36, Commit Message: Merge pull request #382 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.19 [Pipeline] echo 04:44:23 [semverPrep] This is not a build commit. [Pipeline] sh 04:44:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:44:23 + grep -v github /etc/ssh/ssh_known_hosts 04:44:23 + [ -e /tmp/ssh_known_hosts ] 04:44:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:44:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:44:23 + sudo tee -a /etc/ssh/ssh_known_hosts 04:44:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:44:24 04:44:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:44:24 0.1.4: Pulling from edgex-devops/py-git-semver 04:44:24 b85a868b505f: Pulling fs layer 04:44:24 e2be974225ed: Pulling fs layer 04:44:24 339a4e72a1f5: Pulling fs layer 04:44:24 988bab9f4d93: Pulling fs layer 04:44:24 1469e6f7b9e6: Pulling fs layer 04:44:24 eaf3925da568: Pulling fs layer 04:44:24 bab4dde63d76: Pulling fs layer 04:44:24 bde34c3a00c8: Pulling fs layer 04:44:24 b352a97aabf1: Pulling fs layer 04:44:24 4872d77fe225: Pulling fs layer 04:44:24 5851b861e8e6: Pulling fs layer 04:44:24 988bab9f4d93: Waiting 04:44:24 1469e6f7b9e6: Waiting 04:44:24 b352a97aabf1: Waiting 04:44:24 eaf3925da568: Waiting 04:44:24 4872d77fe225: Waiting 04:44:24 bab4dde63d76: Waiting 04:44:24 5851b861e8e6: Waiting 04:44:24 bde34c3a00c8: Waiting 04:44:24 e2be974225ed: Download complete 04:44:24 988bab9f4d93: Verifying Checksum 04:44:24 988bab9f4d93: Download complete 04:44:24 1469e6f7b9e6: Verifying Checksum 04:44:24 1469e6f7b9e6: Download complete 04:44:24 eaf3925da568: Download complete 04:44:24 339a4e72a1f5: Verifying Checksum 04:44:24 339a4e72a1f5: Download complete 04:44:24 bde34c3a00c8: Verifying Checksum 04:44:24 bde34c3a00c8: Download complete 04:44:24 b352a97aabf1: Verifying Checksum 04:44:24 b352a97aabf1: Download complete 04:44:24 4872d77fe225: Verifying Checksum 04:44:24 4872d77fe225: Download complete 04:44:24 5851b861e8e6: Verifying Checksum 04:44:24 5851b861e8e6: Download complete 04:44:24 b85a868b505f: Verifying Checksum 04:44:24 b85a868b505f: Download complete 04:44:25 bab4dde63d76: Verifying Checksum 04:44:25 bab4dde63d76: Download complete 04:44:26 b85a868b505f: Pull complete 04:44:26 e2be974225ed: Pull complete 04:44:26 339a4e72a1f5: Pull complete 04:44:26 988bab9f4d93: Pull complete 04:44:27 1469e6f7b9e6: Pull complete 04:44:27 eaf3925da568: Pull complete 04:44:29 bab4dde63d76: Pull complete 04:44:29 bde34c3a00c8: Pull complete 04:44:29 b352a97aabf1: Pull complete 04:44:29 4872d77fe225: Pull complete 04:44:29 5851b861e8e6: Pull complete 04:44:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:44:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:44:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:44:29 prd-ubuntu20.04-docker-8c-8g-5521 does not seem to be running inside a container 04:44:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:44:32 $ docker top d277f7fc352c891f720c185901c1e58ed521db097b7db1ac7a0b77b73a58179f -eo pid,comm 04:44:32 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). 04:44:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:44:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:44:32 [ssh-agent] Looking for ssh-agent implementation... 04:44:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:44:32 $ docker exec d277f7fc352c891f720c185901c1e58ed521db097b7db1ac7a0b77b73a58179f ssh-agent 04:44:32 SSH_AUTH_SOCK=/tmp/ssh-JaEfl2ewU0Yz/agent.32 04:44:32 SSH_AGENT_PID=38 04:44:32 Running ssh-add (command line suppressed) 04:44:32 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3588453882680359394.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3588453882680359394.key) 04:44:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:44:33 + git tag --points-at HEAD [Pipeline] } 04:44:33 $ docker exec --env ******** --env ******** d277f7fc352c891f720c185901c1e58ed521db097b7db1ac7a0b77b73a58179f ssh-agent -k 04:44:33 unset SSH_AUTH_SOCK; 04:44:33 unset SSH_AGENT_PID; 04:44:33 echo Agent pid 38 killed; 04:44:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:44:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:44:33 [ssh-agent] Looking for ssh-agent implementation... 04:44:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:44:33 $ docker exec d277f7fc352c891f720c185901c1e58ed521db097b7db1ac7a0b77b73a58179f ssh-agent 04:44:33 SSH_AUTH_SOCK=/tmp/ssh-lNoVBHBVpTc8/agent.70 04:44:33 SSH_AGENT_PID=76 04:44:33 Running ssh-add (command line suppressed) 04:44:33 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2123041015006951038.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2123041015006951038.key) 04:44:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:44:33 + git semver init 04:44:34 2023-09-07 04:44:34,181 [run_init] DEBUG init version:0.0.0 force:False 04:44:34 2023-09-07 04:44:34,182 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 04:44:34 2023-09-07 04:44:34,183 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 04:44:34 2023-09-07 04:44:34,183 [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) 04:44:35 2023-09-07 04:44:35,104 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 04:44:35 2023-09-07 04:44:35,104 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 04:44:35 2023-09-07 04:44:35,105 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:44:35 2023-09-07 04:44:35,105 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:44:35 3.1.0-dev.7 [Pipeline] } 04:44:35 $ docker exec --env ******** --env ******** d277f7fc352c891f720c185901c1e58ed521db097b7db1ac7a0b77b73a58179f ssh-agent -k 04:44:35 unset SSH_AUTH_SOCK; 04:44:35 unset SSH_AGENT_PID; 04:44:35 echo Agent pid 76 killed; 04:44:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:44:35 + git semver [Pipeline] } 04:44:36 $ docker stop --time=1 d277f7fc352c891f720c185901c1e58ed521db097b7db1ac7a0b77b73a58179f 04:44:37 $ docker rm -f --volumes d277f7fc352c891f720c185901c1e58ed521db097b7db1ac7a0b77b73a58179f [Pipeline] // withDockerContainer [Pipeline] sh 04:44:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:44:38 Stashed 1 file(s) [Pipeline] echo 04:44:38 [edgeXSemver]: initialized semver on version 3.1.0-dev.7 [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 04:44:38 provisioning config files... 04:44:38 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12117875139845437006tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:44:38 ---> docker-login.sh 04:44:38 nexus3.edgexfoundry.org:10001 04:44:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:38 Configure a credential helper to remove this warning. See 04:44:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:38 04:44:38 Login Succeeded 04:44:38 nexus3.edgexfoundry.org:10002 04:44:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:38 Configure a credential helper to remove this warning. See 04:44:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:38 04:44:38 Login Succeeded 04:44:38 nexus3.edgexfoundry.org:10003 04:44:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:38 Configure a credential helper to remove this warning. See 04:44:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:38 04:44:38 Login Succeeded 04:44:38 nexus3.edgexfoundry.org:10004 04:44:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:38 Configure a credential helper to remove this warning. See 04:44:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:38 04:44:38 Login Succeeded 04:44:38 docker.io 04:44:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:39 Configure a credential helper to remove this warning. See 04:44:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:39 04:44:39 Login Succeeded 04:44:39 ---> docker-login.sh ends [Pipeline] } 04:44:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:44:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:44:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:44:39 ========================================================= 04:44:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:44:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:39 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 04:44:39 Sending build context to Docker daemon 21.67MB 04:44:39 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 04:44:39 Step 2/13 : FROM ${BASE} AS builder 04:44:40 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:44:40 4db1b89c0bd1: Pulling fs layer 04:44:40 6911f1a30b25: Pulling fs layer 04:44:40 e194b8c5c2a9: Pulling fs layer 04:44:40 6863d3e3a2b1: Pulling fs layer 04:44:40 ec0bb842ea78: Pulling fs layer 04:44:40 40a00589a448: Pulling fs layer 04:44:40 6c08303d61cc: Pulling fs layer 04:44:40 798269fcf238: Pulling fs layer 04:44:40 ec0bb842ea78: Waiting 04:44:40 40a00589a448: Waiting 04:44:40 6c08303d61cc: Waiting 04:44:40 798269fcf238: Waiting 04:44:40 6863d3e3a2b1: Waiting 04:44:40 6911f1a30b25: Verifying Checksum 04:44:40 6911f1a30b25: Download complete 04:44:40 6863d3e3a2b1: Verifying Checksum 04:44:40 6863d3e3a2b1: Download complete 04:44:40 ec0bb842ea78: Download complete 04:44:40 4db1b89c0bd1: Verifying Checksum 04:44:40 4db1b89c0bd1: Download complete 04:44:40 40a00589a448: Verifying Checksum 04:44:40 40a00589a448: Download complete 04:44:40 4db1b89c0bd1: Pull complete 04:44:40 6911f1a30b25: Pull complete 04:44:40 798269fcf238: Download complete 04:44:40 e194b8c5c2a9: Download complete 04:44:40 6c08303d61cc: Verifying Checksum 04:44:40 6c08303d61cc: Download complete 04:44:45 e194b8c5c2a9: Pull complete 04:44:45 6863d3e3a2b1: Pull complete 04:44:45 ec0bb842ea78: Pull complete 04:44:45 40a00589a448: Pull complete 04:44:46 6c08303d61cc: Pull complete 04:44:47 798269fcf238: Pull complete 04:44:47 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 04:44:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:44:47 ---> ec979cd7f677 04:44:47 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:44:52 ---> Running in 849fc0f220c2 04:44:52 Removing intermediate container 849fc0f220c2 04:44:52 ---> f54eff9f183b 04:44:52 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:44:52 ---> Running in 1b655a00e8b9 04:44:52 Removing intermediate container 1b655a00e8b9 04:44:52 ---> 5b2079bd134e 04:44:52 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:44:52 ---> Running in b3f365abd395 04:44:52 Removing intermediate container b3f365abd395 04:44:52 ---> 742c48467e3b 04:44:52 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:44:52 ---> Running in bd6c9f663f4e 04:44:52 Removing intermediate container bd6c9f663f4e 04:44:52 ---> 6603614c6a37 04:44:52 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:44:52 ---> Running in 101c687f8c6b 04:44:52 Removing intermediate container 101c687f8c6b 04:44:52 ---> 5db8a7b6e1b1 04:44:52 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:44:52 ---> Running in 0184ebc28708 04:44:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:44:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:44:53 Still waiting to schedule task 04:44:53 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5522’ is offline 04:44:53 OK: 265 MiB in 53 packages 04:44:53 Removing intermediate container 0184ebc28708 04:44:53 ---> daa5ad21aa00 04:44:53 Step 9/13 : WORKDIR /device-onvif-camera 04:44:53 ---> Running in 654fe45a01af 04:44:53 Removing intermediate container 654fe45a01af 04:44:53 ---> eeb22d69cc52 04:44:53 Step 10/13 : COPY go.mod vendor* ./ 04:44:53 ---> 60e70a673551 04:44:53 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:44:53 ---> Running in 3df12f384199 04:45:20 Removing intermediate container 3df12f384199 04:45:20 ---> ea12dcfc9f44 04:45:20 Step 12/13 : COPY . . 04:45:20 ---> 3bd9012b440b 04:45:20 Step 13/13 : RUN ${MAKE} 04:45:20 ---> Running in 82acba42e342 04:45:20 noop 04:45:20 Removing intermediate container 82acba42e342 04:45:20 ---> 65534d0551f5 04:45:20 Successfully built 65534d0551f5 04:45:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:20 + docker inspect -f . ci-base-image-x86_64 04:45:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:45:20 prd-ubuntu20.04-docker-8c-8g-5521 does not seem to be running inside a container 04:45:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:45:21 $ docker top 355ab5e819ff74cd59e83a1e2da2f542f310dae246dfca0ef9141d05d9e16c0e -eo pid,comm [Pipeline] { [Pipeline] sh 04:45:21 + go version 04:45:21 go version go1.20.6 linux/amd64 [Pipeline] } 04:45:21 $ docker stop --time=1 355ab5e819ff74cd59e83a1e2da2f542f310dae246dfca0ef9141d05d9e16c0e 04:45:22 $ docker rm -f --volumes 355ab5e819ff74cd59e83a1e2da2f542f310dae246dfca0ef9141d05d9e16c0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:23 + docker inspect -f . ci-base-image-x86_64 04:45:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:45:23 prd-ubuntu20.04-docker-8c-8g-5521 does not seem to be running inside a container 04:45:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:45:23 $ docker top b652a26c7cdcb3b0a2e15e68d4a538b7a44ac45d23b474da1fa8ae1fa60c8e66 -eo pid,comm [Pipeline] { [Pipeline] sh 04:45:23 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 04:45:24 + make test 04:45:24 go test ./... -coverprofile=coverage.out ./... 04:45:29 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:45:41 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:45:41 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:45:42 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.038s coverage: 31.5% of statements 04:45:42 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.220s coverage: 86.5% of statements 04:45:50 go vet ./... 04:45:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:45:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:45:53 ./bin/test-attribution-txt.sh [Pipeline] echo 04:45:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:45:53 $ docker stop --time=1 b652a26c7cdcb3b0a2e15e68d4a538b7a44ac45d23b474da1fa8ae1fa60c8e66 04:45:57 $ docker rm -f --volumes b652a26c7cdcb3b0a2e15e68d4a538b7a44ac45d23b474da1fa8ae1fa60c8e66 [Pipeline] // withDockerContainer [Pipeline] sh 04:45:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:45:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:45:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:45:58 + ls -al . 04:45:58 total 240 04:45:58 drwxrwxr-x 10 jenkins jenkins 4096 Sep 7 04:45 . 04:45:58 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 04:44 .. 04:45:58 drwxrwxr-x 8 jenkins jenkins 4096 Sep 7 04:44 .git 04:45:58 drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 04:44 .github 04:45:58 -rw-rw-r-- 1 jenkins jenkins 496 Sep 7 04:44 .gitignore 04:45:58 -rw-rw-r-- 1 jenkins jenkins 42 Sep 7 04:44 .golangci.yml 04:45:58 drwxr-xr-x 3 jenkins jenkins 4096 Sep 7 04:44 .semver 04:45:58 -rw-rw-r-- 1 jenkins jenkins 11155 Sep 7 04:44 Attribution.txt 04:45:58 -rw-rw-r-- 1 jenkins jenkins 15932 Sep 7 04:44 CHANGELOG.md 04:45:58 -rw-rw-r-- 1 jenkins jenkins 1574 Sep 7 04:44 Dockerfile 04:45:58 -rw-rw-r-- 1 jenkins jenkins 677 Sep 7 04:44 GOVERNANCE.md 04:45:58 -rw-rw-r-- 1 jenkins jenkins 739 Sep 7 04:44 Jenkinsfile 04:45:58 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 7 04:44 LICENSE 04:45:58 -rw-rw-r-- 1 jenkins jenkins 2877 Sep 7 04:44 Makefile 04:45:58 -rw-rw-r-- 1 jenkins jenkins 625 Sep 7 04:44 OWNERS.md 04:45:58 -rw-rw-r-- 1 jenkins jenkins 2620 Sep 7 04:44 README.md 04:45:58 -rw-rw-r-- 1 jenkins jenkins 11 Sep 7 04:44 VERSION 04:45:58 drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 04:44 bin 04:45:58 drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 04:44 cmd 04:45:58 -rw-r--r-- 1 jenkins jenkins 78456 Sep 7 04:45 coverage.out 04:45:58 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 04:44 doc 04:45:58 -rw-rw-r-- 1 jenkins jenkins 4085 Sep 7 04:44 go.mod 04:45:58 -rw-rw-r-- 1 jenkins jenkins 36344 Sep 7 04:44 go.sum 04:45:58 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 04:44 internal 04:45:58 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 04:44 snap 04:45:58 -rw-rw-r-- 1 jenkins jenkins 236 Sep 7 04:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:59 + 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=9caa4df0b819edecbec0a70300df9517bef2bd36 --label arch=amd64 --label version=3.1.0-dev.7 . 04:45:59 Sending build context to Docker daemon 21.75MB 04:45:59 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 04:45:59 Step 2/26 : FROM ${BASE} AS builder 04:45:59 ---> 65534d0551f5 04:45:59 Step 3/26 : ARG ADD_BUILD_TAGS="" 04:45:59 ---> Running in 4d236669a45e 04:45:59 Removing intermediate container 4d236669a45e 04:45:59 ---> 757b4b09ca3d 04:45:59 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:45:59 ---> Running in 40dc0a18a835 04:45:59 Removing intermediate container 40dc0a18a835 04:45:59 ---> a1063d92d50e 04:45:59 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 04:45:59 ---> Running in a4a8ca7d8970 04:45:59 Removing intermediate container a4a8ca7d8970 04:45:59 ---> 7e7dde397ee6 04:45:59 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 04:45:59 ---> Running in b09ea594f73b 04:45:59 Removing intermediate container b09ea594f73b 04:45:59 ---> 969a8a7079c0 04:45:59 Step 7/26 : LABEL Name=edgex-device-onvif-camera 04:45:59 ---> Running in fc06c04b6193 04:45:59 Removing intermediate container fc06c04b6193 04:45:59 ---> df31c3b0daf5 04:45:59 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:45:59 ---> Running in 22758d5e050e 04:46:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:46:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:46:00 OK: 265 MiB in 53 packages 04:46:00 Removing intermediate container 22758d5e050e 04:46:00 ---> 3c505d2ebe7f 04:46:00 Step 9/26 : WORKDIR /device-onvif-camera 04:46:00 ---> Running in 78aa9c9392ab 04:46:00 Removing intermediate container 78aa9c9392ab 04:46:00 ---> 6b408fe85885 04:46:00 Step 10/26 : COPY go.mod vendor* ./ 04:46:00 ---> ae7ef0677c3e 04:46:00 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:46:00 ---> Running in 6d448be1c6cf 04:46:01 Removing intermediate container 6d448be1c6cf 04:46:01 ---> 48bbb3ee1974 04:46:01 Step 12/26 : COPY . . 04:46:02 ---> bd6ad14e831c 04:46:02 Step 13/26 : RUN ${MAKE} 04:46:02 ---> Running in 6b47e65dba75 04:46:02 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.19" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 04:46:25 Removing intermediate container 6b47e65dba75 04:46:25 ---> 4c0431fb2625 04:46:25 Step 14/26 : FROM alpine:3.17 04:46:25 3.17: Pulling from library/alpine 04:46:25 9398808236ff: Pulling fs layer 04:46:25 9398808236ff: Verifying Checksum 04:46:25 9398808236ff: Download complete 04:46:25 9398808236ff: Pull complete 04:46:25 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 04:46:25 Status: Downloaded newer image for alpine:3.17 04:46:25 ---> 1e0b8b5322fc 04:46:25 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:46:25 ---> Running in 7d9c496f1c8c 04:46:25 Removing intermediate container 7d9c496f1c8c 04:46:25 ---> 8085fd185015 04:46:25 Step 16/26 : RUN apk add --update --no-cache dumb-init 04:46:25 ---> Running in 97eaf35f7b3d 04:46:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:46:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:46:25 (1/1) Installing dumb-init (1.2.5-r2) 04:46:25 Executing busybox-1.35.0-r29.trigger 04:46:25 OK: 7 MiB in 16 packages 04:46:25 Removing intermediate container 97eaf35f7b3d 04:46:25 ---> bad113fd4e3f 04:46:25 Step 17/26 : WORKDIR / 04:46:25 ---> Running in 897ef3981236 04:46:25 Removing intermediate container 897ef3981236 04:46:25 ---> b3044f878c93 04:46:25 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:46:25 ---> e72711e6ead0 04:46:25 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:46:25 ---> 4a819155d510 04:46:25 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:46:25 ---> bdfa93022b45 04:46:25 Step 21/26 : EXPOSE 59984 04:46:25 ---> Running in b3077c496a78 04:46:26 Removing intermediate container b3077c496a78 04:46:26 ---> df33199ed980 04:46:26 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:46:26 ---> Running in b41c5f56c1c4 04:46:26 Removing intermediate container b41c5f56c1c4 04:46:26 ---> 40a4f099441a 04:46:26 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:46:26 ---> Running in 3686754255eb 04:46:26 Removing intermediate container 3686754255eb 04:46:26 ---> db949905e668 04:46:26 Step 24/26 : LABEL arch=amd64 04:46:26 ---> Running in f7829c23d65d 04:46:26 Removing intermediate container f7829c23d65d 04:46:26 ---> b298a5a3397a 04:46:26 Step 25/26 : LABEL git_sha=9caa4df0b819edecbec0a70300df9517bef2bd36 04:46:26 ---> Running in ff86c7846204 04:46:26 Removing intermediate container ff86c7846204 04:46:26 ---> 5a8c13c5e5d2 04:46:26 Step 26/26 : LABEL version=3.1.0-dev.7 04:46:26 ---> Running in 322a406af5c0 04:46:26 Removing intermediate container 322a406af5c0 04:46:26 ---> 9a0bcda68df1 04:46:26 [Warning] One or more build-args [ARCH] were not consumed 04:46:26 Successfully built 9a0bcda68df1 04:46:26 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 04:46:26 provisioning config files... 04:46:26 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5259300438761463475tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:46:26 ---> docker-login.sh 04:46:26 nexus3.edgexfoundry.org:10001 04:46:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:46:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:46:26 Configure a credential helper to remove this warning. See 04:46:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:46:26 04:46:26 Login Succeeded 04:46:26 nexus3.edgexfoundry.org:10002 04:46:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:46:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:46:26 Configure a credential helper to remove this warning. See 04:46:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:46:26 04:46:26 Login Succeeded 04:46:26 nexus3.edgexfoundry.org:10003 04:46:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:46:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:46:27 Configure a credential helper to remove this warning. See 04:46:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:46:27 04:46:27 Login Succeeded 04:46:27 nexus3.edgexfoundry.org:10004 04:46:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:46:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:46:27 Configure a credential helper to remove this warning. See 04:46:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:46:27 04:46:27 Login Succeeded 04:46:27 docker.io 04:46:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:46:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:46:27 Configure a credential helper to remove this warning. See 04:46:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:46:27 04:46:27 Login Succeeded 04:46:27 ---> docker-login.sh ends [Pipeline] } 04:46:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:46:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:46:27 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 04:46:27 9caa4df0b819edecbec0a70300df9517bef2bd36 04:46:27 latest 04:46:27 3.1.0-dev.7 04:46:27 9caa4df0b819edecbec0a70300df9517bef2bd36-3.1.0-dev.7 04:46:27 main 04:46:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:27 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:9caa4df0b819edecbec0a70300df9517bef2bd36 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:28 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:9caa4df0b819edecbec0a70300df9517bef2bd36 04:46:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:46:28 6f18df8e251f: Preparing 04:46:28 36d707ab3470: Preparing 04:46:28 0dae252bb2db: Preparing 04:46:28 2c84d9d486af: Preparing 04:46:28 36b50b131297: Preparing 04:46:28 36b50b131297: Layer already exists 04:46:28 6f18df8e251f: Pushed 04:46:28 36d707ab3470: Pushed 04:46:28 2c84d9d486af: Pushed 04:46:31 0dae252bb2db: Pushed 04:46:31 9caa4df0b819edecbec0a70300df9517bef2bd36: digest: sha256:5a1960cb506a6c2fcfb4ff86cabe24a9ee551fc6833cb45c145c02c4be9791b7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:31 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:31 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 04:46:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:46:31 6f18df8e251f: Preparing 04:46:31 36d707ab3470: Preparing 04:46:31 0dae252bb2db: Preparing 04:46:31 2c84d9d486af: Preparing 04:46:31 36b50b131297: Preparing 04:46:31 36b50b131297: Layer already exists 04:46:31 6f18df8e251f: Layer already exists 04:46:31 36d707ab3470: Layer already exists 04:46:31 2c84d9d486af: Layer already exists 04:46:31 0dae252bb2db: Layer already exists 04:46:32 latest: digest: sha256:5a1960cb506a6c2fcfb4ff86cabe24a9ee551fc6833cb45c145c02c4be9791b7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:32 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:32 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.7 04:46:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:46:32 6f18df8e251f: Preparing 04:46:32 36d707ab3470: Preparing 04:46:32 0dae252bb2db: Preparing 04:46:32 2c84d9d486af: Preparing 04:46:32 36b50b131297: Preparing 04:46:32 36d707ab3470: Layer already exists 04:46:32 2c84d9d486af: Layer already exists 04:46:32 0dae252bb2db: Layer already exists 04:46:32 36b50b131297: Layer already exists 04:46:32 6f18df8e251f: Layer already exists 04:46:32 3.1.0-dev.7: digest: sha256:5a1960cb506a6c2fcfb4ff86cabe24a9ee551fc6833cb45c145c02c4be9791b7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:33 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:9caa4df0b819edecbec0a70300df9517bef2bd36-3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:33 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:9caa4df0b819edecbec0a70300df9517bef2bd36-3.1.0-dev.7 04:46:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:46:33 6f18df8e251f: Preparing 04:46:33 36d707ab3470: Preparing 04:46:33 0dae252bb2db: Preparing 04:46:33 2c84d9d486af: Preparing 04:46:33 36b50b131297: Preparing 04:46:33 36b50b131297: Layer already exists 04:46:33 2c84d9d486af: Layer already exists 04:46:33 0dae252bb2db: Layer already exists 04:46:33 6f18df8e251f: Layer already exists 04:46:33 36d707ab3470: Layer already exists 04:46:33 9caa4df0b819edecbec0a70300df9517bef2bd36-3.1.0-dev.7: digest: sha256:5a1960cb506a6c2fcfb4ff86cabe24a9ee551fc6833cb45c145c02c4be9791b7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:33 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:34 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 04:46:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:46:34 6f18df8e251f: Preparing 04:46:34 36d707ab3470: Preparing 04:46:34 0dae252bb2db: Preparing 04:46:34 2c84d9d486af: Preparing 04:46:34 36b50b131297: Preparing 04:46:34 0dae252bb2db: Layer already exists 04:46:34 36b50b131297: Layer already exists 04:46:34 36d707ab3470: Layer already exists 04:46:34 6f18df8e251f: Layer already exists 04:46:34 2c84d9d486af: Layer already exists 04:46:34 main: digest: sha256:5a1960cb506a6c2fcfb4ff86cabe24a9ee551fc6833cb45c145c02c4be9791b7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:46:34 ===================================================== [Pipeline] echo 04:46:34 taggedImages: 04:46:34 - nexus3.edgexfoundry.org:10004/device-onvif-camera:9caa4df0b819edecbec0a70300df9517bef2bd36 04:46:34 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 04:46:34 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.7 04:46:34 - nexus3.edgexfoundry.org:10004/device-onvif-camera:9caa4df0b819edecbec0a70300df9517bef2bd36-3.1.0-dev.7 04:46:34 - 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 04:46:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:46:34 04:46:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:46:34 latest: Pulling from edgex-lftools-log-publisher 04:46:34 5eb5b503b376: Pulling fs layer 04:46:34 5c69ac0246d0: Pulling fs layer 04:46:34 ec43610c2a17: Pulling fs layer 04:46:34 3a2ae6a8a46f: Pulling fs layer 04:46:34 33b1e0a273af: Pulling fs layer 04:46:34 5d3b04190fa2: Pulling fs layer 04:46:34 2f39f015ded8: Pulling fs layer 04:46:34 5d3b04190fa2: Waiting 04:46:34 3a2ae6a8a46f: Waiting 04:46:34 33b1e0a273af: Waiting 04:46:34 2f39f015ded8: Waiting 04:46:34 5c69ac0246d0: Download complete 04:46:34 3a2ae6a8a46f: Verifying Checksum 04:46:34 3a2ae6a8a46f: Download complete 04:46:34 33b1e0a273af: Verifying Checksum 04:46:34 33b1e0a273af: Download complete 04:46:34 5d3b04190fa2: Verifying Checksum 04:46:34 5d3b04190fa2: Download complete 04:46:34 ec43610c2a17: Verifying Checksum 04:46:34 ec43610c2a17: Download complete 04:46:35 5eb5b503b376: Verifying Checksum 04:46:35 5eb5b503b376: Download complete 04:46:35 2f39f015ded8: Download complete 04:46:36 5eb5b503b376: Pull complete 04:46:36 5c69ac0246d0: Pull complete 04:46:37 ec43610c2a17: Pull complete 04:46:37 3a2ae6a8a46f: Pull complete 04:46:37 33b1e0a273af: Pull complete 04:46:37 5d3b04190fa2: Pull complete 04:46:41 2f39f015ded8: Pull complete 04:46:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:46:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:46:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:46:41 prd-ubuntu20.04-docker-8c-8g-5521 does not seem to be running inside a container 04:46:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:46:44 $ docker top 41e49676ec63d6101ab0f74612ff2dfd74594adf8a691689ec7cba5db66c39e4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:46:44 ---> job-cost.sh 04:46:44 lf-activate-venv: SKIPPING 04:46:44 INFO: No Stack... 04:46:45 INFO: Retrieving Pricing Info for: v3-standard-8 04:46:45 INFO: Archiving Costs [Pipeline] sh 04:46:45 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 04:46:45 + cut -d, -f6 [Pipeline] lock 04:46:45 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-164-stack-cost] 04:46:45 Resource [jenkins-edgexfoundry-device-onvif-camera-main-164-stack-cost] did not exist. Created. 04:46:45 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-164-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:46:46 + echo total: 0.2199999988079071 [Pipeline] stash 04:46:46 Stashed 1 file(s) [Pipeline] } 04:46:46 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-164-stack-cost] [Pipeline] // lock [Pipeline] } 04:46:46 $ docker stop --time=1 41e49676ec63d6101ab0f74612ff2dfd74594adf8a691689ec7cba5db66c39e4 04:46:47 $ docker rm -f --volumes 41e49676ec63d6101ab0f74612ff2dfd74594adf8a691689ec7cba5db66c39e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:47:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5525 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 04:47:10 Running in /w/workspace/device-onvif-camera/164 [Pipeline] { [Pipeline] checkout 04:47:10 The recommended git tool is: git 04:47:16 using credential edgex-jenkins-ssh 04:47:16 Cloning the remote Git repository 04:47:16 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 04:47:16 > git init /w/workspace/device-onvif-camera/164 # timeout=10 04:47:16 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:47:16 > git --version # timeout=10 04:47:16 > git --version # 'git version 2.25.1' 04:47:16 using GIT_SSH to set credentials SSH Credentials for GitHub 04:47:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:47:19 Avoid second fetch 04:47:19 Checking out Revision 9caa4df0b819edecbec0a70300df9517bef2bd36 (main) 04:47:18 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:47:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:47:19 > git config core.sparsecheckout # timeout=10 04:47:20 Commit message: "Merge pull request #382 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.19" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:47:19 > git checkout -f 9caa4df0b819edecbec0a70300df9517bef2bd36 # timeout=10 04:47:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:47:21 % Total % Received % Xferd Average Speed Time Time Time Current 04:47:21 Dload Upload Total Spent Left Speed 04:47:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 157k 0 --:--:-- --:--:-- --:--:-- 159k [Pipeline] sh 04:47:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:47:22 + sudo tee /etc/docker/daemon.new 04:47:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:47:22 { 04:47:22 "registry-mirrors": [ 04:47:22 "https://nexus3.edgexfoundry.org:10001" 04:47:22 ], 04:47:22 "bip": "10.250.0.254/24", 04:47:22 "hosts": [ 04:47:22 "tcp://0.0.0.0:5555", 04:47:22 "unix:///var/run/docker.sock" 04:47:22 ], 04:47:22 "mtu": 1458, 04:47:22 "selinux-enabled": true, 04:47:22 "seccomp-profile": "/etc/docker/seccomp.json" 04:47:22 } [Pipeline] sh 04:47:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:47:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:47:41 provisioning config files... 04:47:41 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/164@tmp/config5491553511854464669tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:47:41 ---> docker-login.sh 04:47:41 nexus3.edgexfoundry.org:10001 04:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:42 Configure a credential helper to remove this warning. See 04:47:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:42 04:47:42 Login Succeeded 04:47:42 nexus3.edgexfoundry.org:10002 04:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:42 Configure a credential helper to remove this warning. See 04:47:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:42 04:47:42 Login Succeeded 04:47:42 nexus3.edgexfoundry.org:10003 04:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:42 Configure a credential helper to remove this warning. See 04:47:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:42 04:47:42 Login Succeeded 04:47:42 nexus3.edgexfoundry.org:10004 04:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:43 Configure a credential helper to remove this warning. See 04:47:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:43 04:47:43 Login Succeeded 04:47:43 docker.io 04:47:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:43 Configure a credential helper to remove this warning. See 04:47:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:43 04:47:43 Login Succeeded 04:47:43 ---> docker-login.sh ends [Pipeline] } 04:47:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:47:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:47:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:47:44 ========================================================= 04:47:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:47:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:47:44 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 04:47:45 Sending build context to Docker daemon 14.19MB 04:47:45 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 04:47:45 Step 2/13 : FROM ${BASE} AS builder 04:47:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:47:45 edb6bdbacee9: Pulling fs layer 04:47:45 5f9638ab2659: Pulling fs layer 04:47:45 8d51d6327a98: Pulling fs layer 04:47:45 8b374f2dd631: Pulling fs layer 04:47:45 ec14aa9079de: Pulling fs layer 04:47:45 2f466654f4bb: Pulling fs layer 04:47:45 8b374f2dd631: Waiting 04:47:45 ec14aa9079de: Waiting 04:47:45 554e91adad29: Pulling fs layer 04:47:45 2f466654f4bb: Waiting 04:47:45 5f9638ab2659: Verifying Checksum 04:47:45 5f9638ab2659: Download complete 04:47:45 8b374f2dd631: Verifying Checksum 04:47:45 8b374f2dd631: Download complete 04:47:45 ec14aa9079de: Verifying Checksum 04:47:45 ec14aa9079de: Download complete 04:47:45 edb6bdbacee9: Verifying Checksum 04:47:45 edb6bdbacee9: Download complete 04:47:46 edb6bdbacee9: Pull complete 04:47:46 554e91adad29: Verifying Checksum 04:47:46 554e91adad29: Download complete 04:47:47 8d51d6327a98: Verifying Checksum 04:47:47 8d51d6327a98: Download complete 04:47:47 2f466654f4bb: Download complete 04:47:48 5f9638ab2659: Pull complete 04:48:03 8d51d6327a98: Pull complete 04:48:03 8b374f2dd631: Pull complete 04:48:03 ec14aa9079de: Pull complete 04:48:10 2f466654f4bb: Pull complete 04:48:12 554e91adad29: Pull complete 04:48:12 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 04:48:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:48:12 ---> 1e15ea492957 04:48:12 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:48:14 ---> Running in b7fead62da19 04:48:14 Removing intermediate container b7fead62da19 04:48:14 ---> 45b2b006c218 04:48:14 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:48:15 ---> Running in 7a51a9702599 04:48:15 Removing intermediate container 7a51a9702599 04:48:15 ---> af5bdae880df 04:48:15 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:48:15 ---> Running in e0c864fae108 04:48:15 Removing intermediate container e0c864fae108 04:48:15 ---> bfe5bd269895 04:48:15 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:48:15 ---> Running in b35b52c265c4 04:48:16 Removing intermediate container b35b52c265c4 04:48:16 ---> 007110ab2820 04:48:16 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:48:16 ---> Running in b98b67c9787b 04:48:16 Removing intermediate container b98b67c9787b 04:48:16 ---> 2f490bf8607b 04:48:16 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:48:16 ---> Running in 7b309427fb8d 04:48:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:48:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:48:19 OK: 263 MiB in 53 packages 04:48:20 Removing intermediate container 7b309427fb8d 04:48:20 ---> dd3ac6082d49 04:48:20 Step 9/13 : WORKDIR /device-onvif-camera 04:48:20 ---> Running in c827832e5f14 04:48:20 Removing intermediate container c827832e5f14 04:48:20 ---> 8065f0ec3d77 04:48:20 Step 10/13 : COPY go.mod vendor* ./ 04:48:21 ---> 621ebcf83940 04:48:21 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:48:21 ---> Running in 9409ecde28ad 04:49:29 Removing intermediate container 9409ecde28ad 04:49:29 ---> 13991482539d 04:49:29 Step 12/13 : COPY . . 04:49:29 ---> 448c11a36bae 04:49:29 Step 13/13 : RUN ${MAKE} 04:49:29 ---> Running in c4b7a9c9d8e3 04:49:29 noop 04:49:30 Removing intermediate container c4b7a9c9d8e3 04:49:30 ---> 896686198a53 04:49:30 Successfully built 896686198a53 04:49:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:31 + docker inspect -f . ci-base-image-arm64 04:49:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:49:31 prd-ubuntu20.04-docker-arm64-4c-16g-5525 does not seem to be running inside a container 04:49:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/164 -v /w/workspace/device-onvif-camera/164:/w/workspace/device-onvif-camera/164:rw,z -v /w/workspace/device-onvif-camera/164@tmp:/w/workspace/device-onvif-camera/164@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 04:49:32 $ docker top 1ab22aa8f1d91ee6c5a84e4c4d5ff2b968b76ad0e3417f948a25b1c8e9165d32 -eo pid,comm [Pipeline] { [Pipeline] sh 04:49:33 + go version 04:49:33 go version go1.20.6 linux/arm64 [Pipeline] } 04:49:33 $ docker stop --time=1 1ab22aa8f1d91ee6c5a84e4c4d5ff2b968b76ad0e3417f948a25b1c8e9165d32 04:49:35 $ docker rm -f --volumes 1ab22aa8f1d91ee6c5a84e4c4d5ff2b968b76ad0e3417f948a25b1c8e9165d32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:35 + docker inspect -f . ci-base-image-arm64 04:49:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:49:36 prd-ubuntu20.04-docker-arm64-4c-16g-5525 does not seem to be running inside a container 04:49:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/164 -v /w/workspace/device-onvif-camera/164:/w/workspace/device-onvif-camera/164:rw,z -v /w/workspace/device-onvif-camera/164@tmp:/w/workspace/device-onvif-camera/164@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 04:49:37 $ docker top 34fd23696ce523927b6c7c0dd740556f510038c2e916ab646b8be0bf726ab8a3 -eo pid,comm [Pipeline] { [Pipeline] sh 04:49:38 + git config --global --add safe.directory /w/workspace/device-onvif-camera/164 [Pipeline] fileExists [Pipeline] sh 04:49:38 + make test 04:49:38 go test ./... -coverprofile=coverage.out ./... 04:50:17 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:52:54 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:53:00 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:53:02 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.235s coverage: 31.5% of statements 04:53:29 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.233s coverage: 86.5% of statements 04:53:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:53:29 go vet ./... 04:54:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:54:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:54:01 ./bin/test-attribution-txt.sh [Pipeline] echo 04:54:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:54:01 $ docker stop --time=1 34fd23696ce523927b6c7c0dd740556f510038c2e916ab646b8be0bf726ab8a3 04:54:03 $ docker rm -f --volumes 34fd23696ce523927b6c7c0dd740556f510038c2e916ab646b8be0bf726ab8a3 [Pipeline] // withDockerContainer [Pipeline] sh 04:54:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:54:04 Warning: overwriting stash ‘coverage-report’ 04:54:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:54:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:54:06 + ls -al . 04:54:06 total 236 04:54:06 drwxrwxr-x 9 jenkins jenkins 4096 Sep 7 04:49 . 04:54:06 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 04:47 .. 04:54:06 drwxrwxr-x 8 jenkins jenkins 4096 Sep 7 04:47 .git 04:54:06 drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 04:47 .github 04:54:06 -rw-rw-r-- 1 jenkins jenkins 496 Sep 7 04:47 .gitignore 04:54:06 -rw-rw-r-- 1 jenkins jenkins 42 Sep 7 04:47 .golangci.yml 04:54:06 -rw-rw-r-- 1 jenkins jenkins 11155 Sep 7 04:47 Attribution.txt 04:54:06 -rw-rw-r-- 1 jenkins jenkins 15932 Sep 7 04:47 CHANGELOG.md 04:54:06 -rw-rw-r-- 1 jenkins jenkins 1574 Sep 7 04:47 Dockerfile 04:54:06 -rw-rw-r-- 1 jenkins jenkins 677 Sep 7 04:47 GOVERNANCE.md 04:54:06 -rw-rw-r-- 1 jenkins jenkins 739 Sep 7 04:47 Jenkinsfile 04:54:06 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 7 04:47 LICENSE 04:54:06 -rw-rw-r-- 1 jenkins jenkins 2877 Sep 7 04:47 Makefile 04:54:06 -rw-rw-r-- 1 jenkins jenkins 625 Sep 7 04:47 OWNERS.md 04:54:06 -rw-rw-r-- 1 jenkins jenkins 2620 Sep 7 04:47 README.md 04:54:06 -rw-rw-r-- 1 jenkins jenkins 11 Sep 7 04:44 VERSION 04:54:06 drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 04:47 bin 04:54:06 drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 04:47 cmd 04:54:06 -rw-r--r-- 1 jenkins jenkins 78456 Sep 7 04:53 coverage.out 04:54:06 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 04:47 doc 04:54:06 -rw-rw-r-- 1 jenkins jenkins 4085 Sep 7 04:47 go.mod 04:54:06 -rw-rw-r-- 1 jenkins jenkins 36344 Sep 7 04:47 go.sum 04:54:06 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 04:47 internal 04:54:06 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 04:47 snap 04:54:06 -rw-rw-r-- 1 jenkins jenkins 236 Sep 7 04:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:06 + 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=9caa4df0b819edecbec0a70300df9517bef2bd36 --label arch=arm64 --label version=3.1.0-dev.7 . 04:54:07 Sending build context to Docker daemon 14.27MB 04:54:07 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 04:54:07 Step 2/26 : FROM ${BASE} AS builder 04:54:07 ---> 896686198a53 04:54:07 Step 3/26 : ARG ADD_BUILD_TAGS="" 04:54:08 ---> Running in 5f4376d303af 04:54:08 Removing intermediate container 5f4376d303af 04:54:08 ---> 9f2f9277cb7d 04:54:08 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:54:08 ---> Running in 6b6a393a6ff5 04:54:09 Removing intermediate container 6b6a393a6ff5 04:54:09 ---> 3c5f369fd13c 04:54:09 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 04:54:09 ---> Running in 38f3d397b395 04:54:09 Removing intermediate container 38f3d397b395 04:54:09 ---> 97d4f17c1438 04:54:09 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 04:54:09 ---> Running in d119f340d101 04:54:09 Removing intermediate container d119f340d101 04:54:09 ---> 4c5ad6b9fe4e 04:54:09 Step 7/26 : LABEL Name=edgex-device-onvif-camera 04:54:09 ---> Running in c5f76b915bd7 04:54:10 Removing intermediate container c5f76b915bd7 04:54:10 ---> 76e107df9fe0 04:54:10 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:54:10 ---> Running in bba62ff52d2d 04:54:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:54:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:54:13 OK: 263 MiB in 53 packages 04:54:14 Removing intermediate container bba62ff52d2d 04:54:14 ---> 3122fbc58918 04:54:14 Step 9/26 : WORKDIR /device-onvif-camera 04:54:14 ---> Running in ad3e8f044d7a 04:54:14 Removing intermediate container ad3e8f044d7a 04:54:14 ---> 742e638eecc7 04:54:14 Step 10/26 : COPY go.mod vendor* ./ 04:54:14 ---> 5474228a68e3 04:54:14 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:54:14 ---> Running in 3fb8f0d3af69 04:54:17 Removing intermediate container 3fb8f0d3af69 04:54:17 ---> b7ac3e96992c 04:54:17 Step 12/26 : COPY . . 04:54:18 ---> 1933c64d7a05 04:54:18 Step 13/26 : RUN ${MAKE} 04:54:18 ---> Running in 9c0c3a0d5303 04:54:19 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.19" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 04:56:56 Removing intermediate container 9c0c3a0d5303 04:56:56 ---> 553c05db7ede 04:56:56 Step 14/26 : FROM alpine:3.17 04:56:56 3.17: Pulling from library/alpine 04:56:56 4060ece20d7a: Pulling fs layer 04:56:56 4060ece20d7a: Verifying Checksum 04:56:56 4060ece20d7a: Download complete 04:56:56 4060ece20d7a: Pull complete 04:56:56 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 04:56:56 Status: Downloaded newer image for alpine:3.17 04:56:56 ---> 8650cd65339b 04:56:56 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:56:56 ---> Running in 7305ada8b161 04:56:56 Removing intermediate container 7305ada8b161 04:56:56 ---> 2661bdc07aea 04:56:56 Step 16/26 : RUN apk add --update --no-cache dumb-init 04:56:56 ---> Running in 9ea679741782 04:56:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:56:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:56:58 (1/1) Installing dumb-init (1.2.5-r2) 04:56:58 Executing busybox-1.35.0-r29.trigger 04:56:58 OK: 8 MiB in 16 packages 04:56:58 Removing intermediate container 9ea679741782 04:56:58 ---> 3470897e7b46 04:56:58 Step 17/26 : WORKDIR / 04:56:58 ---> Running in 5425434252c3 04:56:59 Removing intermediate container 5425434252c3 04:56:59 ---> 55353a2ef460 04:56:59 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:57:00 ---> 3424b35b2d76 04:57:00 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:57:01 ---> f2164f802100 04:57:01 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:57:01 ---> 562735585c5a 04:57:01 Step 21/26 : EXPOSE 59984 04:57:01 ---> Running in 5dddee8c78c5 04:57:01 Removing intermediate container 5dddee8c78c5 04:57:01 ---> b1355d8ce6b2 04:57:01 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:57:01 ---> Running in 1d58428f6f33 04:57:02 Removing intermediate container 1d58428f6f33 04:57:02 ---> 4d0230877479 04:57:02 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:57:02 ---> Running in 036d3f85469a 04:57:02 Removing intermediate container 036d3f85469a 04:57:02 ---> 6301165c895f 04:57:02 Step 24/26 : LABEL arch=arm64 04:57:02 ---> Running in 7b9a8f94ead4 04:57:03 Removing intermediate container 7b9a8f94ead4 04:57:03 ---> 8cd7a8b5b3db 04:57:03 Step 25/26 : LABEL git_sha=9caa4df0b819edecbec0a70300df9517bef2bd36 04:57:03 ---> Running in 31df4c7bdea6 04:57:03 Removing intermediate container 31df4c7bdea6 04:57:03 ---> 544dc8de3c8a 04:57:03 Step 26/26 : LABEL version=3.1.0-dev.7 04:57:03 ---> Running in cbbc8c283a3b 04:57:03 Removing intermediate container cbbc8c283a3b 04:57:03 ---> 8f7d72e82491 04:57:03 [Warning] One or more build-args [ARCH] were not consumed 04:57:03 Successfully built 8f7d72e82491 04:57:03 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 04:57:03 provisioning config files... 04:57:03 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/164@tmp/config5155658883292682440tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:57:04 ---> docker-login.sh 04:57:04 nexus3.edgexfoundry.org:10001 04:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:57:04 Configure a credential helper to remove this warning. See 04:57:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:57:04 04:57:04 Login Succeeded 04:57:04 nexus3.edgexfoundry.org:10002 04:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:57:04 Configure a credential helper to remove this warning. See 04:57:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:57:04 04:57:04 Login Succeeded 04:57:04 nexus3.edgexfoundry.org:10003 04:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:57:05 Configure a credential helper to remove this warning. See 04:57:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:57:05 04:57:05 Login Succeeded 04:57:05 nexus3.edgexfoundry.org:10004 04:57:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:57:05 Configure a credential helper to remove this warning. See 04:57:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:57:05 04:57:05 Login Succeeded 04:57:05 docker.io 04:57:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:57:05 Configure a credential helper to remove this warning. See 04:57:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:57:05 04:57:05 Login Succeeded 04:57:05 ---> docker-login.sh ends [Pipeline] } 04:57:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:57:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:57:06 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 04:57:06 9caa4df0b819edecbec0a70300df9517bef2bd36 04:57:06 latest 04:57:06 3.1.0-dev.7 04:57:06 9caa4df0b819edecbec0a70300df9517bef2bd36-3.1.0-dev.7 04:57:06 main 04:57:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:06 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9caa4df0b819edecbec0a70300df9517bef2bd36 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:06 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9caa4df0b819edecbec0a70300df9517bef2bd36 04:57:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:57:06 b4b2c70ec1b8: Preparing 04:57:06 66c46ac592ef: Preparing 04:57:06 555c813a6cc3: Preparing 04:57:06 1683c838ef5b: Preparing 04:57:06 d2d9d24a8c2a: Preparing 04:57:06 d2d9d24a8c2a: Layer already exists 04:57:06 b4b2c70ec1b8: Pushed 04:57:06 66c46ac592ef: Pushed 04:57:06 1683c838ef5b: Pushed 04:57:12 555c813a6cc3: Pushed 04:57:12 9caa4df0b819edecbec0a70300df9517bef2bd36: digest: sha256:fb577dd57d77826c92ba708bbd862ace61bcf1362a09cb7578dee4bb7a6919f6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:12 + 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 04:57:13 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 04:57:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:57:13 b4b2c70ec1b8: Preparing 04:57:13 66c46ac592ef: Preparing 04:57:13 555c813a6cc3: Preparing 04:57:13 1683c838ef5b: Preparing 04:57:13 d2d9d24a8c2a: Preparing 04:57:13 1683c838ef5b: Layer already exists 04:57:13 555c813a6cc3: Layer already exists 04:57:13 b4b2c70ec1b8: Layer already exists 04:57:13 d2d9d24a8c2a: Layer already exists 04:57:13 66c46ac592ef: Layer already exists 04:57:13 latest: digest: sha256:fb577dd57d77826c92ba708bbd862ace61bcf1362a09cb7578dee4bb7a6919f6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:13 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:14 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.7 04:57:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:57:14 b4b2c70ec1b8: Preparing 04:57:14 66c46ac592ef: Preparing 04:57:14 555c813a6cc3: Preparing 04:57:14 1683c838ef5b: Preparing 04:57:14 d2d9d24a8c2a: Preparing 04:57:14 66c46ac592ef: Layer already exists 04:57:14 b4b2c70ec1b8: Layer already exists 04:57:14 1683c838ef5b: Layer already exists 04:57:14 555c813a6cc3: Layer already exists 04:57:14 d2d9d24a8c2a: Layer already exists 04:57:14 3.1.0-dev.7: digest: sha256:fb577dd57d77826c92ba708bbd862ace61bcf1362a09cb7578dee4bb7a6919f6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:14 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9caa4df0b819edecbec0a70300df9517bef2bd36-3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:14 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9caa4df0b819edecbec0a70300df9517bef2bd36-3.1.0-dev.7 04:57:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:57:14 b4b2c70ec1b8: Preparing 04:57:14 66c46ac592ef: Preparing 04:57:14 555c813a6cc3: Preparing 04:57:14 1683c838ef5b: Preparing 04:57:14 d2d9d24a8c2a: Preparing 04:57:14 b4b2c70ec1b8: Layer already exists 04:57:14 555c813a6cc3: Layer already exists 04:57:14 d2d9d24a8c2a: Layer already exists 04:57:14 1683c838ef5b: Layer already exists 04:57:14 66c46ac592ef: Layer already exists 04:57:14 9caa4df0b819edecbec0a70300df9517bef2bd36-3.1.0-dev.7: digest: sha256:fb577dd57d77826c92ba708bbd862ace61bcf1362a09cb7578dee4bb7a6919f6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:15 + 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 04:57:15 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 04:57:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:57:15 b4b2c70ec1b8: Preparing 04:57:15 66c46ac592ef: Preparing 04:57:15 555c813a6cc3: Preparing 04:57:15 1683c838ef5b: Preparing 04:57:15 d2d9d24a8c2a: Preparing 04:57:15 1683c838ef5b: Layer already exists 04:57:15 b4b2c70ec1b8: Layer already exists 04:57:15 555c813a6cc3: Layer already exists 04:57:15 d2d9d24a8c2a: Layer already exists 04:57:15 66c46ac592ef: Layer already exists 04:57:15 main: digest: sha256:fb577dd57d77826c92ba708bbd862ace61bcf1362a09cb7578dee4bb7a6919f6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:57:15 ===================================================== [Pipeline] echo 04:57:15 taggedImages: 04:57:15 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9caa4df0b819edecbec0a70300df9517bef2bd36 04:57:15 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 04:57:15 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.7 04:57:15 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9caa4df0b819edecbec0a70300df9517bef2bd36-3.1.0-dev.7 04:57:15 - 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 04:57:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:57:15 04:57:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:57:16 arm64: Pulling from edgex-lftools-log-publisher 04:57:16 8998bd30e6a1: Pulling fs layer 04:57:16 04944245beec: Pulling fs layer 04:57:16 699f458cf7ca: Pulling fs layer 04:57:16 765212b225bb: Pulling fs layer 04:57:16 f23df028b6ca: Pulling fs layer 04:57:16 d65c8cfc05b1: Pulling fs layer 04:57:16 2437ff75d9bd: Pulling fs layer 04:57:16 d65c8cfc05b1: Waiting 04:57:16 765212b225bb: Waiting 04:57:16 2437ff75d9bd: Waiting 04:57:16 f23df028b6ca: Waiting 04:57:16 04944245beec: Verifying Checksum 04:57:16 04944245beec: Download complete 04:57:16 765212b225bb: Verifying Checksum 04:57:16 765212b225bb: Download complete 04:57:16 f23df028b6ca: Verifying Checksum 04:57:16 f23df028b6ca: Download complete 04:57:16 d65c8cfc05b1: Verifying Checksum 04:57:16 d65c8cfc05b1: Download complete 04:57:16 699f458cf7ca: Verifying Checksum 04:57:16 699f458cf7ca: Download complete 04:57:16 8998bd30e6a1: Verifying Checksum 04:57:16 8998bd30e6a1: Download complete 04:57:18 2437ff75d9bd: Verifying Checksum 04:57:18 2437ff75d9bd: Download complete 04:57:20 8998bd30e6a1: Pull complete 04:57:21 04944245beec: Pull complete 04:57:22 699f458cf7ca: Pull complete 04:57:22 765212b225bb: Pull complete 04:57:23 f23df028b6ca: Pull complete 04:57:23 d65c8cfc05b1: Pull complete 04:57:38 2437ff75d9bd: Pull complete 04:57:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:57:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:57:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:57:38 prd-ubuntu20.04-docker-arm64-4c-16g-5525 does not seem to be running inside a container 04:57: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/device-onvif-camera/164 -v /w/workspace/device-onvif-camera/164:/w/workspace/device-onvif-camera/164:rw,z -v /w/workspace/device-onvif-camera/164@tmp:/w/workspace/device-onvif-camera/164@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 04:57:41 $ docker top 2587d55f94b8e4731800c218d0a075711446f1c90f664d0fc3c49848c474381d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:57:42 ---> job-cost.sh 04:57:42 lf-activate-venv: SKIPPING 04:57:42 INFO: No Stack... 04:57:42 INFO: Retrieving Pricing Info for: v3-standard-4 04:57:43 INFO: Archiving Costs [Pipeline] sh 04:57:44 + cut -d, -f6 04:57:44 + cat /w/workspace/device-onvif-camera/164/archives/cost.csv [Pipeline] lock 04:57:44 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-164-stack-cost] 04:57:44 Resource [jenkins-edgexfoundry-device-onvif-camera-main-164-stack-cost] did not exist. Created. 04:57:44 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-164-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:57:44 /w/workspace/device-onvif-camera/164@tmp/durable-e6f41fd9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:57:45 + echo total: 0.10999999940395355 [Pipeline] stash 04:57:45 Warning: overwriting stash ‘stack-cost’ 04:57:45 Stashed 1 file(s) [Pipeline] } 04:57:45 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-164-stack-cost] [Pipeline] // lock [Pipeline] } 04:57:45 $ docker stop --time=1 2587d55f94b8e4731800c218d0a075711446f1c90f664d0fc3c49848c474381d 04:57:46 $ docker rm -f --volumes 2587d55f94b8e4731800c218d0a075711446f1c90f664d0fc3c49848c474381d [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 04:57:47 provisioning config files... 04:57:47 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config952425156051926258tmp [Pipeline] { [Pipeline] sh 04:57:47 + set +x 04:57:47 + curl -s https://codecov.io/bash 04:57:47 + bash -s -- 04:57:47 04:57:47 _____ _ 04:57:47 / ____| | | 04:57:47 | | ___ __| | ___ ___ _____ __ 04:57:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:57:47 | |___| (_) | (_| | __/ (_| (_) \ V / 04:57:47 \_____\___/ \__,_|\___|\___\___/ \_/ 04:57:47 Bash-1.0.6 04:57:47 04:57:47 04:57:47 ==> git version 2.25.1 found 04:57:47 ==> 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 04:57:47 Release-Date: 2020-01-08 04:57:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:57:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:57:47 ==> Jenkins CI detected. 04:57:47 current dir:  /w/workspace/foundry_device-onvif-camera_main 04:57:47 project root: . 04:57:47 --> token set from env 04:57:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:57:47 ==> Running gcov in . (disable via -X gcov) 04:57:47 ==> Python coveragepy not found 04:57:47 ==> Searching for coverage reports in: 04:57:47 + . 04:57:47 -> Found 1 reports 04:57:47 ==> Detecting git/mercurial file structure 04:57:47 ==> Reading reports 04:57:47 + ./coverage.out bytes=78456 04:57:47 ==> Appending adjustments 04:57:47 https://docs.codecov.io/docs/fixing-reports 04:57:48 + Found adjustments 04:57:48 ==> Gzipping contents 04:57:48 12K /tmp/codecov.F1F3hF.gz 04:57:48 ==> Uploading reports 04:57:48 url: https://codecov.io 04:57:48 query: branch=main&commit=9caa4df0b819edecbec0a70300df9517bef2bd36&build=164&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F164%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 04:57:48 -> Pinging Codecov 04:57:48 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=9caa4df0b819edecbec0a70300df9517bef2bd36&build=164&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F164%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 04:57:48 -> Uploading to 04:57:48 https://storage.googleapis.com/codecov/v4/raw/2023-09-07/F29A59C45E3A92E06B3E522C9905F8EF/9caa4df0b819edecbec0a70300df9517bef2bd36/90a293a9-b442-4df2-8c9a-0c3a98740bbf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230907%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230907T045748Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4149f9dd6deea73414bdadb6772f721b11e598a7d206e620663581293496ad8b 04:57:48 % Total % Received % Xferd Average Speed Time Time Time Current 04:57:48 Dload Upload Total Spent Left Speed 04:57:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10561 0 0 100 10561 0 53609 --:--:-- --:--:-- --:--:-- 53609 04:57:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/9caa4df0b819edecbec0a70300df9517bef2bd36 [Pipeline] } 04:57:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:57:48 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:57:48 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:57:48 04:57:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:57:49 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:57:49 df9b9388f04a: Pulling fs layer 04:57:49 52dc419b0ee2: Pulling fs layer 04:57:49 25bc292e5bac: Pulling fs layer 04:57:49 114826534d7a: Pulling fs layer 04:57:49 4657fd5d0bcf: Pulling fs layer 04:57:49 6ad1cebc031e: Pulling fs layer 04:57:49 8a3aa393b2d8: Pulling fs layer 04:57:49 114826534d7a: Waiting 04:57:49 4657fd5d0bcf: Waiting 04:57:49 6ad1cebc031e: Waiting 04:57:49 8a3aa393b2d8: Waiting 04:57:49 25bc292e5bac: Verifying Checksum 04:57:49 25bc292e5bac: Download complete 04:57:49 52dc419b0ee2: Download complete 04:57:49 4657fd5d0bcf: Verifying Checksum 04:57:49 4657fd5d0bcf: Download complete 04:57:49 df9b9388f04a: Download complete 04:57:49 df9b9388f04a: Pull complete 04:57:49 6ad1cebc031e: Verifying Checksum 04:57:49 6ad1cebc031e: Download complete 04:57:49 52dc419b0ee2: Pull complete 04:57:49 25bc292e5bac: Pull complete 04:57:49 114826534d7a: Verifying Checksum 04:57:49 114826534d7a: Download complete 04:57:49 8a3aa393b2d8: Verifying Checksum 04:57:49 8a3aa393b2d8: Download complete 04:57:53 114826534d7a: Pull complete 04:57:53 4657fd5d0bcf: Pull complete 04:57:53 6ad1cebc031e: Pull complete 04:57:56 8a3aa393b2d8: Pull complete 04:57:56 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:57:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:57:56 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:57:56 prd-ubuntu20.04-docker-8c-8g-5521 does not seem to be running inside a container 04:57:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 04:58:00 $ docker top ebfe9bd9dac13737c0387b78fef1d34603b3398cbbacca837d1b25a4c6a95d48 -eo pid,comm [Pipeline] { [Pipeline] echo 04:58:00 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 04:58:00 + set -o pipefail 04:58:00 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 04:58:09 04:58:09 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 04:58:09 04:58:09 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/862fe95a-51c4-4945-9f8c-86a2dc8c27d1 04:58:09 04:58:09 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 04:58:09 04:58:09 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:58:09 04:58:12 04:58:12 A medium severity vulnerability was found in the Snyk CLI versions you are using. 04:58:12 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 04:58:12 More details here: https://snyk.co/ue1NS 04:58:12 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 04:58:12 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 04:58:12 $ docker stop --time=1 ebfe9bd9dac13737c0387b78fef1d34603b3398cbbacca837d1b25a4c6a95d48 04:58:15 $ docker rm -f --volumes ebfe9bd9dac13737c0387b78fef1d34603b3398cbbacca837d1b25a4c6a95d48 [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 04:58:16 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:58:16 provisioning config files... 04:58:16 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8158206454077987897tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:58:16 --> edgex-publish-swagger.sh 04:58:16 === Publish doc/openapi/v3 API === 04:58:16 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 04:58:16 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 04:58:16 % Total % Received % Xferd Average Speed Time Time Time Current 04:58:16 Dload Upload Total Spent Left Speed 04:58:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 0 0 100 485k 0 717k --:--:-- --:--:-- --:--:-- 716k 100 485k 0 0 100 485k 0 717k --:--:-- --:--:-- --:--:-- 716k 04:58:17 04:58:17 [Pipeline] } 04:58:17 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 04:58:17 + git log --format=format:%s -1 9caa4df0b819edecbec0a70300df9517bef2bd36 [Pipeline] sh 04:58:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:58:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:58:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:58:18 prd-ubuntu20.04-docker-8c-8g-5521 does not seem to be running inside a container 04:58:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:58:18 $ docker top dc52aa327746f91e33366e9adb3897e197a98b1a360851a1503d4a5ffced8f44 -eo pid,comm 04:58:18 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). 04:58:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:58:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:58:18 [ssh-agent] Looking for ssh-agent implementation... 04:58:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:58:18 $ docker exec dc52aa327746f91e33366e9adb3897e197a98b1a360851a1503d4a5ffced8f44 ssh-agent 04:58:18 SSH_AUTH_SOCK=/tmp/ssh-Ac5sCoz7VLKf/agent.31 04:58:18 SSH_AGENT_PID=37 04:58:18 Running ssh-add (command line suppressed) 04:58:19 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_284259430198327890.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_284259430198327890.key) 04:58:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:58:19 + git semver tag 04:58:19 2023-09-07 04:58:19,572 [run_tag] DEBUG tag force:False 04:58:19 2023-09-07 04:58:19,572 [check_head_tag] DEBUG check head tag 04:58:19 2023-09-07 04:58:19,573 [execute] INFO git cat-file --batch-check 04:58:19 2023-09-07 04:58:19,573 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 04:58:19 2023-09-07 04:58:19,576 [execute] INFO git cat-file --batch 04:58:19 2023-09-07 04:58:19,577 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 04:58:19 2023-09-07 04:58:19,583 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:58:19 2023-09-07 04:58:19,584 [execute] INFO git tag -a v3.1.0-dev.7 -m v3.1.0-dev.7 04:58:19 2023-09-07 04:58:19,584 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.7', '-m', 'v3.1.0-dev.7'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 04:58:19 2023-09-07 04:58:19,589 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:58:19 3.1.0-dev.7 [Pipeline] } 04:58:19 $ docker exec --env ******** --env ******** dc52aa327746f91e33366e9adb3897e197a98b1a360851a1503d4a5ffced8f44 ssh-agent -k 04:58:19 unset SSH_AUTH_SOCK; 04:58:19 unset SSH_AGENT_PID; 04:58:19 echo Agent pid 37 killed; 04:58:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:58:20 + git semver [Pipeline] } 04:58:20 $ docker stop --time=1 dc52aa327746f91e33366e9adb3897e197a98b1a360851a1503d4a5ffced8f44 04:58:21 $ docker rm -f --volumes dc52aa327746f91e33366e9adb3897e197a98b1a360851a1503d4a5ffced8f44 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:58:22 04:58:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:58:25 0.23.1-centos7: Pulling from edgex-lftools 04:58:25 ab5ef0e58194: Pulling fs layer 04:58:25 9712f1f96733: Pulling fs layer 04:58:25 63f879dbbcfc: Pulling fs layer 04:58:25 0d9ebad4ef96: Pulling fs layer 04:58:25 e9a5061849ea: Pulling fs layer 04:58:25 d747dcd14b5f: Pulling fs layer 04:58:25 2de7ff778b66: Pulling fs layer 04:58:25 2de7ff778b66: Waiting 04:58:25 d747dcd14b5f: Waiting 04:58:25 0d9ebad4ef96: Waiting 04:58:25 9712f1f96733: Verifying Checksum 04:58:25 63f879dbbcfc: Verifying Checksum 04:58:25 63f879dbbcfc: Download complete 04:58:25 0d9ebad4ef96: Verifying Checksum 04:58:25 0d9ebad4ef96: Download complete 04:58:25 e9a5061849ea: Verifying Checksum 04:58:25 e9a5061849ea: Download complete 04:58:25 d747dcd14b5f: Verifying Checksum 04:58:25 d747dcd14b5f: Download complete 04:58:25 ab5ef0e58194: Verifying Checksum 04:58:25 ab5ef0e58194: Download complete 04:58:25 2de7ff778b66: Verifying Checksum 04:58:25 2de7ff778b66: Download complete 04:58:28 ab5ef0e58194: Pull complete 04:58:28 9712f1f96733: Pull complete 04:58:28 63f879dbbcfc: Pull complete 04:58:32 0d9ebad4ef96: Pull complete 04:58:32 e9a5061849ea: Pull complete 04:58:32 d747dcd14b5f: Pull complete 04:58:33 2de7ff778b66: Pull complete 04:58:33 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:58:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:58:33 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:58:33 prd-ubuntu20.04-docker-8c-8g-5521 does not seem to be running inside a container 04:58:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:58:38 $ docker top b085756e4c023986d7fb2b5e584b60598b2c54c19414c722958e16bcc2d3a380 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:58:38 provisioning config files... 04:58:38 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5453369094372205551tmp 04:58:38 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9906110902976840460tmp 04:58:38 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3758630654295121599tmp [Pipeline] { [Pipeline] echo 04:58:38 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:58:39 ---> sigul-configuration.sh 04:58:39 gpg: directory `/root/.gnupg' created 04:58:39 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:58:39 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:58:39 gpg: keyring `/root/.gnupg/secring.gpg' created 04:58:39 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:58:39 gpg: CAST5 encrypted data 04:58:39 gpg: encrypted with 1 passphrase 04:58:39 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:58:42 + mkdir /home/jenkins 04:58:42 + mkdir /home/jenkins/sigul [Pipeline] sh 04:58:43 + 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 04:58:43 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:58:43 ---> sigul-install.sh 04:58:43 Sigul already installed; skipping installation. [Pipeline] sh 04:58:43 + git tag --list 04:58:43 v0.0.0 04:58:43 v2.2.0 04:58:43 v2.3.0 04:58:43 v2.3.1 04:58:43 v3.0 04:58:43 v3.0.0 04:58:43 v3.1.0-dev.1 04:58:43 v3.1.0-dev.2 04:58:43 v3.1.0-dev.3 04:58:43 v3.1.0-dev.4 04:58:43 v3.1.0-dev.5 04:58:43 v3.1.0-dev.6 04:58:43 v3.1.0-dev.7 [Pipeline] sh 04:58:44 + lftools sign git-tag v3.1.0-dev.7 04:58:44 Signing Git tag with Sigul... 04:58:44 Signing v3.1.0-dev.7 [Pipeline] echo 04:58:44 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:58:45 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:58:45 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:58:45 $ docker stop --time=1 b085756e4c023986d7fb2b5e584b60598b2c54c19414c722958e16bcc2d3a380 04:58:46 $ docker rm -f --volumes b085756e4c023986d7fb2b5e584b60598b2c54c19414c722958e16bcc2d3a380 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:58:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:58:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:58:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:58:47 prd-ubuntu20.04-docker-8c-8g-5521 does not seem to be running inside a container 04:58:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:58:47 $ docker top e5793d57cda66ca81ac3ada2d268a53686b7d582622ae8c398a4b7e833bb1645 -eo pid,comm 04:58:47 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). 04:58:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:58:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:58:47 [ssh-agent] Looking for ssh-agent implementation... 04:58:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:58:47 $ docker exec e5793d57cda66ca81ac3ada2d268a53686b7d582622ae8c398a4b7e833bb1645 ssh-agent 04:58:48 SSH_AUTH_SOCK=/tmp/ssh-h0KJbgEE8Ktn/agent.32 04:58:48 SSH_AGENT_PID=38 04:58:48 Running ssh-add (command line suppressed) 04:58:48 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15263942302805960432.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15263942302805960432.key) 04:58:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:58:48 + git semver bump pre 04:58:48 2023-09-07 04:58:48,685 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:58:48 2023-09-07 04:58:48,685 [bump_version] DEBUG bumping version:3.1.0-dev.7 on axis:pre with prefix:dev 04:58:48 2023-09-07 04:58:48,685 [bump_version] DEBUG bumped version:3.1.0-dev.8 04:58:48 2023-09-07 04:58:48,685 [write_version] DEBUG write version:3.1.0-dev.8 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 04:58:48 2023-09-07 04:58:48,686 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:58:48 2023-09-07 04:58:48,686 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 04:58:48 2023-09-07 04:58:48,688 [execute] INFO git cat-file --batch-check 04:58:48 2023-09-07 04:58:48,689 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:58:48 2023-09-07 04:58:48,695 [execute] INFO git cat-file --batch 04:58:48 2023-09-07 04:58:48,696 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:58:48 2023-09-07 04:58:48,702 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:58:48 3.1.0-dev.8 [Pipeline] } 04:58:48 $ docker exec --env ******** --env ******** e5793d57cda66ca81ac3ada2d268a53686b7d582622ae8c398a4b7e833bb1645 ssh-agent -k 04:58:48 unset SSH_AUTH_SOCK; 04:58:48 unset SSH_AGENT_PID; 04:58:48 echo Agent pid 38 killed; 04:58:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:58:49 + git semver [Pipeline] } 04:58:49 $ docker stop --time=1 e5793d57cda66ca81ac3ada2d268a53686b7d582622ae8c398a4b7e833bb1645 04:58:50 $ docker rm -f --volumes e5793d57cda66ca81ac3ada2d268a53686b7d582622ae8c398a4b7e833bb1645 [Pipeline] // withDockerContainer [Pipeline] sh 04:58:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:58:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:58:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:58:51 prd-ubuntu20.04-docker-8c-8g-5521 does not seem to be running inside a container 04:58:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:58:51 $ docker top 972b72153816362e9da922f9f0972672d0ecc70bfbc41614994c947b73765f36 -eo pid,comm 04:58:51 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:58:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:58:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:58:51 [ssh-agent] Looking for ssh-agent implementation... 04:58:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:58:52 $ docker exec 972b72153816362e9da922f9f0972672d0ecc70bfbc41614994c947b73765f36 ssh-agent 04:58:52 SSH_AUTH_SOCK=/tmp/ssh-oF6cQ2Zokybp/agent.33 04:58:52 SSH_AGENT_PID=39 04:58:52 Running ssh-add (command line suppressed) 04:58:52 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2592986041058843067.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2592986041058843067.key) 04:58:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:58:52 + git semver push 04:58:52 2023-09-07 04:58:52,855 [run_push] DEBUG push 04:58:52 2023-09-07 04:58:52,857 [execute] INFO git cat-file --batch-check 04:58:52 2023-09-07 04:58:52,858 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:58:52 2023-09-07 04:58:52,863 [execute] INFO git rev-list 9e8082ea0750050727cde8a7ffad733485deff30 -- 04:58:52 2023-09-07 04:58:52,864 [execute] DEBUG Popen(['git', 'rev-list', '9e8082ea0750050727cde8a7ffad733485deff30', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 04:58:52 2023-09-07 04:58:52,873 [execute] INFO git fetch -v origin 04:58:52 2023-09-07 04:58:52,873 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 04:58:53 2023-09-07 04:58:53,335 [run_push] DEBUG no remote changes detected 04:58:53 2023-09-07 04:58:53,336 [execute] INFO git push origin semver 04:58:53 2023-09-07 04:58:53,336 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 04:58:54 2023-09-07 04:58:54,045 [run_push] DEBUG push all version tags 04:58:54 2023-09-07 04:58:54,046 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:58:54 2023-09-07 04:58:54,046 [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) 04:58:55 2023-09-07 04:58:54,791 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:58:55 3.1.0-dev.8 [Pipeline] } 04:58:55 $ docker exec --env ******** --env ******** 972b72153816362e9da922f9f0972672d0ecc70bfbc41614994c947b73765f36 ssh-agent -k 04:58:55 unset SSH_AUTH_SOCK; 04:58:55 unset SSH_AGENT_PID; 04:58:55 echo Agent pid 39 killed; 04:58:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:58:55 + git semver [Pipeline] } 04:58:55 $ docker stop --time=1 972b72153816362e9da922f9f0972672d0ecc70bfbc41614994c947b73765f36 04:58:57 $ docker rm -f --volumes 972b72153816362e9da922f9f0972672d0ecc70bfbc41614994c947b73765f36 [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 04:58:57 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 04:58:57 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 04:58:57 total 16 04:58:57 drwxr-xr-x 3 root root 4096 Sep 7 04:46 . 04:58:57 drwxrwxr-x 11 jenkins jenkins 4096 Sep 7 04:58 .. 04:58:57 drwxr-xr-x 2 root root 4096 Sep 7 04:46 cost 04:58:57 -rw-r--r-- 1 root root 91 Sep 7 04:46 cost.csv 04:58:57 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 04:58:57 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 04:58:57 total 16 04:58:57 drwxr-xr-x 3 jenkins jenkins 4096 Sep 7 04:46 . 04:58:57 drwxrwxr-x 11 jenkins jenkins 4096 Sep 7 04:58 .. 04:58:57 drwxr-xr-x 2 jenkins jenkins 4096 Sep 7 04:46 cost 04:58:57 -rw-r--r-- 1 jenkins jenkins 91 Sep 7 04:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:58:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:58:58 ---> package-listing.sh 04:58:58 ++ facter osfamily 04:58:58 ++ tr '[:upper:]' '[:lower:]' 04:58:58 + OS_FAMILY=debian 04:58:58 + workspace=/w/workspace/foundry_device-onvif-camera_main 04:58:58 + START_PACKAGES=/tmp/packages_start.txt 04:58:58 + END_PACKAGES=/tmp/packages_end.txt 04:58:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:58:58 + PACKAGES=/tmp/packages_start.txt 04:58:58 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 04:58:58 + PACKAGES=/tmp/packages_end.txt 04:58:58 + case "${OS_FAMILY}" in 04:58:58 + dpkg -l 04:58:58 + grep '^ii' 04:58:58 + '[' -f /tmp/packages_start.txt ']' 04:58:58 + '[' -f /tmp/packages_end.txt ']' 04:58:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:58:58 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 04:58:58 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 04:58:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 04:58:58 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 04:58:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:58:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:58:59 prd-ubuntu20.04-docker-8c-8g-5521 does not seem to be running inside a container 04:58:59 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:59:00 $ docker top 5e987e3c16a764aa870f7d120c375f12ff63c9bbad14ba761038b59238f876dc -eo pid,comm [Pipeline] { [Pipeline] sh 04:59:00 + touch /tmp/pre-build-complete [Pipeline] sh 04:59:00 + mkdir -p /var/log/sysstat [Pipeline] sh 04:59:01 + ls /var/log/sa-host 04:59:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:59:01 provisioning config files... 04:59:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4574679207997179950tmp [Pipeline] { [Pipeline] echo 04:59:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:59:01 ---> create-netrc.sh [Pipeline] } 04:59:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:59:01 ---> python-tools-install.sh [Pipeline] echo 04:59:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:59:02 ---> sudo-logs.sh 04:59:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:59:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:59:02 ---> job-cost.sh 04:59:02 lf-activate-venv: SKIPPING 04:59:02 DEBUG: total: 0.2199999988079071 04:59:02 INFO: Retrieving Stack Cost... 04:59:02 INFO: Retrieving Pricing Info for: v3-standard-8 04:59:03 INFO: Archiving Costs [Pipeline] echo 04:59:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:59:03 ---> logs-deploy.sh 04:59:03 lf-activate-venv: SKIPPING 04:59:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/164 04:59:03 INFO: archiving workspace using pattern(s): 04:59:04 Archives upload complete. 04:59:04 INFO: archiving logs to Nexus