Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9ddb55698a7633c438de50c0f2ff12b310139c8d 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-ssh15450748888325275747.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh17294385692246500352.key Verifying host key using known hosts file > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh5968221030842688330.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh18002057607053864383.key Verifying host key using known hosts file > 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-ssh1750319155830963598.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-118927 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 9ddb55698a7633c438de50c0f2ff12b310139c8d (main) Commit message: "docs: Bump Swagger version for Levski to 2.3.0 (#197)" > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9ddb55698a7633c438de50c0f2ff12b310139c8d # timeout=10 > git rev-list --no-walk ef0e1dc43e01e3af63e43192147483735d9789c0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:49:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:49:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:49:04 ========================================================= 14:49:04 EdgeX Global Pipelines Version Info 14:49:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:49:05 ------------------- 14:49:05 stable info: 14:49:05 ------------------- 14:49:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:49:05 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 14:49:05 Message: update stable to v1.0.244 14:49:06 ------------------- 14:49:06 experimental info: 14:49:06 ------------------- 14:49:06 Commited By: **** collab-it+edgex@linuxfoundation.org 14:49:06 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 14:49:06 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9ddb55698a7633c438de50c0f2ff12b310139c8d [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9ddb556 [Pipeline] echo 14:49:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:49:07 provisioning config files... 14:49:07 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11620706359943351581tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:49:07 ---> docker-login.sh 14:49:07 nexus3.edgexfoundry.org:10001 14:49:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:07 Configure a credential helper to remove this warning. See 14:49:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:07 14:49:07 Login Succeeded 14:49:07 nexus3.edgexfoundry.org:10002 14:49:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:07 Configure a credential helper to remove this warning. See 14:49:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:07 14:49:07 Login Succeeded 14:49:07 nexus3.edgexfoundry.org:10003 14:49:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:07 Configure a credential helper to remove this warning. See 14:49:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:07 14:49:07 Login Succeeded 14:49:07 nexus3.edgexfoundry.org:10004 14:49:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:08 Configure a credential helper to remove this warning. See 14:49:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:08 14:49:08 Login Succeeded 14:49:08 docker.io 14:49:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:08 Configure a credential helper to remove this warning. See 14:49:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:08 14:49:08 Login Succeeded 14:49:08 ---> docker-login.sh ends [Pipeline] } 14:49:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:49:09 + git rev-list -1 --merges 9ddb55698a7633c438de50c0f2ff12b310139c8d~1..9ddb55698a7633c438de50c0f2ff12b310139c8d [Pipeline] echo 14:49:09 -----------> git rev-list -1 --merges 9ddb55698a7633c438de50c0f2ff12b310139c8d~1..9ddb55698a7633c438de50c0f2ff12b310139c8d 9ddb55698a7633c438de50c0f2ff12b310139c8d [false] [Pipeline] sh 14:49:09 + git log --format=format:%s -1 9ddb55698a7633c438de50c0f2ff12b310139c8d [Pipeline] echo 14:49:09 ========================================================= 14:49:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:49:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:49:09 + git log --format=format:%s -1 9ddb55698a7633c438de50c0f2ff12b310139c8d [Pipeline] echo 14:49:09 [semverPrep] GIT_COMMIT: 9ddb55698a7633c438de50c0f2ff12b310139c8d, Commit Message: docs: Bump Swagger version for Levski to 2.3.0 (#197) [Pipeline] echo 14:49:09 [semverPrep] This is not a build commit. [Pipeline] sh 14:49:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:49:10 + grep -v github /etc/ssh/ssh_known_hosts 14:49:10 + [ -e /tmp/ssh_known_hosts ] 14:49:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:49:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:49:10 + sudo tee -a /etc/ssh/ssh_known_hosts 14:49:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:49:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:49:10 14:49:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:49:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:49:10 0.1.4: Pulling from edgex-devops/py-git-semver 14:49:10 b85a868b505f: Pulling fs layer 14:49:10 e2be974225ed: Pulling fs layer 14:49:10 339a4e72a1f5: Pulling fs layer 14:49:10 988bab9f4d93: Pulling fs layer 14:49:10 1469e6f7b9e6: Pulling fs layer 14:49:10 eaf3925da568: Pulling fs layer 14:49:10 bab4dde63d76: Pulling fs layer 14:49:10 bde34c3a00c8: Pulling fs layer 14:49:10 b352a97aabf1: Pulling fs layer 14:49:10 4872d77fe225: Pulling fs layer 14:49:10 5851b861e8e6: Pulling fs layer 14:49:10 988bab9f4d93: Waiting 14:49:10 1469e6f7b9e6: Waiting 14:49:10 eaf3925da568: Waiting 14:49:10 4872d77fe225: Waiting 14:49:10 bab4dde63d76: Waiting 14:49:10 b352a97aabf1: Waiting 14:49:10 bde34c3a00c8: Waiting 14:49:10 5851b861e8e6: Waiting 14:49:10 e2be974225ed: Verifying Checksum 14:49:10 e2be974225ed: Download complete 14:49:10 988bab9f4d93: Verifying Checksum 14:49:10 988bab9f4d93: Download complete 14:49:11 1469e6f7b9e6: Verifying Checksum 14:49:11 1469e6f7b9e6: Download complete 14:49:11 339a4e72a1f5: Verifying Checksum 14:49:11 339a4e72a1f5: Download complete 14:49:11 eaf3925da568: Verifying Checksum 14:49:11 eaf3925da568: Download complete 14:49:11 bde34c3a00c8: Download complete 14:49:11 b352a97aabf1: Verifying Checksum 14:49:11 b352a97aabf1: Download complete 14:49:11 4872d77fe225: Download complete 14:49:11 5851b861e8e6: Verifying Checksum 14:49:11 5851b861e8e6: Download complete 14:49:11 b85a868b505f: Verifying Checksum 14:49:11 b85a868b505f: Download complete 14:49:11 bab4dde63d76: Verifying Checksum 14:49:11 bab4dde63d76: Download complete 14:49:12 b85a868b505f: Pull complete 14:49:12 e2be974225ed: Pull complete 14:49:13 339a4e72a1f5: Pull complete 14:49:13 988bab9f4d93: Pull complete 14:49:13 1469e6f7b9e6: Pull complete 14:49:13 eaf3925da568: Pull complete 14:49:15 bab4dde63d76: Pull complete 14:49:15 bde34c3a00c8: Pull complete 14:49:15 b352a97aabf1: Pull complete 14:49:15 4872d77fe225: Pull complete 14:49:15 5851b861e8e6: Pull complete 14:49:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:49:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:49:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:49:15 prd-ubuntu20.04-docker-8c-8g-118927 does not seem to be running inside a container 14:49:15 $ 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 14:49:16 $ docker top 1ee1b88b2d95847243f5510edccf554677a6aa748b3617e0d694a40bf02b2a90 -eo pid,comm 14:49:16 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). 14:49:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:49:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:49:16 [ssh-agent] Looking for ssh-agent implementation... 14:49:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:49:16 $ docker exec 1ee1b88b2d95847243f5510edccf554677a6aa748b3617e0d694a40bf02b2a90 ssh-agent 14:49:16 SSH_AUTH_SOCK=/tmp/ssh-TZTBkNxTcU41/agent.33 14:49:16 SSH_AGENT_PID=39 14:49:16 Running ssh-add (command line suppressed) 14:49:16 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9364011872461595530.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9364011872461595530.key) 14:49:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:49:17 + git tag --points-at HEAD [Pipeline] } 14:49:17 $ docker exec --env ******** --env ******** 1ee1b88b2d95847243f5510edccf554677a6aa748b3617e0d694a40bf02b2a90 ssh-agent -k 14:49:17 unset SSH_AUTH_SOCK; 14:49:17 unset SSH_AGENT_PID; 14:49:17 echo Agent pid 39 killed; 14:49:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:49:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:49:17 [ssh-agent] Looking for ssh-agent implementation... 14:49:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:49:17 $ docker exec 1ee1b88b2d95847243f5510edccf554677a6aa748b3617e0d694a40bf02b2a90 ssh-agent 14:49:17 SSH_AUTH_SOCK=/tmp/ssh-m3TPGaP5GNK6/agent.71 14:49:17 SSH_AGENT_PID=77 14:49:17 Running ssh-add (command line suppressed) 14:49:17 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13810366102333198282.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13810366102333198282.key) 14:49:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:49:18 + git semver init 14:49:18 2022-11-10 14:49:18,171 [run_init] DEBUG init version:0.0.0 force:False 14:49:18 2022-11-10 14:49:18,172 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 14:49:18 2022-11-10 14:49:18,172 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 14:49:18 2022-11-10 14:49:18,173 [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) 14:49:20 2022-11-10 14:49:20,271 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 14:49:20 2022-11-10 14:49:20,272 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 14:49:20 2022-11-10 14:49:20,272 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 14:49:20 2022-11-10 14:49:20,272 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 14:49:20 2.3.0 [Pipeline] } 14:49:20 $ docker exec --env ******** --env ******** 1ee1b88b2d95847243f5510edccf554677a6aa748b3617e0d694a40bf02b2a90 ssh-agent -k 14:49:20 unset SSH_AUTH_SOCK; 14:49:20 unset SSH_AGENT_PID; 14:49:20 echo Agent pid 77 killed; 14:49:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:49:21 + git semver [Pipeline] } 14:49:21 $ docker stop --time=1 1ee1b88b2d95847243f5510edccf554677a6aa748b3617e0d694a40bf02b2a90 14:49:22 $ docker rm -f 1ee1b88b2d95847243f5510edccf554677a6aa748b3617e0d694a40bf02b2a90 [Pipeline] // withDockerContainer [Pipeline] sh 14:49:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:49:23 Stashed 1 file(s) [Pipeline] echo 14:49:23 [edgeXSemver]: initialized semver on version 2.3.0 [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 14:49:23 provisioning config files... 14:49:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16330845307247780806tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:49:23 ---> docker-login.sh 14:49:23 nexus3.edgexfoundry.org:10001 14:49:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:23 Configure a credential helper to remove this warning. See 14:49:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:23 14:49:23 Login Succeeded 14:49:23 nexus3.edgexfoundry.org:10002 14:49:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:23 Configure a credential helper to remove this warning. See 14:49:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:23 14:49:23 Login Succeeded 14:49:23 nexus3.edgexfoundry.org:10003 14:49:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:24 Configure a credential helper to remove this warning. See 14:49:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:24 14:49:24 Login Succeeded 14:49:24 nexus3.edgexfoundry.org:10004 14:49:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:24 Configure a credential helper to remove this warning. See 14:49:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:24 14:49:24 Login Succeeded 14:49:24 docker.io 14:49:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:24 Configure a credential helper to remove this warning. See 14:49:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:24 14:49:24 Login Succeeded 14:49:24 ---> docker-login.sh ends [Pipeline] } 14:49:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:49:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:49:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:49:25 ========================================================= 14:49:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 14:49:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:49:25 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 14:49:25 Sending build context to Docker daemon 27.51MB 14:49:25 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 14:49:25 Step 2/13 : FROM ${BASE} AS builder 14:49:25 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 14:49:25 213ec9aee27d: Pulling fs layer 14:49:25 4583459ba037: Pulling fs layer 14:49:25 93c1e223e6f2: Pulling fs layer 14:49:25 53926ce57604: Pulling fs layer 14:49:25 21b2b0c7a3f4: Pulling fs layer 14:49:25 22ff95d597cd: Pulling fs layer 14:49:25 12d6caf4c0d1: Pulling fs layer 14:49:25 96b7cbca73a9: Pulling fs layer 14:49:25 a7acece74701: Pulling fs layer 14:49:25 96b7cbca73a9: Waiting 14:49:25 12d6caf4c0d1: Waiting 14:49:25 53926ce57604: Waiting 14:49:25 22ff95d597cd: Waiting 14:49:25 a7acece74701: Waiting 14:49:25 21b2b0c7a3f4: Waiting 14:49:25 93c1e223e6f2: Download complete 14:49:25 4583459ba037: Verifying Checksum 14:49:25 4583459ba037: Download complete 14:49:25 21b2b0c7a3f4: Verifying Checksum 14:49:25 21b2b0c7a3f4: Download complete 14:49:25 22ff95d597cd: Verifying Checksum 14:49:25 22ff95d597cd: Download complete 14:49:25 213ec9aee27d: Verifying Checksum 14:49:25 12d6caf4c0d1: Verifying Checksum 14:49:25 12d6caf4c0d1: Download complete 14:49:25 213ec9aee27d: Pull complete 14:49:25 4583459ba037: Pull complete 14:49:25 93c1e223e6f2: Pull complete 14:49:26 a7acece74701: Verifying Checksum 14:49:26 a7acece74701: Download complete 14:49:26 53926ce57604: Verifying Checksum 14:49:26 53926ce57604: Download complete 14:49:26 96b7cbca73a9: Verifying Checksum 14:49:30 53926ce57604: Pull complete 14:49:30 21b2b0c7a3f4: Pull complete 14:49:30 22ff95d597cd: Pull complete 14:49:30 12d6caf4c0d1: Pull complete 14:49:33 96b7cbca73a9: Pull complete 14:49:33 a7acece74701: Pull complete 14:49:33 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 14:49:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 14:49:33 ---> db6d94c90886 14:49:33 Step 3/13 : ARG ADD_BUILD_TAGS="" 14:49:35 ---> Running in 0abbc1da1919 14:49:35 Removing intermediate container 0abbc1da1919 14:49:35 ---> 316e017e63be 14:49:35 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:49:35 ---> Running in 0ee5968f27f7 14:49:35 Removing intermediate container 0ee5968f27f7 14:49:35 ---> dbbdddc47b12 14:49:35 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 14:49:35 ---> Running in 8c967a2d8868 14:49:35 Removing intermediate container 8c967a2d8868 14:49:35 ---> 430c089bf4c1 14:49:35 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 14:49:35 ---> Running in 991d3251e08f 14:49:35 Removing intermediate container 991d3251e08f 14:49:35 ---> e418631c9176 14:49:35 Step 7/13 : LABEL Name=edgex-device-onvif-camera 14:49:35 ---> Running in e9444d12ae6f 14:49:35 Removing intermediate container e9444d12ae6f 14:49:35 ---> 57526eed0a2e 14:49:35 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:49:35 ---> Running in e29f57315074 14:49:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:49:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:49:36 OK: 211 MiB in 51 packages 14:49:36 Removing intermediate container e29f57315074 14:49:36 ---> 4074e35e32c2 14:49:36 Step 9/13 : WORKDIR /device-onvif-camera 14:49:36 ---> Running in 0a7cf74f3464 14:49:37 Removing intermediate container 0a7cf74f3464 14:49:37 ---> a76ea1c9b5c6 14:49:37 Step 10/13 : COPY go.mod vendor* ./ 14:49:37 ---> bfbe5b17df5f 14:49:37 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:49:37 ---> Running in a7000d82628d 14:49:38 Still waiting to schedule task 14:49:38 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 14:50:03 Removing intermediate container a7000d82628d 14:50:03 ---> 10659f7c6afa 14:50:03 Step 12/13 : COPY . . 14:50:03 ---> 300819f9a434 14:50:03 Step 13/13 : RUN ${MAKE} 14:50:03 ---> Running in eaab085a5e9c 14:50:03 noop 14:50:03 Removing intermediate container eaab085a5e9c 14:50:03 ---> f60ee1a219e4 14:50:03 Successfully built f60ee1a219e4 14:50:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:50:04 + docker inspect -f . ci-base-image-x86_64 14:50:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:50:04 prd-ubuntu20.04-docker-8c-8g-118927 does not seem to be running inside a container 14:50:04 $ 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 14:50:04 $ docker top adb12f3531dfe455d2b384a5f0e5736c40fc3699038c3bf532ee59cea068db87 -eo pid,comm [Pipeline] { [Pipeline] sh 14:50:04 + go version 14:50:04 go version go1.18.7 linux/amd64 [Pipeline] } 14:50:04 $ docker stop --time=1 adb12f3531dfe455d2b384a5f0e5736c40fc3699038c3bf532ee59cea068db87 14:50:06 $ docker rm -f adb12f3531dfe455d2b384a5f0e5736c40fc3699038c3bf532ee59cea068db87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:50:06 + docker inspect -f . ci-base-image-x86_64 14:50:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:50:06 prd-ubuntu20.04-docker-8c-8g-118927 does not seem to be running inside a container 14:50:06 $ 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 14:50:06 $ docker top 967aa3b7068e293b71dd8d9f81d3b1b514fbd526230b73e7d130b35a07b89bfa -eo pid,comm [Pipeline] { [Pipeline] sh 14:50:07 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 14:50:07 + make test 14:50:07 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:50:07 ? github.com/edgexfoundry/device-onvif-camera [no test files] 14:50:20 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 14:50:21 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.041s coverage: 29.3% of statements 14:50:21 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 14:50:21 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.417s coverage: 86.5% of statements 14:50:30 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 14:50:30 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:50:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:50:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:50:33 ./bin/test-attribution-txt.sh [Pipeline] echo 14:50:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:50:33 $ docker stop --time=1 967aa3b7068e293b71dd8d9f81d3b1b514fbd526230b73e7d130b35a07b89bfa 14:50:35 $ docker rm -f 967aa3b7068e293b71dd8d9f81d3b1b514fbd526230b73e7d130b35a07b89bfa [Pipeline] // withDockerContainer [Pipeline] sh 14:50:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:50:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:50:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:50:36 + ls -al . 14:50:36 total 248 14:50:36 drwxrwxr-x 10 jenkins jenkins 4096 Nov 10 14:50 . 14:50:36 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 14:49 .. 14:50:36 drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 14:50 .git 14:50:36 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 14:49 .github 14:50:36 -rw-rw-r-- 1 jenkins jenkins 496 Nov 10 14:49 .gitignore 14:50:36 -rw-rw-r-- 1 jenkins jenkins 42 Nov 10 14:49 .golangci.yml 14:50:36 drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 14:49 .semver 14:50:36 -rw-rw-r-- 1 jenkins jenkins 9739 Nov 10 14:49 Attribution.txt 14:50:36 -rw-rw-r-- 1 jenkins jenkins 6312 Nov 10 14:49 CHANGELOG.md 14:50:36 -rw-rw-r-- 1 jenkins jenkins 1637 Nov 10 14:49 Dockerfile 14:50:36 -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 14:49 GOVERNANCE.md 14:50:36 -rw-rw-r-- 1 jenkins jenkins 734 Nov 10 14:49 Jenkinsfile 14:50:36 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 10 14:49 LICENSE 14:50:36 -rw-rw-r-- 1 jenkins jenkins 2858 Nov 10 14:49 Makefile 14:50:36 -rw-rw-r-- 1 jenkins jenkins 625 Nov 10 14:49 OWNERS.md 14:50:36 -rw-rw-r-- 1 jenkins jenkins 6595 Nov 10 14:49 README.md 14:50:36 -rw-rw-r-- 1 jenkins jenkins 5 Nov 10 14:49 VERSION 14:50:36 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 14:49 bin 14:50:36 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 14:49 cmd 14:50:36 -rw-r--r-- 1 jenkins jenkins 79184 Nov 10 14:50 coverage.out 14:50:36 drwxrwxr-x 6 jenkins jenkins 4096 Nov 10 14:49 doc 14:50:36 -rw-rw-r-- 1 jenkins jenkins 3687 Nov 10 14:49 go.mod 14:50:36 -rw-rw-r-- 1 jenkins jenkins 46105 Nov 10 14:49 go.sum 14:50:36 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 14:49 internal 14:50:36 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 14:49 snap 14:50:36 -rw-rw-r-- 1 jenkins jenkins 236 Nov 10 14:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:50:37 + 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=9ddb55698a7633c438de50c0f2ff12b310139c8d --label arch=amd64 --label version=2.3.0 . 14:50:37 Sending build context to Docker daemon 27.59MB 14:50:37 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 14:50:37 Step 2/26 : FROM ${BASE} AS builder 14:50:37 ---> f60ee1a219e4 14:50:37 Step 3/26 : ARG ADD_BUILD_TAGS="" 14:50:37 ---> Running in 04b43daae3f6 14:50:37 Removing intermediate container 04b43daae3f6 14:50:37 ---> f5bd00e182f6 14:50:37 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:50:37 ---> Running in 459ddd16dc8c 14:50:37 Removing intermediate container 459ddd16dc8c 14:50:37 ---> 8749c793346b 14:50:37 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 14:50:37 ---> Running in 2323d9315ed9 14:50:37 Removing intermediate container 2323d9315ed9 14:50:37 ---> 8feaeeacf540 14:50:37 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 14:50:37 ---> Running in 9688a523eb1c 14:50:37 Removing intermediate container 9688a523eb1c 14:50:37 ---> 9e0b381c4b89 14:50:37 Step 7/26 : LABEL Name=edgex-device-onvif-camera 14:50:37 ---> Running in 46694da7d3b0 14:50:37 Removing intermediate container 46694da7d3b0 14:50:37 ---> ca88daf3b4fe 14:50:37 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:50:37 ---> Running in 926fc7c51323 14:50:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:50:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:50:38 OK: 211 MiB in 51 packages 14:50:38 Removing intermediate container 926fc7c51323 14:50:38 ---> e3cd86e8a335 14:50:38 Step 9/26 : WORKDIR /device-onvif-camera 14:50:38 ---> Running in e55fa664d887 14:50:38 Removing intermediate container e55fa664d887 14:50:38 ---> 3c570d19e36a 14:50:38 Step 10/26 : COPY go.mod vendor* ./ 14:50:38 ---> 712c929f771b 14:50:38 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:50:38 ---> Running in b3bca3979899 14:50:39 Removing intermediate container b3bca3979899 14:50:39 ---> 4c49d8677bf2 14:50:39 Step 12/26 : COPY . . 14:50:40 ---> e7358331551c 14:50:40 Step 13/26 : RUN ${MAKE} 14:50:40 ---> Running in 94d10212f4cd 14:50:40 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 14:51:02 Removing intermediate container 94d10212f4cd 14:51:02 ---> 5e2e6b6f8e7c 14:51:02 Step 14/26 : FROM alpine:3.16 14:51:02 3.16: Pulling from library/alpine 14:51:02 213ec9aee27d: Already exists 14:51:02 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 14:51:02 Status: Downloaded newer image for alpine:3.16 14:51:02 ---> 9c6f07244728 14:51:02 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 14:51:02 ---> Running in b345d263505f 14:51:02 Removing intermediate container b345d263505f 14:51:02 ---> d9b9101667b0 14:51:02 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 14:51:02 ---> Running in d9f55d120733 14:51:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:51:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:51:02 (1/6) Installing dumb-init (1.2.5-r1) 14:51:02 (2/6) Installing libgcc (11.2.1_git20220219-r2) 14:51:02 (3/6) Installing libsodium (1.0.18-r0) 14:51:02 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 14:51:03 (5/6) Installing libzmq (4.3.4-r0) 14:51:03 (6/6) Installing zeromq (4.3.4-r0) 14:51:03 Executing busybox-1.35.0-r17.trigger 14:51:03 OK: 8 MiB in 20 packages 14:51:03 Removing intermediate container d9f55d120733 14:51:03 ---> 0a9949879860 14:51:03 Step 17/26 : WORKDIR / 14:51:03 ---> Running in d77b2524c52c 14:51:03 Removing intermediate container d77b2524c52c 14:51:03 ---> 41fbba03281a 14:51:03 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 14:51:04 ---> f81268d06377 14:51:04 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 14:51:04 ---> 57946021ff86 14:51:04 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 14:51:04 ---> 89942c7cca31 14:51:04 Step 21/26 : EXPOSE 59984 14:51:04 ---> Running in 6000c0ae7052 14:51:04 Removing intermediate container 6000c0ae7052 14:51:04 ---> e27f9aaf70c4 14:51:04 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 14:51:04 ---> Running in 9e2893b0f53e 14:51:04 Removing intermediate container 9e2893b0f53e 14:51:04 ---> 22ae4a43c7d4 14:51:04 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:51:04 ---> Running in 6524ecb273ba 14:51:04 Removing intermediate container 6524ecb273ba 14:51:04 ---> 894a4a35ddb5 14:51:04 Step 24/26 : LABEL arch=amd64 14:51:04 ---> Running in 94d5bdde2cdc 14:51:05 Removing intermediate container 94d5bdde2cdc 14:51:05 ---> 496a0ef3f769 14:51:05 Step 25/26 : LABEL git_sha=9ddb55698a7633c438de50c0f2ff12b310139c8d 14:51:05 ---> Running in 6217868fd58a 14:51:05 Removing intermediate container 6217868fd58a 14:51:05 ---> 1fa5d4e29e8a 14:51:05 Step 26/26 : LABEL version=2.3.0 14:51:05 ---> Running in d31015a0dd73 14:51:05 Removing intermediate container d31015a0dd73 14:51:05 ---> c0917db1743c 14:51:05 [Warning] One or more build-args [ARCH] were not consumed 14:51:05 Successfully built c0917db1743c 14:51:05 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 14:51:05 provisioning config files... 14:51:05 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15801194659478336294tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:51:05 ---> docker-login.sh 14:51:05 nexus3.edgexfoundry.org:10001 14:51:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:51:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:51:05 Configure a credential helper to remove this warning. See 14:51:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:51:05 14:51:05 Login Succeeded 14:51:05 nexus3.edgexfoundry.org:10002 14:51:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:51:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:51:05 Configure a credential helper to remove this warning. See 14:51:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:51:05 14:51:05 Login Succeeded 14:51:05 nexus3.edgexfoundry.org:10003 14:51:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:51:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:51:05 Configure a credential helper to remove this warning. See 14:51:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:51:05 14:51:05 Login Succeeded 14:51:05 nexus3.edgexfoundry.org:10004 14:51:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:51:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:51:05 Configure a credential helper to remove this warning. See 14:51:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:51:05 14:51:05 Login Succeeded 14:51:05 docker.io 14:51:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:51:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:51:06 Configure a credential helper to remove this warning. See 14:51:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:51:06 14:51:06 Login Succeeded 14:51:06 ---> docker-login.sh ends [Pipeline] } 14:51:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:51:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:51:06 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 14:51:06 9ddb55698a7633c438de50c0f2ff12b310139c8d 14:51:06 latest 14:51:06 2.3.0 14:51:06 9ddb55698a7633c438de50c0f2ff12b310139c8d-2.3.0 14:51:06 main 14:51:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:51:06 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:9ddb55698a7633c438de50c0f2ff12b310139c8d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:51:07 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:9ddb55698a7633c438de50c0f2ff12b310139c8d 14:51:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 14:51:08 dc04f2754718: Preparing 14:51:08 b5e814170d24: Preparing 14:51:08 46f62681c622: Preparing 14:51:08 8614ffe19202: Preparing 14:51:08 994393dc58e7: Preparing 14:51:08 994393dc58e7: Layer already exists 14:51:08 dc04f2754718: Pushed 14:51:08 b5e814170d24: Pushed 14:51:08 8614ffe19202: Pushed 14:51:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118928 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 14:51:09 Running in /w/workspace/device-onvif-camera/87 [Pipeline] { [Pipeline] checkout 14:51:09 The recommended git tool is: git 14:51:11 46f62681c622: Pushed 14:51:11 9ddb55698a7633c438de50c0f2ff12b310139c8d: digest: sha256:ce23be5923f598ad4cf77c7296d9934f272e504a0f7285791c86f4ee1c59eb6f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:51:11 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:51:11 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 14:51:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 14:51:11 dc04f2754718: Preparing 14:51:11 b5e814170d24: Preparing 14:51:11 46f62681c622: Preparing 14:51:11 8614ffe19202: Preparing 14:51:11 994393dc58e7: Preparing 14:51:11 994393dc58e7: Layer already exists 14:51:11 46f62681c622: Layer already exists 14:51:11 b5e814170d24: Layer already exists 14:51:11 dc04f2754718: Layer already exists 14:51:11 8614ffe19202: Layer already exists 14:51:11 latest: digest: sha256:ce23be5923f598ad4cf77c7296d9934f272e504a0f7285791c86f4ee1c59eb6f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:51:11 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:51:12 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0 14:51:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 14:51:12 dc04f2754718: Preparing 14:51:12 b5e814170d24: Preparing 14:51:12 46f62681c622: Preparing 14:51:12 8614ffe19202: Preparing 14:51:12 994393dc58e7: Preparing 14:51:12 994393dc58e7: Layer already exists 14:51:12 dc04f2754718: Layer already exists 14:51:12 8614ffe19202: Layer already exists 14:51:12 b5e814170d24: Layer already exists 14:51:12 46f62681c622: Layer already exists 14:51:12 2.3.0: digest: sha256:ce23be5923f598ad4cf77c7296d9934f272e504a0f7285791c86f4ee1c59eb6f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:51:12 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:9ddb55698a7633c438de50c0f2ff12b310139c8d-2.3.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:51:12 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:9ddb55698a7633c438de50c0f2ff12b310139c8d-2.3.0 14:51:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 14:51:12 dc04f2754718: Preparing 14:51:12 b5e814170d24: Preparing 14:51:12 46f62681c622: Preparing 14:51:12 8614ffe19202: Preparing 14:51:12 994393dc58e7: Preparing 14:51:12 dc04f2754718: Layer already exists 14:51:12 8614ffe19202: Layer already exists 14:51:12 994393dc58e7: Layer already exists 14:51:12 b5e814170d24: Layer already exists 14:51:12 46f62681c622: Layer already exists 14:51:12 9ddb55698a7633c438de50c0f2ff12b310139c8d-2.3.0: digest: sha256:ce23be5923f598ad4cf77c7296d9934f272e504a0f7285791c86f4ee1c59eb6f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:51:13 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:51:13 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 14:51:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 14:51:13 dc04f2754718: Preparing 14:51:13 b5e814170d24: Preparing 14:51:13 46f62681c622: Preparing 14:51:13 8614ffe19202: Preparing 14:51:13 994393dc58e7: Preparing 14:51:13 dc04f2754718: Layer already exists 14:51:13 994393dc58e7: Layer already exists 14:51:13 8614ffe19202: Layer already exists 14:51:13 b5e814170d24: Layer already exists 14:51:13 46f62681c622: Layer already exists 14:51:13 main: digest: sha256:ce23be5923f598ad4cf77c7296d9934f272e504a0f7285791c86f4ee1c59eb6f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:51:13 ===================================================== [Pipeline] echo 14:51:13 taggedImages: 14:51:13 - nexus3.edgexfoundry.org:10004/device-onvif-camera:9ddb55698a7633c438de50c0f2ff12b310139c8d 14:51:13 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 14:51:13 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0 14:51:13 - nexus3.edgexfoundry.org:10004/device-onvif-camera:9ddb55698a7633c438de50c0f2ff12b310139c8d-2.3.0 14:51:13 - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:51:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:51:14 14:51:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:51:14 using credential edgex-jenkins-ssh 14:51:14 Cloning the remote Git repository 14:51:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:51:14 latest: Pulling from edgex-lftools-log-publisher 14:51:14 5eb5b503b376: Pulling fs layer 14:51:14 5c69ac0246d0: Pulling fs layer 14:51:14 ec43610c2a17: Pulling fs layer 14:51:14 3a2ae6a8a46f: Pulling fs layer 14:51:14 33b1e0a273af: Pulling fs layer 14:51:14 5d3b04190fa2: Pulling fs layer 14:51:14 2f39f015ded8: Pulling fs layer 14:51:14 3a2ae6a8a46f: Waiting 14:51:14 5d3b04190fa2: Waiting 14:51:14 33b1e0a273af: Waiting 14:51:14 2f39f015ded8: Waiting 14:51:14 5c69ac0246d0: Verifying Checksum 14:51:14 5c69ac0246d0: Download complete 14:51:14 3a2ae6a8a46f: Verifying Checksum 14:51:14 3a2ae6a8a46f: Download complete 14:51:14 33b1e0a273af: Verifying Checksum 14:51:14 33b1e0a273af: Download complete 14:51:14 5d3b04190fa2: Verifying Checksum 14:51:14 5d3b04190fa2: Download complete 14:51:14 ec43610c2a17: Verifying Checksum 14:51:14 ec43610c2a17: Download complete 14:51:14 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 14:51:14 > git init /w/workspace/device-onvif-camera/87 # timeout=10 14:51:14 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 14:51:14 > git --version # timeout=10 14:51:14 > git --version # 'git version 2.25.1' 14:51:14 using GIT_SSH to set credentials SSH Credentials for GitHub 14:51:14 Verifying host key using known hosts file 14:51:14 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 14:51:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:51:15 5eb5b503b376: Verifying Checksum 14:51:15 5eb5b503b376: Download complete 14:51:15 2f39f015ded8: Download complete 14:51:16 5eb5b503b376: Pull complete 14:51:16 5c69ac0246d0: Pull complete 14:51:16 ec43610c2a17: Pull complete 14:51:16 3a2ae6a8a46f: Pull complete 14:51:17 33b1e0a273af: Pull complete 14:51:17 5d3b04190fa2: Pull complete 14:51:21 2f39f015ded8: Pull complete 14:51:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:51:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:51:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:51:21 prd-ubuntu20.04-docker-8c-8g-118927 does not seem to be running inside a container 14:51:21 $ 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 14:51:21 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 14:51:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:51:22 Avoid second fetch 14:51:22 Checking out Revision 9ddb55698a7633c438de50c0f2ff12b310139c8d (main) 14:51:23 Commit message: "docs: Bump Swagger version for Levski to 2.3.0 (#197)" 14:51:23 $ docker top 5e0e256cd6be1201fe4105a2c20a9789b84b2552a6ff40b2170a57c7578f8aa4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:51:23 ---> job-cost.sh 14:51:23 lf-activate-venv: SKIPPING 14:51:23 INFO: No Stack... 14:51:22 > git config core.sparsecheckout # timeout=10 14:51:22 > git checkout -f 9ddb55698a7633c438de50c0f2ff12b310139c8d # timeout=10 14:51:24 14:51:24 GitHub has been notified of this commit’s build result 14:51:24 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:51:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:51:24 % Total % Received % Xferd Average Speed Time Time Time Current 14:51:24 Dload Upload Total Spent Left Speed 14:51:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 58613 0 --:--:-- --:--:-- --:--:-- 58613 [Pipeline] sh 14:51:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:51:25 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 14:51:25 /etc/docker/daemon.json 14:51:25 { 14:51:25 "registry-mirrors": [ 14:51:25 "https://nexus3.edgexfoundry.org:10001" 14:51:25 ], 14:51:25 "bip": "10.250.0.254/24", 14:51:25 "hosts": [ 14:51:25 "tcp://0.0.0.0:5555", 14:51:25 "unix:///var/run/docker.sock" 14:51:25 ], 14:51:25 "mtu": 1458, 14:51:25 "selinux-enabled": true, 14:51:25 "seccomp-profile": "/etc/docker/seccomp.json" 14:51:25 } [Pipeline] sh 14:51:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:51:26 + sudo service docker restart 14:51:30 INFO: Retrieving Pricing Info for: v3-standard-8 14:51:30 INFO: Archiving Costs [Pipeline] sh 14:51:30 + cut -d, -f6 14:51:30 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [Pipeline] lock 14:51:30 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-87-stack-cost] 14:51:30 Resource [jenkins-edgexfoundry-device-onvif-camera-main-87-stack-cost] did not exist. Created. 14:51:30 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-87-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:51:30 + echo total: 0.2199999988079071 [Pipeline] stash 14:51:30 Stashed 1 file(s) [Pipeline] } 14:51:30 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-87-stack-cost] [Pipeline] // lock [Pipeline] } 14:51:30 $ docker stop --time=1 5e0e256cd6be1201fe4105a2c20a9789b84b2552a6ff40b2170a57c7578f8aa4 14:51:32 $ docker rm -f 5e0e256cd6be1201fe4105a2c20a9789b84b2552a6ff40b2170a57c7578f8aa4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:51:44 provisioning config files... 14:51:44 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/87@tmp/config6506177720282530872tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:51:44 ---> docker-login.sh 14:51:44 nexus3.edgexfoundry.org:10001 14:51:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:51:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:51:45 Configure a credential helper to remove this warning. See 14:51:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:51:45 14:51:45 Login Succeeded 14:51:45 nexus3.edgexfoundry.org:10002 14:51:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:51:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:51:45 Configure a credential helper to remove this warning. See 14:51:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:51:45 14:51:45 Login Succeeded 14:51:46 nexus3.edgexfoundry.org:10003 14:51:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:51:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:51:46 Configure a credential helper to remove this warning. See 14:51:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:51:46 14:51:46 Login Succeeded 14:51:46 nexus3.edgexfoundry.org:10004 14:51:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:51:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:51:46 Configure a credential helper to remove this warning. See 14:51:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:51:46 14:51:46 Login Succeeded 14:51:46 docker.io 14:51:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:51:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:51:47 Configure a credential helper to remove this warning. See 14:51:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:51:47 14:51:47 Login Succeeded 14:51:47 ---> docker-login.sh ends [Pipeline] } 14:51:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:51:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:51:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:51:47 ========================================================= 14:51:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 14:51:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:51:47 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 14:51:48 Sending build context to Docker daemon 20.45MB 14:51:48 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 14:51:48 Step 2/13 : FROM ${BASE} AS builder 14:51:48 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:51:48 9b18e9b68314: Pulling fs layer 14:51:48 35d82f9e3411: Pulling fs layer 14:51:48 e16973657156: Pulling fs layer 14:51:48 fc693d55d65f: Pulling fs layer 14:51:48 7e9fc2657dce: Pulling fs layer 14:51:48 dda99020689f: Pulling fs layer 14:51:48 db1c61fa0a46: Pulling fs layer 14:51:48 891c053d2c06: Pulling fs layer 14:51:48 dda99020689f: Waiting 14:51:48 db1c61fa0a46: Waiting 14:51:48 891c053d2c06: Waiting 14:51:48 fc693d55d65f: Waiting 14:51:48 7e9fc2657dce: Waiting 14:51:48 e16973657156: Verifying Checksum 14:51:48 e16973657156: Download complete 14:51:48 35d82f9e3411: Verifying Checksum 14:51:48 35d82f9e3411: Download complete 14:51:48 9b18e9b68314: Verifying Checksum 14:51:48 7e9fc2657dce: Verifying Checksum 14:51:48 7e9fc2657dce: Download complete 14:51:48 dda99020689f: Verifying Checksum 14:51:48 dda99020689f: Download complete 14:51:49 9b18e9b68314: Pull complete 14:51:50 891c053d2c06: Verifying Checksum 14:51:50 891c053d2c06: Download complete 14:51:50 35d82f9e3411: Pull complete 14:51:50 e16973657156: Pull complete 14:51:51 db1c61fa0a46: Verifying Checksum 14:51:51 db1c61fa0a46: Download complete 14:51:51 fc693d55d65f: Verifying Checksum 14:51:51 fc693d55d65f: Download complete 14:52:04 fc693d55d65f: Pull complete 14:52:04 7e9fc2657dce: Pull complete 14:52:04 dda99020689f: Pull complete 14:52:10 db1c61fa0a46: Pull complete 14:52:12 891c053d2c06: Pull complete 14:52:12 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 14:52:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 14:52:12 ---> f96f9c87975a 14:52:12 Step 3/13 : ARG ADD_BUILD_TAGS="" 14:52:14 ---> Running in 0d04d828511c 14:52:14 Removing intermediate container 0d04d828511c 14:52:14 ---> 622bbad4c2d9 14:52:14 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:52:14 ---> Running in 5608489356eb 14:52:14 Removing intermediate container 5608489356eb 14:52:14 ---> 1393db655fb1 14:52:14 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 14:52:14 ---> Running in d2947862838c 14:52:15 Removing intermediate container d2947862838c 14:52:15 ---> b3c596b41974 14:52:15 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 14:52:15 ---> Running in 5005adbb7c8d 14:52:15 Removing intermediate container 5005adbb7c8d 14:52:15 ---> 3df4b7fe0905 14:52:15 Step 7/13 : LABEL Name=edgex-device-onvif-camera 14:52:15 ---> Running in f67ee5565f03 14:52:15 Removing intermediate container f67ee5565f03 14:52:15 ---> 60e7ef75752a 14:52:15 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:52:15 ---> Running in a2e355039c2e 14:52:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:52:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:52:18 OK: 221 MiB in 51 packages 14:52:18 Removing intermediate container a2e355039c2e 14:52:18 ---> a36983e490cf 14:52:18 Step 9/13 : WORKDIR /device-onvif-camera 14:52:18 ---> Running in 94c7ac593b98 14:52:19 Removing intermediate container 94c7ac593b98 14:52:19 ---> 5847aae38a54 14:52:19 Step 10/13 : COPY go.mod vendor* ./ 14:52:19 ---> ec332ababf71 14:52:19 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:52:19 ---> Running in 75b980cd0a06 14:53:16 Removing intermediate container 75b980cd0a06 14:53:16 ---> 2b648027d35e 14:53:16 Step 12/13 : COPY . . 14:53:16 ---> c786ceac2bf9 14:53:16 Step 13/13 : RUN ${MAKE} 14:53:16 ---> Running in fe1452303c4e 14:53:16 noop 14:53:16 Removing intermediate container fe1452303c4e 14:53:16 ---> 524650c98c5b 14:53:16 Successfully built 524650c98c5b 14:53:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:53:16 + docker inspect -f . ci-base-image-arm64 14:53:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:53:16 prd-ubuntu20.04-docker-arm64-4c-16g-118928 does not seem to be running inside a container 14:53:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/87 -v /w/workspace/device-onvif-camera/87:/w/workspace/device-onvif-camera/87:rw,z -v /w/workspace/device-onvif-camera/87@tmp:/w/workspace/device-onvif-camera/87@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 14:53:17 $ docker top 8a6d89249317643e8ac8665d3c52cc7942a4279b96cad8e2a3a7ea734192dfbd -eo pid,comm [Pipeline] { [Pipeline] sh 14:53:18 + go version 14:53:18 go version go1.18.7 linux/arm64 [Pipeline] } 14:53:18 $ docker stop --time=1 8a6d89249317643e8ac8665d3c52cc7942a4279b96cad8e2a3a7ea734192dfbd 14:53:20 $ docker rm -f 8a6d89249317643e8ac8665d3c52cc7942a4279b96cad8e2a3a7ea734192dfbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:53:20 + docker inspect -f . ci-base-image-arm64 14:53:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:53:20 prd-ubuntu20.04-docker-arm64-4c-16g-118928 does not seem to be running inside a container 14:53:21 $ 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/87 -v /w/workspace/device-onvif-camera/87:/w/workspace/device-onvif-camera/87:rw,z -v /w/workspace/device-onvif-camera/87@tmp:/w/workspace/device-onvif-camera/87@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 14:53:22 $ docker top 58e1464ad264f4c57738a415febdbc3226d0ca03988d7bbe3f021c24654d9ac0 -eo pid,comm [Pipeline] { [Pipeline] sh 14:53:22 + git config --global --add safe.directory /w/workspace/device-onvif-camera/87 [Pipeline] fileExists [Pipeline] sh 14:53:23 + make test 14:53:23 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:53:24 ? github.com/edgexfoundry/device-onvif-camera [no test files] 14:55:01 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 14:55:01 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.206s coverage: 29.3% of statements 14:55:01 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 14:55:19 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.284s coverage: 86.5% of statements 14:55:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:55:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:55:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:55:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:55:41 ./bin/test-attribution-txt.sh [Pipeline] echo 14:55:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:55:42 $ docker stop --time=1 58e1464ad264f4c57738a415febdbc3226d0ca03988d7bbe3f021c24654d9ac0 14:55:44 $ docker rm -f 58e1464ad264f4c57738a415febdbc3226d0ca03988d7bbe3f021c24654d9ac0 [Pipeline] // withDockerContainer [Pipeline] sh 14:55:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:55:45 Warning: overwriting stash ‘coverage-report’ 14:55:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:55:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:55:46 + ls -al . 14:55:46 total 244 14:55:46 drwxrwxr-x 9 jenkins jenkins 4096 Nov 10 14:53 . 14:55:46 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 14:51 .. 14:55:46 drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 14:51 .git 14:55:46 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 14:51 .github 14:55:46 -rw-rw-r-- 1 jenkins jenkins 496 Nov 10 14:51 .gitignore 14:55:46 -rw-rw-r-- 1 jenkins jenkins 42 Nov 10 14:51 .golangci.yml 14:55:46 -rw-rw-r-- 1 jenkins jenkins 9739 Nov 10 14:51 Attribution.txt 14:55:46 -rw-rw-r-- 1 jenkins jenkins 6312 Nov 10 14:51 CHANGELOG.md 14:55:46 -rw-rw-r-- 1 jenkins jenkins 1637 Nov 10 14:51 Dockerfile 14:55:46 -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 14:51 GOVERNANCE.md 14:55:46 -rw-rw-r-- 1 jenkins jenkins 734 Nov 10 14:51 Jenkinsfile 14:55:46 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 10 14:51 LICENSE 14:55:46 -rw-rw-r-- 1 jenkins jenkins 2858 Nov 10 14:51 Makefile 14:55:46 -rw-rw-r-- 1 jenkins jenkins 625 Nov 10 14:51 OWNERS.md 14:55:46 -rw-rw-r-- 1 jenkins jenkins 6595 Nov 10 14:51 README.md 14:55:46 -rw-rw-r-- 1 jenkins jenkins 5 Nov 10 14:49 VERSION 14:55:46 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 14:51 bin 14:55:46 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 14:51 cmd 14:55:46 -rw-r--r-- 1 jenkins jenkins 79184 Nov 10 14:55 coverage.out 14:55:46 drwxrwxr-x 6 jenkins jenkins 4096 Nov 10 14:51 doc 14:55:46 -rw-rw-r-- 1 jenkins jenkins 3687 Nov 10 14:51 go.mod 14:55:46 -rw-rw-r-- 1 jenkins jenkins 46105 Nov 10 14:51 go.sum 14:55:46 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 14:51 internal 14:55:46 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 14:51 snap 14:55:46 -rw-rw-r-- 1 jenkins jenkins 236 Nov 10 14:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:55:46 + 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=9ddb55698a7633c438de50c0f2ff12b310139c8d --label arch=arm64 --label version=2.3.0 . 14:55:47 Sending build context to Docker daemon 20.53MB 14:55:47 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 14:55:47 Step 2/26 : FROM ${BASE} AS builder 14:55:47 ---> 524650c98c5b 14:55:47 Step 3/26 : ARG ADD_BUILD_TAGS="" 14:55:47 ---> Running in 4b15f530ab2b 14:55:48 Removing intermediate container 4b15f530ab2b 14:55:48 ---> 7a37c9425897 14:55:48 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:55:48 ---> Running in 556ee647ae6f 14:55:49 Removing intermediate container 556ee647ae6f 14:55:49 ---> ac9e52887228 14:55:49 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 14:55:50 ---> Running in 153be88847ad 14:55:50 Removing intermediate container 153be88847ad 14:55:50 ---> 8f5a280e88d5 14:55:50 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 14:55:50 ---> Running in cd4ebf6dd1ab 14:55:50 Removing intermediate container cd4ebf6dd1ab 14:55:50 ---> 905703654009 14:55:50 Step 7/26 : LABEL Name=edgex-device-onvif-camera 14:55:51 ---> Running in 509a807b9d05 14:55:51 Removing intermediate container 509a807b9d05 14:55:51 ---> a7833421f971 14:55:51 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:55:51 ---> Running in aa19a3b64cd2 14:55:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:55:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:55:54 OK: 221 MiB in 51 packages 14:55:55 Removing intermediate container aa19a3b64cd2 14:55:55 ---> caef57a32348 14:55:55 Step 9/26 : WORKDIR /device-onvif-camera 14:55:55 ---> Running in 4372151c9197 14:55:55 Removing intermediate container 4372151c9197 14:55:55 ---> 0fe2d27b95ec 14:55:55 Step 10/26 : COPY go.mod vendor* ./ 14:55:56 ---> 9cf4837d4732 14:55:56 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:55:56 ---> Running in a1aca2b3c856 14:55:59 Removing intermediate container a1aca2b3c856 14:55:59 ---> 8f169abfa467 14:55:59 Step 12/26 : COPY . . 14:56:01 ---> a3e6445c70c0 14:56:01 Step 13/26 : RUN ${MAKE} 14:56:01 ---> Running in c6e2cc31d5e4 14:56:02 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 14:58:53 Removing intermediate container c6e2cc31d5e4 14:58:53 ---> ee5f2ace126f 14:58:53 Step 14/26 : FROM alpine:3.16 14:58:53 3.16: Pulling from library/alpine 14:58:53 9b18e9b68314: Already exists 14:58:53 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 14:58:53 Status: Downloaded newer image for alpine:3.16 14:58:53 ---> a6215f271958 14:58:53 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 14:58:53 ---> Running in 1c8775f790de 14:58:53 Removing intermediate container 1c8775f790de 14:58:53 ---> 48730b8e0f7a 14:58:53 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 14:58:53 ---> Running in d3cdc8f79f81 14:58:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:58:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:58:53 (1/6) Installing dumb-init (1.2.5-r1) 14:58:53 (2/6) Installing libgcc (11.2.1_git20220219-r2) 14:58:53 (3/6) Installing libsodium (1.0.18-r0) 14:58:53 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 14:58:53 (5/6) Installing libzmq (4.3.4-r0) 14:58:53 (6/6) Installing zeromq (4.3.4-r0) 14:58:53 Executing busybox-1.35.0-r17.trigger 14:58:53 OK: 8 MiB in 20 packages 14:58:53 Removing intermediate container d3cdc8f79f81 14:58:53 ---> 7ea7ed81a387 14:58:53 Step 17/26 : WORKDIR / 14:58:53 ---> Running in 1cf92d0f7f90 14:58:53 Removing intermediate container 1cf92d0f7f90 14:58:53 ---> 2d75dbc7cf3c 14:58:53 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 14:58:53 ---> 1eef2736bad1 14:58:53 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 14:58:53 ---> 5d4ce051c6df 14:58:53 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 14:58:53 ---> 29c7a9920b1e 14:58:53 Step 21/26 : EXPOSE 59984 14:58:53 ---> Running in 296329db35e1 14:58:53 Removing intermediate container 296329db35e1 14:58:53 ---> 9151c9ba4151 14:58:53 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 14:58:53 ---> Running in fc287302ffdf 14:58:53 Removing intermediate container fc287302ffdf 14:58:53 ---> e351d5ae9398 14:58:53 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:58:53 ---> Running in ce777eaf32a6 14:58:53 Removing intermediate container ce777eaf32a6 14:58:53 ---> a02a1136a3ee 14:58:53 Step 24/26 : LABEL arch=arm64 14:58:53 ---> Running in 268fa639de65 14:58:53 Removing intermediate container 268fa639de65 14:58:53 ---> 4742e70eaf6e 14:58:53 Step 25/26 : LABEL git_sha=9ddb55698a7633c438de50c0f2ff12b310139c8d 14:58:54 ---> Running in 8dfd911c2534 14:58:54 Removing intermediate container 8dfd911c2534 14:58:54 ---> be72f5d507ac 14:58:54 Step 26/26 : LABEL version=2.3.0 14:58:54 ---> Running in 8c08cad2ca52 14:58:54 Removing intermediate container 8c08cad2ca52 14:58:54 ---> 55c76ab80e80 14:58:54 [Warning] One or more build-args [ARCH] were not consumed 14:58:54 Successfully built 55c76ab80e80 14:58:54 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 14:58:54 provisioning config files... 14:58:54 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/87@tmp/config13469400689070584695tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:58:55 ---> docker-login.sh 14:58:55 nexus3.edgexfoundry.org:10001 14:58:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:58:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:58:55 Configure a credential helper to remove this warning. See 14:58:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:58:55 14:58:55 Login Succeeded 14:58:55 nexus3.edgexfoundry.org:10002 14:58:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:58:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:58:55 Configure a credential helper to remove this warning. See 14:58:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:58:55 14:58:55 Login Succeeded 14:58:55 nexus3.edgexfoundry.org:10003 14:58:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:58:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:58:55 Configure a credential helper to remove this warning. See 14:58:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:58:55 14:58:55 Login Succeeded 14:58:55 nexus3.edgexfoundry.org:10004 14:58:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:58:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:58:56 Configure a credential helper to remove this warning. See 14:58:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:58:56 14:58:56 Login Succeeded 14:58:56 docker.io 14:58:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:58:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:58:56 Configure a credential helper to remove this warning. See 14:58:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:58:56 14:58:56 Login Succeeded 14:58:56 ---> docker-login.sh ends [Pipeline] } 14:58:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:58:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:58:57 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 14:58:57 9ddb55698a7633c438de50c0f2ff12b310139c8d 14:58:57 latest 14:58:57 2.3.0 14:58:57 9ddb55698a7633c438de50c0f2ff12b310139c8d-2.3.0 14:58:57 main 14:58:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:58:57 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9ddb55698a7633c438de50c0f2ff12b310139c8d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:58:57 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9ddb55698a7633c438de50c0f2ff12b310139c8d 14:58:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 14:58:57 600973551d4c: Preparing 14:58:57 bc87bfaad2d0: Preparing 14:58:57 4296d339c69d: Preparing 14:58:57 d657536b35bc: Preparing 14:58:57 5d3e392a13a0: Preparing 14:58:57 5d3e392a13a0: Layer already exists 14:58:58 bc87bfaad2d0: Pushed 14:58:58 600973551d4c: Pushed 14:58:58 d657536b35bc: Pushed 14:59:03 4296d339c69d: Pushed 14:59:04 9ddb55698a7633c438de50c0f2ff12b310139c8d: digest: sha256:eafe674a2dfad64bb01d70220b2149f2001159fd108cd1c35ca26284d4983d41 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:04 + 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 14:59:05 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 14:59:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 14:59:05 600973551d4c: Preparing 14:59:05 bc87bfaad2d0: Preparing 14:59:05 4296d339c69d: Preparing 14:59:05 d657536b35bc: Preparing 14:59:05 5d3e392a13a0: Preparing 14:59:05 5d3e392a13a0: Layer already exists 14:59:05 bc87bfaad2d0: Layer already exists 14:59:05 600973551d4c: Layer already exists 14:59:05 d657536b35bc: Layer already exists 14:59:05 4296d339c69d: Layer already exists 14:59:05 latest: digest: sha256:eafe674a2dfad64bb01d70220b2149f2001159fd108cd1c35ca26284d4983d41 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:05 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:05 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0 14:59:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 14:59:05 600973551d4c: Preparing 14:59:05 bc87bfaad2d0: Preparing 14:59:05 4296d339c69d: Preparing 14:59:05 d657536b35bc: Preparing 14:59:05 5d3e392a13a0: Preparing 14:59:05 600973551d4c: Layer already exists 14:59:05 d657536b35bc: Layer already exists 14:59:05 bc87bfaad2d0: Layer already exists 14:59:05 5d3e392a13a0: Layer already exists 14:59:05 4296d339c69d: Layer already exists 14:59:06 2.3.0: digest: sha256:eafe674a2dfad64bb01d70220b2149f2001159fd108cd1c35ca26284d4983d41 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:06 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9ddb55698a7633c438de50c0f2ff12b310139c8d-2.3.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:06 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9ddb55698a7633c438de50c0f2ff12b310139c8d-2.3.0 14:59:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 14:59:06 600973551d4c: Preparing 14:59:06 bc87bfaad2d0: Preparing 14:59:06 4296d339c69d: Preparing 14:59:06 d657536b35bc: Preparing 14:59:06 5d3e392a13a0: Preparing 14:59:06 bc87bfaad2d0: Layer already exists 14:59:06 4296d339c69d: Layer already exists 14:59:06 5d3e392a13a0: Layer already exists 14:59:06 600973551d4c: Layer already exists 14:59:06 d657536b35bc: Layer already exists 14:59:06 9ddb55698a7633c438de50c0f2ff12b310139c8d-2.3.0: digest: sha256:eafe674a2dfad64bb01d70220b2149f2001159fd108cd1c35ca26284d4983d41 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:07 + 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 14:59:07 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 14:59:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 14:59:07 600973551d4c: Preparing 14:59:07 bc87bfaad2d0: Preparing 14:59:07 4296d339c69d: Preparing 14:59:07 d657536b35bc: Preparing 14:59:07 5d3e392a13a0: Preparing 14:59:07 d657536b35bc: Layer already exists 14:59:07 5d3e392a13a0: Layer already exists 14:59:07 600973551d4c: Layer already exists 14:59:07 4296d339c69d: Layer already exists 14:59:07 bc87bfaad2d0: Layer already exists 14:59:07 main: digest: sha256:eafe674a2dfad64bb01d70220b2149f2001159fd108cd1c35ca26284d4983d41 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:59:07 ===================================================== [Pipeline] echo 14:59:07 taggedImages: 14:59:07 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9ddb55698a7633c438de50c0f2ff12b310139c8d 14:59:07 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 14:59:07 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0 14:59:07 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9ddb55698a7633c438de50c0f2ff12b310139c8d-2.3.0 14:59:07 - 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 14:59:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:59:08 14:59:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:59:08 arm64: Pulling from edgex-lftools-log-publisher 14:59:08 8998bd30e6a1: Pulling fs layer 14:59:08 04944245beec: Pulling fs layer 14:59:08 699f458cf7ca: Pulling fs layer 14:59:08 765212b225bb: Pulling fs layer 14:59:08 f23df028b6ca: Pulling fs layer 14:59:08 d65c8cfc05b1: Pulling fs layer 14:59:08 2437ff75d9bd: Pulling fs layer 14:59:08 765212b225bb: Waiting 14:59:08 f23df028b6ca: Waiting 14:59:08 d65c8cfc05b1: Waiting 14:59:08 2437ff75d9bd: Waiting 14:59:08 04944245beec: Verifying Checksum 14:59:08 04944245beec: Download complete 14:59:08 765212b225bb: Verifying Checksum 14:59:08 765212b225bb: Download complete 14:59:08 f23df028b6ca: Verifying Checksum 14:59:08 f23df028b6ca: Download complete 14:59:08 d65c8cfc05b1: Verifying Checksum 14:59:08 d65c8cfc05b1: Download complete 14:59:09 699f458cf7ca: Verifying Checksum 14:59:09 699f458cf7ca: Download complete 14:59:09 8998bd30e6a1: Verifying Checksum 14:59:09 8998bd30e6a1: Download complete 14:59:11 2437ff75d9bd: Verifying Checksum 14:59:11 2437ff75d9bd: Download complete 14:59:13 8998bd30e6a1: Pull complete 14:59:13 04944245beec: Pull complete 14:59:14 699f458cf7ca: Pull complete 14:59:14 765212b225bb: Pull complete 14:59:16 f23df028b6ca: Pull complete 14:59:16 d65c8cfc05b1: Pull complete 14:59:28 2437ff75d9bd: Pull complete 14:59:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:59:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:59:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:59:28 prd-ubuntu20.04-docker-arm64-4c-16g-118928 does not seem to be running inside a container 14:59:28 $ 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/87 -v /w/workspace/device-onvif-camera/87:/w/workspace/device-onvif-camera/87:rw,z -v /w/workspace/device-onvif-camera/87@tmp:/w/workspace/device-onvif-camera/87@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 14:59:31 $ docker top ad49aae8cd544ea46f21b7e502fb02a16592a6345c78245ea40237311c9b7588 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:59:32 ---> job-cost.sh 14:59:32 lf-activate-venv: SKIPPING 14:59:32 INFO: No Stack... 14:59:32 INFO: Retrieving Pricing Info for: v3-standard-4 14:59:33 INFO: Archiving Costs [Pipeline] sh 14:59:34 + cat /w/workspace/device-onvif-camera/87/archives/cost.csv 14:59:34 + cut -d, -f6 [Pipeline] lock 14:59:34 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-87-stack-cost] 14:59:34 Resource [jenkins-edgexfoundry-device-onvif-camera-main-87-stack-cost] did not exist. Created. 14:59:34 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-87-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:59:34 /w/workspace/device-onvif-camera/87@tmp/durable-8d6a7fff/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:59:35 + echo total: 0.10999999940395355 [Pipeline] stash 14:59:35 Warning: overwriting stash ‘stack-cost’ 14:59:35 Stashed 1 file(s) [Pipeline] } 14:59:35 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-87-stack-cost] [Pipeline] // lock [Pipeline] } 14:59:35 $ docker stop --time=1 ad49aae8cd544ea46f21b7e502fb02a16592a6345c78245ea40237311c9b7588 14:59:36 $ docker rm -f ad49aae8cd544ea46f21b7e502fb02a16592a6345c78245ea40237311c9b7588 [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 14:59:37 provisioning config files... 14:59:37 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2849865082660825017tmp [Pipeline] { [Pipeline] sh 14:59:37 + set +x 14:59:37 + curl -s https://codecov.io/bash 14:59:37 + bash -s -- 14:59:37 14:59:37 _____ _ 14:59:37 / ____| | | 14:59:37 | | ___ __| | ___ ___ _____ __ 14:59:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:59:37 | |___| (_) | (_| | __/ (_| (_) \ V / 14:59:37 \_____\___/ \__,_|\___|\___\___/ \_/ 14:59:37 Bash-1.0.6 14:59:37 14:59:37 14:59:37 ==> git version 2.25.1 found 14:59:37 ==> 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 14:59:37 Release-Date: 2020-01-08 14:59:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:59:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:59:37 ==> Jenkins CI detected. 14:59:37 current dir:  /w/workspace/foundry_device-onvif-camera_main 14:59:37 project root: . 14:59:37 --> token set from env 14:59:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:59:37 ==> Running gcov in . (disable via -X gcov) 14:59:37 ==> Python coveragepy not found 14:59:37 ==> Searching for coverage reports in: 14:59:37 + . 14:59:37 -> Found 1 reports 14:59:37 ==> Detecting git/mercurial file structure 14:59:37 ==> Reading reports 14:59:37 + ./coverage.out bytes=79184 14:59:37 ==> Appending adjustments 14:59:37 https://docs.codecov.io/docs/fixing-reports 14:59:37 + Found adjustments 14:59:37 ==> Gzipping contents 14:59:37 12K /tmp/codecov.vMVdsc.gz 14:59:37 ==> Uploading reports 14:59:37 url: https://codecov.io 14:59:37 query: branch=main&commit=9ddb55698a7633c438de50c0f2ff12b310139c8d&build=87&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F87%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 14:59:37 -> Pinging Codecov 14:59:37 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=main&commit=9ddb55698a7633c438de50c0f2ff12b310139c8d&build=87&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F87%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 14:59:38 -> Uploading to 14:59:38 https://storage.googleapis.com/codecov/v4/raw/2022-11-10/F29A59C45E3A92E06B3E522C9905F8EF/9ddb55698a7633c438de50c0f2ff12b310139c8d/addd0016-04e5-41f4-9e5f-4cade38c597a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221110T145938Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c053233d4e2a5390dbd251afa5d799735d73babed8620986e64c7fb7347d34ef 14:59:38 % Total % Received % Xferd Average Speed Time Time Time Current 14:59:38 Dload Upload Total Spent Left Speed 14:59:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10897 0 0 100 10897 0 33529 --:--:-- --:--:-- --:--:-- 33632 14:59:38 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/9ddb55698a7633c438de50c0f2ff12b310139c8d [Pipeline] } 14:59:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 14:59:38 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 14:59:38 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:59:39 14:59:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:59:39 1.410.4: Pulling from edgex-devops/edgex-snyk-go 14:59:39 df9b9388f04a: Pulling fs layer 14:59:39 52dc419b0ee2: Pulling fs layer 14:59:39 25bc292e5bac: Pulling fs layer 14:59:39 114826534d7a: Pulling fs layer 14:59:39 4657fd5d0bcf: Pulling fs layer 14:59:39 6ad1cebc031e: Pulling fs layer 14:59:39 8a3aa393b2d8: Pulling fs layer 14:59:39 114826534d7a: Waiting 14:59:39 4657fd5d0bcf: Waiting 14:59:39 6ad1cebc031e: Waiting 14:59:39 8a3aa393b2d8: Waiting 14:59:39 25bc292e5bac: Download complete 14:59:39 52dc419b0ee2: Verifying Checksum 14:59:39 52dc419b0ee2: Download complete 14:59:39 4657fd5d0bcf: Download complete 14:59:39 df9b9388f04a: Verifying Checksum 14:59:39 df9b9388f04a: Download complete 14:59:39 df9b9388f04a: Pull complete 14:59:39 6ad1cebc031e: Verifying Checksum 14:59:39 6ad1cebc031e: Download complete 14:59:39 52dc419b0ee2: Pull complete 14:59:40 25bc292e5bac: Pull complete 14:59:40 114826534d7a: Verifying Checksum 14:59:40 114826534d7a: Download complete 14:59:40 8a3aa393b2d8: Verifying Checksum 14:59:40 8a3aa393b2d8: Download complete 14:59:44 114826534d7a: Pull complete 14:59:44 4657fd5d0bcf: Pull complete 14:59:44 6ad1cebc031e: Pull complete 14:59:46 8a3aa393b2d8: Pull complete 14:59:46 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 14:59:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:59:46 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:59:46 prd-ubuntu20.04-docker-8c-8g-118927 does not seem to be running inside a container 14:59:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 14:59:48 $ docker top f080f128d0be1e3663e425b43ad2fc9bc00ff4ab5911499f756b15f75c1c5dc2 -eo pid,comm [Pipeline] { [Pipeline] echo 14:59:48 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 14:59:49 + set -o pipefail 14:59:49 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 14:59:55 14:59:55 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 14:59:55 14:59:55 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/a4d497c2-d47a-4bfe-a41a-b777aa9dda62 14:59:55 14:59:55 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 14:59:55 14:59:55 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:59:55 14:59:55 14:59:55 A medium severity vulnerability was found in the Snyk CLI versions you are using. 14:59:55 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 14:59:55 More details here: https://snyk.co/ue1NS 14:59:55 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 14:59:55 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 14:59:55 $ docker stop --time=1 f080f128d0be1e3663e425b43ad2fc9bc00ff4ab5911499f756b15f75c1c5dc2 14:59:57 $ docker rm -f f080f128d0be1e3663e425b43ad2fc9bc00ff4ab5911499f756b15f75c1c5dc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 14:59:58 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:59:58 provisioning config files... 14:59:58 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13880884947251388441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:59:58 --> edgex-publish-swagger.sh 14:59:58 === Publish doc/openapi/v2 API === 14:59:58 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 14:59:58 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 14:59:58 % Total % Received % Xferd Average Speed Time Time Time Current 14:59:58 Dload Upload Total Spent Left Speed 14:59:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 433k 0:00:01 0:00:01 --:--:-- 433k 100 469k 0 0 100 469k 0 432k 0:00:01 0:00:01 --:--:-- 432k 14:59:59 14:59:59 [Pipeline] } 14:59:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:59:59 + git log --format=format:%s -1 9ddb55698a7633c438de50c0f2ff12b310139c8d [Pipeline] sh 15:00:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:00:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:00:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:00:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:00:00 prd-ubuntu20.04-docker-8c-8g-118927 does not seem to be running inside a container 15:00:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:00:00 $ docker top f8aab00b0032cd331b37c1decbfcbdaeef675eb95d1be054528984280e29da08 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:00:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:00:01 [ssh-agent] Looking for ssh-agent implementation... 15:00:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:00:01 $ docker exec f8aab00b0032cd331b37c1decbfcbdaeef675eb95d1be054528984280e29da08 ssh-agent 15:00:01 SSH_AUTH_SOCK=/tmp/ssh-SVDJ1M0gsQ43/agent.33 15:00:01 SSH_AGENT_PID=39 15:00:01 Running ssh-add (command line suppressed) 15:00:01 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13614530029055242872.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13614530029055242872.key) 15:00:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:00:01 + git semver tag 15:00:01 2022-11-10 15:00:01,816 [run_tag] DEBUG tag force:False 15:00:01 2022-11-10 15:00:01,817 [check_head_tag] DEBUG check head tag 15:00:01 2022-11-10 15:00:01,818 [execute] INFO git cat-file --batch-check 15:00:01 2022-11-10 15:00:01,818 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 15:00:01 2022-11-10 15:00:01,822 [execute] INFO git cat-file --batch 15:00:01 2022-11-10 15:00:01,822 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 15:00:01 2022-11-10 15:00:01,847 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:00:01 2022-11-10 15:00:01,847 [execute] INFO git tag -a v2.3.0 -m v2.3.0 15:00:01 2022-11-10 15:00:01,848 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0', '-m', 'v2.3.0'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 15:00:01 2022-11-10 15:00:01,851 [main] ERROR Cmd('git') failed due to: exit code(128) 15:00:01 cmdline: git tag -a v2.3.0 -m v2.3.0 15:00:01 stderr: 'fatal: tag 'v2.3.0' already exists' 15:00:01 ERROR: Cmd('git') failed due to: exit code(128) 15:00:01 cmdline: git tag -a v2.3.0 -m v2.3.0 15:00:01 stderr: 'fatal: tag 'v2.3.0' already exists' [Pipeline] } 15:00:01 $ docker exec --env ******** --env ******** f8aab00b0032cd331b37c1decbfcbdaeef675eb95d1be054528984280e29da08 ssh-agent -k 15:00:02 unset SSH_AUTH_SOCK; 15:00:02 unset SSH_AGENT_PID; 15:00:02 echo Agent pid 39 killed; 15:00:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] } 15:00:02 $ docker stop --time=1 f8aab00b0032cd331b37c1decbfcbdaeef675eb95d1be054528984280e29da08 15:00:03 $ docker rm -f f8aab00b0032cd331b37c1decbfcbdaeef675eb95d1be054528984280e29da08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Bump Pre-Release Version" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:00:03 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 15:00:03 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 15:00:03 total 16 15:00:03 drwxr-xr-x 3 root root 4096 Nov 10 14:51 . 15:00:03 drwxrwxr-x 11 jenkins jenkins 4096 Nov 10 14:51 .. 15:00:03 drwxr-xr-x 2 root root 4096 Nov 10 14:51 cost 15:00:03 -rw-r--r-- 1 root root 90 Nov 10 14:51 cost.csv 15:00:03 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 15:00:03 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 15:00:03 total 16 15:00:03 drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 14:51 . 15:00:03 drwxrwxr-x 11 jenkins jenkins 4096 Nov 10 14:51 .. 15:00:03 drwxr-xr-x 2 jenkins jenkins 4096 Nov 10 14:51 cost 15:00:03 -rw-r--r-- 1 jenkins jenkins 90 Nov 10 14:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:00:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:00:05 ---> package-listing.sh 15:00:05 ++ facter osfamily 15:00:05 ++ tr '[:upper:]' '[:lower:]' 15:00:05 + OS_FAMILY=debian 15:00:05 + workspace=/w/workspace/foundry_device-onvif-camera_main 15:00:05 + START_PACKAGES=/tmp/packages_start.txt 15:00:05 + END_PACKAGES=/tmp/packages_end.txt 15:00:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:00:05 + PACKAGES=/tmp/packages_start.txt 15:00:05 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 15:00:05 + PACKAGES=/tmp/packages_end.txt 15:00:05 + case "${OS_FAMILY}" in 15:00:05 + dpkg -l 15:00:05 + grep '^ii' 15:00:05 + '[' -f /tmp/packages_start.txt ']' 15:00:05 + '[' -f /tmp/packages_end.txt ']' 15:00:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:00:05 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 15:00:05 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 15:00:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 15:00:05 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 15:00:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:00:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:00:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:00:06 prd-ubuntu20.04-docker-8c-8g-118927 does not seem to be running inside a container 15:00:06 $ 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 15:00:06 $ docker top 0130baf2433e760db4421bdffae6011068d683590bec36ad43cbcc97fe3fc433 -eo pid,comm [Pipeline] { [Pipeline] sh 15:00:06 + touch /tmp/pre-build-complete [Pipeline] sh 15:00:07 + mkdir -p /var/log/sysstat [Pipeline] sh 15:00:07 + ls /var/log/sa-host 15:00:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:00:07 provisioning config files... 15:00:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1869223890491986686tmp [Pipeline] { [Pipeline] echo 15:00:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:00:07 ---> create-netrc.sh [Pipeline] } 15:00:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:00:08 ---> python-tools-install.sh [Pipeline] echo 15:00:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:00:08 ---> sudo-logs.sh 15:00:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:00:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:00:08 ---> job-cost.sh 15:00:08 lf-activate-venv: SKIPPING 15:00:08 DEBUG: total: 0.2199999988079071 15:00:08 INFO: Retrieving Stack Cost... 15:00:09 INFO: Retrieving Pricing Info for: v3-standard-8 15:00:09 INFO: Archiving Costs [Pipeline] echo 15:00:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:00:09 ---> logs-deploy.sh 15:00:09 lf-activate-venv: SKIPPING 15:00:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/87 15:00:09 INFO: archiving workspace using pattern(s): 15:00:10 Archives upload complete. 15:00:10 INFO: archiving logs to Nexus