Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 349d2554d6fca97c817ada98ee99106d95f3ebb2 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-ssh11532227341674606133.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh103562807774739628.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh9359815203428213469.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh9861445717573700614.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5255926799124142893.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-13342 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Avoid second fetch Checking out Revision 349d2554d6fca97c817ada98ee99106d95f3ebb2 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#337)" > git config core.sparsecheckout # timeout=10 > git checkout -f 349d2554d6fca97c817ada98ee99106d95f3ebb2 # timeout=10 > git rev-list --no-walk c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:49:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:49:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:49:21 ========================================================= 01:49:21 EdgeX Global Pipelines Version Info 01:49:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:49:21 ------------------- 01:49:21 stable info: 01:49:21 ------------------- 01:49:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:49:21 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:49:21 Message: update stable to v1.0.249 01:49:22 ------------------- 01:49:22 experimental info: 01:49:22 ------------------- 01:49:22 Commited By: **** collab-it+edgex@linuxfoundation.org 01:49:22 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:49:22 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 349d2554d6fca97c817ada98ee99106d95f3ebb2 [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 349d255 [Pipeline] echo 01:49:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:49:22 provisioning config files... 01:49:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2944182937004556372tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:49:23 ---> docker-login.sh 01:49:23 nexus3.edgexfoundry.org:10001 01:49:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:23 Configure a credential helper to remove this warning. See 01:49:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:23 01:49:23 Login Succeeded 01:49:23 nexus3.edgexfoundry.org:10002 01:49:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:23 Configure a credential helper to remove this warning. See 01:49:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:23 01:49:23 Login Succeeded 01:49:23 nexus3.edgexfoundry.org:10003 01:49:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:23 Configure a credential helper to remove this warning. See 01:49:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:23 01:49:23 Login Succeeded 01:49:23 nexus3.edgexfoundry.org:10004 01:49:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:23 Configure a credential helper to remove this warning. See 01:49:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:23 01:49:23 Login Succeeded 01:49:23 docker.io 01:49:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:24 Configure a credential helper to remove this warning. See 01:49:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:24 01:49:24 Login Succeeded 01:49:24 ---> docker-login.sh ends [Pipeline] } 01:49:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:49:24 + git rev-list -1 --merges 349d2554d6fca97c817ada98ee99106d95f3ebb2~1..349d2554d6fca97c817ada98ee99106d95f3ebb2 [Pipeline] echo 01:49:24 -----------> git rev-list -1 --merges 349d2554d6fca97c817ada98ee99106d95f3ebb2~1..349d2554d6fca97c817ada98ee99106d95f3ebb2 349d2554d6fca97c817ada98ee99106d95f3ebb2 [false] [Pipeline] sh 01:49:24 + git log --format=format:%s -1 349d2554d6fca97c817ada98ee99106d95f3ebb2 [Pipeline] echo 01:49:24 ========================================================= 01:49:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:49:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:49:25 + git log --format=format:%s -1 349d2554d6fca97c817ada98ee99106d95f3ebb2 [Pipeline] echo 01:49:25 [semverPrep] GIT_COMMIT: 349d2554d6fca97c817ada98ee99106d95f3ebb2, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#337) [Pipeline] echo 01:49:25 [semverPrep] This is not a build commit. [Pipeline] sh 01:49:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:49:25 + grep -v github /etc/ssh/ssh_known_hosts 01:49:25 + [ -e /tmp/ssh_known_hosts ] 01:49:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:49:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:49:25 + sudo tee -a /etc/ssh/ssh_known_hosts 01:49:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:49:25 01:49:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:49:26 0.1.4: Pulling from edgex-devops/py-git-semver 01:49:26 b85a868b505f: Pulling fs layer 01:49:26 e2be974225ed: Pulling fs layer 01:49:26 339a4e72a1f5: Pulling fs layer 01:49:26 988bab9f4d93: Pulling fs layer 01:49:26 1469e6f7b9e6: Pulling fs layer 01:49:26 eaf3925da568: Pulling fs layer 01:49:26 bab4dde63d76: Pulling fs layer 01:49:26 988bab9f4d93: Waiting 01:49:26 eaf3925da568: Waiting 01:49:26 1469e6f7b9e6: Waiting 01:49:26 bde34c3a00c8: Pulling fs layer 01:49:26 b352a97aabf1: Pulling fs layer 01:49:26 4872d77fe225: Pulling fs layer 01:49:26 5851b861e8e6: Pulling fs layer 01:49:26 b352a97aabf1: Waiting 01:49:26 bde34c3a00c8: Waiting 01:49:26 4872d77fe225: Waiting 01:49:26 5851b861e8e6: Waiting 01:49:26 e2be974225ed: Verifying Checksum 01:49:26 e2be974225ed: Download complete 01:49:26 988bab9f4d93: Verifying Checksum 01:49:26 988bab9f4d93: Download complete 01:49:26 1469e6f7b9e6: Verifying Checksum 01:49:26 1469e6f7b9e6: Download complete 01:49:26 eaf3925da568: Download complete 01:49:26 339a4e72a1f5: Verifying Checksum 01:49:26 339a4e72a1f5: Download complete 01:49:26 bde34c3a00c8: Verifying Checksum 01:49:26 bde34c3a00c8: Download complete 01:49:26 b352a97aabf1: Verifying Checksum 01:49:26 b352a97aabf1: Download complete 01:49:26 4872d77fe225: Download complete 01:49:26 5851b861e8e6: Verifying Checksum 01:49:26 5851b861e8e6: Download complete 01:49:26 b85a868b505f: Verifying Checksum 01:49:26 b85a868b505f: Download complete 01:49:26 bab4dde63d76: Verifying Checksum 01:49:26 bab4dde63d76: Download complete 01:49:27 b85a868b505f: Pull complete 01:49:27 e2be974225ed: Pull complete 01:49:28 339a4e72a1f5: Pull complete 01:49:28 988bab9f4d93: Pull complete 01:49:28 1469e6f7b9e6: Pull complete 01:49:28 eaf3925da568: Pull complete 01:49:30 bab4dde63d76: Pull complete 01:49:30 bde34c3a00c8: Pull complete 01:49:30 b352a97aabf1: Pull complete 01:49:30 4872d77fe225: Pull complete 01:49:30 5851b861e8e6: Pull complete 01:49:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:49:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:49:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:49:30 prd-ubuntu20.04-docker-8c-8g-13342 does not seem to be running inside a container 01:49:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:49:32 $ docker top f5456808c56b89ddabc9f338f5ec41ca13f6557a7520c1fe439d2de8e75db689 -eo pid,comm 01:49:32 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:49:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:49:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:49:32 [ssh-agent] Looking for ssh-agent implementation... 01:49:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:49:32 $ docker exec f5456808c56b89ddabc9f338f5ec41ca13f6557a7520c1fe439d2de8e75db689 ssh-agent 01:49:32 SSH_AUTH_SOCK=/tmp/ssh-DlVCowkNSoR1/agent.32 01:49:32 SSH_AGENT_PID=38 01:49:32 Running ssh-add (command line suppressed) 01:49:32 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16672132937773970153.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16672132937773970153.key) 01:49:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:49:32 + git tag --points-at HEAD [Pipeline] } 01:49:32 $ docker exec --env ******** --env ******** f5456808c56b89ddabc9f338f5ec41ca13f6557a7520c1fe439d2de8e75db689 ssh-agent -k 01:49:32 unset SSH_AUTH_SOCK; 01:49:32 unset SSH_AGENT_PID; 01:49:32 echo Agent pid 38 killed; 01:49:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:49:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:49:32 [ssh-agent] Looking for ssh-agent implementation... 01:49:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:49:33 $ docker exec f5456808c56b89ddabc9f338f5ec41ca13f6557a7520c1fe439d2de8e75db689 ssh-agent 01:49:33 SSH_AUTH_SOCK=/tmp/ssh-50nSlW8BQXzu/agent.70 01:49:33 SSH_AGENT_PID=76 01:49:33 Running ssh-add (command line suppressed) 01:49:33 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15079509609029815552.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15079509609029815552.key) 01:49:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:49:33 + git semver init 01:49:33 2023-05-05 01:49:33,693 [run_init] DEBUG init version:0.0.0 force:False 01:49:33 2023-05-05 01:49:33,694 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 01:49:33 2023-05-05 01:49:33,694 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 01:49:33 2023-05-05 01:49:33,695 [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) 01:49:34 2023-05-05 01:49:34,549 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 01:49:34 2023-05-05 01:49:34,549 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 01:49:34 2023-05-05 01:49:34,550 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 01:49:34 2023-05-05 01:49:34,550 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 01:49:34 3.0.0-dev.38 [Pipeline] } 01:49:34 $ docker exec --env ******** --env ******** f5456808c56b89ddabc9f338f5ec41ca13f6557a7520c1fe439d2de8e75db689 ssh-agent -k 01:49:34 unset SSH_AUTH_SOCK; 01:49:34 unset SSH_AGENT_PID; 01:49:34 echo Agent pid 76 killed; 01:49:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:49:35 + git semver [Pipeline] } 01:49:35 $ docker stop --time=1 f5456808c56b89ddabc9f338f5ec41ca13f6557a7520c1fe439d2de8e75db689 01:49:36 $ docker rm -f --volumes f5456808c56b89ddabc9f338f5ec41ca13f6557a7520c1fe439d2de8e75db689 [Pipeline] // withDockerContainer [Pipeline] sh 01:49:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:49:37 Stashed 1 file(s) [Pipeline] echo 01:49:37 [edgeXSemver]: initialized semver on version 3.0.0-dev.38 [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 01:49:37 provisioning config files... 01:49:37 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7997745639046969057tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:49:37 ---> docker-login.sh 01:49:37 nexus3.edgexfoundry.org:10001 01:49:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:37 Configure a credential helper to remove this warning. See 01:49:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:37 01:49:37 Login Succeeded 01:49:37 nexus3.edgexfoundry.org:10002 01:49:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:37 Configure a credential helper to remove this warning. See 01:49:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:37 01:49:37 Login Succeeded 01:49:37 nexus3.edgexfoundry.org:10003 01:49:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:37 Configure a credential helper to remove this warning. See 01:49:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:37 01:49:37 Login Succeeded 01:49:37 nexus3.edgexfoundry.org:10004 01:49:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:37 Configure a credential helper to remove this warning. See 01:49:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:37 01:49:37 Login Succeeded 01:49:37 docker.io 01:49:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:38 Configure a credential helper to remove this warning. See 01:49:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:38 01:49:38 Login Succeeded 01:49:38 ---> docker-login.sh ends [Pipeline] } 01:49:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:49:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:49:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:49:38 ========================================================= 01:49:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:49:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:38 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 01:49:38 Sending build context to Docker daemon 21.51MB 01:49:38 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 01:49:38 Step 2/13 : FROM ${BASE} AS builder 01:49:38 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:49:38 f56be85fc22e: Pulling fs layer 01:49:38 85791d961cd3: Pulling fs layer 01:49:38 d694b5ae8c79: Pulling fs layer 01:49:38 9f32a84ed3da: Pulling fs layer 01:49:38 4d19c01a9841: Pulling fs layer 01:49:38 9325e15d5711: Pulling fs layer 01:49:38 556b6ee489ea: Pulling fs layer 01:49:38 c5a4b2cf53e6: Pulling fs layer 01:49:38 4d19c01a9841: Waiting 01:49:38 9325e15d5711: Waiting 01:49:38 9f32a84ed3da: Waiting 01:49:38 556b6ee489ea: Waiting 01:49:38 85791d961cd3: Download complete 01:49:38 9f32a84ed3da: Verifying Checksum 01:49:38 9f32a84ed3da: Download complete 01:49:38 4d19c01a9841: Verifying Checksum 01:49:38 4d19c01a9841: Download complete 01:49:38 f56be85fc22e: Download complete 01:49:38 9325e15d5711: Verifying Checksum 01:49:38 9325e15d5711: Download complete 01:49:38 f56be85fc22e: Pull complete 01:49:39 85791d961cd3: Pull complete 01:49:39 d694b5ae8c79: Download complete 01:49:39 c5a4b2cf53e6: Verifying Checksum 01:49:39 c5a4b2cf53e6: Download complete 01:49:39 556b6ee489ea: Verifying Checksum 01:49:39 556b6ee489ea: Download complete 01:49:42 d694b5ae8c79: Pull complete 01:49:42 9f32a84ed3da: Pull complete 01:49:42 4d19c01a9841: Pull complete 01:49:42 9325e15d5711: Pull complete 01:49:45 556b6ee489ea: Pull complete 01:49:46 c5a4b2cf53e6: Pull complete 01:49:46 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 01:49:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:49:46 ---> c4be618373d6 01:49:46 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:49:47 ---> Running in 4f8caf3b92e0 01:49:47 Removing intermediate container 4f8caf3b92e0 01:49:47 ---> aba8ce396780 01:49:47 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:49:47 ---> Running in ce23477c80ec 01:49:48 Removing intermediate container ce23477c80ec 01:49:48 ---> 92af28bbef49 01:49:48 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 01:49:48 ---> Running in bec879796346 01:49:48 Removing intermediate container bec879796346 01:49:48 ---> ef1c98bec591 01:49:48 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 01:49:48 ---> Running in 6bb1ef0f745d 01:49:48 Removing intermediate container 6bb1ef0f745d 01:49:48 ---> a1400b72d7d7 01:49:48 Step 7/13 : LABEL Name=edgex-device-onvif-camera 01:49:48 ---> Running in 5c2faef75406 01:49:48 Removing intermediate container 5c2faef75406 01:49:48 ---> 530acc411520 01:49:48 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:49:48 ---> Running in 917cea70c95b 01:49:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:49:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:49:49 OK: 265 MiB in 53 packages 01:49:49 Removing intermediate container 917cea70c95b 01:49:49 ---> 7df249032ede 01:49:49 Step 9/13 : WORKDIR /device-onvif-camera 01:49:49 ---> Running in e8440ae52454 01:49:49 Removing intermediate container e8440ae52454 01:49:49 ---> 9776c944616e 01:49:49 Step 10/13 : COPY go.mod vendor* ./ 01:49:49 ---> 831a83dcd88b 01:49:49 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:49:49 ---> Running in 7e118785ec16 01:49:52 Still waiting to schedule task 01:49:52 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-13339’ 01:50:11 Removing intermediate container 7e118785ec16 01:50:11 ---> 312c64329d1d 01:50:11 Step 12/13 : COPY . . 01:50:11 ---> 0bf5c82eab41 01:50:11 Step 13/13 : RUN ${MAKE} 01:50:11 ---> Running in 08220e18e786 01:50:11 noop 01:50:11 Removing intermediate container 08220e18e786 01:50:11 ---> 97d156105a45 01:50:11 Successfully built 97d156105a45 01:50:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:11 + docker inspect -f . ci-base-image-x86_64 01:50:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:50:11 prd-ubuntu20.04-docker-8c-8g-13342 does not seem to be running inside a container 01:50:11 $ 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 01:50:12 $ docker top e5c51f3f5fb3268cc21a909963b90d5a7abfd2e6ed718b4b904634b5177c5eb4 -eo pid,comm [Pipeline] { [Pipeline] sh 01:50:12 + go version 01:50:12 go version go1.20.2 linux/amd64 [Pipeline] } 01:50:12 $ docker stop --time=1 e5c51f3f5fb3268cc21a909963b90d5a7abfd2e6ed718b4b904634b5177c5eb4 01:50:13 $ docker rm -f --volumes e5c51f3f5fb3268cc21a909963b90d5a7abfd2e6ed718b4b904634b5177c5eb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:14 + docker inspect -f . ci-base-image-x86_64 01:50:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:50:14 prd-ubuntu20.04-docker-8c-8g-13342 does not seem to be running inside a container 01:50:14 $ 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 01:50:14 $ docker top 0bb43aab7a95a6ba74973757b86ecfd5a578c27e58a069b38ee3e3d56811252f -eo pid,comm [Pipeline] { [Pipeline] sh 01:50:15 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 01:50:15 + make test 01:50:15 go test ./... -coverprofile=coverage.out ./... 01:50:20 ? github.com/edgexfoundry/device-onvif-camera [no test files] 01:50:33 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 01:50:33 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 01:50:34 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 31.1% of statements 01:50:35 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 3.220s coverage: 86.5% of statements 01:50:44 go vet ./... 01:50:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:50:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:50:50 ./bin/test-attribution-txt.sh [Pipeline] echo 01:50:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:50:50 $ docker stop --time=1 0bb43aab7a95a6ba74973757b86ecfd5a578c27e58a069b38ee3e3d56811252f 01:50:51 $ docker rm -f --volumes 0bb43aab7a95a6ba74973757b86ecfd5a578c27e58a069b38ee3e3d56811252f [Pipeline] // withDockerContainer [Pipeline] sh 01:50:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:50:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:50:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:50:53 + ls -al . 01:50:53 total 232 01:50:53 drwxrwxr-x 10 jenkins jenkins 4096 May 5 01:50 . 01:50:53 drwxrwxr-x 4 jenkins jenkins 4096 May 5 01:49 .. 01:50:53 drwxrwxr-x 8 jenkins jenkins 4096 May 5 01:49 .git 01:50:53 drwxrwxr-x 3 jenkins jenkins 4096 May 5 01:49 .github 01:50:53 -rw-rw-r-- 1 jenkins jenkins 496 May 5 01:49 .gitignore 01:50:53 -rw-rw-r-- 1 jenkins jenkins 42 May 5 01:49 .golangci.yml 01:50:53 drwxr-xr-x 3 jenkins jenkins 4096 May 5 01:49 .semver 01:50:53 -rw-rw-r-- 1 jenkins jenkins 10087 May 5 01:49 Attribution.txt 01:50:53 -rw-rw-r-- 1 jenkins jenkins 6312 May 5 01:49 CHANGELOG.md 01:50:53 -rw-rw-r-- 1 jenkins jenkins 1574 May 5 01:49 Dockerfile 01:50:53 -rw-rw-r-- 1 jenkins jenkins 677 May 5 01:49 GOVERNANCE.md 01:50:53 -rw-rw-r-- 1 jenkins jenkins 734 May 5 01:49 Jenkinsfile 01:50:53 -rw-rw-r-- 1 jenkins jenkins 11348 May 5 01:49 LICENSE 01:50:53 -rw-rw-r-- 1 jenkins jenkins 2751 May 5 01:49 Makefile 01:50:53 -rw-rw-r-- 1 jenkins jenkins 625 May 5 01:49 OWNERS.md 01:50:53 -rw-rw-r-- 1 jenkins jenkins 2591 May 5 01:49 README.md 01:50:53 -rw-rw-r-- 1 jenkins jenkins 12 May 5 01:49 VERSION 01:50:53 drwxrwxr-x 2 jenkins jenkins 4096 May 5 01:49 bin 01:50:53 drwxrwxr-x 3 jenkins jenkins 4096 May 5 01:49 cmd 01:50:53 -rw-r--r-- 1 jenkins jenkins 79191 May 5 01:50 coverage.out 01:50:53 drwxrwxr-x 4 jenkins jenkins 4096 May 5 01:49 doc 01:50:53 -rw-rw-r-- 1 jenkins jenkins 3642 May 5 01:49 go.mod 01:50:53 -rw-rw-r-- 1 jenkins jenkins 33491 May 5 01:49 go.sum 01:50:53 drwxrwxr-x 4 jenkins jenkins 4096 May 5 01:49 internal 01:50:53 drwxrwxr-x 4 jenkins jenkins 4096 May 5 01:49 snap 01:50:53 -rw-rw-r-- 1 jenkins jenkins 236 May 5 01:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:53 + 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=349d2554d6fca97c817ada98ee99106d95f3ebb2 --label arch=amd64 --label version=3.0.0-dev.38 . 01:50:53 Sending build context to Docker daemon 21.59MB 01:50:53 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 01:50:53 Step 2/26 : FROM ${BASE} AS builder 01:50:53 ---> 97d156105a45 01:50:53 Step 3/26 : ARG ADD_BUILD_TAGS="" 01:50:53 ---> Running in d6e16b435e14 01:50:53 Removing intermediate container d6e16b435e14 01:50:53 ---> 810ef1969318 01:50:53 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:50:53 ---> Running in e98800d1bcb9 01:50:53 Removing intermediate container e98800d1bcb9 01:50:53 ---> 0fe6e6dd9893 01:50:53 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 01:50:53 ---> Running in c67ddb8df50a 01:50:53 Removing intermediate container c67ddb8df50a 01:50:53 ---> 514e14175a0b 01:50:53 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 01:50:53 ---> Running in b9a3fe99bd74 01:50:54 Removing intermediate container b9a3fe99bd74 01:50:54 ---> b747aa95faae 01:50:54 Step 7/26 : LABEL Name=edgex-device-onvif-camera 01:50:54 ---> Running in 4b6399ca22b8 01:50:54 Removing intermediate container 4b6399ca22b8 01:50:54 ---> 81bae153e8ca 01:50:54 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:50:54 ---> Running in 8e77060f018d 01:50:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:50:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:50:54 OK: 265 MiB in 53 packages 01:50:55 Removing intermediate container 8e77060f018d 01:50:55 ---> 152539d4bc28 01:50:55 Step 9/26 : WORKDIR /device-onvif-camera 01:50:55 ---> Running in 99b25ca663a4 01:50:55 Removing intermediate container 99b25ca663a4 01:50:55 ---> bb161e6940dc 01:50:55 Step 10/26 : COPY go.mod vendor* ./ 01:50:55 ---> 4d022268d475 01:50:55 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:50:55 ---> Running in 27848abb3ecc 01:50:56 Removing intermediate container 27848abb3ecc 01:50:56 ---> 4af5f3f156bb 01:50:56 Step 12/26 : COPY . . 01:50:56 ---> 078459095ad6 01:50:56 Step 13/26 : RUN ${MAKE} 01:50:56 ---> Running in a88b54c2b285 01:50:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.38" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 01:51:18 Removing intermediate container a88b54c2b285 01:51:18 ---> 21e2bd5a21ac 01:51:18 Step 14/26 : FROM alpine:3.17 01:51:18 3.17: Pulling from library/alpine 01:51:18 f56be85fc22e: Already exists 01:51:18 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:51:18 Status: Downloaded newer image for alpine:3.17 01:51:18 ---> 9ed4aefc74f6 01:51:18 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 01:51:18 ---> Running in 6f77988efe8d 01:51:18 Removing intermediate container 6f77988efe8d 01:51:18 ---> d30d9c7ce8f6 01:51:18 Step 16/26 : RUN apk add --update --no-cache dumb-init 01:51:18 ---> Running in 3ef44ff02925 01:51:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:51:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:51:18 (1/1) Installing dumb-init (1.2.5-r2) 01:51:18 Executing busybox-1.35.0-r29.trigger 01:51:18 OK: 7 MiB in 16 packages 01:51:18 Removing intermediate container 3ef44ff02925 01:51:18 ---> 5571f9428a38 01:51:18 Step 17/26 : WORKDIR / 01:51:18 ---> Running in c63e9c41b1d7 01:51:18 Removing intermediate container c63e9c41b1d7 01:51:18 ---> d6fa2ba8dd63 01:51:18 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 01:51:18 ---> 43e44590dff3 01:51:18 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 01:51:18 ---> 16f5b34eba9d 01:51:18 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 01:51:18 ---> 285c6d5d8c0e 01:51:18 Step 21/26 : EXPOSE 59984 01:51:18 ---> Running in c46ad674e67e 01:51:18 Removing intermediate container c46ad674e67e 01:51:18 ---> efb4822345d4 01:51:18 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 01:51:18 ---> Running in 22071d9bf952 01:51:18 Removing intermediate container 22071d9bf952 01:51:18 ---> 056efa723691 01:51:18 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 01:51:18 ---> Running in ebc4e1bb6d37 01:51:18 Removing intermediate container ebc4e1bb6d37 01:51:18 ---> 65c881e2388c 01:51:18 Step 24/26 : LABEL arch=amd64 01:51:18 ---> Running in fedc09c4b12e 01:51:18 Removing intermediate container fedc09c4b12e 01:51:18 ---> d31d6bc4b5d2 01:51:18 Step 25/26 : LABEL git_sha=349d2554d6fca97c817ada98ee99106d95f3ebb2 01:51:18 ---> Running in bcdb8e482d06 01:51:18 Removing intermediate container bcdb8e482d06 01:51:18 ---> 1985ea38a5e6 01:51:18 Step 26/26 : LABEL version=3.0.0-dev.38 01:51:18 ---> Running in 2775def378b3 01:51:18 Removing intermediate container 2775def378b3 01:51:18 ---> 4992de4b030f 01:51:18 [Warning] One or more build-args [ARCH] were not consumed 01:51:18 Successfully built 4992de4b030f 01:51:18 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 01:51:19 provisioning config files... 01:51:19 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4016261241760890837tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:51:19 ---> docker-login.sh 01:51:19 nexus3.edgexfoundry.org:10001 01:51:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:51:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:51:19 Configure a credential helper to remove this warning. See 01:51:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:51:19 01:51:19 Login Succeeded 01:51:19 nexus3.edgexfoundry.org:10002 01:51:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:51:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:51:19 Configure a credential helper to remove this warning. See 01:51:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:51:19 01:51:19 Login Succeeded 01:51:19 nexus3.edgexfoundry.org:10003 01:51:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:51:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:51:19 Configure a credential helper to remove this warning. See 01:51:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:51:19 01:51:19 Login Succeeded 01:51:19 nexus3.edgexfoundry.org:10004 01:51:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:51:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:51:19 Configure a credential helper to remove this warning. See 01:51:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:51:19 01:51:19 Login Succeeded 01:51:19 docker.io 01:51:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:51:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:51:19 Configure a credential helper to remove this warning. See 01:51:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:51:19 01:51:19 Login Succeeded 01:51:19 ---> docker-login.sh ends [Pipeline] } 01:51:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:51:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:51:19 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 01:51:19 349d2554d6fca97c817ada98ee99106d95f3ebb2 01:51:19 latest 01:51:19 3.0.0-dev.38 01:51:19 349d2554d6fca97c817ada98ee99106d95f3ebb2-3.0.0-dev.38 01:51:19 main 01:51:19 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:51:20 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:349d2554d6fca97c817ada98ee99106d95f3ebb2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:51:20 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:349d2554d6fca97c817ada98ee99106d95f3ebb2 01:51:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 01:51:20 6ee5407be64b: Preparing 01:51:20 a43f9494bbf3: Preparing 01:51:20 acfbb8d690b1: Preparing 01:51:20 13e74a588451: Preparing 01:51:20 f1417ff83b31: Preparing 01:51:20 f1417ff83b31: Layer already exists 01:51:20 a43f9494bbf3: Pushed 01:51:20 6ee5407be64b: Pushed 01:51:20 13e74a588451: Pushed 01:51:23 acfbb8d690b1: Pushed 01:51:23 349d2554d6fca97c817ada98ee99106d95f3ebb2: digest: sha256:967fcbf5dca255984a6231496e639432340ba293abf400567082ee8e194fe4d1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:51:24 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:51:24 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 01:51:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 01:51:24 6ee5407be64b: Preparing 01:51:24 a43f9494bbf3: Preparing 01:51:24 acfbb8d690b1: Preparing 01:51:24 13e74a588451: Preparing 01:51:24 f1417ff83b31: Preparing 01:51:24 f1417ff83b31: Layer already exists 01:51:24 6ee5407be64b: Layer already exists 01:51:24 a43f9494bbf3: Layer already exists 01:51:24 13e74a588451: Layer already exists 01:51:24 acfbb8d690b1: Layer already exists 01:51:24 latest: digest: sha256:967fcbf5dca255984a6231496e639432340ba293abf400567082ee8e194fe4d1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:51:24 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:51:25 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.38 01:51:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 01:51:25 6ee5407be64b: Preparing 01:51:25 a43f9494bbf3: Preparing 01:51:25 acfbb8d690b1: Preparing 01:51:25 13e74a588451: Preparing 01:51:25 f1417ff83b31: Preparing 01:51:25 f1417ff83b31: Layer already exists 01:51:25 a43f9494bbf3: Layer already exists 01:51:25 6ee5407be64b: Layer already exists 01:51:25 acfbb8d690b1: Layer already exists 01:51:25 13e74a588451: Layer already exists 01:51:25 3.0.0-dev.38: digest: sha256:967fcbf5dca255984a6231496e639432340ba293abf400567082ee8e194fe4d1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:51:25 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:349d2554d6fca97c817ada98ee99106d95f3ebb2-3.0.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:51:25 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:349d2554d6fca97c817ada98ee99106d95f3ebb2-3.0.0-dev.38 01:51:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 01:51:25 6ee5407be64b: Preparing 01:51:25 a43f9494bbf3: Preparing 01:51:25 acfbb8d690b1: Preparing 01:51:25 13e74a588451: Preparing 01:51:25 f1417ff83b31: Preparing 01:51:25 a43f9494bbf3: Layer already exists 01:51:25 6ee5407be64b: Layer already exists 01:51:25 acfbb8d690b1: Layer already exists 01:51:25 f1417ff83b31: Layer already exists 01:51:25 13e74a588451: Layer already exists 01:51:25 349d2554d6fca97c817ada98ee99106d95f3ebb2-3.0.0-dev.38: digest: sha256:967fcbf5dca255984a6231496e639432340ba293abf400567082ee8e194fe4d1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:51:26 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:51:26 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 01:51:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 01:51:26 6ee5407be64b: Preparing 01:51:26 a43f9494bbf3: Preparing 01:51:26 acfbb8d690b1: Preparing 01:51:26 13e74a588451: Preparing 01:51:26 f1417ff83b31: Preparing 01:51:26 f1417ff83b31: Layer already exists 01:51:26 a43f9494bbf3: Layer already exists 01:51:26 6ee5407be64b: Layer already exists 01:51:26 13e74a588451: Layer already exists 01:51:26 acfbb8d690b1: Layer already exists 01:51:26 main: digest: sha256:967fcbf5dca255984a6231496e639432340ba293abf400567082ee8e194fe4d1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:51:26 ===================================================== [Pipeline] echo 01:51:26 taggedImages: 01:51:26 - nexus3.edgexfoundry.org:10004/device-onvif-camera:349d2554d6fca97c817ada98ee99106d95f3ebb2 01:51:26 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 01:51:26 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.38 01:51:26 - nexus3.edgexfoundry.org:10004/device-onvif-camera:349d2554d6fca97c817ada98ee99106d95f3ebb2-3.0.0-dev.38 01:51:26 - 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 01:51:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:51:26 01:51:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:51:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:51:27 latest: Pulling from edgex-lftools-log-publisher 01:51:27 5eb5b503b376: Pulling fs layer 01:51:27 5c69ac0246d0: Pulling fs layer 01:51:27 ec43610c2a17: Pulling fs layer 01:51:27 3a2ae6a8a46f: Pulling fs layer 01:51:27 33b1e0a273af: Pulling fs layer 01:51:27 5d3b04190fa2: Pulling fs layer 01:51:27 2f39f015ded8: Pulling fs layer 01:51:27 3a2ae6a8a46f: Waiting 01:51:27 33b1e0a273af: Waiting 01:51:27 5d3b04190fa2: Waiting 01:51:27 2f39f015ded8: Waiting 01:51:27 5c69ac0246d0: Verifying Checksum 01:51:27 5c69ac0246d0: Download complete 01:51:27 3a2ae6a8a46f: Verifying Checksum 01:51:27 3a2ae6a8a46f: Download complete 01:51:27 33b1e0a273af: Verifying Checksum 01:51:27 33b1e0a273af: Download complete 01:51:27 5d3b04190fa2: Verifying Checksum 01:51:27 5d3b04190fa2: Download complete 01:51:27 ec43610c2a17: Verifying Checksum 01:51:27 ec43610c2a17: Download complete 01:51:27 5eb5b503b376: Verifying Checksum 01:51:27 5eb5b503b376: Download complete 01:51:27 2f39f015ded8: Verifying Checksum 01:51:27 2f39f015ded8: Download complete 01:51:28 5eb5b503b376: Pull complete 01:51:28 5c69ac0246d0: Pull complete 01:51:29 ec43610c2a17: Pull complete 01:51:29 3a2ae6a8a46f: Pull complete 01:51:29 33b1e0a273af: Pull complete 01:51:29 5d3b04190fa2: Pull complete 01:51:33 2f39f015ded8: Pull complete 01:51:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:51:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:51:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:51:34 prd-ubuntu20.04-docker-8c-8g-13342 does not seem to be running inside a container 01:51:34 $ 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 01:51:35 $ docker top 9df243fdca338f4ca111efcad4423eb367d1872f40db7996d2a17d5cb6bca0d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:51:35 ---> job-cost.sh 01:51:35 lf-activate-venv: SKIPPING 01:51:35 INFO: No Stack... 01:51:36 INFO: Retrieving Pricing Info for: v3-standard-8 01:51:36 INFO: Archiving Costs [Pipeline] sh 01:51:36 + cat+ /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 01:51:36 cut -d, -f6 [Pipeline] lock 01:51:36 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-133-stack-cost] 01:51:36 Resource [jenkins-edgexfoundry-device-onvif-camera-main-133-stack-cost] did not exist. Created. 01:51:36 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-133-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:51:37 + echo total: 0.2199999988079071 [Pipeline] stash 01:51:37 Stashed 1 file(s) [Pipeline] } 01:51:37 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-133-stack-cost] [Pipeline] // lock [Pipeline] } 01:51:37 $ docker stop --time=1 9df243fdca338f4ca111efcad4423eb367d1872f40db7996d2a17d5cb6bca0d2 01:51:38 $ docker rm -f --volumes 9df243fdca338f4ca111efcad4423eb367d1872f40db7996d2a17d5cb6bca0d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:52:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-13345 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 01:52:53 Running in /w/workspace/device-onvif-camera/133 [Pipeline] { [Pipeline] checkout 01:52:53 The recommended git tool is: git 01:52:59 using credential edgex-jenkins-ssh 01:52:59 Cloning the remote Git repository 01:52:59 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 01:52:59 > git init /w/workspace/device-onvif-camera/133 # timeout=10 01:52:59 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 01:52:59 > git --version # timeout=10 01:52:59 > git --version # 'git version 2.25.1' 01:52:59 using GIT_SSH to set credentials SSH Credentials for GitHub 01:52:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:53:01 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 01:53:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:53:02 Avoid second fetch 01:53:02 Checking out Revision 349d2554d6fca97c817ada98ee99106d95f3ebb2 (main) 01:53:03 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#337)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:53:02 > git config core.sparsecheckout # timeout=10 01:53:02 > git checkout -f 349d2554d6fca97c817ada98ee99106d95f3ebb2 # timeout=10 01:53:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:53:04 % Total % Received % Xferd Average Speed Time Time Time Current 01:53:04 Dload Upload Total Spent Left Speed 01:53:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh 01:53:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:53:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:53:05 + sudo tee /etc/docker/daemon.new 01:53:05 { 01:53:05 "registry-mirrors": [ 01:53:05 "https://nexus3.edgexfoundry.org:10001" 01:53:05 ], 01:53:05 "bip": "10.250.0.254/24", 01:53:05 "hosts": [ 01:53:05 "tcp://0.0.0.0:5555", 01:53:05 "unix:///var/run/docker.sock" 01:53:05 ], 01:53:05 "mtu": 1458, 01:53:05 "selinux-enabled": true, 01:53:05 "seccomp-profile": "/etc/docker/seccomp.json" 01:53:05 } [Pipeline] sh 01:53:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:53:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:53:24 provisioning config files... 01:53:24 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/133@tmp/config16483942792239849981tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:53:24 ---> docker-login.sh 01:53:24 nexus3.edgexfoundry.org:10001 01:53:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:53:25 Configure a credential helper to remove this warning. See 01:53:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:53:25 01:53:25 Login Succeeded 01:53:25 nexus3.edgexfoundry.org:10002 01:53:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:53:25 Configure a credential helper to remove this warning. See 01:53:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:53:25 01:53:25 Login Succeeded 01:53:25 nexus3.edgexfoundry.org:10003 01:53:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:53:25 Configure a credential helper to remove this warning. See 01:53:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:53:25 01:53:25 Login Succeeded 01:53:25 nexus3.edgexfoundry.org:10004 01:53:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:53:26 Configure a credential helper to remove this warning. See 01:53:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:53:26 01:53:26 Login Succeeded 01:53:26 docker.io 01:53:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:53:26 Configure a credential helper to remove this warning. See 01:53:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:53:26 01:53:26 Login Succeeded 01:53:26 ---> docker-login.sh ends [Pipeline] } 01:53:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:53:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:53:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:53:27 ========================================================= 01:53:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 01:53:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:27 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 01:53:28 Sending build context to Docker daemon 14.17MB 01:53:28 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 01:53:28 Step 2/13 : FROM ${BASE} AS builder 01:53:28 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:53:28 c41833b44d91: Pulling fs layer 01:53:28 ed15518f5707: Pulling fs layer 01:53:28 feae8fd75edb: Pulling fs layer 01:53:28 242c74f7c9fa: Pulling fs layer 01:53:28 3cdef696dda3: Pulling fs layer 01:53:28 2ced38df9373: Pulling fs layer 01:53:28 58f1dce35555: Pulling fs layer 01:53:28 242c74f7c9fa: Waiting 01:53:28 3cdef696dda3: Waiting 01:53:28 2ced38df9373: Waiting 01:53:28 58f1dce35555: Waiting 01:53:28 ed15518f5707: Verifying Checksum 01:53:28 ed15518f5707: Download complete 01:53:28 242c74f7c9fa: Verifying Checksum 01:53:28 242c74f7c9fa: Download complete 01:53:28 3cdef696dda3: Verifying Checksum 01:53:28 3cdef696dda3: Download complete 01:53:28 c41833b44d91: Verifying Checksum 01:53:28 c41833b44d91: Download complete 01:53:29 58f1dce35555: Verifying Checksum 01:53:29 58f1dce35555: Download complete 01:53:30 2ced38df9373: Verifying Checksum 01:53:30 2ced38df9373: Download complete 01:53:30 feae8fd75edb: Download complete 01:53:32 c41833b44d91: Pull complete 01:53:32 ed15518f5707: Pull complete 01:53:45 feae8fd75edb: Pull complete 01:53:45 242c74f7c9fa: Pull complete 01:53:45 3cdef696dda3: Pull complete 01:53:49 2ced38df9373: Pull complete 01:53:51 58f1dce35555: Pull complete 01:53:51 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 01:53:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 01:53:51 ---> fadd8f120f05 01:53:51 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:53:53 ---> Running in d4c64a4fe49d 01:53:54 Removing intermediate container d4c64a4fe49d 01:53:54 ---> 455071e53093 01:53:54 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:53:54 ---> Running in cd11ea07e269 01:53:54 Removing intermediate container cd11ea07e269 01:53:54 ---> a2e786c41b19 01:53:54 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 01:53:54 ---> Running in 232eb925affb 01:53:54 Removing intermediate container 232eb925affb 01:53:54 ---> ba9620468624 01:53:54 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 01:53:54 ---> Running in 69d78b2a6f78 01:53:55 Removing intermediate container 69d78b2a6f78 01:53:55 ---> 3d74d3a7197b 01:53:55 Step 7/13 : LABEL Name=edgex-device-onvif-camera 01:53:55 ---> Running in 0946e3e426ba 01:53:55 Removing intermediate container 0946e3e426ba 01:53:55 ---> fbb5463aa468 01:53:55 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:53:55 ---> Running in 8e4c09233141 01:54:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:54:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:54:02 OK: 263 MiB in 53 packages 01:54:02 Removing intermediate container 8e4c09233141 01:54:02 ---> aa6d67837c00 01:54:02 Step 9/13 : WORKDIR /device-onvif-camera 01:54:02 ---> Running in 6b565ca5fc96 01:54:03 Removing intermediate container 6b565ca5fc96 01:54:03 ---> 3b05f8805765 01:54:03 Step 10/13 : COPY go.mod vendor* ./ 01:54:03 ---> fb285bebebd4 01:54:03 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:54:03 ---> Running in 8514f455b7aa 01:55:11 Removing intermediate container 8514f455b7aa 01:55:11 ---> 84359e564aee 01:55:11 Step 12/13 : COPY . . 01:55:11 ---> 763e7186a030 01:55:11 Step 13/13 : RUN ${MAKE} 01:55:11 ---> Running in 99117e2488ae 01:55:11 noop 01:55:11 Removing intermediate container 99117e2488ae 01:55:11 ---> f76edaef99b9 01:55:11 Successfully built f76edaef99b9 01:55:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:12 + docker inspect -f . ci-base-image-arm64 01:55:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:55:12 prd-ubuntu20.04-docker-arm64-4c-16g-13345 does not seem to be running inside a container 01:55:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/133 -v /w/workspace/device-onvif-camera/133:/w/workspace/device-onvif-camera/133:rw,z -v /w/workspace/device-onvif-camera/133@tmp:/w/workspace/device-onvif-camera/133@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 01:55:13 $ docker top e299eb45805cf693900479757f89483b1434931e6fa2092368c354f694c099d4 -eo pid,comm [Pipeline] { [Pipeline] sh 01:55:14 + go version 01:55:14 go version go1.20.2 linux/arm64 [Pipeline] } 01:55:14 $ docker stop --time=1 e299eb45805cf693900479757f89483b1434931e6fa2092368c354f694c099d4 01:55:16 $ docker rm -f --volumes e299eb45805cf693900479757f89483b1434931e6fa2092368c354f694c099d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:16 + docker inspect -f . ci-base-image-arm64 01:55:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:55:16 prd-ubuntu20.04-docker-arm64-4c-16g-13345 does not seem to be running inside a container 01:55:16 $ 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/133 -v /w/workspace/device-onvif-camera/133:/w/workspace/device-onvif-camera/133:rw,z -v /w/workspace/device-onvif-camera/133@tmp:/w/workspace/device-onvif-camera/133@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 01:55:18 $ docker top eb9d6f431377bdd824a3115c00ed8e99f005dde381bb922e80a538833eb37e05 -eo pid,comm [Pipeline] { [Pipeline] sh 01:55:18 + git config --global --add safe.directory /w/workspace/device-onvif-camera/133 [Pipeline] fileExists [Pipeline] sh 01:55:18 + make test 01:55:19 go test ./... -coverprofile=coverage.out ./... 01:55:51 ? github.com/edgexfoundry/device-onvif-camera [no test files] 01:58:29 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 01:58:29 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 01:58:29 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.225s coverage: 31.1% of statements 01:59:01 --- FAIL: TestIpGenerator (0.00s) 01:59:01 --- FAIL: TestIpGenerator/basic_/8_subnet (30.22s) 01:59:01 util_test.go:180: 01:59:01 Error Trace: /w/workspace/device-onvif-camera/133/internal/netscan/util_test.go:180 01:59:01 Error: Not equal: 01:59:01 expected: 0xfffffe 01:59:01 actual : 0xff034a 01:59:01 Test: TestIpGenerator/basic_/8_subnet 01:59:01 util_test.go:183: 01:59:01 Error Trace: /w/workspace/device-onvif-camera/133/internal/netscan/util_test.go:183 01:59:01 Error: Not equal: 01:59:01 expected: "10.255.255.254" 01:59:01 actual : "10.255.3.74" 01:59:01 01:59:01 Diff: 01:59:01 --- Expected 01:59:01 +++ Actual 01:59:01 @@ -1 +1 @@ 01:59:01 -10.255.255.254 01:59:01 +10.255.3.74 01:59:01 Test: TestIpGenerator/basic_/8_subnet 01:59:01 FAIL 01:59:01 github.com/edgexfoundry/device-onvif-camera/internal/netscan coverage: 86.5% of statements 01:59:01 FAIL github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.447s 01:59:01 FAIL 01:59:01 make: *** [Makefile:58: unittest] Error 1 [Pipeline] } 01:59:01 $ docker stop --time=1 eb9d6f431377bdd824a3115c00ed8e99f005dde381bb922e80a538833eb37e05 01:59:03 $ docker rm -f --volumes eb9d6f431377bdd824a3115c00ed8e99f005dde381bb922e80a538833eb37e05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:59:04 01:59:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:59:05 arm64: Pulling from edgex-lftools-log-publisher 01:59:05 8998bd30e6a1: Pulling fs layer 01:59:05 04944245beec: Pulling fs layer 01:59:05 699f458cf7ca: Pulling fs layer 01:59:05 765212b225bb: Pulling fs layer 01:59:05 f23df028b6ca: Pulling fs layer 01:59:05 d65c8cfc05b1: Pulling fs layer 01:59:05 2437ff75d9bd: Pulling fs layer 01:59:05 f23df028b6ca: Waiting 01:59:05 d65c8cfc05b1: Waiting 01:59:05 2437ff75d9bd: Waiting 01:59:05 765212b225bb: Waiting 01:59:05 04944245beec: Verifying Checksum 01:59:05 04944245beec: Download complete 01:59:05 765212b225bb: Verifying Checksum 01:59:05 765212b225bb: Download complete 01:59:05 f23df028b6ca: Verifying Checksum 01:59:05 f23df028b6ca: Download complete 01:59:05 d65c8cfc05b1: Verifying Checksum 01:59:05 d65c8cfc05b1: Download complete 01:59:05 699f458cf7ca: Verifying Checksum 01:59:05 699f458cf7ca: Download complete 01:59:05 8998bd30e6a1: Verifying Checksum 01:59:05 8998bd30e6a1: Download complete 01:59:08 2437ff75d9bd: Verifying Checksum 01:59:08 2437ff75d9bd: Download complete 01:59:10 8998bd30e6a1: Pull complete 01:59:10 04944245beec: Pull complete 01:59:12 699f458cf7ca: Pull complete 01:59:12 765212b225bb: Pull complete 01:59:12 f23df028b6ca: Pull complete 01:59:13 d65c8cfc05b1: Pull complete 01:59:28 2437ff75d9bd: Pull complete 01:59:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:59:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:59:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:28 prd-ubuntu20.04-docker-arm64-4c-16g-13345 does not seem to be running inside a container 01: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/133 -v /w/workspace/device-onvif-camera/133:/w/workspace/device-onvif-camera/133:rw,z -v /w/workspace/device-onvif-camera/133@tmp:/w/workspace/device-onvif-camera/133@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 01:59:32 $ docker top 67fd6a440985806f5601f8397d9bf7c4601f680dac0f86365541c822097065fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:59:32 ---> job-cost.sh 01:59:32 lf-activate-venv: SKIPPING 01:59:32 INFO: No Stack... 01:59:33 INFO: Retrieving Pricing Info for: v3-standard-4 01:59:34 INFO: Archiving Costs [Pipeline] sh 01:59:34 + cat /w/workspace/device-onvif-camera/133/archives/cost.csv 01:59:34 + cut -d, -f6 [Pipeline] lock 01:59:34 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-133-stack-cost] 01:59:34 Resource [jenkins-edgexfoundry-device-onvif-camera-main-133-stack-cost] did not exist. Created. 01:59:34 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-133-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:59:35 /w/workspace/device-onvif-camera/133@tmp/durable-fc8547aa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:59:36 + echo total: 0.10999999940395355 [Pipeline] stash 01:59:36 Warning: overwriting stash ‘stack-cost’ 01:59:36 Stashed 1 file(s) [Pipeline] } 01:59:36 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-133-stack-cost] [Pipeline] // lock [Pipeline] } 01:59:36 $ docker stop --time=1 67fd6a440985806f5601f8397d9bf7c4601f680dac0f86365541c822097065fa 01:59:38 $ docker rm -f --volumes 67fd6a440985806f5601f8397d9bf7c4601f680dac0f86365541c822097065fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:59:38 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 01:59:39 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 01:59:39 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 01:59:39 total 16 01:59:39 drwxr-xr-x 3 root root 4096 May 5 01:51 . 01:59:39 drwxrwxr-x 11 jenkins jenkins 4096 May 5 01:51 .. 01:59:39 drwxr-xr-x 2 root root 4096 May 5 01:51 cost 01:59:39 -rw-r--r-- 1 root root 91 May 5 01:51 cost.csv 01:59:39 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 01:59:39 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 01:59:39 total 16 01:59:39 drwxr-xr-x 3 jenkins jenkins 4096 May 5 01:51 . 01:59:39 drwxrwxr-x 11 jenkins jenkins 4096 May 5 01:51 .. 01:59:39 drwxr-xr-x 2 jenkins jenkins 4096 May 5 01:51 cost 01:59:39 -rw-r--r-- 1 jenkins jenkins 91 May 5 01:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:59:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:59:40 ---> package-listing.sh 01:59:40 ++ facter osfamily 01:59:40 ++ tr '[:upper:]' '[:lower:]' 01:59:40 + OS_FAMILY=debian 01:59:40 + workspace=/w/workspace/foundry_device-onvif-camera_main 01:59:40 + START_PACKAGES=/tmp/packages_start.txt 01:59:40 + END_PACKAGES=/tmp/packages_end.txt 01:59:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:59:40 + PACKAGES=/tmp/packages_start.txt 01:59:40 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 01:59:40 + PACKAGES=/tmp/packages_end.txt 01:59:40 + case "${OS_FAMILY}" in 01:59:40 + dpkg -l 01:59:40 + grep '^ii' 01:59:40 + '[' -f /tmp/packages_start.txt ']' 01:59:40 + '[' -f /tmp/packages_end.txt ']' 01:59:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:59:40 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 01:59:40 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 01:59:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 01:59:40 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 01:59:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:59:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:41 prd-ubuntu20.04-docker-8c-8g-13342 does not seem to be running inside a container 01:59:41 $ 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 01:59:42 $ docker top b429d7b511baf4507587ff0e9af30001c8898219769171531fedeafeb40c5264 -eo pid,comm [Pipeline] { [Pipeline] sh 01:59:42 + touch /tmp/pre-build-complete [Pipeline] sh 01:59:42 + mkdir -p /var/log/sysstat [Pipeline] sh 01:59:42 + ls /var/log/sa-host 01:59:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:59:43 provisioning config files... 01:59:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5582389673741596556tmp [Pipeline] { [Pipeline] echo 01:59:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:59:43 ---> create-netrc.sh [Pipeline] } 01:59:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:59:43 ---> python-tools-install.sh [Pipeline] echo 01:59:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:59:44 ---> sudo-logs.sh 01:59:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:59:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:59:44 ---> job-cost.sh 01:59:44 lf-activate-venv: SKIPPING 01:59:44 DEBUG: total: 0.2199999988079071 01:59:44 INFO: Retrieving Stack Cost... 01:59:44 INFO: Retrieving Pricing Info for: v3-standard-8 01:59:45 INFO: Archiving Costs [Pipeline] echo 01:59:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:59:45 ---> logs-deploy.sh 01:59:45 lf-activate-venv: SKIPPING 01:59:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/133 01:59:45 INFO: archiving workspace using pattern(s): 01:59:46 Archives upload complete. 01:59:46 INFO: archiving logs to Nexus