Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 276436e60f25d91e45baf5819fa2ea594f4bdb74 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-ssh17942749911694022062.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh4950543662466882903.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 f3350a1713306dce7682ed7e37d5774890d03277 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-ssh634493737212573506.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh10080248913513547050.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-ssh5728915873387545559.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.21 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-9798’ Running on prd-ubuntu20.04-docker-8c-8g-9802 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 276436e60f25d91e45baf5819fa2ea594f4bdb74 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Commit message: "Merge pull request #456 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.37" > git config core.sparsecheckout # timeout=10 > git checkout -f 276436e60f25d91e45baf5819fa2ea594f4bdb74 # timeout=10 > git rev-list --no-walk 8926137e1ee1dca90be7e6fe7248a1fca1e6078a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:49:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:49:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:49:47 ========================================================= 03:49:47 EdgeX Global Pipelines Version Info 03:49:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:49:48 ------------------- 03:49:48 stable info: 03:49:48 ------------------- 03:49:48 Commited By: Cherry Wang cherry@iotechsys.com 03:49:48 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 03:49:48 Message: update stable to v1.0.263 03:49:48 ------------------- 03:49:48 experimental info: 03:49:48 ------------------- 03:49:48 Commited By: Cherry Wang cherry@iotechsys.com 03:49:48 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 03:49:48 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:49:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 276436e60f25d91e45baf5819fa2ea594f4bdb74 [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 276436e [Pipeline] echo 03:49:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:49:49 provisioning config files... 03:49:49 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10647597178394220448tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:49:50 ---> ****-login.sh 03:49:50 nexus3.edgexfoundry.org:10001 03:49:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:49:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:49:50 Configure a credential helper to remove this warning. See 03:49:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:49:50 03:49:50 Login Succeeded 03:49:50 nexus3.edgexfoundry.org:10002 03:49:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:49:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:49:50 Configure a credential helper to remove this warning. See 03:49:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:49:50 03:49:50 Login Succeeded 03:49:50 nexus3.edgexfoundry.org:10003 03:49:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:49:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:49:50 Configure a credential helper to remove this warning. See 03:49:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:49:50 03:49:50 Login Succeeded 03:49:50 nexus3.edgexfoundry.org:10004 03:49:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:49:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:49:50 Configure a credential helper to remove this warning. See 03:49:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:49:50 03:49:50 Login Succeeded 03:49:50 ****.io 03:49:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:49:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:49:50 Configure a credential helper to remove this warning. See 03:49:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:49:50 03:49:50 Login Succeeded 03:49:50 ---> ****-login.sh ends [Pipeline] } 03:49:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:49:51 + git rev-list -1 --merges 276436e60f25d91e45baf5819fa2ea594f4bdb74~1..276436e60f25d91e45baf5819fa2ea594f4bdb74 [Pipeline] echo 03:49:51 -----------> git rev-list -1 --merges 276436e60f25d91e45baf5819fa2ea594f4bdb74~1..276436e60f25d91e45baf5819fa2ea594f4bdb74 276436e60f25d91e45baf5819fa2ea594f4bdb74 03:49:51 276436e60f25d91e45baf5819fa2ea594f4bdb74 [false] [Pipeline] sh 03:49:51 + git log --format=format:%s -1 276436e60f25d91e45baf5819fa2ea594f4bdb74 [Pipeline] echo 03:49:51 ========================================================= 03:49:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:49:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:49:52 + git log --format=format:%s -1 276436e60f25d91e45baf5819fa2ea594f4bdb74 [Pipeline] echo 03:49:52 [semverPrep] GIT_COMMIT: 276436e60f25d91e45baf5819fa2ea594f4bdb74, Commit Message: Merge pull request #456 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.37 [Pipeline] echo 03:49:52 [semverPrep] This is not a build commit. [Pipeline] sh 03:49:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:49:52 + grep -v github /etc/ssh/ssh_known_hosts 03:49:52 + [ -e /tmp/ssh_known_hosts ] 03:49:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:49:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:49:52 + sudo tee -a /etc/ssh/ssh_known_hosts 03:49:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:49:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:49:52 03:49:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:49:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:49:53 0.1.4: Pulling from edgex-devops/py-git-semver 03:49:53 b85a868b505f: Pulling fs layer 03:49:53 e2be974225ed: Pulling fs layer 03:49:53 339a4e72a1f5: Pulling fs layer 03:49:53 988bab9f4d93: Pulling fs layer 03:49:53 1469e6f7b9e6: Pulling fs layer 03:49:53 eaf3925da568: Pulling fs layer 03:49:53 bab4dde63d76: Pulling fs layer 03:49:53 bde34c3a00c8: Pulling fs layer 03:49:53 b352a97aabf1: Pulling fs layer 03:49:53 4872d77fe225: Pulling fs layer 03:49:53 5851b861e8e6: Pulling fs layer 03:49:53 1469e6f7b9e6: Waiting 03:49:53 eaf3925da568: Waiting 03:49:53 4872d77fe225: Waiting 03:49:53 bab4dde63d76: Waiting 03:49:53 5851b861e8e6: Waiting 03:49:53 bde34c3a00c8: Waiting 03:49:53 b352a97aabf1: Waiting 03:49:53 e2be974225ed: Verifying Checksum 03:49:53 e2be974225ed: Download complete 03:49:53 988bab9f4d93: Verifying Checksum 03:49:53 1469e6f7b9e6: Verifying Checksum 03:49:53 1469e6f7b9e6: Download complete 03:49:53 eaf3925da568: Download complete 03:49:53 339a4e72a1f5: Verifying Checksum 03:49:53 339a4e72a1f5: Download complete 03:49:53 bde34c3a00c8: Download complete 03:49:53 b352a97aabf1: Download complete 03:49:53 4872d77fe225: Verifying Checksum 03:49:53 4872d77fe225: Download complete 03:49:53 5851b861e8e6: Download complete 03:49:53 b85a868b505f: Verifying Checksum 03:49:53 b85a868b505f: Download complete 03:49:54 bab4dde63d76: Verifying Checksum 03:49:54 bab4dde63d76: Download complete 03:49:54 b85a868b505f: Pull complete 03:49:54 e2be974225ed: Pull complete 03:49:55 339a4e72a1f5: Pull complete 03:49:55 988bab9f4d93: Pull complete 03:49:55 1469e6f7b9e6: Pull complete 03:49:55 eaf3925da568: Pull complete 03:49:57 bab4dde63d76: Pull complete 03:49:57 bde34c3a00c8: Pull complete 03:49:57 b352a97aabf1: Pull complete 03:49:57 4872d77fe225: Pull complete 03:49:57 5851b861e8e6: Pull complete 03:49:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:49:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:49:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:49:58 prd-ubuntu20.04-docker-8c-8g-9802 does not seem to be running inside a container 03:49:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:50:00 $ docker top 430e14c8ff050ec4ae75ea07941ed3b3690fa457f5cf1a97ce7d24faf3c16004 -eo pid,comm 03:50: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). 03:50:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:50:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:50:00 [ssh-agent] Looking for ssh-agent implementation... 03:50:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:50:00 $ docker exec 430e14c8ff050ec4ae75ea07941ed3b3690fa457f5cf1a97ce7d24faf3c16004 ssh-agent 03:50:00 SSH_AUTH_SOCK=/tmp/ssh-6naGjQZSk4Zj/agent.31 03:50:00 SSH_AGENT_PID=37 03:50:00 Running ssh-add (command line suppressed) 03:50:00 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9974799059558355205.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9974799059558355205.key) 03:50:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:50:00 + git tag --points-at HEAD [Pipeline] } 03:50:00 $ docker exec --env ******** --env ******** 430e14c8ff050ec4ae75ea07941ed3b3690fa457f5cf1a97ce7d24faf3c16004 ssh-agent -k 03:50:00 unset SSH_AUTH_SOCK; 03:50:00 unset SSH_AGENT_PID; 03:50:00 echo Agent pid 37 killed; 03:50:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:50:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:50:00 [ssh-agent] Looking for ssh-agent implementation... 03:50:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:50:01 $ docker exec 430e14c8ff050ec4ae75ea07941ed3b3690fa457f5cf1a97ce7d24faf3c16004 ssh-agent 03:50:01 SSH_AUTH_SOCK=/tmp/ssh-iINWe0DWBxWm/agent.70 03:50:01 SSH_AGENT_PID=76 03:50:01 Running ssh-add (command line suppressed) 03:50:01 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15167741089061213125.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15167741089061213125.key) 03:50:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:50:01 + git semver init 03:50:01 2024-09-09 03:50:01,774 [run_init] DEBUG init version:0.0.0 force:False 03:50:01 2024-09-09 03:50:01,775 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 03:50:01 2024-09-09 03:50:01,775 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 03:50:01 2024-09-09 03:50:01,775 [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) 03:50:03 2024-09-09 03:50:02,921 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 03:50:03 2024-09-09 03:50:02,922 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 03:50:03 2024-09-09 03:50:02,922 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 03:50:03 2024-09-09 03:50:02,922 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 03:50:03 3.2.0-dev.19 [Pipeline] } 03:50:03 $ docker exec --env ******** --env ******** 430e14c8ff050ec4ae75ea07941ed3b3690fa457f5cf1a97ce7d24faf3c16004 ssh-agent -k 03:50:03 unset SSH_AUTH_SOCK; 03:50:03 unset SSH_AGENT_PID; 03:50:03 echo Agent pid 76 killed; 03:50:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:50:03 + git semver [Pipeline] } 03:50:03 $ docker stop --time=1 430e14c8ff050ec4ae75ea07941ed3b3690fa457f5cf1a97ce7d24faf3c16004 03:50:05 $ docker rm -f --volumes 430e14c8ff050ec4ae75ea07941ed3b3690fa457f5cf1a97ce7d24faf3c16004 [Pipeline] // withDockerContainer [Pipeline] sh 03:50:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:50:06 Stashed 1 file(s) [Pipeline] echo 03:50:06 [edgeXSemver]: initialized semver on version 3.2.0-dev.19 [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 03:50:06 provisioning config files... 03:50:06 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7770346417334412723tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:50:06 ---> ****-login.sh 03:50:06 nexus3.edgexfoundry.org:10001 03:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:50:06 Configure a credential helper to remove this warning. See 03:50:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:50:06 03:50:06 Login Succeeded 03:50:06 nexus3.edgexfoundry.org:10002 03:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:50:06 Configure a credential helper to remove this warning. See 03:50:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:50:06 03:50:06 Login Succeeded 03:50:06 nexus3.edgexfoundry.org:10003 03:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:50:06 Configure a credential helper to remove this warning. See 03:50:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:50:06 03:50:06 Login Succeeded 03:50:06 nexus3.edgexfoundry.org:10004 03:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:50:06 Configure a credential helper to remove this warning. See 03:50:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:50:06 03:50:06 Login Succeeded 03:50:06 ****.io 03:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:50:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:50:07 Configure a credential helper to remove this warning. See 03:50:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:50:07 03:50:07 Login Succeeded 03:50:07 ---> ****-login.sh ends [Pipeline] } 03:50:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:50:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:50:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:50:07 ========================================================= 03:50:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 03:50:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:50:07 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 03:50:07 Sending build context to Docker daemon 36.63MB 03:50:07 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 03:50:07 Step 2/13 : FROM ${BASE} AS builder 03:50:07 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 03:50:07 619be1103602: Pulling fs layer 03:50:07 7862e08f4a3e: Pulling fs layer 03:50:07 5df492c9dc93: Pulling fs layer 03:50:07 7629e6793208: Pulling fs layer 03:50:07 4f4fb700ef54: Pulling fs layer 03:50:07 fb5054dd5b73: Pulling fs layer 03:50:07 eeca6798cff9: Pulling fs layer 03:50:07 aa269ceb94a6: Pulling fs layer 03:50:07 ada007ff1a6a: Pulling fs layer 03:50:07 7629e6793208: Waiting 03:50:07 4f4fb700ef54: Waiting 03:50:07 fb5054dd5b73: Waiting 03:50:07 ada007ff1a6a: Waiting 03:50:07 eeca6798cff9: Waiting 03:50:07 aa269ceb94a6: Waiting 03:50:07 7862e08f4a3e: Verifying Checksum 03:50:07 7862e08f4a3e: Download complete 03:50:07 7629e6793208: Verifying Checksum 03:50:07 7629e6793208: Download complete 03:50:07 4f4fb700ef54: Verifying Checksum 03:50:07 4f4fb700ef54: Download complete 03:50:07 fb5054dd5b73: Verifying Checksum 03:50:07 fb5054dd5b73: Download complete 03:50:07 619be1103602: Verifying Checksum 03:50:07 619be1103602: Download complete 03:50:07 eeca6798cff9: Verifying Checksum 03:50:07 eeca6798cff9: Download complete 03:50:08 619be1103602: Pull complete 03:50:08 ada007ff1a6a: Verifying Checksum 03:50:08 ada007ff1a6a: Download complete 03:50:08 7862e08f4a3e: Pull complete 03:50:08 5df492c9dc93: Verifying Checksum 03:50:08 5df492c9dc93: Download complete 03:50:08 aa269ceb94a6: Verifying Checksum 03:50:08 aa269ceb94a6: Download complete 03:50:11 5df492c9dc93: Pull complete 03:50:11 7629e6793208: Pull complete 03:50:11 4f4fb700ef54: Pull complete 03:50:11 fb5054dd5b73: Pull complete 03:50:11 eeca6798cff9: Pull complete 03:50:14 aa269ceb94a6: Pull complete 03:50:14 ada007ff1a6a: Pull complete 03:50:14 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 03:50:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 03:50:14 ---> f489d0715acc 03:50:14 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:50:16 ---> Running in da213fe94f8f 03:50:16 Removing intermediate container da213fe94f8f 03:50:16 ---> 2592e1f45829 03:50:16 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:50:16 ---> Running in a2a1961b8c34 03:50:16 Removing intermediate container a2a1961b8c34 03:50:16 ---> 7c4288cbf91d 03:50:16 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 03:50:16 ---> Running in f7c65189ac28 03:50:17 Removing intermediate container f7c65189ac28 03:50:17 ---> 7ffe5cec50a4 03:50:17 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:50:17 ---> Running in 2f4207d299c4 03:50:17 Removing intermediate container 2f4207d299c4 03:50:17 ---> 450d9f55cbf1 03:50:17 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:50:17 ---> Running in 563dd38a101a 03:50:17 Removing intermediate container 563dd38a101a 03:50:17 ---> 352dae5ee229 03:50:17 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:50:17 ---> Running in 30f80579ba8c 03:50:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:50:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:50:17 OK: 264 MiB in 52 packages 03:50:18 Removing intermediate container 30f80579ba8c 03:50:18 ---> c5863030cff8 03:50:18 Step 9/13 : WORKDIR /device-onvif-camera 03:50:18 ---> Running in ab760b84ff9d 03:50:18 Removing intermediate container ab760b84ff9d 03:50:18 ---> 524227119588 03:50:18 Step 10/13 : COPY go.mod vendor* ./ 03:50:18 ---> 558ae1147d46 03:50:18 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:50:18 ---> Running in a90f0f5c8580 03:50:21 Still waiting to schedule task 03:50:21 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9800’ 03:51:05 Removing intermediate container a90f0f5c8580 03:51:05 ---> a61efe240b73 03:51:05 Step 12/13 : COPY . . 03:51:05 ---> 2928fa7f97e2 03:51:05 Step 13/13 : RUN ${MAKE} 03:51:05 ---> Running in 1d1556d01378 03:51:05 noop 03:51:05 Removing intermediate container 1d1556d01378 03:51:05 ---> be204004395d 03:51:05 Successfully built be204004395d 03:51:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:51:05 + docker inspect -f . ci-base-image-x86_64 03:51:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:51:05 prd-ubuntu20.04-docker-8c-8g-9802 does not seem to be running inside a container 03:51:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:51:06 $ docker top 43fd2f420b6888d391fdbba675e6eb8e3765f19b374e9e51c3a770d3d4037482 -eo pid,comm [Pipeline] { [Pipeline] sh 03:51:06 + go version 03:51:06 go version go1.21.9 linux/amd64 [Pipeline] } 03:51:06 $ docker stop --time=1 43fd2f420b6888d391fdbba675e6eb8e3765f19b374e9e51c3a770d3d4037482 03:51:07 $ docker rm -f --volumes 43fd2f420b6888d391fdbba675e6eb8e3765f19b374e9e51c3a770d3d4037482 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:51:35 + docker inspect -f . ci-base-image-x86_64 03:51:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:51:35 prd-ubuntu20.04-docker-8c-8g-9802 does not seem to be running inside a container 03:51:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:51:36 $ docker top 76e8725bd8344fffdb05c997328cabc25ba5b57ec9bad74cf2320d87f061f865 -eo pid,comm [Pipeline] { [Pipeline] sh 03:51:36 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 03:51:37 + make test 03:51:37 go test ./... -coverprofile=coverage.out ./... 03:51:38 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:51:56 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:51:56 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:51:57 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.030s coverage: 31.4% of statements 03:51:57 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.210s coverage: 86.5% of statements 03:52:09 go vet ./... 03:52:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:52:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:52:13 ./bin/test-attribution-txt.sh 03:52:13 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 03:52:13 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 03:52:14 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 03:52:14 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 03:52:14 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 03:52:14 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 03:52:14 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 03:52:14 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 03:52:14 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 03:52:14 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 03:52:14 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 03:52:14 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 03:52:14 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 03:52:14 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 03:52:14 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 03:52:14 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 03:52:14 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 03:52:14 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 03:52:14 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 03:52:14 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 03:52:14 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 03:52:14 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 03:52:14 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 03:52:14 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 03:52:14 An attribution for golang.org/x/term is missing from Attribution.txt, please add 03:52:14 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 03:52:14 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 03:52:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:52:14 $ docker stop --time=1 76e8725bd8344fffdb05c997328cabc25ba5b57ec9bad74cf2320d87f061f865 03:52:16 $ docker rm -f --volumes 76e8725bd8344fffdb05c997328cabc25ba5b57ec9bad74cf2320d87f061f865 [Pipeline] // withDockerContainer [Pipeline] sh 03:52:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:52:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:52:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:52:17 + ls -al . 03:52:17 total 312 03:52:17 drwxrwxr-x 9 jenkins jenkins 4096 Sep 9 03:51 . 03:52:17 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 03:49 .. 03:52:17 drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 03:51 .git 03:52:17 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 03:49 .github 03:52:17 -rw-rw-r-- 1 jenkins jenkins 493 Sep 9 03:49 .gitignore 03:52:17 -rw-rw-r-- 1 jenkins jenkins 42 Sep 9 03:49 .golangci.yml 03:52:17 drwxr-xr-x 3 jenkins jenkins 4096 Sep 9 03:50 .semver 03:52:17 -rw-rw-r-- 1 jenkins jenkins 11155 Sep 9 03:49 Attribution.txt 03:52:17 -rw-rw-r-- 1 jenkins jenkins 17665 Sep 9 03:49 CHANGELOG.md 03:52:17 -rw-rw-r-- 1 jenkins jenkins 1683 Sep 9 03:49 Dockerfile 03:52:17 -rw-rw-r-- 1 jenkins jenkins 677 Sep 9 03:49 GOVERNANCE.md 03:52:17 -rw-rw-r-- 1 jenkins jenkins 739 Sep 9 03:49 Jenkinsfile 03:52:17 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 9 03:49 LICENSE 03:52:17 -rw-rw-r-- 1 jenkins jenkins 2883 Sep 9 03:49 Makefile 03:52:17 -rw-rw-r-- 1 jenkins jenkins 625 Sep 9 03:49 OWNERS.md 03:52:17 -rw-rw-r-- 1 jenkins jenkins 2620 Sep 9 03:49 README.md 03:52:17 -rw-rw-r-- 1 jenkins jenkins 12 Sep 9 03:50 VERSION 03:52:17 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 03:49 bin 03:52:17 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 03:49 cmd 03:52:17 -rw-r--r-- 1 jenkins jenkins 78805 Sep 9 03:51 coverage.out 03:52:17 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 03:49 doc 03:52:17 -rw-rw-r-- 1 jenkins jenkins 7332 Sep 9 03:49 go.mod 03:52:17 -rw-rw-r-- 1 jenkins jenkins 102415 Sep 9 03:49 go.sum 03:52:17 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 03:49 internal 03:52:17 -rw-rw-r-- 1 jenkins jenkins 236 Sep 9 03:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:17 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=276436e60f25d91e45baf5819fa2ea594f4bdb74 --label arch=amd64 --label version=3.2.0-dev.19 . 03:52:17 Sending build context to Docker daemon 36.71MB 03:52:17 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 03:52:17 Step 2/27 : FROM ${BASE} AS builder 03:52:17 ---> be204004395d 03:52:17 Step 3/27 : ARG ADD_BUILD_TAGS="" 03:52:18 ---> Running in a28f84ab0a9b 03:52:18 Removing intermediate container a28f84ab0a9b 03:52:18 ---> 7976dee72217 03:52:18 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:52:18 ---> Running in c9d5091834fb 03:52:18 Removing intermediate container c9d5091834fb 03:52:18 ---> 9d4cb6bf5d41 03:52:18 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 03:52:18 ---> Running in ebf1469f1418 03:52:18 Removing intermediate container ebf1469f1418 03:52:18 ---> b2c4afec51f6 03:52:18 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 03:52:18 ---> Running in 7d72ba24fa85 03:52:18 Removing intermediate container 7d72ba24fa85 03:52:18 ---> e02eadc52482 03:52:18 Step 7/27 : LABEL Name=edgex-device-onvif-camera 03:52:18 ---> Running in b056b3fcc655 03:52:18 Removing intermediate container b056b3fcc655 03:52:18 ---> cbcd3369937b 03:52:18 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:52:18 ---> Running in a65aa9193289 03:52:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:52:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:52:19 OK: 264 MiB in 52 packages 03:52:19 Removing intermediate container a65aa9193289 03:52:19 ---> ad6f911aca0a 03:52:19 Step 9/27 : WORKDIR /device-onvif-camera 03:52:19 ---> Running in 333aa3b73930 03:52:19 Removing intermediate container 333aa3b73930 03:52:19 ---> 82aeeac783ed 03:52:19 Step 10/27 : COPY go.mod vendor* ./ 03:52:19 ---> a49bb60f9dfe 03:52:19 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:52:19 ---> Running in fc09996c61f7 03:52:20 Removing intermediate container fc09996c61f7 03:52:20 ---> 82e219d646ca 03:52:20 Step 12/27 : COPY . . 03:52:21 ---> ecb270ad608d 03:52:21 Step 13/27 : RUN ${MAKE} 03:52:21 ---> Running in 0162356ae2e7 03:52:21 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=3.2.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.37" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 03:52:48 Removing intermediate container 0162356ae2e7 03:52:48 ---> f15de7ab85c9 03:52:48 Step 14/27 : FROM alpine:3.18 03:52:48 3.18: Pulling from library/alpine 03:52:48 1cc3d825d8b2: Pulling fs layer 03:52:48 1cc3d825d8b2: Download complete 03:52:48 1cc3d825d8b2: Pull complete 03:52:48 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 03:52:48 Status: Downloaded newer image for alpine:3.18 03:52:48 ---> 2c64cf60f6f0 03:52:48 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 03:52:48 ---> Running in 3c5083cd335b 03:52:48 Removing intermediate container 3c5083cd335b 03:52:48 ---> bdb5bcd44609 03:52:48 Step 16/27 : RUN apk add --update --no-cache dumb-init 03:52:48 ---> Running in ac017f0a9c93 03:52:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:52:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:52:49 (1/1) Installing dumb-init (1.2.5-r2) 03:52:49 Executing busybox-1.36.1-r7.trigger 03:52:49 OK: 7 MiB in 16 packages 03:52:49 Removing intermediate container ac017f0a9c93 03:52:49 ---> 158f1121c508 03:52:49 Step 17/27 : RUN apk --no-cache upgrade 03:52:49 ---> Running in 635d8496a730 03:52:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:52:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:52:50 OK: 7 MiB in 16 packages 03:52:50 Removing intermediate container 635d8496a730 03:52:50 ---> e2692ea9a446 03:52:50 Step 18/27 : WORKDIR / 03:52:50 ---> Running in b41cb2dd2066 03:52:50 Removing intermediate container b41cb2dd2066 03:52:50 ---> dbb35b6d2af4 03:52:50 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 03:52:51 ---> 10bca4211bf6 03:52:51 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 03:52:51 ---> 2cabb9de6757 03:52:51 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:52:51 ---> e241c82c5f7d 03:52:51 Step 22/27 : EXPOSE 59984 03:52:51 ---> Running in 86a496915ff4 03:52:51 Removing intermediate container 86a496915ff4 03:52:51 ---> 106a5a138a01 03:52:51 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 03:52:51 ---> Running in 84020b6d5db1 03:52:51 Removing intermediate container 84020b6d5db1 03:52:51 ---> 6eb4f391a80f 03:52:51 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:52:51 ---> Running in 373922155cce 03:52:51 Removing intermediate container 373922155cce 03:52:51 ---> 7c4ec8859770 03:52:51 Step 25/27 : LABEL arch=amd64 03:52:51 ---> Running in f08c29415a75 03:52:51 Removing intermediate container f08c29415a75 03:52:51 ---> 75872c97fa0b 03:52:51 Step 26/27 : LABEL git_sha=276436e60f25d91e45baf5819fa2ea594f4bdb74 03:52:51 ---> Running in 056f8d0dbc2d 03:52:52 Removing intermediate container 056f8d0dbc2d 03:52:52 ---> c857ea0d99c0 03:52:52 Step 27/27 : LABEL version=3.2.0-dev.19 03:52:52 ---> Running in 6d7266b0be9f 03:52:52 Removing intermediate container 6d7266b0be9f 03:52:52 ---> 57582aa37b42 03:52:52 [Warning] One or more build-args [ARCH] were not consumed 03:52:52 Successfully built 57582aa37b42 03:52:52 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 03:52:52 provisioning config files... 03:52:52 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3828883399387917837tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:52:52 ---> ****-login.sh 03:52:52 nexus3.edgexfoundry.org:10001 03:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:52:52 Configure a credential helper to remove this warning. See 03:52:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:52:52 03:52:52 Login Succeeded 03:52:52 nexus3.edgexfoundry.org:10002 03:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:52:52 Configure a credential helper to remove this warning. See 03:52:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:52:52 03:52:52 Login Succeeded 03:52:52 nexus3.edgexfoundry.org:10003 03:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:52:52 Configure a credential helper to remove this warning. See 03:52:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:52:52 03:52:52 Login Succeeded 03:52:52 nexus3.edgexfoundry.org:10004 03:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:52:52 Configure a credential helper to remove this warning. See 03:52:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:52:52 03:52:52 Login Succeeded 03:52:52 ****.io 03:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:52:53 Configure a credential helper to remove this warning. See 03:52:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:52:53 03:52:53 Login Succeeded 03:52:53 ---> ****-login.sh ends [Pipeline] } 03:52:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:52:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:52:53 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 03:52:53 276436e60f25d91e45baf5819fa2ea594f4bdb74 03:52:53 latest 03:52:53 3.2.0-dev.19 03:52:53 276436e60f25d91e45baf5819fa2ea594f4bdb74-3.2.0-dev.19 03:52:53 main 03:52:53 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:53 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:276436e60f25d91e45baf5819fa2ea594f4bdb74 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:53 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:276436e60f25d91e45baf5819fa2ea594f4bdb74 03:52:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 03:52:53 220ad87f279a: Preparing 03:52:53 68eb927ab567: Preparing 03:52:53 b21d81c07650: Preparing 03:52:53 3b99f73ec372: Preparing 03:52:53 c9ac6fde5b1b: Preparing 03:52:53 d62a02444d39: Preparing 03:52:53 d62a02444d39: Waiting 03:52:53 3b99f73ec372: Pushed 03:52:53 c9ac6fde5b1b: Pushed 03:52:53 220ad87f279a: Pushed 03:52:53 68eb927ab567: Pushed 03:52:53 d62a02444d39: Layer already exists 03:52:57 b21d81c07650: Pushed 03:52:57 276436e60f25d91e45baf5819fa2ea594f4bdb74: digest: sha256:c292c2ccd48adb7c9cd20578d5fdb6a60cda8855bdc5d991953d824bfe3fe09d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:57 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:57 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 03:52:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 03:52:57 220ad87f279a: Preparing 03:52:57 68eb927ab567: Preparing 03:52:57 b21d81c07650: Preparing 03:52:57 3b99f73ec372: Preparing 03:52:57 c9ac6fde5b1b: Preparing 03:52:57 d62a02444d39: Preparing 03:52:57 d62a02444d39: Waiting 03:52:57 c9ac6fde5b1b: Layer already exists 03:52:57 b21d81c07650: Layer already exists 03:52:57 68eb927ab567: Layer already exists 03:52:57 3b99f73ec372: Layer already exists 03:52:57 220ad87f279a: Layer already exists 03:52:57 d62a02444d39: Layer already exists 03:52:57 latest: digest: sha256:c292c2ccd48adb7c9cd20578d5fdb6a60cda8855bdc5d991953d824bfe3fe09d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:58 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:58 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.19 03:52:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 03:52:58 220ad87f279a: Preparing 03:52:58 68eb927ab567: Preparing 03:52:58 b21d81c07650: Preparing 03:52:58 3b99f73ec372: Preparing 03:52:58 c9ac6fde5b1b: Preparing 03:52:58 d62a02444d39: Preparing 03:52:58 d62a02444d39: Waiting 03:52:58 68eb927ab567: Layer already exists 03:52:58 3b99f73ec372: Layer already exists 03:52:58 b21d81c07650: Layer already exists 03:52:58 220ad87f279a: Layer already exists 03:52:58 c9ac6fde5b1b: Layer already exists 03:52:58 d62a02444d39: Layer already exists 03:52:58 3.2.0-dev.19: digest: sha256:c292c2ccd48adb7c9cd20578d5fdb6a60cda8855bdc5d991953d824bfe3fe09d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:58 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:276436e60f25d91e45baf5819fa2ea594f4bdb74-3.2.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:59 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:276436e60f25d91e45baf5819fa2ea594f4bdb74-3.2.0-dev.19 03:52:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 03:52:59 220ad87f279a: Preparing 03:52:59 68eb927ab567: Preparing 03:52:59 b21d81c07650: Preparing 03:52:59 3b99f73ec372: Preparing 03:52:59 c9ac6fde5b1b: Preparing 03:52:59 d62a02444d39: Preparing 03:52:59 d62a02444d39: Waiting 03:52:59 68eb927ab567: Layer already exists 03:52:59 220ad87f279a: Layer already exists 03:52:59 3b99f73ec372: Layer already exists 03:52:59 b21d81c07650: Layer already exists 03:52:59 c9ac6fde5b1b: Layer already exists 03:52:59 d62a02444d39: Layer already exists 03:52:59 276436e60f25d91e45baf5819fa2ea594f4bdb74-3.2.0-dev.19: digest: sha256:c292c2ccd48adb7c9cd20578d5fdb6a60cda8855bdc5d991953d824bfe3fe09d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:59 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:59 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 03:52:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 03:52:59 220ad87f279a: Preparing 03:52:59 68eb927ab567: Preparing 03:52:59 b21d81c07650: Preparing 03:52:59 3b99f73ec372: Preparing 03:52:59 c9ac6fde5b1b: Preparing 03:52:59 d62a02444d39: Preparing 03:52:59 b21d81c07650: Layer already exists 03:52:59 c9ac6fde5b1b: Layer already exists 03:52:59 3b99f73ec372: Layer already exists 03:52:59 220ad87f279a: Layer already exists 03:52:59 68eb927ab567: Layer already exists 03:52:59 d62a02444d39: Layer already exists 03:52:59 main: digest: sha256:c292c2ccd48adb7c9cd20578d5fdb6a60cda8855bdc5d991953d824bfe3fe09d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:52:59 ===================================================== [Pipeline] echo 03:52:59 taggedImages: 03:52:59 - nexus3.edgexfoundry.org:10004/device-onvif-camera:276436e60f25d91e45baf5819fa2ea594f4bdb74 03:52:59 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 03:52:59 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.19 03:52:59 - nexus3.edgexfoundry.org:10004/device-onvif-camera:276436e60f25d91e45baf5819fa2ea594f4bdb74-3.2.0-dev.19 03:52:59 - 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:53:00 03:53:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:53:00 latest: Pulling from edgex-lftools-log-publisher 03:53:00 5eb5b503b376: Pulling fs layer 03:53:00 5c69ac0246d0: Pulling fs layer 03:53:00 ec43610c2a17: Pulling fs layer 03:53:00 3a2ae6a8a46f: Pulling fs layer 03:53:00 33b1e0a273af: Pulling fs layer 03:53:00 5d3b04190fa2: Pulling fs layer 03:53:00 2f39f015ded8: Pulling fs layer 03:53:00 3a2ae6a8a46f: Waiting 03:53:00 33b1e0a273af: Waiting 03:53:00 2f39f015ded8: Waiting 03:53:00 5d3b04190fa2: Waiting 03:53:00 5c69ac0246d0: Download complete 03:53:00 3a2ae6a8a46f: Verifying Checksum 03:53:00 3a2ae6a8a46f: Download complete 03:53:00 33b1e0a273af: Verifying Checksum 03:53:00 33b1e0a273af: Download complete 03:53:00 ec43610c2a17: Verifying Checksum 03:53:00 ec43610c2a17: Download complete 03:53:00 5d3b04190fa2: Download complete 03:53:00 5eb5b503b376: Verifying Checksum 03:53:00 5eb5b503b376: Download complete 03:53:01 2f39f015ded8: Download complete 03:53:01 5eb5b503b376: Pull complete 03:53:02 5c69ac0246d0: Pull complete 03:53:02 ec43610c2a17: Pull complete 03:53:02 3a2ae6a8a46f: Pull complete 03:53:02 33b1e0a273af: Pull complete 03:53:02 5d3b04190fa2: Pull complete 03:53:06 2f39f015ded8: Pull complete 03:53:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:53:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:53:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:53:06 prd-ubuntu20.04-docker-8c-8g-9802 does not seem to be running inside a container 03:53:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:53:07 $ docker top f4d3b1f9940dfb0df980ea7c3334466e0c55aedbc662e5d9f65349a1f60709ba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:53:07 ---> job-cost.sh 03:53:07 lf-activate-venv: SKIPPING 03:53:07 INFO: No Stack... 03:53:08 INFO: Retrieving Pricing Info for: v3-standard-8 03:53:08 INFO: Archiving Costs [Pipeline] sh 03:53:08 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 03:53:08 + cut -d, -f6 [Pipeline] lock 03:53:08 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-205-stack-cost] 03:53:08 Resource [jenkins-edgexfoundry-device-onvif-camera-main-205-stack-cost] did not exist. Created. 03:53:08 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-205-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:53:09 + echo total: 0.2199999988079071 [Pipeline] stash 03:53:09 Stashed 1 file(s) [Pipeline] } 03:53:09 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-main-205-stack-cost] [Pipeline] // lock [Pipeline] } 03:53:09 $ docker stop --time=1 f4d3b1f9940dfb0df980ea7c3334466e0c55aedbc662e5d9f65349a1f60709ba 03:53:10 $ docker rm -f --volumes f4d3b1f9940dfb0df980ea7c3334466e0c55aedbc662e5d9f65349a1f60709ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:53:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9803 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 03:53:53 Running in /w/workspace/device-onvif-camera/205 [Pipeline] { [Pipeline] checkout 03:53:53 The recommended git tool is: git 03:54:02 using credential edgex-jenkins-ssh 03:54:02 Cloning the remote Git repository 03:54:02 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 03:54:02 > git init /w/workspace/device-onvif-camera/205 # timeout=10 03:54:02 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:54:02 > git --version # timeout=10 03:54:02 > git --version # 'git version 2.25.1' 03:54:02 using GIT_SSH to set credentials SSH Credentials for GitHub 03:54:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:54:06 Avoid second fetch 03:54:06 Checking out Revision 276436e60f25d91e45baf5819fa2ea594f4bdb74 (main) 03:54:05 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:54:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:54:06 > git config core.sparsecheckout # timeout=10 03:54:06 > git checkout -f 276436e60f25d91e45baf5819fa2ea594f4bdb74 # timeout=10 03:54:07 Commit message: "Merge pull request #456 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.37" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:54:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:54:12 % Total % Received % Xferd Average Speed Time Time Time Current 03:54:12 Dload Upload Total Spent Left Speed 03:54:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 96451 0 --:--:-- --:--:-- --:--:-- 97181 [Pipeline] sh 03:54:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:54:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:54:13 + sudo tee /etc/docker/daemon.new 03:54:13 { 03:54:13 "registry-mirrors": [ 03:54:13 "https://nexus3.edgexfoundry.org:10001" 03:54:13 ], 03:54:13 "bip": "10.250.0.254/24", 03:54:13 "hosts": [ 03:54:13 "tcp://0.0.0.0:5555", 03:54:13 "unix:///var/run/docker.sock" 03:54:13 ], 03:54:13 "mtu": 1458, 03:54:13 "selinux-enabled": true, 03:54:13 "seccomp-profile": "/etc/docker/seccomp.json" 03:54:13 } [Pipeline] sh 03:54:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:54:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:54:32 provisioning config files... 03:54:32 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/205@tmp/config5219052323987625743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:54:33 ---> ****-login.sh 03:54:33 nexus3.edgexfoundry.org:10001 03:54:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:54:33 Configure a credential helper to remove this warning. See 03:54:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:54:33 03:54:33 Login Succeeded 03:54:33 nexus3.edgexfoundry.org:10002 03:54:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:54:33 Configure a credential helper to remove this warning. See 03:54:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:54:33 03:54:33 Login Succeeded 03:54:34 nexus3.edgexfoundry.org:10003 03:54:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:54:34 Configure a credential helper to remove this warning. See 03:54:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:54:34 03:54:34 Login Succeeded 03:54:34 nexus3.edgexfoundry.org:10004 03:54:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:54:34 Configure a credential helper to remove this warning. See 03:54:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:54:34 03:54:34 Login Succeeded 03:54:34 ****.io 03:54:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:54:34 Configure a credential helper to remove this warning. See 03:54:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:54:34 03:54:34 Login Succeeded 03:54:34 ---> ****-login.sh ends [Pipeline] } 03:54:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:54:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:54:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:54:35 ========================================================= 03:54:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 03:54:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:35 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 03:54:36 Sending build context to Docker daemon 21.72MB 03:54:36 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 03:54:36 Step 2/13 : FROM ${BASE} AS builder 03:54:36 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:54:36 c6b39de5b339: Pulling fs layer 03:54:36 a69c41024577: Pulling fs layer 03:54:36 d6de4b400683: Pulling fs layer 03:54:36 35cb2a7552d0: Pulling fs layer 03:54:36 4f4fb700ef54: Pulling fs layer 03:54:36 464afbd9ba4c: Pulling fs layer 03:54:36 00f215d4a9da: Pulling fs layer 03:54:36 35cb2a7552d0: Waiting 03:54:36 d496ad576159: Pulling fs layer 03:54:36 4f4fb700ef54: Waiting 03:54:36 464afbd9ba4c: Waiting 03:54:36 00f215d4a9da: Waiting 03:54:36 d496ad576159: Waiting 03:54:36 a69c41024577: Verifying Checksum 03:54:36 a69c41024577: Download complete 03:54:36 35cb2a7552d0: Verifying Checksum 03:54:36 35cb2a7552d0: Download complete 03:54:36 4f4fb700ef54: Verifying Checksum 03:54:36 4f4fb700ef54: Download complete 03:54:36 c6b39de5b339: Download complete 03:54:36 464afbd9ba4c: Verifying Checksum 03:54:36 464afbd9ba4c: Download complete 03:54:37 d496ad576159: Verifying Checksum 03:54:37 d496ad576159: Download complete 03:54:37 c6b39de5b339: Pull complete 03:54:38 a69c41024577: Pull complete 03:54:38 d6de4b400683: Verifying Checksum 03:54:38 d6de4b400683: Download complete 03:54:39 00f215d4a9da: Verifying Checksum 03:54:39 00f215d4a9da: Download complete 03:54:51 d6de4b400683: Pull complete 03:54:51 35cb2a7552d0: Pull complete 03:54:51 4f4fb700ef54: Pull complete 03:54:52 464afbd9ba4c: Pull complete 03:55:00 00f215d4a9da: Pull complete 03:55:01 d496ad576159: Pull complete 03:55:01 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 03:55:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 03:55:01 ---> f246e2811388 03:55:01 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:55:03 ---> Running in 95fb5fcaa821 03:55:03 Removing intermediate container 95fb5fcaa821 03:55:03 ---> 67ad454a1a3c 03:55:03 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:55:04 ---> Running in 3eb512cba7af 03:55:04 Removing intermediate container 3eb512cba7af 03:55:04 ---> 181b2d165390 03:55:04 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 03:55:04 ---> Running in f45144ca693a 03:55:04 Removing intermediate container f45144ca693a 03:55:04 ---> 61c0d1f50c04 03:55:04 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:55:04 ---> Running in 5931ebe37145 03:55:04 Removing intermediate container 5931ebe37145 03:55:04 ---> 171b3b73b965 03:55:04 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:55:05 ---> Running in 7bfb2a18999e 03:55:05 Removing intermediate container 7bfb2a18999e 03:55:05 ---> 69d0e56bc2b7 03:55:05 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:55:05 ---> Running in 2831cc604ef1 03:55:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:55:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:55:07 OK: 266 MiB in 52 packages 03:55:08 Removing intermediate container 2831cc604ef1 03:55:08 ---> 421ce1935471 03:55:08 Step 9/13 : WORKDIR /device-onvif-camera 03:55:08 ---> Running in 4189da7e4332 03:55:08 Removing intermediate container 4189da7e4332 03:55:08 ---> 126e3d19a070 03:55:08 Step 10/13 : COPY go.mod vendor* ./ 03:55:10 ---> 9b022b1325ee 03:55:10 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:55:10 ---> Running in 5355e1119e18 03:57:01 Removing intermediate container 5355e1119e18 03:57:01 ---> 7234b0f4bb16 03:57:01 Step 12/13 : COPY . . 03:57:01 ---> 58825efb65e6 03:57:01 Step 13/13 : RUN ${MAKE} 03:57:01 ---> Running in 926393153e04 03:57:02 noop 03:57:03 Removing intermediate container 926393153e04 03:57:03 ---> 8b3562723707 03:57:03 Successfully built 8b3562723707 03:57:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:03 + docker inspect -f . ci-base-image-arm64 03:57:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:57:03 prd-ubuntu20.04-docker-arm64-4c-16g-9803 does not seem to be running inside a container 03:57:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/205 -v /w/workspace/device-onvif-camera/205:/w/workspace/device-onvif-camera/205:rw,z -v /w/workspace/device-onvif-camera/205@tmp:/w/workspace/device-onvif-camera/205@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 03:57:05 $ docker top 713e29bf39d4a27cbe2d9d552b5481a341516eddf22fce7e33e836ac7f8f3ad1 -eo pid,comm [Pipeline] { [Pipeline] sh 03:57:05 + go version 03:57:05 go version go1.21.9 linux/arm64 [Pipeline] } 03:57:05 $ docker stop --time=1 713e29bf39d4a27cbe2d9d552b5481a341516eddf22fce7e33e836ac7f8f3ad1 03:57:07 $ docker rm -f --volumes 713e29bf39d4a27cbe2d9d552b5481a341516eddf22fce7e33e836ac7f8f3ad1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:08 + docker inspect -f . ci-base-image-arm64 03:57:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:57:08 prd-ubuntu20.04-docker-arm64-4c-16g-9803 does not seem to be running inside a container 03:57:08 $ 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/205 -v /w/workspace/device-onvif-camera/205:/w/workspace/device-onvif-camera/205:rw,z -v /w/workspace/device-onvif-camera/205@tmp:/w/workspace/device-onvif-camera/205@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 03:57:09 $ docker top a321bc023b0515f58b394b1b61f190460d557148a1f5371e6afb55ce1cf6c47a -eo pid,comm [Pipeline] { [Pipeline] sh 03:57:09 + git config --global --add safe.directory /w/workspace/device-onvif-camera/205 [Pipeline] fileExists [Pipeline] sh 03:57:10 + make test 03:57:10 go test ./... -coverprofile=coverage.out ./... 03:57:15 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:00:37 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:00:37 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:00:37 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.169s coverage: 31.4% of statements 04:01:04 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.400s coverage: 86.5% of statements 04:01:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:01:04 go vet ./... 04:01:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:01:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:01:51 ./bin/test-attribution-txt.sh 04:01:51 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:01:51 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:01:51 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:01:51 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:01:51 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:01:51 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:01:51 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:01:51 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:01:51 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:01:51 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:01:51 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:01:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:01:51 $ docker stop --time=1 a321bc023b0515f58b394b1b61f190460d557148a1f5371e6afb55ce1cf6c47a 04:01:52 $ docker rm -f --volumes a321bc023b0515f58b394b1b61f190460d557148a1f5371e6afb55ce1cf6c47a [Pipeline] // withDockerContainer [Pipeline] sh 04:01:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:01:54 Warning: overwriting stash ‘coverage-report’ 04:01:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:01:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:01:55 + ls -al . 04:01:55 total 308 04:01:55 drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 03:57 . 04:01:55 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 03:54 .. 04:01:55 drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 03:54 .git 04:01:55 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 03:54 .github 04:01:55 -rw-rw-r-- 1 jenkins jenkins 493 Sep 9 03:54 .gitignore 04:01:55 -rw-rw-r-- 1 jenkins jenkins 42 Sep 9 03:54 .golangci.yml 04:01:55 -rw-rw-r-- 1 jenkins jenkins 11155 Sep 9 03:54 Attribution.txt 04:01:55 -rw-rw-r-- 1 jenkins jenkins 17665 Sep 9 03:54 CHANGELOG.md 04:01:55 -rw-rw-r-- 1 jenkins jenkins 1683 Sep 9 03:54 Dockerfile 04:01:55 -rw-rw-r-- 1 jenkins jenkins 677 Sep 9 03:54 GOVERNANCE.md 04:01:55 -rw-rw-r-- 1 jenkins jenkins 739 Sep 9 03:54 Jenkinsfile 04:01:55 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 9 03:54 LICENSE 04:01:55 -rw-rw-r-- 1 jenkins jenkins 2883 Sep 9 03:54 Makefile 04:01:55 -rw-rw-r-- 1 jenkins jenkins 625 Sep 9 03:54 OWNERS.md 04:01:55 -rw-rw-r-- 1 jenkins jenkins 2620 Sep 9 03:54 README.md 04:01:55 -rw-rw-r-- 1 jenkins jenkins 12 Sep 9 03:50 VERSION 04:01:55 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 03:54 bin 04:01:55 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 03:54 cmd 04:01:55 -rw-r--r-- 1 jenkins jenkins 78805 Sep 9 04:00 coverage.out 04:01:55 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 03:54 doc 04:01:55 -rw-rw-r-- 1 jenkins jenkins 7332 Sep 9 03:54 go.mod 04:01:55 -rw-rw-r-- 1 jenkins jenkins 102415 Sep 9 03:54 go.sum 04:01:55 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 03:54 internal 04:01:55 -rw-rw-r-- 1 jenkins jenkins 236 Sep 9 03:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:56 + 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=276436e60f25d91e45baf5819fa2ea594f4bdb74 --label arch=arm64 --label version=3.2.0-dev.19 . 04:01:56 Sending build context to Docker daemon 21.8MB 04:01:56 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 04:01:56 Step 2/27 : FROM ${BASE} AS builder 04:01:56 ---> 8b3562723707 04:01:56 Step 3/27 : ARG ADD_BUILD_TAGS="" 04:01:57 ---> Running in c1dc84de20f8 04:01:57 Removing intermediate container c1dc84de20f8 04:01:57 ---> 23cadbda3d4e 04:01:57 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:01:57 ---> Running in 870d3f3dc109 04:01:57 Removing intermediate container 870d3f3dc109 04:01:57 ---> 65ad5395ccac 04:01:57 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 04:01:57 ---> Running in 67d2ede623fb 04:01:58 Removing intermediate container 67d2ede623fb 04:01:58 ---> 4c2bb96b0ed6 04:01:58 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 04:01:58 ---> Running in a423e85f855d 04:01:58 Removing intermediate container a423e85f855d 04:01:58 ---> 599c7eb38374 04:01:58 Step 7/27 : LABEL Name=edgex-device-onvif-camera 04:01:58 ---> Running in a24fc82bc749 04:01:58 Removing intermediate container a24fc82bc749 04:01:58 ---> c5d3f7e2612c 04:01:58 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:01:59 ---> Running in 3109abd697d6 04:02:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:02:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:02:02 OK: 266 MiB in 52 packages 04:02:03 Removing intermediate container 3109abd697d6 04:02:03 ---> c83957ce760e 04:02:03 Step 9/27 : WORKDIR /device-onvif-camera 04:02:03 ---> Running in b4d662ee5e2f 04:02:03 Removing intermediate container b4d662ee5e2f 04:02:03 ---> 4bf24df4901b 04:02:03 Step 10/27 : COPY go.mod vendor* ./ 04:02:04 ---> ffa3a6b40b2b 04:02:04 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:02:04 ---> Running in 0a9c943d6343 04:02:07 Removing intermediate container 0a9c943d6343 04:02:07 ---> 1bfc397e7234 04:02:07 Step 12/27 : COPY . . 04:02:08 ---> 402adf78462c 04:02:08 Step 13/27 : RUN ${MAKE} 04:02:08 ---> Running in 6e892021d3be 04:02:09 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=3.2.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.37" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 04:05:47 Removing intermediate container 6e892021d3be 04:05:47 ---> decf654d73d4 04:05:47 Step 14/27 : FROM alpine:3.18 04:05:47 3.18: Pulling from library/alpine 04:05:47 720f3032cd11: Pulling fs layer 04:05:47 720f3032cd11: Verifying Checksum 04:05:47 720f3032cd11: Download complete 04:05:48 720f3032cd11: Pull complete 04:05:48 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 04:05:48 Status: Downloaded newer image for alpine:3.18 04:05:48 ---> 3e834921e367 04:05:48 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 04:05:48 ---> Running in 22f3d7b184b3 04:05:48 Removing intermediate container 22f3d7b184b3 04:05:48 ---> c6fb65ceab9c 04:05:48 Step 16/27 : RUN apk add --update --no-cache dumb-init 04:05:49 ---> Running in b3e8ea6a7c67 04:05:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:05:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:05:51 (1/1) Installing dumb-init (1.2.5-r2) 04:05:51 Executing busybox-1.36.1-r7.trigger 04:05:51 OK: 8 MiB in 16 packages 04:05:52 Removing intermediate container b3e8ea6a7c67 04:05:52 ---> 59104ede8eb1 04:05:52 Step 17/27 : RUN apk --no-cache upgrade 04:05:52 ---> Running in a12754340641 04:05:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:05:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:05:54 OK: 8 MiB in 16 packages 04:05:55 Removing intermediate container a12754340641 04:05:55 ---> 3685643fd0fd 04:05:55 Step 18/27 : WORKDIR / 04:05:55 ---> Running in b9caa748496c 04:05:55 Removing intermediate container b9caa748496c 04:05:55 ---> 45eae2431e84 04:05:55 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 04:05:57 ---> 946452d84c67 04:05:57 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 04:05:57 ---> 65d647a4903d 04:05:57 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:05:58 ---> 0c3d256760db 04:05:58 Step 22/27 : EXPOSE 59984 04:05:58 ---> Running in e91cceb3ebda 04:05:58 Removing intermediate container e91cceb3ebda 04:05:58 ---> b5bb30a19468 04:05:58 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 04:05:58 ---> Running in 17c44cfde08c 04:05:58 Removing intermediate container 17c44cfde08c 04:05:58 ---> a9641bb23fff 04:05:58 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:05:58 ---> Running in fa8c0a602369 04:05:59 Removing intermediate container fa8c0a602369 04:05:59 ---> fb96198fe15a 04:05:59 Step 25/27 : LABEL arch=arm64 04:05:59 ---> Running in c903180e8023 04:05:59 Removing intermediate container c903180e8023 04:05:59 ---> cd3f7a765210 04:05:59 Step 26/27 : LABEL git_sha=276436e60f25d91e45baf5819fa2ea594f4bdb74 04:05:59 ---> Running in 217203d30389 04:06:00 Removing intermediate container 217203d30389 04:06:00 ---> d06c0500568e 04:06:00 Step 27/27 : LABEL version=3.2.0-dev.19 04:06:00 ---> Running in aab54225452e 04:06:00 Removing intermediate container aab54225452e 04:06:00 ---> 9900232e6536 04:06:00 [Warning] One or more build-args [ARCH] were not consumed 04:06:00 Successfully built 9900232e6536 04:06:00 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:06:00 provisioning config files... 04:06:00 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/205@tmp/config211180850511964968tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:06:00 ---> ****-login.sh 04:06:00 nexus3.edgexfoundry.org:10001 04:06:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:06:01 Configure a credential helper to remove this warning. See 04:06:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:06:01 04:06:01 Login Succeeded 04:06:01 nexus3.edgexfoundry.org:10002 04:06:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:06:01 Configure a credential helper to remove this warning. See 04:06:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:06:01 04:06:01 Login Succeeded 04:06:01 nexus3.edgexfoundry.org:10003 04:06:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:06:01 Configure a credential helper to remove this warning. See 04:06:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:06:01 04:06:01 Login Succeeded 04:06:01 nexus3.edgexfoundry.org:10004 04:06:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:06:02 Configure a credential helper to remove this warning. See 04:06:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:06:02 04:06:02 Login Succeeded 04:06:02 ****.io 04:06:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:06:02 Configure a credential helper to remove this warning. See 04:06:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:06:02 04:06:02 Login Succeeded 04:06:02 ---> ****-login.sh ends [Pipeline] } 04:06:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:06:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:06:02 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 04:06:02 276436e60f25d91e45baf5819fa2ea594f4bdb74 04:06:02 latest 04:06:02 3.2.0-dev.19 04:06:02 276436e60f25d91e45baf5819fa2ea594f4bdb74-3.2.0-dev.19 04:06:02 main 04:06:02 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:03 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:276436e60f25d91e45baf5819fa2ea594f4bdb74 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:03 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:276436e60f25d91e45baf5819fa2ea594f4bdb74 04:06:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:06:03 2934c7c18617: Preparing 04:06:03 ce088d784c52: Preparing 04:06:03 4add0ecf699f: Preparing 04:06:03 240e58ba53d6: Preparing 04:06:03 40cc22a5591f: Preparing 04:06:03 4aeaa0e7d41f: Preparing 04:06:03 4aeaa0e7d41f: Waiting 04:06:03 240e58ba53d6: Pushed 04:06:03 2934c7c18617: Pushed 04:06:03 ce088d784c52: Pushed 04:06:03 40cc22a5591f: Pushed 04:06:03 4aeaa0e7d41f: Layer already exists 04:06:12 4add0ecf699f: Pushed 04:06:12 276436e60f25d91e45baf5819fa2ea594f4bdb74: digest: sha256:3fa2a7b90d9b8e7cb520ef909cc08bd3dafc17a42c70c21a0883add298c1d9d8 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:12 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:12 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 04:06:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:06:12 2934c7c18617: Preparing 04:06:12 ce088d784c52: Preparing 04:06:12 4add0ecf699f: Preparing 04:06:12 240e58ba53d6: Preparing 04:06:12 40cc22a5591f: Preparing 04:06:12 4aeaa0e7d41f: Preparing 04:06:12 4aeaa0e7d41f: Waiting 04:06:12 40cc22a5591f: Layer already exists 04:06:12 240e58ba53d6: Layer already exists 04:06:12 2934c7c18617: Layer already exists 04:06:12 4add0ecf699f: Layer already exists 04:06:12 ce088d784c52: Layer already exists 04:06:12 4aeaa0e7d41f: Layer already exists 04:06:12 latest: digest: sha256:3fa2a7b90d9b8e7cb520ef909cc08bd3dafc17a42c70c21a0883add298c1d9d8 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:13 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:13 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.19 04:06:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:06:13 2934c7c18617: Preparing 04:06:13 ce088d784c52: Preparing 04:06:13 4add0ecf699f: Preparing 04:06:13 240e58ba53d6: Preparing 04:06:13 40cc22a5591f: Preparing 04:06:13 4aeaa0e7d41f: Preparing 04:06:13 4aeaa0e7d41f: Waiting 04:06:13 ce088d784c52: Layer already exists 04:06:13 2934c7c18617: Layer already exists 04:06:13 40cc22a5591f: Layer already exists 04:06:13 240e58ba53d6: Layer already exists 04:06:13 4add0ecf699f: Layer already exists 04:06:13 4aeaa0e7d41f: Layer already exists 04:06:13 3.2.0-dev.19: digest: sha256:3fa2a7b90d9b8e7cb520ef909cc08bd3dafc17a42c70c21a0883add298c1d9d8 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:14 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:276436e60f25d91e45baf5819fa2ea594f4bdb74-3.2.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:14 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:276436e60f25d91e45baf5819fa2ea594f4bdb74-3.2.0-dev.19 04:06:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:06:14 2934c7c18617: Preparing 04:06:14 ce088d784c52: Preparing 04:06:14 4add0ecf699f: Preparing 04:06:14 240e58ba53d6: Preparing 04:06:14 40cc22a5591f: Preparing 04:06:14 4aeaa0e7d41f: Preparing 04:06:14 4aeaa0e7d41f: Waiting 04:06:14 ce088d784c52: Layer already exists 04:06:14 40cc22a5591f: Layer already exists 04:06:14 4add0ecf699f: Layer already exists 04:06:14 240e58ba53d6: Layer already exists 04:06:14 2934c7c18617: Layer already exists 04:06:14 4aeaa0e7d41f: Layer already exists 04:06:14 276436e60f25d91e45baf5819fa2ea594f4bdb74-3.2.0-dev.19: digest: sha256:3fa2a7b90d9b8e7cb520ef909cc08bd3dafc17a42c70c21a0883add298c1d9d8 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:15 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:15 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 04:06:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:06:15 2934c7c18617: Preparing 04:06:15 ce088d784c52: Preparing 04:06:15 4add0ecf699f: Preparing 04:06:15 240e58ba53d6: Preparing 04:06:15 40cc22a5591f: Preparing 04:06:15 4aeaa0e7d41f: Preparing 04:06:15 4aeaa0e7d41f: Waiting 04:06:15 40cc22a5591f: Layer already exists 04:06:15 4add0ecf699f: Layer already exists 04:06:15 ce088d784c52: Layer already exists 04:06:15 240e58ba53d6: Layer already exists 04:06:15 2934c7c18617: Layer already exists 04:06:15 4aeaa0e7d41f: Layer already exists 04:06:15 main: digest: sha256:3fa2a7b90d9b8e7cb520ef909cc08bd3dafc17a42c70c21a0883add298c1d9d8 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:06:15 ===================================================== [Pipeline] echo 04:06:15 taggedImages: 04:06:15 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:276436e60f25d91e45baf5819fa2ea594f4bdb74 04:06:15 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 04:06:15 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.19 04:06:15 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:276436e60f25d91e45baf5819fa2ea594f4bdb74-3.2.0-dev.19 04:06:15 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:06:16 04:06:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:06:16 arm64: Pulling from edgex-lftools-log-publisher 04:06:16 8998bd30e6a1: Pulling fs layer 04:06:16 04944245beec: Pulling fs layer 04:06:16 699f458cf7ca: Pulling fs layer 04:06:16 765212b225bb: Pulling fs layer 04:06:16 f23df028b6ca: Pulling fs layer 04:06:16 d65c8cfc05b1: Pulling fs layer 04:06:16 2437ff75d9bd: Pulling fs layer 04:06:16 f23df028b6ca: Waiting 04:06:16 765212b225bb: Waiting 04:06:16 d65c8cfc05b1: Waiting 04:06:16 2437ff75d9bd: Waiting 04:06:16 04944245beec: Verifying Checksum 04:06:16 04944245beec: Download complete 04:06:16 765212b225bb: Verifying Checksum 04:06:16 765212b225bb: Download complete 04:06:16 f23df028b6ca: Verifying Checksum 04:06:16 f23df028b6ca: Download complete 04:06:16 d65c8cfc05b1: Verifying Checksum 04:06:16 d65c8cfc05b1: Download complete 04:06:16 699f458cf7ca: Verifying Checksum 04:06:16 699f458cf7ca: Download complete 04:06:17 8998bd30e6a1: Verifying Checksum 04:06:17 8998bd30e6a1: Download complete 04:06:20 2437ff75d9bd: Verifying Checksum 04:06:20 2437ff75d9bd: Download complete 04:06:22 8998bd30e6a1: Pull complete 04:06:22 04944245beec: Pull complete 04:06:24 699f458cf7ca: Pull complete 04:06:24 765212b225bb: Pull complete 04:06:25 f23df028b6ca: Pull complete 04:06:25 d65c8cfc05b1: Pull complete 04:06:43 2437ff75d9bd: Pull complete 04:06:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:06:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:06:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:06:44 prd-ubuntu20.04-docker-arm64-4c-16g-9803 does not seem to be running inside a container 04:06:44 $ 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/205 -v /w/workspace/device-onvif-camera/205:/w/workspace/device-onvif-camera/205:rw,z -v /w/workspace/device-onvif-camera/205@tmp:/w/workspace/device-onvif-camera/205@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:06:47 $ docker top 3a592e1d4849b2a3f028903e740aa00070274688a136bceb37cc60debbf409dc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:06:48 ---> job-cost.sh 04:06:48 lf-activate-venv: SKIPPING 04:06:48 INFO: No Stack... 04:06:48 INFO: Retrieving Pricing Info for: v3-standard-4 04:06:49 INFO: Archiving Costs [Pipeline] sh 04:06:50 + cat /w/workspace/device-onvif-camera/205/archives/cost.csv 04:06:50 + cut -d, -f6 [Pipeline] lock 04:06:50 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-205-stack-cost] 04:06:50 Resource [jenkins-edgexfoundry-device-onvif-camera-main-205-stack-cost] did not exist. Created. 04:06:50 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-205-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:06:50 /w/workspace/device-onvif-camera/205@tmp/durable-4849380f/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:06:51 + echo total: 0.10999999940395355 [Pipeline] stash 04:06:51 Warning: overwriting stash ‘stack-cost’ 04:06:51 Stashed 1 file(s) [Pipeline] } 04:06:51 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-main-205-stack-cost] [Pipeline] // lock [Pipeline] } 04:06:51 $ docker stop --time=1 3a592e1d4849b2a3f028903e740aa00070274688a136bceb37cc60debbf409dc 04:06:53 $ docker rm -f --volumes 3a592e1d4849b2a3f028903e740aa00070274688a136bceb37cc60debbf409dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:06:53 provisioning config files... 04:06:53 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9399911414048105555tmp [Pipeline] { [Pipeline] sh 04:06:54 + set +x 04:06:54 + + bash -s -- 04:06:54 curl -s https://codecov.io/bash 04:06:54 04:06:54 _____ _ 04:06:54 / ____| | | 04:06:54 | | ___ __| | ___ ___ _____ __ 04:06:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:06:54 | |___| (_) | (_| | __/ (_| (_) \ V / 04:06:54 \_____\___/ \__,_|\___|\___\___/ \_/ 04:06:54 Bash-1.0.6 04:06:54 04:06:54 04:06:54 ==> git version 2.25.1 found 04:06:54 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:06:54 Release-Date: 2020-01-08 04:06:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:06:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:06:54 ==> Jenkins CI detected. 04:06:54 current dir:  /w/workspace/foundry_device-onvif-camera_main 04:06:54 project root: . 04:06:54 --> token set from env 04:06:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:06:54 ==> Running gcov in . (disable via -X gcov) 04:06:54 ==> Python coveragepy not found 04:06:54 ==> Searching for coverage reports in: 04:06:54 + . 04:06:54 -> Found 1 reports 04:06:54 ==> Detecting git/mercurial file structure 04:06:54 ==> Reading reports 04:06:54 + ./coverage.out bytes=78805 04:06:54 ==> Appending adjustments 04:06:54 https://docs.codecov.io/docs/fixing-reports 04:06:54 + Found adjustments 04:06:54 ==> Gzipping contents 04:06:54 12K /tmp/codecov.1D4sdQ.gz 04:06:54 ==> Uploading reports 04:06:54 url: https://codecov.io 04:06:54 query: branch=main&commit=276436e60f25d91e45baf5819fa2ea594f4bdb74&build=205&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F205%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 04:06:54 -> Pinging Codecov 04:06:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=276436e60f25d91e45baf5819fa2ea594f4bdb74&build=205&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F205%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 04:06:54 -> Uploading to 04:06:54 https://storage.googleapis.com/codecov/v4/raw/2024-09-09/F29A59C45E3A92E06B3E522C9905F8EF/276436e60f25d91e45baf5819fa2ea594f4bdb74/b52a4420-adc1-4539-97e2-6f2e242a0cbf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240909%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240909T040654Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a24f2fd2f17360251910805264735538930de08edb52dde25616787607f07f2f 04:06:54 % Total % Received % Xferd Average Speed Time Time Time Current 04:06:54 Dload Upload Total Spent Left Speed 04:06:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10400 0 0 100 10400 0 42798 --:--:-- --:--:-- --:--:-- 42798 04:06:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/276436e60f25d91e45baf5819fa2ea594f4bdb74 [Pipeline] } 04:06:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:06:54 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:06:54 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:06:55 04:06:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:06:55 latest: Pulling from edgex-devops/edgex-snyk-go 04:06:55 619be1103602: Already exists 04:06:55 f8ea3408117e: Pulling fs layer 04:06:55 91320369b822: Pulling fs layer 04:06:55 0406650e8295: Pulling fs layer 04:06:55 4f4fb700ef54: Pulling fs layer 04:06:55 96d80e3f36e1: Pulling fs layer 04:06:55 bcf3aedb951c: Pulling fs layer 04:06:55 4f4fb700ef54: Waiting 04:06:55 96d80e3f36e1: Waiting 04:06:55 0406650e8295: Verifying Checksum 04:06:55 0406650e8295: Download complete 04:06:55 f8ea3408117e: Verifying Checksum 04:06:55 f8ea3408117e: Download complete 04:06:55 4f4fb700ef54: Verifying Checksum 04:06:55 4f4fb700ef54: Download complete 04:06:55 f8ea3408117e: Pull complete 04:06:55 96d80e3f36e1: Verifying Checksum 04:06:55 96d80e3f36e1: Download complete 04:06:56 91320369b822: Verifying Checksum 04:06:56 91320369b822: Download complete 04:06:57 bcf3aedb951c: Verifying Checksum 04:06:57 bcf3aedb951c: Download complete 04:06:59 91320369b822: Pull complete 04:06:59 0406650e8295: Pull complete 04:06:59 4f4fb700ef54: Pull complete 04:06:59 96d80e3f36e1: Pull complete 04:07:02 bcf3aedb951c: Pull complete 04:07:02 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 04:07:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 04:07:02 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:02 prd-ubuntu20.04-docker-8c-8g-9802 does not seem to be running inside a container 04:07:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 04:07:04 $ docker top f38054ad050e42d4de177e807cfd57b65077391f67db743c6ec0aa4b7755b7d5 -eo pid,comm [Pipeline] { [Pipeline] sh 04:07:04 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] echo 04:07:04 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 04:07:05 + set -o pipefail 04:07:05 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 04:07:11 04:07:11 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 04:07:11 04:07:11 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9e5df0b9-9c2f-4dae-8e10-c7dd76eb4add/history/65ae8892-6afe-4739-8ca0-b988eef2be30 04:07:11 04:07:11 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 04:07:11 04:07:11 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:07:11 04:07:11 04:07:11 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 04:07:11 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 04:07:11 $ docker stop --time=1 f38054ad050e42d4de177e807cfd57b65077391f67db743c6ec0aa4b7755b7d5 04:07:13 $ docker rm -f --volumes f38054ad050e42d4de177e807cfd57b65077391f67db743c6ec0aa4b7755b7d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 04:07:14 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:07:14 provisioning config files... 04:07:14 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12600377282167506169tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:07:14 --> edgex-publish-swagger.sh 04:07:14 === Publish doc/openapi/v3 API === 04:07:14 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 04:07:14 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 04:07:14 % Total % Received % Xferd Average Speed Time Time Time Current 04:07:14 Dload Upload Total Spent Left Speed 04:07:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 100 156 100 485k 339 1057k --:--:-- --:--:-- --:--:-- 1058k 04:07:15 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 04:07:15 [Pipeline] } 04:07:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:07:15 + git log --format=format:%s -1 276436e60f25d91e45baf5819fa2ea594f4bdb74 [Pipeline] sh 04:07:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:07:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:07:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:16 prd-ubuntu20.04-docker-8c-8g-9802 does not seem to be running inside a container 04:07:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:07:16 $ docker top c3121374221b011562c3cb5e3e074997e3988162457ab49b1d1267a976134d4f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:07:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:07:16 [ssh-agent] Looking for ssh-agent implementation... 04:07:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:07:16 $ docker exec c3121374221b011562c3cb5e3e074997e3988162457ab49b1d1267a976134d4f ssh-agent 04:07:16 SSH_AUTH_SOCK=/tmp/ssh-e1KJm57S5O60/agent.33 04:07:16 SSH_AGENT_PID=39 04:07:16 Running ssh-add (command line suppressed) 04:07:17 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_18220184839153970624.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_18220184839153970624.key) 04:07:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:07:17 + git semver tag 04:07:17 2024-09-09 04:07:17,544 [run_tag] DEBUG tag force:False 04:07:17 2024-09-09 04:07:17,544 [check_head_tag] DEBUG check head tag 04:07:17 2024-09-09 04:07:17,546 [execute] INFO git cat-file --batch-check 04:07:17 2024-09-09 04:07:17,546 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 04:07:17 2024-09-09 04:07:17,550 [execute] INFO git cat-file --batch 04:07:17 2024-09-09 04:07:17,550 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 04:07:17 2024-09-09 04:07:17,567 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:07:17 2024-09-09 04:07:17,567 [execute] INFO git tag -a v3.2.0-dev.19 -m v3.2.0-dev.19 04:07:17 2024-09-09 04:07:17,567 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.19', '-m', 'v3.2.0-dev.19'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 04:07:17 2024-09-09 04:07:17,572 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:07:17 3.2.0-dev.19 [Pipeline] } 04:07:17 $ docker exec --env ******** --env ******** c3121374221b011562c3cb5e3e074997e3988162457ab49b1d1267a976134d4f ssh-agent -k 04:07:17 unset SSH_AUTH_SOCK; 04:07:17 unset SSH_AGENT_PID; 04:07:17 echo Agent pid 39 killed; 04:07:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:07:18 + git semver [Pipeline] } 04:07:18 $ docker stop --time=1 c3121374221b011562c3cb5e3e074997e3988162457ab49b1d1267a976134d4f 04:07:19 $ docker rm -f --volumes c3121374221b011562c3cb5e3e074997e3988162457ab49b1d1267a976134d4f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:07:20 04:07:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:07:20 0.23.1-centos7: Pulling from edgex-lftools 04:07:20 ab5ef0e58194: Pulling fs layer 04:07:20 9712f1f96733: Pulling fs layer 04:07:20 63f879dbbcfc: Pulling fs layer 04:07:20 0d9ebad4ef96: Pulling fs layer 04:07:20 e9a5061849ea: Pulling fs layer 04:07:20 d747dcd14b5f: Pulling fs layer 04:07:20 2de7ff778b66: Pulling fs layer 04:07:20 e9a5061849ea: Waiting 04:07:20 d747dcd14b5f: Waiting 04:07:20 2de7ff778b66: Waiting 04:07:20 0d9ebad4ef96: Waiting 04:07:20 9712f1f96733: Verifying Checksum 04:07:20 9712f1f96733: Download complete 04:07:20 63f879dbbcfc: Verifying Checksum 04:07:20 63f879dbbcfc: Download complete 04:07:20 e9a5061849ea: Verifying Checksum 04:07:20 e9a5061849ea: Download complete 04:07:20 d747dcd14b5f: Verifying Checksum 04:07:20 d747dcd14b5f: Download complete 04:07:20 0d9ebad4ef96: Verifying Checksum 04:07:20 0d9ebad4ef96: Download complete 04:07:20 ab5ef0e58194: Verifying Checksum 04:07:20 ab5ef0e58194: Download complete 04:07:21 2de7ff778b66: Verifying Checksum 04:07:21 2de7ff778b66: Download complete 04:07:23 ab5ef0e58194: Pull complete 04:07:23 9712f1f96733: Pull complete 04:07:23 63f879dbbcfc: Pull complete 04:07:27 0d9ebad4ef96: Pull complete 04:07:27 e9a5061849ea: Pull complete 04:07:27 d747dcd14b5f: Pull complete 04:07:28 2de7ff778b66: Pull complete 04:07:28 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:07:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:07:28 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:28 prd-ubuntu20.04-docker-8c-8g-9802 does not seem to be running inside a container 04:07:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:07:30 $ docker top 99252dfd28fb87ba40f32f645ba55831088dcce56e13561455b0cc2cdfd4b54c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:07:30 provisioning config files... 04:07:30 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1216843479369290975tmp 04:07:30 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2350927892040748266tmp 04:07:30 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12502538164619806853tmp [Pipeline] { [Pipeline] echo 04:07:30 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:07:30 ---> sigul-configuration.sh 04:07:30 gpg: directory `/root/.gnupg' created 04:07:30 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:07:30 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:07:30 gpg: keyring `/root/.gnupg/secring.gpg' created 04:07:30 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:07:30 gpg: CAST5 encrypted data 04:07:30 gpg: encrypted with 1 passphrase 04:07:30 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:07:31 + mkdir /home/jenkins 04:07:31 + mkdir /home/jenkins/sigul [Pipeline] sh 04:07:31 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 04:07:31 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:07:31 ---> sigul-install.sh 04:07:31 Sigul already installed; skipping installation. [Pipeline] sh 04:07:32 + git tag --list 04:07:32 v0.0.0 04:07:32 v2.2.0 04:07:32 v2.3.0 04:07:32 v2.3.1 04:07:32 v3.0 04:07:32 v3.0.0 04:07:32 v3.1 04:07:32 v3.1.0 04:07:32 v3.1.0-dev.1 04:07:32 v3.1.0-dev.10 04:07:32 v3.1.0-dev.11 04:07:32 v3.1.0-dev.12 04:07:32 v3.1.0-dev.13 04:07:32 v3.1.0-dev.14 04:07:32 v3.1.0-dev.15 04:07:32 v3.1.0-dev.16 04:07:32 v3.1.0-dev.17 04:07:32 v3.1.0-dev.18 04:07:32 v3.1.0-dev.19 04:07:32 v3.1.0-dev.2 04:07:32 v3.1.0-dev.20 04:07:32 v3.1.0-dev.21 04:07:32 v3.1.0-dev.22 04:07:32 v3.1.0-dev.23 04:07:32 v3.1.0-dev.24 04:07:32 v3.1.0-dev.25 04:07:32 v3.1.0-dev.26 04:07:32 v3.1.0-dev.27 04:07:32 v3.1.0-dev.28 04:07:32 v3.1.0-dev.3 04:07:32 v3.1.0-dev.4 04:07:32 v3.1.0-dev.5 04:07:32 v3.1.0-dev.6 04:07:32 v3.1.0-dev.7 04:07:32 v3.1.0-dev.8 04:07:32 v3.1.0-dev.9 04:07:32 v3.1.1 04:07:32 v3.2.0-dev.1 04:07:32 v3.2.0-dev.10 04:07:32 v3.2.0-dev.11 04:07:32 v3.2.0-dev.12 04:07:32 v3.2.0-dev.13 04:07:32 v3.2.0-dev.14 04:07:32 v3.2.0-dev.15 04:07:32 v3.2.0-dev.16 04:07:32 v3.2.0-dev.17 04:07:32 v3.2.0-dev.18 04:07:32 v3.2.0-dev.19 04:07:32 v3.2.0-dev.2 04:07:32 v3.2.0-dev.3 04:07:32 v3.2.0-dev.4 04:07:32 v3.2.0-dev.5 04:07:32 v3.2.0-dev.6 04:07:32 v3.2.0-dev.7 04:07:32 v3.2.0-dev.8 04:07:32 v3.2.0-dev.9 [Pipeline] sh 04:07:32 + lftools sign git-tag v3.2.0-dev.19 04:07:32 Signing Git tag with Sigul... 04:07:32 Signing v3.2.0-dev.19 [Pipeline] echo 04:07:33 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:07:33 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:07:33 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:07:33 $ docker stop --time=1 99252dfd28fb87ba40f32f645ba55831088dcce56e13561455b0cc2cdfd4b54c 04:07:34 $ docker rm -f --volumes 99252dfd28fb87ba40f32f645ba55831088dcce56e13561455b0cc2cdfd4b54c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:07:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:07:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:07:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:35 prd-ubuntu20.04-docker-8c-8g-9802 does not seem to be running inside a container 04:07:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:07:36 $ docker top a46767a7e4d3a6bde25b086c30a6783cbdb6035fe28a7464a7dc313462379265 -eo pid,comm 04:07:36 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:07:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:07:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:07:36 [ssh-agent] Looking for ssh-agent implementation... 04:07:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:07:36 $ docker exec a46767a7e4d3a6bde25b086c30a6783cbdb6035fe28a7464a7dc313462379265 ssh-agent 04:07:36 SSH_AUTH_SOCK=/tmp/ssh-T6yGYRRc9rrB/agent.31 04:07:36 SSH_AGENT_PID=38 04:07:36 Running ssh-add (command line suppressed) 04:07:36 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2666160742170356484.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2666160742170356484.key) 04:07:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:07:36 + git semver bump pre 04:07:37 2024-09-09 04:07:36,914 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:07:37 2024-09-09 04:07:36,914 [bump_version] DEBUG bumping version:3.2.0-dev.19 on axis:pre with prefix:dev 04:07:37 2024-09-09 04:07:36,914 [bump_version] DEBUG bumped version:3.2.0-dev.20 04:07:37 2024-09-09 04:07:36,915 [write_version] DEBUG write version:3.2.0-dev.20 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 04:07:37 2024-09-09 04:07:36,915 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:07:37 2024-09-09 04:07:36,915 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 04:07:37 2024-09-09 04:07:36,917 [execute] INFO git cat-file --batch-check 04:07:37 2024-09-09 04:07:36,917 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:07:37 2024-09-09 04:07:36,922 [execute] INFO git cat-file --batch 04:07:37 2024-09-09 04:07:36,922 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:07:37 2024-09-09 04:07:36,928 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:07:37 3.2.0-dev.20 [Pipeline] } 04:07:37 $ docker exec --env ******** --env ******** a46767a7e4d3a6bde25b086c30a6783cbdb6035fe28a7464a7dc313462379265 ssh-agent -k 04:07:37 unset SSH_AUTH_SOCK; 04:07:37 unset SSH_AGENT_PID; 04:07:37 echo Agent pid 38 killed; 04:07:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:07:37 + git semver [Pipeline] } 04:07:37 $ docker stop --time=1 a46767a7e4d3a6bde25b086c30a6783cbdb6035fe28a7464a7dc313462379265 04:07:38 $ docker rm -f --volumes a46767a7e4d3a6bde25b086c30a6783cbdb6035fe28a7464a7dc313462379265 [Pipeline] // withDockerContainer [Pipeline] sh 04:07:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:07:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:07:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:39 prd-ubuntu20.04-docker-8c-8g-9802 does not seem to be running inside a container 04:07:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:07:40 $ docker top a9e9751811c7b0254699b36f3c0f98ca9ced180b58a1d6a4ea848c545a5aee50 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:07:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:07:40 [ssh-agent] Looking for ssh-agent implementation... 04:07:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:07:40 $ docker exec a9e9751811c7b0254699b36f3c0f98ca9ced180b58a1d6a4ea848c545a5aee50 ssh-agent 04:07:40 SSH_AUTH_SOCK=/tmp/ssh-hySLDxINcHQI/agent.33 04:07:40 SSH_AGENT_PID=40 04:07:40 Running ssh-add (command line suppressed) 04:07:40 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10662718303099786238.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10662718303099786238.key) 04:07:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:07:40 + git semver push 04:07:40 2024-09-09 04:07:40,928 [run_push] DEBUG push 04:07:40 2024-09-09 04:07:40,929 [execute] INFO git cat-file --batch-check 04:07:40 2024-09-09 04:07:40,929 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:07:40 2024-09-09 04:07:40,933 [execute] INFO git rev-list 9b1ea2d8446c2c841faacd19f3dca2e042275d1f -- 04:07:40 2024-09-09 04:07:40,933 [execute] DEBUG Popen(['git', 'rev-list', '9b1ea2d8446c2c841faacd19f3dca2e042275d1f', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 04:07:40 2024-09-09 04:07:40,942 [execute] INFO git fetch -v origin 04:07:40 2024-09-09 04:07:40,942 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 04:07:41 2024-09-09 04:07:41,405 [run_push] DEBUG no remote changes detected 04:07:41 2024-09-09 04:07:41,405 [execute] INFO git push origin semver 04:07:41 2024-09-09 04:07:41,406 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 04:07:42 2024-09-09 04:07:42,106 [run_push] DEBUG push all version tags 04:07:42 2024-09-09 04:07:42,107 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:07:42 2024-09-09 04:07:42,107 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 04:07:43 2024-09-09 04:07:42,730 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:07:43 3.2.0-dev.20 [Pipeline] } 04:07:43 $ docker exec --env ******** --env ******** a9e9751811c7b0254699b36f3c0f98ca9ced180b58a1d6a4ea848c545a5aee50 ssh-agent -k 04:07:43 unset SSH_AUTH_SOCK; 04:07:43 unset SSH_AGENT_PID; 04:07:43 echo Agent pid 40 killed; 04:07:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:07:43 + git semver [Pipeline] } 04:07:43 $ docker stop --time=1 a9e9751811c7b0254699b36f3c0f98ca9ced180b58a1d6a4ea848c545a5aee50 04:07:45 $ docker rm -f --volumes a9e9751811c7b0254699b36f3c0f98ca9ced180b58a1d6a4ea848c545a5aee50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:07:45 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 04:07:45 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 04:07:45 total 16 04:07:45 drwxr-xr-x 3 root root 4096 Sep 9 03:53 . 04:07:45 drwxrwxr-x 10 jenkins jenkins 4096 Sep 9 04:07 .. 04:07:45 drwxr-xr-x 2 root root 4096 Sep 9 03:53 cost 04:07:45 -rw-r--r-- 1 root root 91 Sep 9 03:53 cost.csv 04:07:45 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 04:07:45 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 04:07:45 total 16 04:07:45 drwxr-xr-x 3 jenkins jenkins 4096 Sep 9 03:53 . 04:07:45 drwxrwxr-x 10 jenkins jenkins 4096 Sep 9 04:07 .. 04:07:45 drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 03:53 cost 04:07:45 -rw-r--r-- 1 jenkins jenkins 91 Sep 9 03:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:07:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:07:46 ---> package-listing.sh 04:07:46 ++ facter osfamily 04:07:46 ++ tr '[:upper:]' '[:lower:]' 04:07:47 + OS_FAMILY=debian 04:07:47 + workspace=/w/workspace/foundry_device-onvif-camera_main 04:07:47 + START_PACKAGES=/tmp/packages_start.txt 04:07:47 + END_PACKAGES=/tmp/packages_end.txt 04:07:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:07:47 + PACKAGES=/tmp/packages_start.txt 04:07:47 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 04:07:47 + PACKAGES=/tmp/packages_end.txt 04:07:47 + case "${OS_FAMILY}" in 04:07:47 + dpkg -l 04:07:47 + grep '^ii' 04:07:47 + '[' -f /tmp/packages_start.txt ']' 04:07:47 + '[' -f /tmp/packages_end.txt ']' 04:07:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:07:47 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 04:07:47 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 04:07:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 04:07:47 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:07:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:07:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:48 prd-ubuntu20.04-docker-8c-8g-9802 does not seem to be running inside a container 04:07:48 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:07:48 $ docker top 85b96456944801dacc7a363192c40d3e339e5ab4701014fcf5edefdf737f5fde -eo pid,comm [Pipeline] { [Pipeline] sh 04:07:48 + touch /tmp/pre-build-complete [Pipeline] sh 04:07:48 + mkdir -p /var/log/sysstat [Pipeline] sh 04:07:49 + ls /var/log/sa-host 04:07:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:07:49 provisioning config files... 04:07:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9730081280619917233tmp [Pipeline] { [Pipeline] echo 04:07:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:07:49 ---> create-netrc.sh [Pipeline] } 04:07:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:07:49 ---> python-tools-install.sh [Pipeline] echo 04:07:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:07:50 ---> sudo-logs.sh 04:07:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:07:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:07:50 ---> job-cost.sh 04:07:50 lf-activate-venv: SKIPPING 04:07:50 DEBUG: total: 0.2199999988079071 04:07:50 INFO: Retrieving Stack Cost... 04:07:50 INFO: Retrieving Pricing Info for: v3-standard-8 04:07:50 INFO: Archiving Costs [Pipeline] echo 04:07:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:07:51 ---> logs-deploy.sh 04:07:51 lf-activate-venv: SKIPPING 04:07:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/205 04:07:51 INFO: archiving workspace using pattern(s): 04:07:52 Archives upload complete. 04:07:52 INFO: archiving logs to Nexus