Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 704ee13449308adf69c4899592c40628e88298f9 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-ssh966284388370986045.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-ssh6470467591924170475.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-ssh6434130755417057237.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-ssh15532838743127153138.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-ssh3204873177206584481.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4260’ Running on prd-ubuntu20.04-docker-8c-8g-4264 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 704ee13449308adf69c4899592c40628e88298f9 (main) Commit message: "build(deps): Bump github.com/google/uuid from 1.3.0 to 1.3.1 (#376)" > 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 704ee13449308adf69c4899592c40628e88298f9 # timeout=10 > git rev-list --no-walk f9a51d90d45793b537885a974cdf3c636c247a85 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:21:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:21:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:21:19 ========================================================= 16:21:19 EdgeX Global Pipelines Version Info 16:21:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:21:19 ------------------- 16:21:19 stable info: 16:21:19 ------------------- 16:21:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:21:19 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 16:21:19 Message: update stable to v1.0.253 16:21:20 ------------------- 16:21:20 experimental info: 16:21:20 ------------------- 16:21:20 Commited By: **** collab-it+edgex@linuxfoundation.org 16:21:20 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 16:21:20 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 704ee13449308adf69c4899592c40628e88298f9 [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 704ee13 [Pipeline] echo 16:21:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:21:20 provisioning config files... 16:21:20 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6063006905315099489tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:21:21 ---> docker-login.sh 16:21:21 nexus3.edgexfoundry.org:10001 16:21:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:21 Configure a credential helper to remove this warning. See 16:21:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:21 16:21:21 Login Succeeded 16:21:21 nexus3.edgexfoundry.org:10002 16:21:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:21 Configure a credential helper to remove this warning. See 16:21:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:21 16:21:21 Login Succeeded 16:21:21 nexus3.edgexfoundry.org:10003 16:21:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:21 Configure a credential helper to remove this warning. See 16:21:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:21 16:21:21 Login Succeeded 16:21:21 nexus3.edgexfoundry.org:10004 16:21:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:21 Configure a credential helper to remove this warning. See 16:21:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:21 16:21:21 Login Succeeded 16:21:21 docker.io 16:21:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:22 Configure a credential helper to remove this warning. See 16:21:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:22 16:21:22 Login Succeeded 16:21:22 ---> docker-login.sh ends [Pipeline] } 16:21:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:21:22 + git rev-list -1 --merges 704ee13449308adf69c4899592c40628e88298f9~1..704ee13449308adf69c4899592c40628e88298f9 [Pipeline] echo 16:21:22 -----------> git rev-list -1 --merges 704ee13449308adf69c4899592c40628e88298f9~1..704ee13449308adf69c4899592c40628e88298f9 704ee13449308adf69c4899592c40628e88298f9 [false] [Pipeline] sh 16:21:22 + git log --format=format:%s -1 704ee13449308adf69c4899592c40628e88298f9 [Pipeline] echo 16:21:22 ========================================================= 16:21:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:21:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:21:23 + git log --format=format:%s -1 704ee13449308adf69c4899592c40628e88298f9 [Pipeline] echo 16:21:23 [semverPrep] GIT_COMMIT: 704ee13449308adf69c4899592c40628e88298f9, Commit Message: build(deps): Bump github.com/google/uuid from 1.3.0 to 1.3.1 (#376) [Pipeline] echo 16:21:23 [semverPrep] This is not a build commit. [Pipeline] sh 16:21:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:21:23 + grep -v github /etc/ssh/ssh_known_hosts 16:21:23 + [ -e /tmp/ssh_known_hosts ] 16:21:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:21:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:21:23 + sudo tee -a /etc/ssh/ssh_known_hosts 16:21:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:21:23 16:21:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:21:24 0.1.4: Pulling from edgex-devops/py-git-semver 16:21:24 b85a868b505f: Pulling fs layer 16:21:24 e2be974225ed: Pulling fs layer 16:21:24 339a4e72a1f5: Pulling fs layer 16:21:24 988bab9f4d93: Pulling fs layer 16:21:24 1469e6f7b9e6: Pulling fs layer 16:21:24 eaf3925da568: Pulling fs layer 16:21:24 bab4dde63d76: Pulling fs layer 16:21:24 bde34c3a00c8: Pulling fs layer 16:21:24 b352a97aabf1: Pulling fs layer 16:21:24 4872d77fe225: Pulling fs layer 16:21:24 5851b861e8e6: Pulling fs layer 16:21:24 988bab9f4d93: Waiting 16:21:24 1469e6f7b9e6: Waiting 16:21:24 eaf3925da568: Waiting 16:21:24 bab4dde63d76: Waiting 16:21:24 bde34c3a00c8: Waiting 16:21:24 b352a97aabf1: Waiting 16:21:24 4872d77fe225: Waiting 16:21:24 5851b861e8e6: Waiting 16:21:24 e2be974225ed: Verifying Checksum 16:21:24 e2be974225ed: Download complete 16:21:24 988bab9f4d93: Verifying Checksum 16:21:24 988bab9f4d93: Download complete 16:21:24 1469e6f7b9e6: Verifying Checksum 16:21:24 1469e6f7b9e6: Download complete 16:21:24 339a4e72a1f5: Verifying Checksum 16:21:24 339a4e72a1f5: Download complete 16:21:24 eaf3925da568: Verifying Checksum 16:21:24 eaf3925da568: Download complete 16:21:24 bde34c3a00c8: Verifying Checksum 16:21:24 bde34c3a00c8: Download complete 16:21:24 b352a97aabf1: Download complete 16:21:24 4872d77fe225: Verifying Checksum 16:21:24 4872d77fe225: Download complete 16:21:24 5851b861e8e6: Verifying Checksum 16:21:24 5851b861e8e6: Download complete 16:21:24 b85a868b505f: Download complete 16:21:24 bab4dde63d76: Verifying Checksum 16:21:24 bab4dde63d76: Download complete 16:21:25 b85a868b505f: Pull complete 16:21:25 e2be974225ed: Pull complete 16:21:26 339a4e72a1f5: Pull complete 16:21:26 988bab9f4d93: Pull complete 16:21:26 1469e6f7b9e6: Pull complete 16:21:26 eaf3925da568: Pull complete 16:21:28 bab4dde63d76: Pull complete 16:21:28 bde34c3a00c8: Pull complete 16:21:28 b352a97aabf1: Pull complete 16:21:28 4872d77fe225: Pull complete 16:21:28 5851b861e8e6: Pull complete 16:21:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:21:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:21:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:21:28 prd-ubuntu20.04-docker-8c-8g-4264 does not seem to be running inside a container 16:21:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:21:31 $ docker top dd34fa0bd1d78550081c62037619bf16e8b42ad31b716d979d93057670d0a034 -eo pid,comm 16:21:31 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). 16:21:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:21:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:21:31 [ssh-agent] Looking for ssh-agent implementation... 16:21:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:21:31 $ docker exec dd34fa0bd1d78550081c62037619bf16e8b42ad31b716d979d93057670d0a034 ssh-agent 16:21:31 SSH_AUTH_SOCK=/tmp/ssh-dd7bA49Lf85u/agent.32 16:21:31 SSH_AGENT_PID=38 16:21:31 Running ssh-add (command line suppressed) 16:21:31 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12860049956380498461.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12860049956380498461.key) 16:21:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:21:32 + git tag --points-at HEAD [Pipeline] } 16:21:32 $ docker exec --env ******** --env ******** dd34fa0bd1d78550081c62037619bf16e8b42ad31b716d979d93057670d0a034 ssh-agent -k 16:21:32 unset SSH_AUTH_SOCK; 16:21:32 unset SSH_AGENT_PID; 16:21:32 echo Agent pid 38 killed; 16:21:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:21:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:21:32 [ssh-agent] Looking for ssh-agent implementation... 16:21:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:21:32 $ docker exec dd34fa0bd1d78550081c62037619bf16e8b42ad31b716d979d93057670d0a034 ssh-agent 16:21:32 SSH_AUTH_SOCK=/tmp/ssh-GNqC9MSm22P7/agent.71 16:21:32 SSH_AGENT_PID=77 16:21:32 Running ssh-add (command line suppressed) 16:21:32 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8309741719448952726.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8309741719448952726.key) 16:21:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:21:33 + git semver init 16:21:33 2023-08-22 16:21:33,229 [run_init] DEBUG init version:0.0.0 force:False 16:21:33 2023-08-22 16:21:33,230 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 16:21:33 2023-08-22 16:21:33,230 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 16:21:33 2023-08-22 16:21:33,230 [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) 16:21:34 2023-08-22 16:21:34,258 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 16:21:34 2023-08-22 16:21:34,258 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 16:21:34 2023-08-22 16:21:34,258 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:21:34 2023-08-22 16:21:34,258 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:21:34 3.1.0-dev.4 [Pipeline] } 16:21:34 $ docker exec --env ******** --env ******** dd34fa0bd1d78550081c62037619bf16e8b42ad31b716d979d93057670d0a034 ssh-agent -k 16:21:34 unset SSH_AUTH_SOCK; 16:21:34 unset SSH_AGENT_PID; 16:21:34 echo Agent pid 77 killed; 16:21:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:21:35 + git semver [Pipeline] } 16:21:35 $ docker stop --time=1 dd34fa0bd1d78550081c62037619bf16e8b42ad31b716d979d93057670d0a034 16:21:36 $ docker rm -f --volumes dd34fa0bd1d78550081c62037619bf16e8b42ad31b716d979d93057670d0a034 [Pipeline] // withDockerContainer [Pipeline] sh 16:21:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:21:37 Stashed 1 file(s) [Pipeline] echo 16:21:37 [edgeXSemver]: initialized semver on version 3.1.0-dev.4 [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 16:21:37 provisioning config files... 16:21:37 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2666633946109941795tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:21:37 ---> docker-login.sh 16:21:37 nexus3.edgexfoundry.org:10001 16:21:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:37 Configure a credential helper to remove this warning. See 16:21:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:37 16:21:37 Login Succeeded 16:21:37 nexus3.edgexfoundry.org:10002 16:21:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:37 Configure a credential helper to remove this warning. See 16:21:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:37 16:21:37 Login Succeeded 16:21:37 nexus3.edgexfoundry.org:10003 16:21:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:37 Configure a credential helper to remove this warning. See 16:21:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:37 16:21:37 Login Succeeded 16:21:37 nexus3.edgexfoundry.org:10004 16:21:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:37 Configure a credential helper to remove this warning. See 16:21:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:37 16:21:37 Login Succeeded 16:21:38 docker.io 16:21:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:38 Configure a credential helper to remove this warning. See 16:21:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:38 16:21:38 Login Succeeded 16:21:38 ---> docker-login.sh ends [Pipeline] } 16:21:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:21:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:21:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:21:38 ========================================================= 16:21:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 16:21:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:38 + 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 . 16:21:38 Sending build context to Docker daemon 21.61MB 16:21:38 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 16:21:38 Step 2/13 : FROM ${BASE} AS builder 16:21:38 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 16:21:38 4db1b89c0bd1: Pulling fs layer 16:21:38 6911f1a30b25: Pulling fs layer 16:21:38 e194b8c5c2a9: Pulling fs layer 16:21:38 6863d3e3a2b1: Pulling fs layer 16:21:38 ec0bb842ea78: Pulling fs layer 16:21:38 40a00589a448: Pulling fs layer 16:21:38 6c08303d61cc: Pulling fs layer 16:21:38 798269fcf238: Pulling fs layer 16:21:38 ec0bb842ea78: Waiting 16:21:38 40a00589a448: Waiting 16:21:38 6c08303d61cc: Waiting 16:21:38 798269fcf238: Waiting 16:21:38 6863d3e3a2b1: Waiting 16:21:39 6911f1a30b25: Verifying Checksum 16:21:39 6911f1a30b25: Download complete 16:21:39 4db1b89c0bd1: Verifying Checksum 16:21:39 4db1b89c0bd1: Download complete 16:21:39 ec0bb842ea78: Verifying Checksum 16:21:39 ec0bb842ea78: Download complete 16:21:39 6863d3e3a2b1: Verifying Checksum 16:21:39 6863d3e3a2b1: Download complete 16:21:39 40a00589a448: Verifying Checksum 16:21:39 40a00589a448: Download complete 16:21:39 4db1b89c0bd1: Pull complete 16:21:39 6911f1a30b25: Pull complete 16:21:39 e194b8c5c2a9: Verifying Checksum 16:21:39 e194b8c5c2a9: Download complete 16:21:39 798269fcf238: Verifying Checksum 16:21:39 798269fcf238: Download complete 16:21:39 6c08303d61cc: Verifying Checksum 16:21:39 6c08303d61cc: Download complete 16:21:44 e194b8c5c2a9: Pull complete 16:21:44 6863d3e3a2b1: Pull complete 16:21:44 ec0bb842ea78: Pull complete 16:21:44 40a00589a448: Pull complete 16:21:46 6c08303d61cc: Pull complete 16:21:46 798269fcf238: Pull complete 16:21:46 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 16:21:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 16:21:46 ---> ec979cd7f677 16:21:46 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:21:51 ---> Running in 6a815bff67b5 16:21:51 Removing intermediate container 6a815bff67b5 16:21:51 ---> 0de82f62d687 16:21:51 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:21:51 ---> Running in e526c93e7b08 16:21:51 Removing intermediate container e526c93e7b08 16:21:51 ---> 155e123af6d2 16:21:51 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 16:21:51 ---> Running in ef05a4cf75f5 16:21:51 Removing intermediate container ef05a4cf75f5 16:21:51 ---> 676187e14b52 16:21:51 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 16:21:51 ---> Running in d43e8b06cd58 16:21:51 Removing intermediate container d43e8b06cd58 16:21:51 ---> 1cfc2c0106fd 16:21:51 Step 7/13 : LABEL Name=edgex-device-onvif-camera 16:21:51 ---> Running in 3f37342122d2 16:21:51 Removing intermediate container 3f37342122d2 16:21:51 ---> ed805ab6929a 16:21:51 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:21:51 ---> Running in fb4afc9ba898 16:21:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:21:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:21:52 Still waiting to schedule task 16:21:52 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4261’ 16:21:52 OK: 265 MiB in 53 packages 16:21:53 Removing intermediate container fb4afc9ba898 16:21:53 ---> 0518a0d335f3 16:21:53 Step 9/13 : WORKDIR /device-onvif-camera 16:21:53 ---> Running in 58f95115fa5b 16:21:53 Removing intermediate container 58f95115fa5b 16:21:53 ---> b71d3fa2c116 16:21:53 Step 10/13 : COPY go.mod vendor* ./ 16:21:53 ---> 80abc334ba65 16:21:53 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:21:53 ---> Running in f30fddea9c7b 16:22:25 Removing intermediate container f30fddea9c7b 16:22:25 ---> 5031a27c9b55 16:22:25 Step 12/13 : COPY . . 16:22:25 ---> 9e57a4a75160 16:22:25 Step 13/13 : RUN ${MAKE} 16:22:25 ---> Running in dba11258449b 16:22:25 noop 16:22:25 Removing intermediate container dba11258449b 16:22:25 ---> 56329e098765 16:22:25 Successfully built 56329e098765 16:22:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:25 + docker inspect -f . ci-base-image-x86_64 16:22:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:22:25 prd-ubuntu20.04-docker-8c-8g-4264 does not seem to be running inside a container 16:22:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:22:25 $ docker top b000a036d981ce688621e7f62e46fa7173d46d644fd75a03f779406c494b83e1 -eo pid,comm [Pipeline] { [Pipeline] sh 16:22:26 + go version 16:22:26 go version go1.20.6 linux/amd64 [Pipeline] } 16:22:26 $ docker stop --time=1 b000a036d981ce688621e7f62e46fa7173d46d644fd75a03f779406c494b83e1 16:22:27 $ docker rm -f --volumes b000a036d981ce688621e7f62e46fa7173d46d644fd75a03f779406c494b83e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:28 + docker inspect -f . ci-base-image-x86_64 16:22:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:22:28 prd-ubuntu20.04-docker-8c-8g-4264 does not seem to be running inside a container 16:22:28 $ 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 ******** ci-base-image-x86_64 cat 16:22:28 $ docker top 5014d3cfeb1360071532674425b81fc047286132998169c6429e43126c525049 -eo pid,comm [Pipeline] { [Pipeline] sh 16:22:28 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 16:22:29 + make test 16:22:29 go test ./... -coverprofile=coverage.out ./... 16:22:34 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:22:46 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:22:46 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:22:47 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.036s coverage: 31.4% of statements 16:22:52 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.590s coverage: 86.5% of statements 16:23:00 go vet ./... 16:23:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:23:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:23:03 ./bin/test-attribution-txt.sh [Pipeline] echo 16:23:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:23:03 $ docker stop --time=1 5014d3cfeb1360071532674425b81fc047286132998169c6429e43126c525049 16:23:07 $ docker rm -f --volumes 5014d3cfeb1360071532674425b81fc047286132998169c6429e43126c525049 [Pipeline] // withDockerContainer [Pipeline] sh 16:23:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:23:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:23:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:23:08 + ls -al . 16:23:08 total 240 16:23:08 drwxrwxr-x 10 jenkins jenkins 4096 Aug 22 16:22 . 16:23:08 drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 16:21 .. 16:23:08 drwxrwxr-x 8 jenkins jenkins 4096 Aug 22 16:21 .git 16:23:08 drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 16:21 .github 16:23:08 -rw-rw-r-- 1 jenkins jenkins 496 Aug 22 16:21 .gitignore 16:23:08 -rw-rw-r-- 1 jenkins jenkins 42 Aug 22 16:21 .golangci.yml 16:23:08 drwxr-xr-x 3 jenkins jenkins 4096 Aug 22 16:21 .semver 16:23:08 -rw-rw-r-- 1 jenkins jenkins 10087 Aug 22 16:21 Attribution.txt 16:23:08 -rw-rw-r-- 1 jenkins jenkins 15932 Aug 22 16:21 CHANGELOG.md 16:23:08 -rw-rw-r-- 1 jenkins jenkins 1574 Aug 22 16:21 Dockerfile 16:23:08 -rw-rw-r-- 1 jenkins jenkins 677 Aug 22 16:21 GOVERNANCE.md 16:23:08 -rw-rw-r-- 1 jenkins jenkins 739 Aug 22 16:21 Jenkinsfile 16:23:08 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 22 16:21 LICENSE 16:23:08 -rw-rw-r-- 1 jenkins jenkins 2751 Aug 22 16:21 Makefile 16:23:08 -rw-rw-r-- 1 jenkins jenkins 625 Aug 22 16:21 OWNERS.md 16:23:08 -rw-rw-r-- 1 jenkins jenkins 2620 Aug 22 16:21 README.md 16:23:08 -rw-rw-r-- 1 jenkins jenkins 11 Aug 22 16:21 VERSION 16:23:08 drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 16:21 bin 16:23:08 drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 16:21 cmd 16:23:08 -rw-r--r-- 1 jenkins jenkins 78459 Aug 22 16:22 coverage.out 16:23:08 drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 16:21 doc 16:23:08 -rw-rw-r-- 1 jenkins jenkins 3594 Aug 22 16:21 go.mod 16:23:08 -rw-rw-r-- 1 jenkins jenkins 33570 Aug 22 16:21 go.sum 16:23:08 drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 16:21 internal 16:23:08 drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 16:21 snap 16:23:08 -rw-rw-r-- 1 jenkins jenkins 236 Aug 22 16:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:08 + 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=704ee13449308adf69c4899592c40628e88298f9 --label arch=amd64 --label version=3.1.0-dev.4 . 16:23:08 Sending build context to Docker daemon 21.69MB 16:23:08 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 16:23:08 Step 2/26 : FROM ${BASE} AS builder 16:23:08 ---> 56329e098765 16:23:08 Step 3/26 : ARG ADD_BUILD_TAGS="" 16:23:09 ---> Running in f0ea503bb172 16:23:09 Removing intermediate container f0ea503bb172 16:23:09 ---> 0544159ecd1c 16:23:09 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:23:09 ---> Running in bd5027b01e26 16:23:09 Removing intermediate container bd5027b01e26 16:23:09 ---> 70edb367e25f 16:23:09 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 16:23:09 ---> Running in 10d48a10dfed 16:23:09 Removing intermediate container 10d48a10dfed 16:23:09 ---> c9ce000e3703 16:23:09 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 16:23:09 ---> Running in 3345a2c83186 16:23:09 Removing intermediate container 3345a2c83186 16:23:09 ---> 7f45836e18ba 16:23:09 Step 7/26 : LABEL Name=edgex-device-onvif-camera 16:23:09 ---> Running in c4d78759350d 16:23:09 Removing intermediate container c4d78759350d 16:23:09 ---> 7c6cd56ee6b2 16:23:09 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:23:09 ---> Running in e914566f8331 16:23:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:23:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:23:10 OK: 265 MiB in 53 packages 16:23:10 Removing intermediate container e914566f8331 16:23:10 ---> 7ed0883844dc 16:23:10 Step 9/26 : WORKDIR /device-onvif-camera 16:23:10 ---> Running in 600ab09db435 16:23:10 Removing intermediate container 600ab09db435 16:23:10 ---> 0cb3915dc303 16:23:10 Step 10/26 : COPY go.mod vendor* ./ 16:23:10 ---> d736ed63515e 16:23:10 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:23:10 ---> Running in 466a2f4bd777 16:23:11 Removing intermediate container 466a2f4bd777 16:23:11 ---> 1f9b1fb953c7 16:23:11 Step 12/26 : COPY . . 16:23:12 ---> 7454e18d874f 16:23:12 Step 13/26 : RUN ${MAKE} 16:23:12 ---> Running in 1fd28b5dbd75 16:23:12 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.4" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 16:23:34 Removing intermediate container 1fd28b5dbd75 16:23:34 ---> 973a1de48b39 16:23:34 Step 14/26 : FROM alpine:3.17 16:23:34 3.17: Pulling from library/alpine 16:23:34 9398808236ff: Pulling fs layer 16:23:34 9398808236ff: Download complete 16:23:34 9398808236ff: Pull complete 16:23:34 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 16:23:34 Status: Downloaded newer image for alpine:3.17 16:23:34 ---> 1e0b8b5322fc 16:23:34 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:23:34 ---> Running in b807c8716a21 16:23:34 Removing intermediate container b807c8716a21 16:23:34 ---> d2b664220e94 16:23:34 Step 16/26 : RUN apk add --update --no-cache dumb-init 16:23:34 ---> Running in f812c0f8271a 16:23:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:23:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:23:35 (1/1) Installing dumb-init (1.2.5-r2) 16:23:35 Executing busybox-1.35.0-r29.trigger 16:23:35 OK: 7 MiB in 16 packages 16:23:35 Removing intermediate container f812c0f8271a 16:23:35 ---> e9d50b43e051 16:23:35 Step 17/26 : WORKDIR / 16:23:36 ---> Running in ff392e154690 16:23:36 Removing intermediate container ff392e154690 16:23:36 ---> 3206eeea6b14 16:23:36 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 16:23:37 ---> 296e8aa904b5 16:23:37 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 16:23:37 ---> fe34a92f99ef 16:23:37 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:23:37 ---> c7509221d819 16:23:37 Step 21/26 : EXPOSE 59984 16:23:37 ---> Running in d055fef6fe47 16:23:37 Removing intermediate container d055fef6fe47 16:23:37 ---> bc1598c86116 16:23:37 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 16:23:37 ---> Running in 685f9bc7b453 16:23:37 Removing intermediate container 685f9bc7b453 16:23:37 ---> aa35fa0e15b0 16:23:37 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 16:23:37 ---> Running in bd65702af11c 16:23:37 Removing intermediate container bd65702af11c 16:23:37 ---> 608a64d67f3f 16:23:37 Step 24/26 : LABEL arch=amd64 16:23:37 ---> Running in c85c0429a457 16:23:37 Removing intermediate container c85c0429a457 16:23:37 ---> 03ee4d04b33f 16:23:37 Step 25/26 : LABEL git_sha=704ee13449308adf69c4899592c40628e88298f9 16:23:37 ---> Running in f9a8fd76d47b 16:23:37 Removing intermediate container f9a8fd76d47b 16:23:37 ---> d8c0dbea0129 16:23:37 Step 26/26 : LABEL version=3.1.0-dev.4 16:23:37 ---> Running in ae3de1263848 16:23:37 Removing intermediate container ae3de1263848 16:23:37 ---> 68b2b07cb8d3 16:23:37 [Warning] One or more build-args [ARCH] were not consumed 16:23:37 Successfully built 68b2b07cb8d3 16:23:37 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 16:23:37 provisioning config files... 16:23:37 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13286694372436850409tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:23:38 ---> docker-login.sh 16:23:38 nexus3.edgexfoundry.org:10001 16:23:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:38 Configure a credential helper to remove this warning. See 16:23:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:38 16:23:38 Login Succeeded 16:23:38 nexus3.edgexfoundry.org:10002 16:23:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:38 Configure a credential helper to remove this warning. See 16:23:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:38 16:23:38 Login Succeeded 16:23:38 nexus3.edgexfoundry.org:10003 16:23:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:38 Configure a credential helper to remove this warning. See 16:23:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:38 16:23:38 Login Succeeded 16:23:38 nexus3.edgexfoundry.org:10004 16:23:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:38 Configure a credential helper to remove this warning. See 16:23:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:38 16:23:38 Login Succeeded 16:23:38 docker.io 16:23:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:39 Configure a credential helper to remove this warning. See 16:23:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:39 16:23:39 Login Succeeded 16:23:39 ---> docker-login.sh ends [Pipeline] } 16:23:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:23:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:23:39 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 16:23:39 704ee13449308adf69c4899592c40628e88298f9 16:23:39 latest 16:23:39 3.1.0-dev.4 16:23:39 704ee13449308adf69c4899592c40628e88298f9-3.1.0-dev.4 16:23:39 main 16:23:39 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:39 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:704ee13449308adf69c4899592c40628e88298f9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:39 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:704ee13449308adf69c4899592c40628e88298f9 16:23:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:23:39 dbfc1997c4cb: Preparing 16:23:39 b5b945d9361d: Preparing 16:23:39 2f897c7e3cd1: Preparing 16:23:39 7c344ebc877c: Preparing 16:23:39 36b50b131297: Preparing 16:23:39 36b50b131297: Layer already exists 16:23:39 dbfc1997c4cb: Pushed 16:23:39 b5b945d9361d: Pushed 16:23:39 7c344ebc877c: Pushed 16:23:42 2f897c7e3cd1: Pushed 16:23:42 704ee13449308adf69c4899592c40628e88298f9: digest: sha256:1bc37516e970308d5bd7ccea018d1df33403a55a3a74027837e8e1b83b1f0642 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:43 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:43 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 16:23:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:23:43 dbfc1997c4cb: Preparing 16:23:43 b5b945d9361d: Preparing 16:23:43 2f897c7e3cd1: Preparing 16:23:43 7c344ebc877c: Preparing 16:23:43 36b50b131297: Preparing 16:23:43 2f897c7e3cd1: Layer already exists 16:23:43 36b50b131297: Layer already exists 16:23:43 b5b945d9361d: Layer already exists 16:23:43 dbfc1997c4cb: Layer already exists 16:23:43 7c344ebc877c: Layer already exists 16:23:43 latest: digest: sha256:1bc37516e970308d5bd7ccea018d1df33403a55a3a74027837e8e1b83b1f0642 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:43 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:44 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.4 16:23:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:23:44 dbfc1997c4cb: Preparing 16:23:44 b5b945d9361d: Preparing 16:23:44 2f897c7e3cd1: Preparing 16:23:44 7c344ebc877c: Preparing 16:23:44 36b50b131297: Preparing 16:23:44 7c344ebc877c: Layer already exists 16:23:44 b5b945d9361d: Layer already exists 16:23:44 36b50b131297: Layer already exists 16:23:44 2f897c7e3cd1: Layer already exists 16:23:44 dbfc1997c4cb: Layer already exists 16:23:44 3.1.0-dev.4: digest: sha256:1bc37516e970308d5bd7ccea018d1df33403a55a3a74027837e8e1b83b1f0642 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:44 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:704ee13449308adf69c4899592c40628e88298f9-3.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:44 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:704ee13449308adf69c4899592c40628e88298f9-3.1.0-dev.4 16:23:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:23:44 dbfc1997c4cb: Preparing 16:23:44 b5b945d9361d: Preparing 16:23:44 2f897c7e3cd1: Preparing 16:23:44 7c344ebc877c: Preparing 16:23:44 36b50b131297: Preparing 16:23:44 b5b945d9361d: Layer already exists 16:23:44 7c344ebc877c: Layer already exists 16:23:44 2f897c7e3cd1: Layer already exists 16:23:44 dbfc1997c4cb: Layer already exists 16:23:44 36b50b131297: Layer already exists 16:23:44 704ee13449308adf69c4899592c40628e88298f9-3.1.0-dev.4: digest: sha256:1bc37516e970308d5bd7ccea018d1df33403a55a3a74027837e8e1b83b1f0642 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:45 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:45 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 16:23:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:23:45 dbfc1997c4cb: Preparing 16:23:45 b5b945d9361d: Preparing 16:23:45 2f897c7e3cd1: Preparing 16:23:45 7c344ebc877c: Preparing 16:23:45 36b50b131297: Preparing 16:23:45 b5b945d9361d: Layer already exists 16:23:45 dbfc1997c4cb: Layer already exists 16:23:45 7c344ebc877c: Layer already exists 16:23:45 36b50b131297: Layer already exists 16:23:45 2f897c7e3cd1: Layer already exists 16:23:45 main: digest: sha256:1bc37516e970308d5bd7ccea018d1df33403a55a3a74027837e8e1b83b1f0642 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:23:45 ===================================================== [Pipeline] echo 16:23:45 taggedImages: 16:23:45 - nexus3.edgexfoundry.org:10004/device-onvif-camera:704ee13449308adf69c4899592c40628e88298f9 16:23:45 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 16:23:45 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.4 16:23:45 - nexus3.edgexfoundry.org:10004/device-onvif-camera:704ee13449308adf69c4899592c40628e88298f9-3.1.0-dev.4 16:23:45 - 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 16:23:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:23:45 16:23:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:23:46 latest: Pulling from edgex-lftools-log-publisher 16:23:46 5eb5b503b376: Pulling fs layer 16:23:46 5c69ac0246d0: Pulling fs layer 16:23:46 ec43610c2a17: Pulling fs layer 16:23:46 3a2ae6a8a46f: Pulling fs layer 16:23:46 33b1e0a273af: Pulling fs layer 16:23:46 5d3b04190fa2: Pulling fs layer 16:23:46 2f39f015ded8: Pulling fs layer 16:23:46 3a2ae6a8a46f: Waiting 16:23:46 33b1e0a273af: Waiting 16:23:46 5d3b04190fa2: Waiting 16:23:46 2f39f015ded8: Waiting 16:23:46 5c69ac0246d0: Download complete 16:23:46 3a2ae6a8a46f: Download complete 16:23:46 33b1e0a273af: Verifying Checksum 16:23:46 33b1e0a273af: Download complete 16:23:46 ec43610c2a17: Verifying Checksum 16:23:46 ec43610c2a17: Download complete 16:23:46 5d3b04190fa2: Verifying Checksum 16:23:46 5d3b04190fa2: Download complete 16:23:46 5eb5b503b376: Verifying Checksum 16:23:46 5eb5b503b376: Download complete 16:23:46 2f39f015ded8: Download complete 16:23:47 5eb5b503b376: Pull complete 16:23:47 5c69ac0246d0: Pull complete 16:23:48 ec43610c2a17: Pull complete 16:23:48 3a2ae6a8a46f: Pull complete 16:23:48 33b1e0a273af: Pull complete 16:23:48 5d3b04190fa2: Pull complete 16:23:52 2f39f015ded8: Pull complete 16:23:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:23:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:23:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:23:52 prd-ubuntu20.04-docker-8c-8g-4264 does not seem to be running inside a container 16:23:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:23:57 $ docker top 68315ab9560711b788dd47edad243b04927c4c3de2c6f26af6df07639f7763fc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:23:58 ---> job-cost.sh 16:23:58 lf-activate-venv: SKIPPING 16:23:58 INFO: No Stack... 16:23:58 INFO: Retrieving Pricing Info for: v3-standard-8 16:23:58 INFO: Archiving Costs [Pipeline] sh 16:23:59 + cut -d, -f6 16:23:59 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [Pipeline] lock 16:23:59 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-160-stack-cost] 16:23:59 Resource [jenkins-edgexfoundry-device-onvif-camera-main-160-stack-cost] did not exist. Created. 16:23:59 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-160-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:23:59 + echo total: 0.2199999988079071 [Pipeline] stash 16:23:59 Stashed 1 file(s) [Pipeline] } 16:23:59 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-160-stack-cost] [Pipeline] // lock [Pipeline] } 16:23:59 $ docker stop --time=1 68315ab9560711b788dd47edad243b04927c4c3de2c6f26af6df07639f7763fc 16:24:00 $ docker rm -f --volumes 68315ab9560711b788dd47edad243b04927c4c3de2c6f26af6df07639f7763fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:24:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4271 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 16:24:24 Running in /w/workspace/device-onvif-camera/160 [Pipeline] { [Pipeline] checkout 16:24:24 The recommended git tool is: git 16:24:31 using credential edgex-jenkins-ssh 16:24:31 Cloning the remote Git repository 16:24:31 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 16:24:31 > git init /w/workspace/device-onvif-camera/160 # timeout=10 16:24:32 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 16:24:32 > git --version # timeout=10 16:24:32 > git --version # 'git version 2.25.1' 16:24:32 using GIT_SSH to set credentials SSH Credentials for GitHub 16:24:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:24:34 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 16:24:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:24:35 Avoid second fetch 16:24:35 Checking out Revision 704ee13449308adf69c4899592c40628e88298f9 (main) 16:24:36 Commit message: "build(deps): Bump github.com/google/uuid from 1.3.0 to 1.3.1 (#376)" 16:24:35 > git config core.sparsecheckout # timeout=10 16:24:35 > git checkout -f 704ee13449308adf69c4899592c40628e88298f9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:24:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:24:37 % Total % Received % Xferd Average Speed Time Time Time Current 16:24:37 Dload Upload Total Spent Left Speed 16:24:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh 16:24:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:24:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:24:38 + sudo tee /etc/docker/daemon.new 16:24:38 { 16:24:38 "registry-mirrors": [ 16:24:38 "https://nexus3.edgexfoundry.org:10001" 16:24:38 ], 16:24:38 "bip": "10.250.0.254/24", 16:24:38 "hosts": [ 16:24:38 "tcp://0.0.0.0:5555", 16:24:38 "unix:///var/run/docker.sock" 16:24:38 ], 16:24:38 "mtu": 1458, 16:24:38 "selinux-enabled": true, 16:24:38 "seccomp-profile": "/etc/docker/seccomp.json" 16:24:38 } [Pipeline] sh 16:24:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:24:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:24:57 provisioning config files... 16:24:57 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/160@tmp/config9748851363500679637tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:25:01 ---> docker-login.sh 16:25:01 nexus3.edgexfoundry.org:10001 16:25:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:04 Configure a credential helper to remove this warning. See 16:25:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:04 16:25:04 Login Succeeded 16:25:04 nexus3.edgexfoundry.org:10002 16:25:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:04 Configure a credential helper to remove this warning. See 16:25:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:04 16:25:04 Login Succeeded 16:25:04 nexus3.edgexfoundry.org:10003 16:25:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:04 Configure a credential helper to remove this warning. See 16:25:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:04 16:25:04 Login Succeeded 16:25:04 nexus3.edgexfoundry.org:10004 16:25:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:05 Configure a credential helper to remove this warning. See 16:25:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:05 16:25:05 Login Succeeded 16:25:05 docker.io 16:25:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:06 Configure a credential helper to remove this warning. See 16:25:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:06 16:25:06 Login Succeeded 16:25:06 ---> docker-login.sh ends [Pipeline] } 16:25:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:25:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:25:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:25:06 ========================================================= 16:25:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 16:25:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:06 + 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 . 16:25:07 Sending build context to Docker daemon 14.17MB 16:25:07 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 16:25:07 Step 2/13 : FROM ${BASE} AS builder 16:25:07 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:25:07 edb6bdbacee9: Pulling fs layer 16:25:07 5f9638ab2659: Pulling fs layer 16:25:07 8d51d6327a98: Pulling fs layer 16:25:07 8b374f2dd631: Pulling fs layer 16:25:07 ec14aa9079de: Pulling fs layer 16:25:07 2f466654f4bb: Pulling fs layer 16:25:07 554e91adad29: Pulling fs layer 16:25:07 ec14aa9079de: Waiting 16:25:07 2f466654f4bb: Waiting 16:25:07 554e91adad29: Waiting 16:25:07 8b374f2dd631: Waiting 16:25:07 5f9638ab2659: Verifying Checksum 16:25:07 5f9638ab2659: Download complete 16:25:07 8b374f2dd631: Verifying Checksum 16:25:07 8b374f2dd631: Download complete 16:25:07 ec14aa9079de: Verifying Checksum 16:25:07 ec14aa9079de: Download complete 16:25:07 edb6bdbacee9: Verifying Checksum 16:25:07 edb6bdbacee9: Download complete 16:25:08 edb6bdbacee9: Pull complete 16:25:09 554e91adad29: Verifying Checksum 16:25:09 554e91adad29: Download complete 16:25:09 5f9638ab2659: Pull complete 16:25:10 8d51d6327a98: Verifying Checksum 16:25:10 8d51d6327a98: Download complete 16:25:10 2f466654f4bb: Verifying Checksum 16:25:10 2f466654f4bb: Download complete 16:25:23 8d51d6327a98: Pull complete 16:25:23 8b374f2dd631: Pull complete 16:25:23 ec14aa9079de: Pull complete 16:25:31 2f466654f4bb: Pull complete 16:25:34 554e91adad29: Pull complete 16:25:34 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 16:25:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 16:25:34 ---> 1e15ea492957 16:25:34 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:25:35 ---> Running in 02f41eebaf62 16:25:35 Removing intermediate container 02f41eebaf62 16:25:35 ---> 03ea563788ef 16:25:35 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:25:36 ---> Running in b6b8597c139e 16:25:36 Removing intermediate container b6b8597c139e 16:25:36 ---> 971068695e36 16:25:36 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 16:25:36 ---> Running in 0142bc52cf70 16:25:37 Removing intermediate container 0142bc52cf70 16:25:37 ---> b8d56a703929 16:25:37 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 16:25:37 ---> Running in acfa59bba8f5 16:25:37 Removing intermediate container acfa59bba8f5 16:25:37 ---> 5c98818b3c3b 16:25:37 Step 7/13 : LABEL Name=edgex-device-onvif-camera 16:25:37 ---> Running in 6a7bcb55d26f 16:25:37 Removing intermediate container 6a7bcb55d26f 16:25:37 ---> 8eff89d49a04 16:25:37 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:25:37 ---> Running in c0e9fe3b0a70 16:25:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:25:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:25:41 OK: 263 MiB in 53 packages 16:25:44 Removing intermediate container c0e9fe3b0a70 16:25:44 ---> c6d339938543 16:25:44 Step 9/13 : WORKDIR /device-onvif-camera 16:25:44 ---> Running in fd1b90a9caac 16:25:44 Removing intermediate container fd1b90a9caac 16:25:44 ---> 5ae34deca8ff 16:25:44 Step 10/13 : COPY go.mod vendor* ./ 16:25:45 ---> 16b5bcc63132 16:25:45 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:25:45 ---> Running in a88435af4653 16:27:06 Removing intermediate container a88435af4653 16:27:06 ---> 8aff2a28fd04 16:27:06 Step 12/13 : COPY . . 16:27:06 ---> 98af78f73745 16:27:06 Step 13/13 : RUN ${MAKE} 16:27:06 ---> Running in 106d96bcb58b 16:27:06 noop 16:27:06 Removing intermediate container 106d96bcb58b 16:27:06 ---> 973b8c35c7ed 16:27:06 Successfully built 973b8c35c7ed 16:27:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:07 + docker inspect -f . ci-base-image-arm64 16:27:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:27:07 prd-ubuntu20.04-docker-arm64-4c-16g-4271 does not seem to be running inside a container 16:27:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/160 -v /w/workspace/device-onvif-camera/160:/w/workspace/device-onvif-camera/160:rw,z -v /w/workspace/device-onvif-camera/160@tmp:/w/workspace/device-onvif-camera/160@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 16:27:08 $ docker top 541dd44b837a3d07fcdcdabc0d7ac0c1ffdf9df63a2c4e0859acc707e038986f -eo pid,comm [Pipeline] { [Pipeline] sh 16:27:09 + go version 16:27:09 go version go1.20.6 linux/arm64 [Pipeline] } 16:27:09 $ docker stop --time=1 541dd44b837a3d07fcdcdabc0d7ac0c1ffdf9df63a2c4e0859acc707e038986f 16:27:11 $ docker rm -f --volumes 541dd44b837a3d07fcdcdabc0d7ac0c1ffdf9df63a2c4e0859acc707e038986f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:12 + docker inspect -f . ci-base-image-arm64 16:27:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:27:12 prd-ubuntu20.04-docker-arm64-4c-16g-4271 does not seem to be running inside a container 16:27:12 $ 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/160 -v /w/workspace/device-onvif-camera/160:/w/workspace/device-onvif-camera/160:rw,z -v /w/workspace/device-onvif-camera/160@tmp:/w/workspace/device-onvif-camera/160@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 16:27:13 $ docker top f74be0981cfd1131776e57c50de1f3b2f656ea49783f696b5dd3abb73153647f -eo pid,comm [Pipeline] { [Pipeline] sh 16:27:14 + git config --global --add safe.directory /w/workspace/device-onvif-camera/160 [Pipeline] fileExists [Pipeline] sh 16:27:15 + make test 16:27:15 go test ./... -coverprofile=coverage.out ./... 16:28:02 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:30:23 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:30:25 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:30:27 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.225s coverage: 31.4% of statements 16:30:49 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.462s coverage: 86.5% of statements 16:30:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:30:50 go vet ./... 16:31:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:31:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:31:23 ./bin/test-attribution-txt.sh [Pipeline] echo 16:31:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:31:23 $ docker stop --time=1 f74be0981cfd1131776e57c50de1f3b2f656ea49783f696b5dd3abb73153647f 16:31:25 $ docker rm -f --volumes f74be0981cfd1131776e57c50de1f3b2f656ea49783f696b5dd3abb73153647f [Pipeline] // withDockerContainer [Pipeline] sh 16:31:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:31:27 Warning: overwriting stash ‘coverage-report’ 16:31:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:31:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:31:28 + ls -al . 16:31:28 total 236 16:31:28 drwxrwxr-x 9 jenkins jenkins 4096 Aug 22 16:27 . 16:31:28 drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 16:24 .. 16:31:28 drwxrwxr-x 8 jenkins jenkins 4096 Aug 22 16:24 .git 16:31:28 drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 16:24 .github 16:31:28 -rw-rw-r-- 1 jenkins jenkins 496 Aug 22 16:24 .gitignore 16:31:28 -rw-rw-r-- 1 jenkins jenkins 42 Aug 22 16:24 .golangci.yml 16:31:28 -rw-rw-r-- 1 jenkins jenkins 10087 Aug 22 16:24 Attribution.txt 16:31:28 -rw-rw-r-- 1 jenkins jenkins 15932 Aug 22 16:24 CHANGELOG.md 16:31:28 -rw-rw-r-- 1 jenkins jenkins 1574 Aug 22 16:24 Dockerfile 16:31:28 -rw-rw-r-- 1 jenkins jenkins 677 Aug 22 16:24 GOVERNANCE.md 16:31:28 -rw-rw-r-- 1 jenkins jenkins 739 Aug 22 16:24 Jenkinsfile 16:31:28 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 22 16:24 LICENSE 16:31:28 -rw-rw-r-- 1 jenkins jenkins 2751 Aug 22 16:24 Makefile 16:31:28 -rw-rw-r-- 1 jenkins jenkins 625 Aug 22 16:24 OWNERS.md 16:31:28 -rw-rw-r-- 1 jenkins jenkins 2620 Aug 22 16:24 README.md 16:31:28 -rw-rw-r-- 1 jenkins jenkins 11 Aug 22 16:21 VERSION 16:31:28 drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 16:24 bin 16:31:28 drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 16:24 cmd 16:31:28 -rw-r--r-- 1 jenkins jenkins 78459 Aug 22 16:30 coverage.out 16:31:28 drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 16:24 doc 16:31:28 -rw-rw-r-- 1 jenkins jenkins 3594 Aug 22 16:24 go.mod 16:31:28 -rw-rw-r-- 1 jenkins jenkins 33570 Aug 22 16:24 go.sum 16:31:28 drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 16:24 internal 16:31:28 drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 16:24 snap 16:31:28 -rw-rw-r-- 1 jenkins jenkins 236 Aug 22 16:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:28 + 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=704ee13449308adf69c4899592c40628e88298f9 --label arch=arm64 --label version=3.1.0-dev.4 . 16:31:29 Sending build context to Docker daemon 14.25MB 16:31:29 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 16:31:29 Step 2/26 : FROM ${BASE} AS builder 16:31:29 ---> 973b8c35c7ed 16:31:29 Step 3/26 : ARG ADD_BUILD_TAGS="" 16:31:29 ---> Running in c953e3471d85 16:31:29 Removing intermediate container c953e3471d85 16:31:29 ---> 9608252bbef1 16:31:29 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:31:29 ---> Running in 8475752b29dd 16:31:30 Removing intermediate container 8475752b29dd 16:31:30 ---> 7baf8752a24b 16:31:30 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 16:31:30 ---> Running in 33f283c190c8 16:31:30 Removing intermediate container 33f283c190c8 16:31:30 ---> 976c4461a2f7 16:31:30 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 16:31:30 ---> Running in dd821a217935 16:31:30 Removing intermediate container dd821a217935 16:31:30 ---> 12340fb01e5a 16:31:30 Step 7/26 : LABEL Name=edgex-device-onvif-camera 16:31:31 ---> Running in 4a8b04ef5471 16:31:31 Removing intermediate container 4a8b04ef5471 16:31:31 ---> 034ac64a43ac 16:31:31 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:31:31 ---> Running in 23a47571f942 16:31:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:31:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:31:34 OK: 263 MiB in 53 packages 16:31:35 Removing intermediate container 23a47571f942 16:31:35 ---> 4571a92a348f 16:31:35 Step 9/26 : WORKDIR /device-onvif-camera 16:31:35 ---> Running in af5dcf2bc5a4 16:31:36 Removing intermediate container af5dcf2bc5a4 16:31:36 ---> aa441f6fc9ad 16:31:36 Step 10/26 : COPY go.mod vendor* ./ 16:31:36 ---> 527bb67bdeef 16:31:36 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:31:37 ---> Running in cb3f76d50af0 16:31:39 Removing intermediate container cb3f76d50af0 16:31:39 ---> 141c377120c8 16:31:39 Step 12/26 : COPY . . 16:31:41 ---> 69c9ecaa439f 16:31:41 Step 13/26 : RUN ${MAKE} 16:31:41 ---> Running in 125d41b36d48 16:31:42 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.4" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 16:34:33 Removing intermediate container 125d41b36d48 16:34:33 ---> f7b00ef8d3b8 16:34:33 Step 14/26 : FROM alpine:3.17 16:34:33 3.17: Pulling from library/alpine 16:34:33 4060ece20d7a: Pulling fs layer 16:34:33 4060ece20d7a: Verifying Checksum 16:34:33 4060ece20d7a: Download complete 16:34:33 4060ece20d7a: Pull complete 16:34:33 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 16:34:33 Status: Downloaded newer image for alpine:3.17 16:34:33 ---> 8650cd65339b 16:34:33 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:34:33 ---> Running in 8a54ab926da4 16:34:33 Removing intermediate container 8a54ab926da4 16:34:33 ---> 94c7d0a3711c 16:34:33 Step 16/26 : RUN apk add --update --no-cache dumb-init 16:34:33 ---> Running in d156d72126e8 16:34:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:34:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:34:33 (1/1) Installing dumb-init (1.2.5-r2) 16:34:33 Executing busybox-1.35.0-r29.trigger 16:34:33 OK: 8 MiB in 16 packages 16:34:33 Removing intermediate container d156d72126e8 16:34:33 ---> 9af600008c54 16:34:33 Step 17/26 : WORKDIR / 16:34:33 ---> Running in bf7e07cb4fa2 16:34:33 Removing intermediate container bf7e07cb4fa2 16:34:33 ---> 20a28b535626 16:34:33 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 16:34:33 ---> 5666b1199453 16:34:33 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 16:34:33 ---> 1b761efa7470 16:34:33 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:34:33 ---> 24a2cec58f37 16:34:33 Step 21/26 : EXPOSE 59984 16:34:33 ---> Running in c1fe1e54fd86 16:34:33 Removing intermediate container c1fe1e54fd86 16:34:33 ---> 5d133b1bfd0d 16:34:33 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 16:34:34 ---> Running in 3d1aa5f0aeaa 16:34:34 Removing intermediate container 3d1aa5f0aeaa 16:34:34 ---> 35310a34b25c 16:34:34 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 16:34:34 ---> Running in 5b620c23d7cc 16:34:34 Removing intermediate container 5b620c23d7cc 16:34:34 ---> e1133b14e9ea 16:34:34 Step 24/26 : LABEL arch=arm64 16:34:35 ---> Running in e8b344d461ba 16:34:35 Removing intermediate container e8b344d461ba 16:34:35 ---> fee310f9f59d 16:34:35 Step 25/26 : LABEL git_sha=704ee13449308adf69c4899592c40628e88298f9 16:34:35 ---> Running in d02b20878159 16:34:35 Removing intermediate container d02b20878159 16:34:35 ---> 862068e846e9 16:34:35 Step 26/26 : LABEL version=3.1.0-dev.4 16:34:35 ---> Running in 1311b620d88a 16:34:35 Removing intermediate container 1311b620d88a 16:34:35 ---> b1371955c988 16:34:35 [Warning] One or more build-args [ARCH] were not consumed 16:34:35 Successfully built b1371955c988 16:34:35 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:34:35 provisioning config files... 16:34:36 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/160@tmp/config10318650445997849510tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:34:36 ---> docker-login.sh 16:34:36 nexus3.edgexfoundry.org:10001 16:34:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:34:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:34:36 Configure a credential helper to remove this warning. See 16:34:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:34:36 16:34:36 Login Succeeded 16:34:36 nexus3.edgexfoundry.org:10002 16:34:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:34:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:34:36 Configure a credential helper to remove this warning. See 16:34:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:34:36 16:34:36 Login Succeeded 16:34:36 nexus3.edgexfoundry.org:10003 16:34:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:34:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:34:37 Configure a credential helper to remove this warning. See 16:34:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:34:37 16:34:37 Login Succeeded 16:34:37 nexus3.edgexfoundry.org:10004 16:34:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:34:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:34:37 Configure a credential helper to remove this warning. See 16:34:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:34:37 16:34:37 Login Succeeded 16:34:37 docker.io 16:34:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:34:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:34:38 Configure a credential helper to remove this warning. See 16:34:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:34:38 16:34:38 Login Succeeded 16:34:38 ---> docker-login.sh ends [Pipeline] } 16:34:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:34:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:34:38 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 16:34:38 704ee13449308adf69c4899592c40628e88298f9 16:34:38 latest 16:34:38 3.1.0-dev.4 16:34:38 704ee13449308adf69c4899592c40628e88298f9-3.1.0-dev.4 16:34:38 main 16:34:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:38 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:704ee13449308adf69c4899592c40628e88298f9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:38 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:704ee13449308adf69c4899592c40628e88298f9 16:34:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 16:34:38 b48c29900480: Preparing 16:34:38 a85336a250e5: Preparing 16:34:38 fd0e025923fb: Preparing 16:34:38 29fbaf6b7581: Preparing 16:34:38 d2d9d24a8c2a: Preparing 16:34:38 d2d9d24a8c2a: Layer already exists 16:34:39 29fbaf6b7581: Pushed 16:34:39 b48c29900480: Pushed 16:34:39 a85336a250e5: Pushed 16:34:44 fd0e025923fb: Pushed 16:34:44 704ee13449308adf69c4899592c40628e88298f9: digest: sha256:be4909f173614a81c6bc98d017e8aa54c278b4805df169ba09656747f5e9287c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:45 + 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 16:34:45 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 16:34:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 16:34:45 b48c29900480: Preparing 16:34:45 a85336a250e5: Preparing 16:34:45 fd0e025923fb: Preparing 16:34:45 29fbaf6b7581: Preparing 16:34:45 d2d9d24a8c2a: Preparing 16:34:45 d2d9d24a8c2a: Layer already exists 16:34:45 fd0e025923fb: Layer already exists 16:34:45 b48c29900480: Layer already exists 16:34:45 29fbaf6b7581: Layer already exists 16:34:45 a85336a250e5: Layer already exists 16:34:45 latest: digest: sha256:be4909f173614a81c6bc98d017e8aa54c278b4805df169ba09656747f5e9287c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:46 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:46 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.4 16:34:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 16:34:46 b48c29900480: Preparing 16:34:46 a85336a250e5: Preparing 16:34:46 fd0e025923fb: Preparing 16:34:46 29fbaf6b7581: Preparing 16:34:46 d2d9d24a8c2a: Preparing 16:34:46 29fbaf6b7581: Layer already exists 16:34:46 d2d9d24a8c2a: Layer already exists 16:34:46 a85336a250e5: Layer already exists 16:34:46 fd0e025923fb: Layer already exists 16:34:46 b48c29900480: Layer already exists 16:34:46 3.1.0-dev.4: digest: sha256:be4909f173614a81c6bc98d017e8aa54c278b4805df169ba09656747f5e9287c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:46 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:704ee13449308adf69c4899592c40628e88298f9-3.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:47 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:704ee13449308adf69c4899592c40628e88298f9-3.1.0-dev.4 16:34:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 16:34:47 b48c29900480: Preparing 16:34:47 a85336a250e5: Preparing 16:34:47 fd0e025923fb: Preparing 16:34:47 29fbaf6b7581: Preparing 16:34:47 d2d9d24a8c2a: Preparing 16:34:47 b48c29900480: Layer already exists 16:34:47 29fbaf6b7581: Layer already exists 16:34:47 d2d9d24a8c2a: Layer already exists 16:34:47 fd0e025923fb: Layer already exists 16:34:47 a85336a250e5: Layer already exists 16:34:47 704ee13449308adf69c4899592c40628e88298f9-3.1.0-dev.4: digest: sha256:be4909f173614a81c6bc98d017e8aa54c278b4805df169ba09656747f5e9287c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:47 + 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 16:34:47 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 16:34:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 16:34:47 b48c29900480: Preparing 16:34:47 a85336a250e5: Preparing 16:34:47 fd0e025923fb: Preparing 16:34:47 29fbaf6b7581: Preparing 16:34:47 d2d9d24a8c2a: Preparing 16:34:47 b48c29900480: Layer already exists 16:34:47 d2d9d24a8c2a: Layer already exists 16:34:47 29fbaf6b7581: Layer already exists 16:34:47 fd0e025923fb: Layer already exists 16:34:47 a85336a250e5: Layer already exists 16:34:48 main: digest: sha256:be4909f173614a81c6bc98d017e8aa54c278b4805df169ba09656747f5e9287c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:34:48 ===================================================== [Pipeline] echo 16:34:48 taggedImages: 16:34:48 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:704ee13449308adf69c4899592c40628e88298f9 16:34:48 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 16:34:48 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.4 16:34:48 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:704ee13449308adf69c4899592c40628e88298f9-3.1.0-dev.4 16:34:48 - 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 16:34:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:34:48 16:34:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:34:48 arm64: Pulling from edgex-lftools-log-publisher 16:34:48 8998bd30e6a1: Pulling fs layer 16:34:48 04944245beec: Pulling fs layer 16:34:48 699f458cf7ca: Pulling fs layer 16:34:48 765212b225bb: Pulling fs layer 16:34:48 f23df028b6ca: Pulling fs layer 16:34:48 d65c8cfc05b1: Pulling fs layer 16:34:48 2437ff75d9bd: Pulling fs layer 16:34:48 765212b225bb: Waiting 16:34:48 d65c8cfc05b1: Waiting 16:34:48 2437ff75d9bd: Waiting 16:34:49 04944245beec: Verifying Checksum 16:34:49 04944245beec: Download complete 16:34:49 765212b225bb: Verifying Checksum 16:34:49 765212b225bb: Download complete 16:34:49 f23df028b6ca: Download complete 16:34:49 d65c8cfc05b1: Verifying Checksum 16:34:49 d65c8cfc05b1: Download complete 16:34:49 699f458cf7ca: Verifying Checksum 16:34:49 699f458cf7ca: Download complete 16:34:49 8998bd30e6a1: Verifying Checksum 16:34:49 8998bd30e6a1: Download complete 16:34:52 2437ff75d9bd: Verifying Checksum 16:34:52 2437ff75d9bd: Download complete 16:34:54 8998bd30e6a1: Pull complete 16:34:54 04944245beec: Pull complete 16:34:56 699f458cf7ca: Pull complete 16:34:56 765212b225bb: Pull complete 16:34:56 f23df028b6ca: Pull complete 16:34:57 d65c8cfc05b1: Pull complete 16:35:12 2437ff75d9bd: Pull complete 16:35:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:35:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:35:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:35:12 prd-ubuntu20.04-docker-arm64-4c-16g-4271 does not seem to be running inside a container 16:35:12 $ 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/160 -v /w/workspace/device-onvif-camera/160:/w/workspace/device-onvif-camera/160:rw,z -v /w/workspace/device-onvif-camera/160@tmp:/w/workspace/device-onvif-camera/160@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 16:35:15 $ docker top ac634532a63932b20290f6db36b749092fac4ee778412bf25bb8759df1275464 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:35:16 ---> job-cost.sh 16:35:16 lf-activate-venv: SKIPPING 16:35:16 INFO: No Stack... 16:35:16 INFO: Retrieving Pricing Info for: v3-standard-4 16:35:17 INFO: Archiving Costs [Pipeline] sh 16:35:17 + cut -d, -f6 16:35:17 + cat /w/workspace/device-onvif-camera/160/archives/cost.csv [Pipeline] lock 16:35:17 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-160-stack-cost] 16:35:17 Resource [jenkins-edgexfoundry-device-onvif-camera-main-160-stack-cost] did not exist. Created. 16:35:17 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-160-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:35:18 /w/workspace/device-onvif-camera/160@tmp/durable-b8c60f58/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:35:19 + echo total: 0.10999999940395355 [Pipeline] stash 16:35:19 Warning: overwriting stash ‘stack-cost’ 16:35:19 Stashed 1 file(s) [Pipeline] } 16:35:19 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-160-stack-cost] [Pipeline] // lock [Pipeline] } 16:35:19 $ docker stop --time=1 ac634532a63932b20290f6db36b749092fac4ee778412bf25bb8759df1275464 16:35:20 $ docker rm -f --volumes ac634532a63932b20290f6db36b749092fac4ee778412bf25bb8759df1275464 [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 16:35:21 provisioning config files... 16:35:21 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17811424355396339432tmp [Pipeline] { [Pipeline] sh 16:35:21 + set +x 16:35:21 + curl -s https://codecov.io/bash 16:35:21 + bash -s -- 16:35:21 16:35:21 _____ _ 16:35:21 / ____| | | 16:35:21 | | ___ __| | ___ ___ _____ __ 16:35:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:35:21 | |___| (_) | (_| | __/ (_| (_) \ V / 16:35:21 \_____\___/ \__,_|\___|\___\___/ \_/ 16:35:21 Bash-1.0.6 16:35:21 16:35:21 16:35:21 ==> git version 2.25.1 found 16:35:21 ==> 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 16:35:21 Release-Date: 2020-01-08 16:35:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:35:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:35:21 ==> Jenkins CI detected. 16:35:21 current dir:  /w/workspace/foundry_device-onvif-camera_main 16:35:21 project root: . 16:35:21 --> token set from env 16:35:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:35:21 ==> Running gcov in . (disable via -X gcov) 16:35:21 ==> Python coveragepy not found 16:35:21 ==> Searching for coverage reports in: 16:35:21 + . 16:35:21 -> Found 1 reports 16:35:21 ==> Detecting git/mercurial file structure 16:35:21 ==> Reading reports 16:35:21 + ./coverage.out bytes=78459 16:35:21 ==> Appending adjustments 16:35:21 https://docs.codecov.io/docs/fixing-reports 16:35:21 + Found adjustments 16:35:21 ==> Gzipping contents 16:35:21 12K /tmp/codecov.An9Fph.gz 16:35:21 ==> Uploading reports 16:35:21 url: https://codecov.io 16:35:21 query: branch=main&commit=704ee13449308adf69c4899592c40628e88298f9&build=160&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F160%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 16:35:21 -> Pinging Codecov 16:35:21 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=704ee13449308adf69c4899592c40628e88298f9&build=160&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F160%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 16:35:22 -> Uploading to 16:35:22 https://storage.googleapis.com/codecov/v4/raw/2023-08-22/F29A59C45E3A92E06B3E522C9905F8EF/704ee13449308adf69c4899592c40628e88298f9/546ecd72-0d91-456a-b2fb-5a177721fa58.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230822%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230822T163522Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7f3ebc5811b71488eeb6f41bb25ab9b0ed0cf59d9bc5b308ff769526d01d54fe 16:35:22 % Total % Received % Xferd Average Speed Time Time Time Current 16:35:22 Dload Upload Total Spent Left Speed 16:35:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10573 0 0 100 10573 0 55067 --:--:-- --:--:-- --:--:-- 55067 16:35:22 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/704ee13449308adf69c4899592c40628e88298f9 [Pipeline] } 16:35:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:35:22 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:35:22 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:35:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:35:22 16:35:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:35:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:35:23 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:35:23 df9b9388f04a: Pulling fs layer 16:35:23 52dc419b0ee2: Pulling fs layer 16:35:23 25bc292e5bac: Pulling fs layer 16:35:23 114826534d7a: Pulling fs layer 16:35:23 4657fd5d0bcf: Pulling fs layer 16:35:23 6ad1cebc031e: Pulling fs layer 16:35:23 8a3aa393b2d8: Pulling fs layer 16:35:23 114826534d7a: Waiting 16:35:23 4657fd5d0bcf: Waiting 16:35:23 6ad1cebc031e: Waiting 16:35:23 8a3aa393b2d8: Waiting 16:35:23 25bc292e5bac: Download complete 16:35:23 52dc419b0ee2: Verifying Checksum 16:35:23 52dc419b0ee2: Download complete 16:35:23 4657fd5d0bcf: Verifying Checksum 16:35:23 4657fd5d0bcf: Download complete 16:35:23 df9b9388f04a: Verifying Checksum 16:35:23 df9b9388f04a: Download complete 16:35:23 df9b9388f04a: Pull complete 16:35:23 6ad1cebc031e: Verifying Checksum 16:35:23 6ad1cebc031e: Download complete 16:35:23 52dc419b0ee2: Pull complete 16:35:23 25bc292e5bac: Pull complete 16:35:24 114826534d7a: Verifying Checksum 16:35:24 114826534d7a: Download complete 16:35:24 8a3aa393b2d8: Verifying Checksum 16:35:24 8a3aa393b2d8: Download complete 16:35:27 114826534d7a: Pull complete 16:35:27 4657fd5d0bcf: Pull complete 16:35:27 6ad1cebc031e: Pull complete 16:35:31 8a3aa393b2d8: Pull complete 16:35:31 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:35:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:35:31 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:35:31 prd-ubuntu20.04-docker-8c-8g-4264 does not seem to be running inside a container 16:35:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:35:47 $ docker top 86574318954af2273ada5db541e1aa463cd2611b686c59149da25aa84a3e7b56 -eo pid,comm [Pipeline] { [Pipeline] echo 16:35:47 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 16:35:47 + set -o pipefail 16:35:47 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 16:35:52 16:35:52 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 16:35:52 16:35:52 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/1434f994-9ebd-4f68-be2a-bc862c697332 16:35:52 16:35:52 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 16:35:52 16:35:52 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:35:52 16:35:52 16:35:52 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:35:52 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:35:52 More details here: https://snyk.co/ue1NS [Pipeline] } 16:35:53 $ docker stop --time=1 86574318954af2273ada5db541e1aa463cd2611b686c59149da25aa84a3e7b56 16:35:57 $ docker rm -f --volumes 86574318954af2273ada5db541e1aa463cd2611b686c59149da25aa84a3e7b56 [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 16:35:58 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:35:58 provisioning config files... 16:35:58 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8944077134729906563tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:35:58 --> edgex-publish-swagger.sh 16:35:58 === Publish doc/openapi/v3 API === 16:35:58 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 16:35:58 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 16:35:58 % Total % Received % Xferd Average Speed Time Time Time Current 16:35:58 Dload Upload Total Spent Left Speed 16:35:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 0 0 100 485k 0 711k --:--:-- --:--:-- --:--:-- 710k 100 485k 0 0 100 485k 0 711k --:--:-- --:--:-- --:--:-- 710k 16:35:59 16:35:59 [Pipeline] } 16:35:59 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 16:35:59 + git log --format=format:%s -1 704ee13449308adf69c4899592c40628e88298f9 [Pipeline] sh 16:35:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:35:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:36:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:36:00 prd-ubuntu20.04-docker-8c-8g-4264 does not seem to be running inside a container 16:36:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:36:00 $ docker top 6316022f66a35901649120759676ad4e7a4d44ec231977b56f49d11ff38aac72 -eo pid,comm 16:36:00 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:36:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:36:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:36:00 [ssh-agent] Looking for ssh-agent implementation... 16:36:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:36:00 $ docker exec 6316022f66a35901649120759676ad4e7a4d44ec231977b56f49d11ff38aac72 ssh-agent 16:36:00 SSH_AUTH_SOCK=/tmp/ssh-OUqeX1uqMijT/agent.33 16:36:00 SSH_AGENT_PID=39 16:36:00 Running ssh-add (command line suppressed) 16:36:01 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4902619898067719901.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4902619898067719901.key) 16:36:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:36:01 + git semver tag 16:36:01 2023-08-22 16:36:01,582 [run_tag] DEBUG tag force:False 16:36:01 2023-08-22 16:36:01,582 [check_head_tag] DEBUG check head tag 16:36:01 2023-08-22 16:36:01,582 [execute] INFO git cat-file --batch-check 16:36:01 2023-08-22 16:36:01,582 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 16:36:01 2023-08-22 16:36:01,586 [execute] INFO git cat-file --batch 16:36:01 2023-08-22 16:36:01,586 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 16:36:01 2023-08-22 16:36:01,593 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:36:01 2023-08-22 16:36:01,593 [execute] INFO git tag -a v3.1.0-dev.4 -m v3.1.0-dev.4 16:36:01 2023-08-22 16:36:01,593 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.4', '-m', 'v3.1.0-dev.4'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 16:36:01 2023-08-22 16:36:01,599 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:36:01 3.1.0-dev.4 [Pipeline] } 16:36:01 $ docker exec --env ******** --env ******** 6316022f66a35901649120759676ad4e7a4d44ec231977b56f49d11ff38aac72 ssh-agent -k 16:36:01 unset SSH_AUTH_SOCK; 16:36:01 unset SSH_AGENT_PID; 16:36:01 echo Agent pid 39 killed; 16:36:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:36:02 + git semver [Pipeline] } 16:36:02 $ docker stop --time=1 6316022f66a35901649120759676ad4e7a4d44ec231977b56f49d11ff38aac72 16:36:03 $ docker rm -f --volumes 6316022f66a35901649120759676ad4e7a4d44ec231977b56f49d11ff38aac72 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:36:03 16:36:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:36:04 0.23.1-centos7: Pulling from edgex-lftools 16:36:04 ab5ef0e58194: Pulling fs layer 16:36:04 9712f1f96733: Pulling fs layer 16:36:04 63f879dbbcfc: Pulling fs layer 16:36:04 0d9ebad4ef96: Pulling fs layer 16:36:04 e9a5061849ea: Pulling fs layer 16:36:04 d747dcd14b5f: Pulling fs layer 16:36:04 2de7ff778b66: Pulling fs layer 16:36:04 e9a5061849ea: Waiting 16:36:04 d747dcd14b5f: Waiting 16:36:04 2de7ff778b66: Waiting 16:36:04 0d9ebad4ef96: Waiting 16:36:04 9712f1f96733: Verifying Checksum 16:36:04 9712f1f96733: Download complete 16:36:04 63f879dbbcfc: Verifying Checksum 16:36:04 63f879dbbcfc: Download complete 16:36:04 e9a5061849ea: Verifying Checksum 16:36:04 e9a5061849ea: Download complete 16:36:04 d747dcd14b5f: Verifying Checksum 16:36:04 d747dcd14b5f: Download complete 16:36:04 0d9ebad4ef96: Verifying Checksum 16:36:04 0d9ebad4ef96: Download complete 16:36:04 ab5ef0e58194: Download complete 16:36:04 2de7ff778b66: Verifying Checksum 16:36:04 2de7ff778b66: Download complete 16:36:07 ab5ef0e58194: Pull complete 16:36:07 9712f1f96733: Pull complete 16:36:08 63f879dbbcfc: Pull complete 16:36:12 0d9ebad4ef96: Pull complete 16:36:12 e9a5061849ea: Pull complete 16:36:12 d747dcd14b5f: Pull complete 16:36:13 2de7ff778b66: Pull complete 16:36:13 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:36:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:36:13 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:36:13 prd-ubuntu20.04-docker-8c-8g-4264 does not seem to be running inside a container 16:36:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:36:19 $ docker top 36273e6442e5f9b9e79ca80b84ef203691b5d813e35fb702abf792f65823535c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:36:19 provisioning config files... 16:36:20 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11607332864844242195tmp 16:36:20 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7449772046258139799tmp 16:36:20 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4540904594943141413tmp [Pipeline] { [Pipeline] echo 16:36:20 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:36:20 ---> sigul-configuration.sh 16:36:20 gpg: directory `/root/.gnupg' created 16:36:20 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:36:20 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:36:20 gpg: keyring `/root/.gnupg/secring.gpg' created 16:36:20 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:36:20 gpg: CAST5 encrypted data 16:36:20 gpg: encrypted with 1 passphrase 16:36:20 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:36:20 + mkdir /home/jenkins 16:36:20 + mkdir /home/jenkins/sigul [Pipeline] sh 16:36:20 + 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 16:36:20 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:36:21 ---> sigul-install.sh 16:36:21 Sigul already installed; skipping installation. [Pipeline] sh 16:36:21 + git tag --list 16:36:21 v0.0.0 16:36:21 v2.2.0 16:36:21 v2.3.0 16:36:21 v2.3.1 16:36:21 v3.0 16:36:21 v3.0.0 16:36:21 v3.1.0-dev.1 16:36:21 v3.1.0-dev.2 16:36:21 v3.1.0-dev.3 16:36:21 v3.1.0-dev.4 [Pipeline] sh 16:36:21 + lftools sign git-tag v3.1.0-dev.4 16:36:22 Signing Git tag with Sigul... 16:36:22 Signing v3.1.0-dev.4 [Pipeline] echo 16:36:22 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:36:23 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:36:23 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:36:23 $ docker stop --time=1 36273e6442e5f9b9e79ca80b84ef203691b5d813e35fb702abf792f65823535c 16:36:25 $ docker rm -f --volumes 36273e6442e5f9b9e79ca80b84ef203691b5d813e35fb702abf792f65823535c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:36:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:36:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:36:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:36:25 prd-ubuntu20.04-docker-8c-8g-4264 does not seem to be running inside a container 16:36:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:36:26 $ docker top cc3f9ded83854f2e230c4a6d46d165418f7a2332839c449a2f51649691f43136 -eo pid,comm 16:36:26 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). 16:36:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:36:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:36:26 [ssh-agent] Looking for ssh-agent implementation... 16:36:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:36:26 $ docker exec cc3f9ded83854f2e230c4a6d46d165418f7a2332839c449a2f51649691f43136 ssh-agent 16:36:26 SSH_AUTH_SOCK=/tmp/ssh-cObNaPuxXtOu/agent.14 16:36:26 SSH_AGENT_PID=20 16:36:26 Running ssh-add (command line suppressed) 16:36:26 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10179121836436240900.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10179121836436240900.key) 16:36:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:36:27 + git semver bump pre 16:36:27 2023-08-22 16:36:27,326 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:36:27 2023-08-22 16:36:27,326 [bump_version] DEBUG bumping version:3.1.0-dev.4 on axis:pre with prefix:dev 16:36:27 2023-08-22 16:36:27,326 [bump_version] DEBUG bumped version:3.1.0-dev.5 16:36:27 2023-08-22 16:36:27,326 [write_version] DEBUG write version:3.1.0-dev.5 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 16:36:27 2023-08-22 16:36:27,326 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:36:27 2023-08-22 16:36:27,327 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 16:36:27 2023-08-22 16:36:27,329 [execute] INFO git cat-file --batch-check 16:36:27 2023-08-22 16:36:27,329 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 16:36:27 2023-08-22 16:36:27,337 [execute] INFO git cat-file --batch 16:36:27 2023-08-22 16:36:27,338 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 16:36:27 2023-08-22 16:36:27,343 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:36:27 3.1.0-dev.5 [Pipeline] } 16:36:27 $ docker exec --env ******** --env ******** cc3f9ded83854f2e230c4a6d46d165418f7a2332839c449a2f51649691f43136 ssh-agent -k 16:36:27 unset SSH_AUTH_SOCK; 16:36:27 unset SSH_AGENT_PID; 16:36:27 echo Agent pid 20 killed; 16:36:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:36:27 + git semver [Pipeline] } 16:36:28 $ docker stop --time=1 cc3f9ded83854f2e230c4a6d46d165418f7a2332839c449a2f51649691f43136 16:36:29 $ docker rm -f --volumes cc3f9ded83854f2e230c4a6d46d165418f7a2332839c449a2f51649691f43136 [Pipeline] // withDockerContainer [Pipeline] sh 16:36:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:36:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:36:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:36:30 prd-ubuntu20.04-docker-8c-8g-4264 does not seem to be running inside a container 16:36:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:36:31 $ docker top a81ac564c1b2fbfc176c2d7f70ceeeb56aba9b53eaf79bc29242293172bcd5d4 -eo pid,comm 16:36:31 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). 16:36:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:36:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:36:31 [ssh-agent] Looking for ssh-agent implementation... 16:36:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:36:31 $ docker exec a81ac564c1b2fbfc176c2d7f70ceeeb56aba9b53eaf79bc29242293172bcd5d4 ssh-agent 16:36:31 SSH_AUTH_SOCK=/tmp/ssh-hnuMDGqo30Q6/agent.33 16:36:31 SSH_AGENT_PID=39 16:36:31 Running ssh-add (command line suppressed) 16:36:31 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13117035942855272316.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13117035942855272316.key) 16:36:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:36:31 + git semver push 16:36:32 2023-08-22 16:36:32,212 [run_push] DEBUG push 16:36:32 2023-08-22 16:36:32,213 [execute] INFO git cat-file --batch-check 16:36:32 2023-08-22 16:36:32,214 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 16:36:32 2023-08-22 16:36:32,219 [execute] INFO git rev-list 79bbba99b96898d1d274137b00b466ac7f1b8ab2 -- 16:36:32 2023-08-22 16:36:32,220 [execute] DEBUG Popen(['git', 'rev-list', '79bbba99b96898d1d274137b00b466ac7f1b8ab2', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 16:36:32 2023-08-22 16:36:32,229 [execute] INFO git fetch -v origin 16:36:32 2023-08-22 16:36:32,229 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 16:36:33 2023-08-22 16:36:32,788 [run_push] DEBUG no remote changes detected 16:36:33 2023-08-22 16:36:32,788 [execute] INFO git push origin semver 16:36:33 2023-08-22 16:36:32,789 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 16:36:33 2023-08-22 16:36:33,628 [run_push] DEBUG push all version tags 16:36:33 2023-08-22 16:36:33,628 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:36:33 2023-08-22 16:36:33,629 [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) 16:36:34 2023-08-22 16:36:34,285 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:36:34 3.1.0-dev.5 [Pipeline] } 16:36:34 $ docker exec --env ******** --env ******** a81ac564c1b2fbfc176c2d7f70ceeeb56aba9b53eaf79bc29242293172bcd5d4 ssh-agent -k 16:36:34 unset SSH_AUTH_SOCK; 16:36:34 unset SSH_AGENT_PID; 16:36:34 echo Agent pid 39 killed; 16:36:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:36:34 + git semver [Pipeline] } 16:36:35 $ docker stop --time=1 a81ac564c1b2fbfc176c2d7f70ceeeb56aba9b53eaf79bc29242293172bcd5d4 16:36:37 $ docker rm -f --volumes a81ac564c1b2fbfc176c2d7f70ceeeb56aba9b53eaf79bc29242293172bcd5d4 [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 16:36:37 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 16:36:37 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 16:36:37 total 16 16:36:37 drwxr-xr-x 3 root root 4096 Aug 22 16:23 . 16:36:37 drwxrwxr-x 11 jenkins jenkins 4096 Aug 22 16:36 .. 16:36:37 drwxr-xr-x 2 root root 4096 Aug 22 16:23 cost 16:36:37 -rw-r--r-- 1 root root 91 Aug 22 16:23 cost.csv 16:36:37 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 16:36:37 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 16:36:37 total 16 16:36:37 drwxr-xr-x 3 jenkins jenkins 4096 Aug 22 16:23 . 16:36:37 drwxrwxr-x 11 jenkins jenkins 4096 Aug 22 16:36 .. 16:36:37 drwxr-xr-x 2 jenkins jenkins 4096 Aug 22 16:23 cost 16:36:37 -rw-r--r-- 1 jenkins jenkins 91 Aug 22 16:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:36:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:36:38 ---> package-listing.sh 16:36:38 ++ facter osfamily 16:36:38 ++ tr '[:upper:]' '[:lower:]' 16:36:39 + OS_FAMILY=debian 16:36:39 + workspace=/w/workspace/foundry_device-onvif-camera_main 16:36:39 + START_PACKAGES=/tmp/packages_start.txt 16:36:39 + END_PACKAGES=/tmp/packages_end.txt 16:36:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:36:39 + PACKAGES=/tmp/packages_start.txt 16:36:39 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 16:36:39 + PACKAGES=/tmp/packages_end.txt 16:36:39 + case "${OS_FAMILY}" in 16:36:39 + dpkg -l 16:36:39 + grep '^ii' 16:36:39 + '[' -f /tmp/packages_start.txt ']' 16:36:39 + '[' -f /tmp/packages_end.txt ']' 16:36:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:36:39 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 16:36:39 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 16:36:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 16:36:39 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 16:36:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:36:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:36:40 prd-ubuntu20.04-docker-8c-8g-4264 does not seem to be running inside a container 16:36:40 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:36:40 $ docker top 521e8b12656da6c3d53c55927179e20bb7af6d4543b300afa56c41b5cc12cfd3 -eo pid,comm [Pipeline] { [Pipeline] sh 16:36:40 + touch /tmp/pre-build-complete [Pipeline] sh 16:36:41 + mkdir -p /var/log/sysstat [Pipeline] sh 16:36:41 + ls /var/log/sa-host 16:36:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:36:41 provisioning config files... 16:36:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6104987302334757722tmp [Pipeline] { [Pipeline] echo 16:36:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:36:41 ---> create-netrc.sh [Pipeline] } 16:36:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:36:42 ---> python-tools-install.sh [Pipeline] echo 16:36:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:36:42 ---> sudo-logs.sh 16:36:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:36:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:36:42 ---> job-cost.sh 16:36:42 lf-activate-venv: SKIPPING 16:36:42 DEBUG: total: 0.2199999988079071 16:36:42 INFO: Retrieving Stack Cost... 16:36:43 INFO: Retrieving Pricing Info for: v3-standard-8 16:36:43 INFO: Archiving Costs [Pipeline] echo 16:36:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:36:43 ---> logs-deploy.sh 16:36:43 lf-activate-venv: SKIPPING 16:36:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/160 16:36:43 INFO: archiving workspace using pattern(s): 16:36:44 Archives upload complete. 16:36:44 INFO: archiving logs to Nexus