Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 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-ssh4793184268998130156.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh1047545739739616742.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh4090602002072423819.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh11126550790744305599.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-ssh14042301176280405598.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9497 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 (main) Commit message: "Merge pull request #320 from weichou1229/bump-sdk" > 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 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 # timeout=10 > git rev-list --no-walk b3088f74b80dce78a876441a0c72d3538a65c555 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-24T06:29:37.195Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-24T06:29:37.245Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-24T06:29:37.257Z] ========================================================= [2023-04-24T06:29:37.257Z] EdgeX Global Pipelines Version Info [2023-04-24T06:29:37.257Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:29:37.967Z] ------------------- [2023-04-24T06:29:37.967Z] stable info: [2023-04-24T06:29:37.967Z] ------------------- [2023-04-24T06:29:37.967Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-24T06:29:37.967Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T06:29:37.967Z] Message: update stable to v1.0.248 [2023-04-24T06:29:38.535Z] ------------------- [2023-04-24T06:29:38.535Z] experimental info: [2023-04-24T06:29:38.535Z] ------------------- [2023-04-24T06:29:38.535Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-24T06:29:38.535Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T06:29:38.535Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-24T06:29:38.697Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-04-24T06:29:38.707Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-04-24T06:29:38.725Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-24T06:29:38.736Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-24T06:29:38.744Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-24T06:29:38.760Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-24T06:29:38.769Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-24T06:29:38.782Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-24T06:29:38.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-24T06:29:38.808Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-24T06:29:38.822Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-24T06:29:38.833Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-04-24T06:29:38.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-24T06:29:38.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-24T06:29:38.870Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T06:29:38.887Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T06:29:38.898Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T06:29:38.906Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T06:29:38.919Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-24T06:29:38.929Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-24T06:29:38.940Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-24T06:29:38.956Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-04-24T06:29:38.966Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-24T06:29:38.974Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-24T06:29:38.988Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-24T06:29:39.002Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-24T06:29:39.019Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-24T06:29:39.030Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-04-24T06:29:39.038Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-04-24T06:29:39.049Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-04-24T06:29:39.060Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 [Pipeline] echo [2023-04-24T06:29:39.071Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6f5ab4f [Pipeline] echo [2023-04-24T06:29:39.079Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T06:29:39.114Z] provisioning config files... [2023-04-24T06:29:39.128Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11515700798608010652tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:29:39.432Z] ---> docker-login.sh [2023-04-24T06:29:39.432Z] nexus3.edgexfoundry.org:10001 [2023-04-24T06:29:39.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:29:39.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:29:39.692Z] Configure a credential helper to remove this warning. See [2023-04-24T06:29:39.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:29:39.692Z] [2023-04-24T06:29:39.692Z] Login Succeeded [2023-04-24T06:29:39.692Z] nexus3.edgexfoundry.org:10002 [2023-04-24T06:29:39.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:29:39.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:29:39.952Z] Configure a credential helper to remove this warning. See [2023-04-24T06:29:39.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:29:39.952Z] [2023-04-24T06:29:39.952Z] Login Succeeded [2023-04-24T06:29:39.952Z] nexus3.edgexfoundry.org:10003 [2023-04-24T06:29:39.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:29:39.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:29:39.952Z] Configure a credential helper to remove this warning. See [2023-04-24T06:29:39.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:29:39.952Z] [2023-04-24T06:29:39.952Z] Login Succeeded [2023-04-24T06:29:39.952Z] nexus3.edgexfoundry.org:10004 [2023-04-24T06:29:39.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:29:40.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:29:40.212Z] Configure a credential helper to remove this warning. See [2023-04-24T06:29:40.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:29:40.212Z] [2023-04-24T06:29:40.212Z] Login Succeeded [2023-04-24T06:29:40.212Z] docker.io [2023-04-24T06:29:40.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:29:40.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:29:40.472Z] Configure a credential helper to remove this warning. See [2023-04-24T06:29:40.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:29:40.473Z] [2023-04-24T06:29:40.473Z] Login Succeeded [2023-04-24T06:29:40.473Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T06:29:40.480Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-24T06:29:40.839Z] + git rev-list -1 --merges 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76~1..6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 [Pipeline] echo [2023-04-24T06:29:40.886Z] -----------> git rev-list -1 --merges 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76~1..6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 [2023-04-24T06:29:40.886Z] 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 [false] [Pipeline] sh [2023-04-24T06:29:41.173Z] + git log --format=format:%s -1 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 [Pipeline] echo [2023-04-24T06:29:41.208Z] ========================================================= [2023-04-24T06:29:41.208Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-24T06:29:41.208Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T06:29:41.534Z] + git log --format=format:%s -1 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 [Pipeline] echo [2023-04-24T06:29:41.549Z] [semverPrep] GIT_COMMIT: 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76, Commit Message: Merge pull request #320 from weichou1229/bump-sdk [Pipeline] echo [2023-04-24T06:29:41.558Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-24T06:29:41.919Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-24T06:29:41.919Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-24T06:29:41.919Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-24T06:29:41.919Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-24T06:29:41.919Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-24T06:29:41.919Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-24T06:29:41.919Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:29:42.346Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T06:29:42.346Z] [2023-04-24T06:29:42.346Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:29:42.648Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T06:29:42.648Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-24T06:29:42.648Z] b85a868b505f: Pulling fs layer [2023-04-24T06:29:42.648Z] e2be974225ed: Pulling fs layer [2023-04-24T06:29:42.648Z] 339a4e72a1f5: Pulling fs layer [2023-04-24T06:29:42.648Z] 988bab9f4d93: Pulling fs layer [2023-04-24T06:29:42.648Z] 1469e6f7b9e6: Pulling fs layer [2023-04-24T06:29:42.648Z] eaf3925da568: Pulling fs layer [2023-04-24T06:29:42.648Z] bab4dde63d76: Pulling fs layer [2023-04-24T06:29:42.648Z] bde34c3a00c8: Pulling fs layer [2023-04-24T06:29:42.648Z] 1469e6f7b9e6: Waiting [2023-04-24T06:29:42.648Z] 988bab9f4d93: Waiting [2023-04-24T06:29:42.648Z] b352a97aabf1: Pulling fs layer [2023-04-24T06:29:42.648Z] eaf3925da568: Waiting [2023-04-24T06:29:42.648Z] 4872d77fe225: Pulling fs layer [2023-04-24T06:29:42.648Z] 5851b861e8e6: Pulling fs layer [2023-04-24T06:29:42.648Z] b352a97aabf1: Waiting [2023-04-24T06:29:42.648Z] 4872d77fe225: Waiting [2023-04-24T06:29:42.648Z] bde34c3a00c8: Waiting [2023-04-24T06:29:42.648Z] 5851b861e8e6: Waiting [2023-04-24T06:29:42.648Z] e2be974225ed: Download complete [2023-04-24T06:29:42.648Z] 988bab9f4d93: Verifying Checksum [2023-04-24T06:29:42.648Z] 988bab9f4d93: Download complete [2023-04-24T06:29:42.648Z] 1469e6f7b9e6: Verifying Checksum [2023-04-24T06:29:42.648Z] 1469e6f7b9e6: Download complete [2023-04-24T06:29:42.648Z] eaf3925da568: Verifying Checksum [2023-04-24T06:29:42.648Z] eaf3925da568: Download complete [2023-04-24T06:29:42.648Z] 339a4e72a1f5: Verifying Checksum [2023-04-24T06:29:42.648Z] 339a4e72a1f5: Download complete [2023-04-24T06:29:42.908Z] bde34c3a00c8: Download complete [2023-04-24T06:29:42.908Z] b352a97aabf1: Verifying Checksum [2023-04-24T06:29:42.908Z] b352a97aabf1: Download complete [2023-04-24T06:29:42.908Z] 4872d77fe225: Download complete [2023-04-24T06:29:42.908Z] 5851b861e8e6: Verifying Checksum [2023-04-24T06:29:42.908Z] 5851b861e8e6: Download complete [2023-04-24T06:29:42.908Z] b85a868b505f: Verifying Checksum [2023-04-24T06:29:42.908Z] b85a868b505f: Download complete [2023-04-24T06:29:43.166Z] bab4dde63d76: Verifying Checksum [2023-04-24T06:29:43.166Z] bab4dde63d76: Download complete [2023-04-24T06:29:44.101Z] b85a868b505f: Pull complete [2023-04-24T06:29:44.101Z] e2be974225ed: Pull complete [2023-04-24T06:29:44.360Z] 339a4e72a1f5: Pull complete [2023-04-24T06:29:44.619Z] 988bab9f4d93: Pull complete [2023-04-24T06:29:44.619Z] 1469e6f7b9e6: Pull complete [2023-04-24T06:29:44.876Z] eaf3925da568: Pull complete [2023-04-24T06:29:46.254Z] bab4dde63d76: Pull complete [2023-04-24T06:29:46.512Z] bde34c3a00c8: Pull complete [2023-04-24T06:29:46.512Z] b352a97aabf1: Pull complete [2023-04-24T06:29:46.512Z] 4872d77fe225: Pull complete [2023-04-24T06:29:46.770Z] 5851b861e8e6: Pull complete [2023-04-24T06:29:46.770Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-24T06:29:46.770Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T06:29:46.770Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:29:46.860Z] prd-ubuntu20.04-docker-8c-8g-9497 does not seem to be running inside a container [2023-04-24T06:29:46.891Z] $ 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 [2023-04-24T06:29:48.756Z] $ docker top 6a621b90f82961d49e9428628c4c26ecfe57fc78f8a8c20c88b46d79b1d3c530 -eo pid,comm [2023-04-24T06:29:48.817Z] 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). [2023-04-24T06:29:48.817Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-24T06:29:48.854Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T06:29:48.854Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T06:29:48.974Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T06:29:48.981Z] $ docker exec 6a621b90f82961d49e9428628c4c26ecfe57fc78f8a8c20c88b46d79b1d3c530 ssh-agent [2023-04-24T06:29:49.077Z] SSH_AUTH_SOCK=/tmp/ssh-odRZCQl2tyKa/agent.32 [2023-04-24T06:29:49.077Z] SSH_AGENT_PID=38 [2023-04-24T06:29:49.083Z] Running ssh-add (command line suppressed) [2023-04-24T06:29:49.191Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8462262277366645584.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8462262277366645584.key) [2023-04-24T06:29:49.199Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T06:29:49.485Z] + git tag --points-at HEAD [Pipeline] } [2023-04-24T06:29:49.506Z] $ docker exec --env ******** --env ******** 6a621b90f82961d49e9428628c4c26ecfe57fc78f8a8c20c88b46d79b1d3c530 ssh-agent -k [2023-04-24T06:29:49.611Z] unset SSH_AUTH_SOCK; [2023-04-24T06:29:49.611Z] unset SSH_AGENT_PID; [2023-04-24T06:29:49.611Z] echo Agent pid 38 killed; [2023-04-24T06:29:49.618Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-24T06:29:49.646Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T06:29:49.646Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T06:29:49.749Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T06:29:49.756Z] $ docker exec 6a621b90f82961d49e9428628c4c26ecfe57fc78f8a8c20c88b46d79b1d3c530 ssh-agent [2023-04-24T06:29:49.863Z] SSH_AUTH_SOCK=/tmp/ssh-mKAX2H1pMcYl/agent.70 [2023-04-24T06:29:49.864Z] SSH_AGENT_PID=76 [2023-04-24T06:29:49.868Z] Running ssh-add (command line suppressed) [2023-04-24T06:29:49.984Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8080251663379285218.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8080251663379285218.key) [2023-04-24T06:29:49.994Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T06:29:50.283Z] + git semver init [2023-04-24T06:29:50.544Z] 2023-04-24 06:29:50,457 [run_init] DEBUG init version:0.0.0 force:False [2023-04-24T06:29:50.544Z] 2023-04-24 06:29:50,458 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2023-04-24T06:29:50.544Z] 2023-04-24 06:29:50,459 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2023-04-24T06:29:50.544Z] 2023-04-24 06:29:50,459 [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) [2023-04-24T06:29:51.481Z] 2023-04-24 06:29:51,293 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2023-04-24T06:29:51.481Z] 2023-04-24 06:29:51,293 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2023-04-24T06:29:51.481Z] 2023-04-24 06:29:51,293 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-04-24T06:29:51.481Z] 2023-04-24 06:29:51,294 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-04-24T06:29:51.481Z] 3.0.0-dev.31 [Pipeline] } [2023-04-24T06:29:51.496Z] $ docker exec --env ******** --env ******** 6a621b90f82961d49e9428628c4c26ecfe57fc78f8a8c20c88b46d79b1d3c530 ssh-agent -k [2023-04-24T06:29:51.597Z] unset SSH_AUTH_SOCK; [2023-04-24T06:29:51.597Z] unset SSH_AGENT_PID; [2023-04-24T06:29:51.597Z] echo Agent pid 76 killed; [2023-04-24T06:29:51.603Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-24T06:29:51.923Z] + git semver [Pipeline] } [2023-04-24T06:29:52.208Z] $ docker stop --time=1 6a621b90f82961d49e9428628c4c26ecfe57fc78f8a8c20c88b46d79b1d3c530 [2023-04-24T06:29:53.502Z] $ docker rm -f --volumes 6a621b90f82961d49e9428628c4c26ecfe57fc78f8a8c20c88b46d79b1d3c530 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T06:29:53.842Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-24T06:29:54.050Z] Stashed 1 file(s) [Pipeline] echo [2023-04-24T06:29:54.053Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.31 [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 [2023-04-24T06:29:54.169Z] provisioning config files... [2023-04-24T06:29:54.178Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7075582533919745402tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:29:54.474Z] ---> docker-login.sh [2023-04-24T06:29:54.474Z] nexus3.edgexfoundry.org:10001 [2023-04-24T06:29:54.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:29:54.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:29:54.474Z] Configure a credential helper to remove this warning. See [2023-04-24T06:29:54.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:29:54.474Z] [2023-04-24T06:29:54.474Z] Login Succeeded [2023-04-24T06:29:54.474Z] nexus3.edgexfoundry.org:10002 [2023-04-24T06:29:54.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:29:54.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:29:54.474Z] Configure a credential helper to remove this warning. See [2023-04-24T06:29:54.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:29:54.474Z] [2023-04-24T06:29:54.474Z] Login Succeeded [2023-04-24T06:29:54.474Z] nexus3.edgexfoundry.org:10003 [2023-04-24T06:29:54.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:29:54.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:29:54.733Z] Configure a credential helper to remove this warning. See [2023-04-24T06:29:54.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:29:54.733Z] [2023-04-24T06:29:54.733Z] Login Succeeded [2023-04-24T06:29:54.733Z] nexus3.edgexfoundry.org:10004 [2023-04-24T06:29:54.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:29:54.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:29:54.733Z] Configure a credential helper to remove this warning. See [2023-04-24T06:29:54.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:29:54.733Z] [2023-04-24T06:29:54.733Z] Login Succeeded [2023-04-24T06:29:54.733Z] docker.io [2023-04-24T06:29:54.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:29:54.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:29:54.992Z] Configure a credential helper to remove this warning. See [2023-04-24T06:29:54.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:29:54.992Z] [2023-04-24T06:29:54.992Z] Login Succeeded [2023-04-24T06:29:54.992Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T06:29:54.999Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T06:29:55.059Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T06:29:55.071Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T06:29:55.078Z] ========================================================= [2023-04-24T06:29:55.078Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-24T06:29:55.078Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:29:55.382Z] + 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 . [2023-04-24T06:29:55.382Z] Sending build context to Docker daemon 26.94MB [2023-04-24T06:29:55.382Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T06:29:55.382Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-24T06:29:55.654Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-24T06:29:55.654Z] 63b65145d645: Pulling fs layer [2023-04-24T06:29:55.654Z] a2d21d5440eb: Pulling fs layer [2023-04-24T06:29:55.654Z] 935e6c44a52c: Pulling fs layer [2023-04-24T06:29:55.654Z] 94cc34f8dd06: Pulling fs layer [2023-04-24T06:29:55.654Z] 30dea6a524f1: Pulling fs layer [2023-04-24T06:29:55.654Z] a2aff8979fd8: Pulling fs layer [2023-04-24T06:29:55.654Z] 6808be2612f2: Pulling fs layer [2023-04-24T06:29:55.654Z] f25807f1079a: Pulling fs layer [2023-04-24T06:29:55.654Z] 30dea6a524f1: Waiting [2023-04-24T06:29:55.654Z] a2aff8979fd8: Waiting [2023-04-24T06:29:55.654Z] 6808be2612f2: Waiting [2023-04-24T06:29:55.654Z] f25807f1079a: Waiting [2023-04-24T06:29:55.654Z] a2d21d5440eb: Download complete [2023-04-24T06:29:55.654Z] 94cc34f8dd06: Verifying Checksum [2023-04-24T06:29:55.654Z] 94cc34f8dd06: Download complete [2023-04-24T06:29:55.654Z] 30dea6a524f1: Verifying Checksum [2023-04-24T06:29:55.654Z] 30dea6a524f1: Download complete [2023-04-24T06:29:55.654Z] 63b65145d645: Verifying Checksum [2023-04-24T06:29:55.654Z] 63b65145d645: Download complete [2023-04-24T06:29:55.654Z] a2aff8979fd8: Verifying Checksum [2023-04-24T06:29:55.654Z] a2aff8979fd8: Download complete [2023-04-24T06:29:55.913Z] 63b65145d645: Pull complete [2023-04-24T06:29:55.913Z] a2d21d5440eb: Pull complete [2023-04-24T06:29:56.173Z] f25807f1079a: Verifying Checksum [2023-04-24T06:29:56.173Z] f25807f1079a: Download complete [2023-04-24T06:29:56.173Z] 935e6c44a52c: Download complete [2023-04-24T06:29:56.740Z] 6808be2612f2: Verifying Checksum [2023-04-24T06:29:56.740Z] 6808be2612f2: Download complete [2023-04-24T06:30:00.078Z] 935e6c44a52c: Pull complete [2023-04-24T06:30:00.078Z] 94cc34f8dd06: Pull complete [2023-04-24T06:30:00.078Z] 30dea6a524f1: Pull complete [2023-04-24T06:30:00.078Z] a2aff8979fd8: Pull complete [2023-04-24T06:30:02.611Z] 6808be2612f2: Pull complete [2023-04-24T06:30:03.191Z] f25807f1079a: Pull complete [2023-04-24T06:30:03.191Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-24T06:30:03.191Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-24T06:30:03.191Z] ---> 3b553350e43f [2023-04-24T06:30:03.191Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-24T06:30:05.729Z] ---> Running in 5f3a6f37a44b [2023-04-24T06:30:05.729Z] Removing intermediate container 5f3a6f37a44b [2023-04-24T06:30:05.729Z] ---> 77668d73307a [2023-04-24T06:30:05.729Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T06:30:05.729Z] ---> Running in 52718f3bfac7 [2023-04-24T06:30:05.729Z] Removing intermediate container 52718f3bfac7 [2023-04-24T06:30:05.729Z] ---> 63e537bb5d70 [2023-04-24T06:30:05.729Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-24T06:30:05.729Z] ---> Running in 39dffee8c501 [2023-04-24T06:30:05.729Z] Removing intermediate container 39dffee8c501 [2023-04-24T06:30:05.729Z] ---> 0891acb25ad6 [2023-04-24T06:30:05.729Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T06:30:05.729Z] ---> Running in de0ed3aefea7 [2023-04-24T06:30:05.987Z] Removing intermediate container de0ed3aefea7 [2023-04-24T06:30:05.988Z] ---> 500163cfb5cd [2023-04-24T06:30:05.988Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-24T06:30:05.988Z] ---> Running in da122437d783 [2023-04-24T06:30:05.988Z] Removing intermediate container da122437d783 [2023-04-24T06:30:05.988Z] ---> 770c461f29ea [2023-04-24T06:30:05.988Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T06:30:05.988Z] ---> Running in 925006f80915 [2023-04-24T06:30:06.247Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T06:30:06.506Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T06:30:06.766Z] OK: 265 MiB in 53 packages [2023-04-24T06:30:07.024Z] Removing intermediate container 925006f80915 [2023-04-24T06:30:07.024Z] ---> 2d179b1c1c68 [2023-04-24T06:30:07.024Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-24T06:30:07.024Z] ---> Running in efcfc025129a [2023-04-24T06:30:07.024Z] Removing intermediate container efcfc025129a [2023-04-24T06:30:07.024Z] ---> a7dae533851d [2023-04-24T06:30:07.024Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-24T06:30:07.283Z] ---> 3b688609e4ae [2023-04-24T06:30:07.283Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T06:30:07.283Z] ---> Running in 1bd2c79d7800 [2023-04-24T06:30:09.141Z] Still waiting to schedule task [2023-04-24T06:30:09.142Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-24T06:30:29.460Z] Removing intermediate container 1bd2c79d7800 [2023-04-24T06:30:29.460Z] ---> 14ad6121b856 [2023-04-24T06:30:29.460Z] Step 12/13 : COPY . . [2023-04-24T06:30:30.395Z] ---> 70b99842ea8b [2023-04-24T06:30:30.395Z] Step 13/13 : RUN ${MAKE} [2023-04-24T06:30:30.395Z] ---> Running in 543228d0e61f [2023-04-24T06:30:30.653Z] noop [2023-04-24T06:30:30.912Z] Removing intermediate container 543228d0e61f [2023-04-24T06:30:30.912Z] ---> b73f3ccd46da [2023-04-24T06:30:30.912Z] Successfully built b73f3ccd46da [2023-04-24T06:30:30.912Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:30:31.227Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T06:30:31.227Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:30:31.297Z] prd-ubuntu20.04-docker-8c-8g-9497 does not seem to be running inside a container [2023-04-24T06:30:31.339Z] $ 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 [2023-04-24T06:30:31.674Z] $ docker top c6124939bf736cfa3eb76d3be65940de6e81c15caf727a8b7ac080395c381de0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:30:32.008Z] + go version [2023-04-24T06:30:32.008Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-24T06:30:32.022Z] $ docker stop --time=1 c6124939bf736cfa3eb76d3be65940de6e81c15caf727a8b7ac080395c381de0 [2023-04-24T06:30:33.276Z] $ docker rm -f --volumes c6124939bf736cfa3eb76d3be65940de6e81c15caf727a8b7ac080395c381de0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:30:33.687Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T06:30:33.687Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:30:33.806Z] prd-ubuntu20.04-docker-8c-8g-9497 does not seem to be running inside a container [2023-04-24T06:30:33.843Z] $ 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 [2023-04-24T06:30:34.186Z] $ docker top d934c6ac3c37c595bd0aadd04e47ae12d0c8c0945434109f167a7b5bd3f12779 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:30:34.531Z] + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh [2023-04-24T06:30:34.836Z] + make test [2023-04-24T06:30:34.836Z] go test ./... -coverprofile=coverage.out ./... [2023-04-24T06:30:40.106Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-24T06:30:50.135Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-24T06:30:50.135Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-24T06:30:52.041Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 31.6% of statements [2023-04-24T06:30:52.041Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.066s coverage: 86.5% of statements [2023-04-24T06:31:00.559Z] go vet ./... [2023-04-24T06:31:03.088Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-24T06:31:03.088Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-24T06:31:03.088Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-24T06:31:03.357Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-24T06:31:03.374Z] $ docker stop --time=1 d934c6ac3c37c595bd0aadd04e47ae12d0c8c0945434109f167a7b5bd3f12779 [2023-04-24T06:31:06.044Z] $ docker rm -f --volumes d934c6ac3c37c595bd0aadd04e47ae12d0c8c0945434109f167a7b5bd3f12779 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T06:31:06.580Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-24T06:31:06.654Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-24T06:31:07.199Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-24T06:31:07.488Z] + ls -al . [2023-04-24T06:31:07.488Z] total 236 [2023-04-24T06:31:07.488Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 06:30 . [2023-04-24T06:31:07.488Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:29 .. [2023-04-24T06:31:07.488Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 06:29 .git [2023-04-24T06:31:07.488Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:29 .github [2023-04-24T06:31:07.488Z] -rw-rw-r-- 1 jenkins jenkins 496 Apr 24 06:29 .gitignore [2023-04-24T06:31:07.488Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 24 06:29 .golangci.yml [2023-04-24T06:31:07.488Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 06:29 .semver [2023-04-24T06:31:07.488Z] -rw-rw-r-- 1 jenkins jenkins 9861 Apr 24 06:29 Attribution.txt [2023-04-24T06:31:07.488Z] -rw-rw-r-- 1 jenkins jenkins 6312 Apr 24 06:29 CHANGELOG.md [2023-04-24T06:31:07.488Z] -rw-rw-r-- 1 jenkins jenkins 1574 Apr 24 06:29 Dockerfile [2023-04-24T06:31:07.488Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 06:29 GOVERNANCE.md [2023-04-24T06:31:07.488Z] -rw-rw-r-- 1 jenkins jenkins 734 Apr 24 06:29 Jenkinsfile [2023-04-24T06:31:07.488Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 24 06:29 LICENSE [2023-04-24T06:31:07.488Z] -rw-rw-r-- 1 jenkins jenkins 2751 Apr 24 06:29 Makefile [2023-04-24T06:31:07.488Z] -rw-rw-r-- 1 jenkins jenkins 625 Apr 24 06:29 OWNERS.md [2023-04-24T06:31:07.488Z] -rw-rw-r-- 1 jenkins jenkins 6250 Apr 24 06:29 README.md [2023-04-24T06:31:07.488Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 24 06:29 VERSION [2023-04-24T06:31:07.488Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 06:29 bin [2023-04-24T06:31:07.488Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:29 cmd [2023-04-24T06:31:07.488Z] -rw-r--r-- 1 jenkins jenkins 78922 Apr 24 06:30 coverage.out [2023-04-24T06:31:07.488Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 24 06:29 doc [2023-04-24T06:31:07.488Z] -rw-rw-r-- 1 jenkins jenkins 3557 Apr 24 06:29 go.mod [2023-04-24T06:31:07.488Z] -rw-rw-r-- 1 jenkins jenkins 32947 Apr 24 06:29 go.sum [2023-04-24T06:31:07.488Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:29 internal [2023-04-24T06:31:07.488Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:29 snap [2023-04-24T06:31:07.488Z] -rw-rw-r-- 1 jenkins jenkins 236 Apr 24 06:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:31:07.796Z] + 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=6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 --label arch=amd64 --label version=3.0.0-dev.31 . [2023-04-24T06:31:07.796Z] Sending build context to Docker daemon 27.02MB [2023-04-24T06:31:07.796Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T06:31:07.796Z] Step 2/26 : FROM ${BASE} AS builder [2023-04-24T06:31:07.796Z] ---> b73f3ccd46da [2023-04-24T06:31:07.796Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-04-24T06:31:08.054Z] ---> Running in c940e81a2180 [2023-04-24T06:31:08.054Z] Removing intermediate container c940e81a2180 [2023-04-24T06:31:08.054Z] ---> 27ef1001de52 [2023-04-24T06:31:08.054Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T06:31:08.317Z] ---> Running in 9eeb336d9afb [2023-04-24T06:31:08.317Z] Removing intermediate container 9eeb336d9afb [2023-04-24T06:31:08.317Z] ---> 8f3fd8163fda [2023-04-24T06:31:08.317Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-04-24T06:31:08.317Z] ---> Running in 39583e5d9a27 [2023-04-24T06:31:08.317Z] Removing intermediate container 39583e5d9a27 [2023-04-24T06:31:08.317Z] ---> 6a2c6eccee7a [2023-04-24T06:31:08.317Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T06:31:08.317Z] ---> Running in b67fefb5fccc [2023-04-24T06:31:08.578Z] Removing intermediate container b67fefb5fccc [2023-04-24T06:31:08.578Z] ---> ee855183d444 [2023-04-24T06:31:08.578Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-04-24T06:31:08.578Z] ---> Running in 73079fc9436c [2023-04-24T06:31:08.578Z] Removing intermediate container 73079fc9436c [2023-04-24T06:31:08.578Z] ---> 4ad3a798ab62 [2023-04-24T06:31:08.578Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T06:31:08.578Z] ---> Running in e023cfc39fa7 [2023-04-24T06:31:08.837Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T06:31:08.837Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T06:31:09.096Z] OK: 265 MiB in 53 packages [2023-04-24T06:31:09.354Z] Removing intermediate container e023cfc39fa7 [2023-04-24T06:31:09.354Z] ---> 24384e4801a8 [2023-04-24T06:31:09.354Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-04-24T06:31:09.354Z] ---> Running in b750b75fb874 [2023-04-24T06:31:09.613Z] Removing intermediate container b750b75fb874 [2023-04-24T06:31:09.613Z] ---> d457ecdb3852 [2023-04-24T06:31:09.613Z] Step 10/26 : COPY go.mod vendor* ./ [2023-04-24T06:31:09.613Z] ---> 83921f64e88c [2023-04-24T06:31:09.613Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T06:31:09.613Z] ---> Running in 938500f05387 [2023-04-24T06:31:10.547Z] Removing intermediate container 938500f05387 [2023-04-24T06:31:10.547Z] ---> 6f05bd2630d0 [2023-04-24T06:31:10.548Z] Step 12/26 : COPY . . [2023-04-24T06:31:11.114Z] ---> 611b41a5c5ac [2023-04-24T06:31:11.114Z] Step 13/26 : RUN ${MAKE} [2023-04-24T06:31:11.114Z] ---> Running in 32f60800ad0f [2023-04-24T06:31:11.372Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.31" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-04-24T06:31:29.457Z] Removing intermediate container 32f60800ad0f [2023-04-24T06:31:29.457Z] ---> 928527d53aa9 [2023-04-24T06:31:29.457Z] Step 14/26 : FROM alpine:3.17 [2023-04-24T06:31:29.457Z] 3.17: Pulling from library/alpine [2023-04-24T06:31:29.457Z] f56be85fc22e: Pulling fs layer [2023-04-24T06:31:29.457Z] f56be85fc22e: Verifying Checksum [2023-04-24T06:31:29.457Z] f56be85fc22e: Download complete [2023-04-24T06:31:29.714Z] f56be85fc22e: Pull complete [2023-04-24T06:31:29.714Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-24T06:31:29.714Z] Status: Downloaded newer image for alpine:3.17 [2023-04-24T06:31:29.714Z] ---> 9ed4aefc74f6 [2023-04-24T06:31:29.714Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-24T06:31:29.714Z] ---> Running in 3b232eefc5bf [2023-04-24T06:31:29.971Z] Removing intermediate container 3b232eefc5bf [2023-04-24T06:31:29.971Z] ---> 4620c8bd6f00 [2023-04-24T06:31:29.971Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-04-24T06:31:29.971Z] ---> Running in 9fbfd684b443 [2023-04-24T06:31:30.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T06:31:30.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T06:31:30.487Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-24T06:31:30.487Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T06:31:30.487Z] OK: 7 MiB in 16 packages [2023-04-24T06:31:30.746Z] Removing intermediate container 9fbfd684b443 [2023-04-24T06:31:30.746Z] ---> 20ae60768499 [2023-04-24T06:31:30.746Z] Step 17/26 : WORKDIR / [2023-04-24T06:31:30.746Z] ---> Running in ffb77ee43a61 [2023-04-24T06:31:30.746Z] Removing intermediate container ffb77ee43a61 [2023-04-24T06:31:30.746Z] ---> 09c599cfe34c [2023-04-24T06:31:30.746Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-04-24T06:31:31.685Z] ---> 3a219b5a52fb [2023-04-24T06:31:31.685Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-04-24T06:31:31.685Z] ---> 590556eaab68 [2023-04-24T06:31:31.685Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-04-24T06:31:31.943Z] ---> 58509a7ff976 [2023-04-24T06:31:31.943Z] Step 21/26 : EXPOSE 59984 [2023-04-24T06:31:31.943Z] ---> Running in 8429fc28c5b3 [2023-04-24T06:31:31.943Z] Removing intermediate container 8429fc28c5b3 [2023-04-24T06:31:31.943Z] ---> 75b178cdcb80 [2023-04-24T06:31:31.943Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-04-24T06:31:31.943Z] ---> Running in f190f29a5d16 [2023-04-24T06:31:32.201Z] Removing intermediate container f190f29a5d16 [2023-04-24T06:31:32.201Z] ---> 8c297a439982 [2023-04-24T06:31:32.201Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-24T06:31:32.201Z] ---> Running in e416acc83deb [2023-04-24T06:31:32.201Z] Removing intermediate container e416acc83deb [2023-04-24T06:31:32.201Z] ---> 83f44dc96b2f [2023-04-24T06:31:32.201Z] Step 24/26 : LABEL arch=amd64 [2023-04-24T06:31:32.201Z] ---> Running in 3ad37bedba74 [2023-04-24T06:31:32.201Z] Removing intermediate container 3ad37bedba74 [2023-04-24T06:31:32.201Z] ---> 93ccdcb5cb15 [2023-04-24T06:31:32.201Z] Step 25/26 : LABEL git_sha=6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 [2023-04-24T06:31:32.201Z] ---> Running in 56c690c443b0 [2023-04-24T06:31:32.459Z] Removing intermediate container 56c690c443b0 [2023-04-24T06:31:32.459Z] ---> ba3a468c7de9 [2023-04-24T06:31:32.459Z] Step 26/26 : LABEL version=3.0.0-dev.31 [2023-04-24T06:31:32.459Z] ---> Running in 6af697965d5c [2023-04-24T06:31:32.719Z] Removing intermediate container 6af697965d5c [2023-04-24T06:31:32.719Z] ---> 82f8eaf3f34c [2023-04-24T06:31:32.719Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-24T06:31:32.719Z] Successfully built 82f8eaf3f34c [2023-04-24T06:31:32.719Z] 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 [2023-04-24T06:31:32.824Z] provisioning config files... [2023-04-24T06:31:32.832Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2731250698306265712tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:31:33.130Z] ---> docker-login.sh [2023-04-24T06:31:33.130Z] nexus3.edgexfoundry.org:10001 [2023-04-24T06:31:33.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:31:33.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:31:33.130Z] Configure a credential helper to remove this warning. See [2023-04-24T06:31:33.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:31:33.130Z] [2023-04-24T06:31:33.130Z] Login Succeeded [2023-04-24T06:31:33.130Z] nexus3.edgexfoundry.org:10002 [2023-04-24T06:31:33.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:31:33.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:31:33.130Z] Configure a credential helper to remove this warning. See [2023-04-24T06:31:33.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:31:33.130Z] [2023-04-24T06:31:33.130Z] Login Succeeded [2023-04-24T06:31:33.130Z] nexus3.edgexfoundry.org:10003 [2023-04-24T06:31:33.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:31:33.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:31:33.390Z] Configure a credential helper to remove this warning. See [2023-04-24T06:31:33.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:31:33.390Z] [2023-04-24T06:31:33.390Z] Login Succeeded [2023-04-24T06:31:33.390Z] nexus3.edgexfoundry.org:10004 [2023-04-24T06:31:33.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:31:33.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:31:33.390Z] Configure a credential helper to remove this warning. See [2023-04-24T06:31:33.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:31:33.390Z] [2023-04-24T06:31:33.390Z] Login Succeeded [2023-04-24T06:31:33.390Z] docker.io [2023-04-24T06:31:33.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:31:33.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:31:33.649Z] Configure a credential helper to remove this warning. See [2023-04-24T06:31:33.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:31:33.649Z] [2023-04-24T06:31:33.649Z] Login Succeeded [2023-04-24T06:31:33.649Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T06:31:33.656Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-24T06:31:33.690Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T06:31:33.723Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2023-04-24T06:31:33.723Z] 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 [2023-04-24T06:31:33.723Z] latest [2023-04-24T06:31:33.723Z] 3.0.0-dev.31 [2023-04-24T06:31:33.723Z] 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76-3.0.0-dev.31 [2023-04-24T06:31:33.723Z] main [2023-04-24T06:31:33.723Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:31:34.047Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:31:34.359Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 [2023-04-24T06:31:34.359Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-04-24T06:31:34.359Z] b2ba6b1bb453: Preparing [2023-04-24T06:31:34.359Z] f031b7bffcc4: Preparing [2023-04-24T06:31:34.359Z] c0d4c0b4b949: Preparing [2023-04-24T06:31:34.359Z] 8ad0acfcb47f: Preparing [2023-04-24T06:31:34.359Z] f1417ff83b31: Preparing [2023-04-24T06:31:34.359Z] f1417ff83b31: Layer already exists [2023-04-24T06:31:34.359Z] 8ad0acfcb47f: Pushed [2023-04-24T06:31:34.359Z] f031b7bffcc4: Pushed [2023-04-24T06:31:34.359Z] b2ba6b1bb453: Pushed [2023-04-24T06:31:36.888Z] c0d4c0b4b949: Pushed [2023-04-24T06:31:36.888Z] 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76: digest: sha256:1d209bb2133655e82c7636d28a0592f789ede34e2cc6471a694696869b4d8cb9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:31:37.207Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:31:37.520Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2023-04-24T06:31:37.520Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-04-24T06:31:37.520Z] b2ba6b1bb453: Preparing [2023-04-24T06:31:37.520Z] f031b7bffcc4: Preparing [2023-04-24T06:31:37.520Z] c0d4c0b4b949: Preparing [2023-04-24T06:31:37.520Z] 8ad0acfcb47f: Preparing [2023-04-24T06:31:37.520Z] f1417ff83b31: Preparing [2023-04-24T06:31:37.520Z] f1417ff83b31: Layer already exists [2023-04-24T06:31:37.520Z] c0d4c0b4b949: Layer already exists [2023-04-24T06:31:37.520Z] b2ba6b1bb453: Layer already exists [2023-04-24T06:31:37.520Z] f031b7bffcc4: Layer already exists [2023-04-24T06:31:37.520Z] 8ad0acfcb47f: Layer already exists [2023-04-24T06:31:37.520Z] latest: digest: sha256:1d209bb2133655e82c7636d28a0592f789ede34e2cc6471a694696869b4d8cb9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:31:37.839Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.31 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:31:38.153Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.31 [2023-04-24T06:31:38.153Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-04-24T06:31:38.153Z] b2ba6b1bb453: Preparing [2023-04-24T06:31:38.153Z] f031b7bffcc4: Preparing [2023-04-24T06:31:38.153Z] c0d4c0b4b949: Preparing [2023-04-24T06:31:38.153Z] 8ad0acfcb47f: Preparing [2023-04-24T06:31:38.153Z] f1417ff83b31: Preparing [2023-04-24T06:31:38.153Z] b2ba6b1bb453: Layer already exists [2023-04-24T06:31:38.153Z] 8ad0acfcb47f: Layer already exists [2023-04-24T06:31:38.153Z] f031b7bffcc4: Layer already exists [2023-04-24T06:31:38.153Z] f1417ff83b31: Layer already exists [2023-04-24T06:31:38.153Z] c0d4c0b4b949: Layer already exists [2023-04-24T06:31:38.153Z] 3.0.0-dev.31: digest: sha256:1d209bb2133655e82c7636d28a0592f789ede34e2cc6471a694696869b4d8cb9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:31:38.475Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76-3.0.0-dev.31 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:31:38.785Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76-3.0.0-dev.31 [2023-04-24T06:31:38.785Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-04-24T06:31:38.785Z] b2ba6b1bb453: Preparing [2023-04-24T06:31:38.785Z] f031b7bffcc4: Preparing [2023-04-24T06:31:38.785Z] c0d4c0b4b949: Preparing [2023-04-24T06:31:38.785Z] 8ad0acfcb47f: Preparing [2023-04-24T06:31:38.785Z] f1417ff83b31: Preparing [2023-04-24T06:31:38.785Z] f1417ff83b31: Layer already exists [2023-04-24T06:31:38.785Z] f031b7bffcc4: Layer already exists [2023-04-24T06:31:38.785Z] b2ba6b1bb453: Layer already exists [2023-04-24T06:31:38.785Z] 8ad0acfcb47f: Layer already exists [2023-04-24T06:31:38.785Z] c0d4c0b4b949: Layer already exists [2023-04-24T06:31:38.785Z] 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76-3.0.0-dev.31: digest: sha256:1d209bb2133655e82c7636d28a0592f789ede34e2cc6471a694696869b4d8cb9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:31:39.100Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:31:39.201Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9500 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2023-04-24T06:31:39.212Z] Running in /w/workspace/device-onvif-camera/125 [Pipeline] { [Pipeline] checkout [2023-04-24T06:31:39.245Z] The recommended git tool is: git [2023-04-24T06:31:39.406Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2023-04-24T06:31:39.406Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-04-24T06:31:39.406Z] b2ba6b1bb453: Preparing [2023-04-24T06:31:39.406Z] f031b7bffcc4: Preparing [2023-04-24T06:31:39.406Z] c0d4c0b4b949: Preparing [2023-04-24T06:31:39.406Z] 8ad0acfcb47f: Preparing [2023-04-24T06:31:39.406Z] f1417ff83b31: Preparing [2023-04-24T06:31:39.406Z] f1417ff83b31: Layer already exists [2023-04-24T06:31:39.406Z] b2ba6b1bb453: Layer already exists [2023-04-24T06:31:39.406Z] 8ad0acfcb47f: Layer already exists [2023-04-24T06:31:39.406Z] f031b7bffcc4: Layer already exists [2023-04-24T06:31:39.406Z] c0d4c0b4b949: Layer already exists [2023-04-24T06:31:39.406Z] main: digest: sha256:1d209bb2133655e82c7636d28a0592f789ede34e2cc6471a694696869b4d8cb9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-24T06:31:39.454Z] ===================================================== [Pipeline] echo [2023-04-24T06:31:39.469Z] taggedImages: [2023-04-24T06:31:39.469Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 [2023-04-24T06:31:39.469Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2023-04-24T06:31:39.469Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.31 [2023-04-24T06:31:39.469Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76-3.0.0-dev.31 [2023-04-24T06:31:39.469Z] - 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 [2023-04-24T06:31:39.837Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T06:31:39.837Z] [2023-04-24T06:31:39.837Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:31:40.140Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T06:31:40.140Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-24T06:31:40.140Z] 5eb5b503b376: Pulling fs layer [2023-04-24T06:31:40.140Z] 5c69ac0246d0: Pulling fs layer [2023-04-24T06:31:40.140Z] ec43610c2a17: Pulling fs layer [2023-04-24T06:31:40.140Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-24T06:31:40.140Z] 33b1e0a273af: Pulling fs layer [2023-04-24T06:31:40.140Z] 5d3b04190fa2: Pulling fs layer [2023-04-24T06:31:40.140Z] 2f39f015ded8: Pulling fs layer [2023-04-24T06:31:40.140Z] 3a2ae6a8a46f: Waiting [2023-04-24T06:31:40.140Z] 2f39f015ded8: Waiting [2023-04-24T06:31:40.140Z] 5d3b04190fa2: Waiting [2023-04-24T06:31:40.140Z] 33b1e0a273af: Waiting [2023-04-24T06:31:40.140Z] 5c69ac0246d0: Verifying Checksum [2023-04-24T06:31:40.140Z] 5c69ac0246d0: Download complete [2023-04-24T06:31:40.140Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-24T06:31:40.140Z] 3a2ae6a8a46f: Download complete [2023-04-24T06:31:40.140Z] 33b1e0a273af: Verifying Checksum [2023-04-24T06:31:40.140Z] 33b1e0a273af: Download complete [2023-04-24T06:31:40.140Z] 5d3b04190fa2: Download complete [2023-04-24T06:31:40.140Z] ec43610c2a17: Verifying Checksum [2023-04-24T06:31:40.398Z] 5eb5b503b376: Verifying Checksum [2023-04-24T06:31:40.398Z] 5eb5b503b376: Download complete [2023-04-24T06:31:40.964Z] 2f39f015ded8: Download complete [2023-04-24T06:31:41.532Z] 5eb5b503b376: Pull complete [2023-04-24T06:31:41.532Z] 5c69ac0246d0: Pull complete [2023-04-24T06:31:42.102Z] ec43610c2a17: Pull complete [2023-04-24T06:31:42.102Z] 3a2ae6a8a46f: Pull complete [2023-04-24T06:31:42.102Z] 33b1e0a273af: Pull complete [2023-04-24T06:31:42.361Z] 5d3b04190fa2: Pull complete [2023-04-24T06:31:44.631Z] using credential edgex-jenkins-ssh [2023-04-24T06:31:44.652Z] Cloning the remote Git repository [2023-04-24T06:31:44.700Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-24T06:31:44.815Z] > git init /w/workspace/device-onvif-camera/125 # timeout=10 [2023-04-24T06:31:44.966Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-24T06:31:44.967Z] > git --version # timeout=10 [2023-04-24T06:31:44.988Z] > git --version # 'git version 2.25.1' [2023-04-24T06:31:44.991Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T06:31:45.156Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T06:31:46.576Z] 2f39f015ded8: Pull complete [2023-04-24T06:31:46.576Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-24T06:31:46.576Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T06:31:46.576Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:31:46.542Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-24T06:31:46.563Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T06:31:46.663Z] prd-ubuntu20.04-docker-8c-8g-9497 does not seem to be running inside a container [2023-04-24T06:31:46.744Z] $ 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 [2023-04-24T06:31:47.442Z] Avoid second fetch [2023-04-24T06:31:47.443Z] Checking out Revision 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 (main) [2023-04-24T06:31:47.462Z] > git config core.sparsecheckout # timeout=10 [2023-04-24T06:31:47.528Z] > git checkout -f 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 # timeout=10 [2023-04-24T06:31:48.209Z] Commit message: "Merge pull request #320 from weichou1229/bump-sdk" [2023-04-24T06:31:48.579Z] [2023-04-24T06:31:48.579Z] GitHub has been notified of this commit’s build result [2023-04-24T06:31:48.579Z] [2023-04-24T06:31:48.999Z] $ docker top a760f8d8c1c7ea0e6eb3f83c5a0a16f69aebd82f93b45787a36bee4354d7c785 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T06:31:49.415Z] ---> job-cost.sh [2023-04-24T06:31:49.415Z] lf-activate-venv: SKIPPING [2023-04-24T06:31:49.415Z] INFO: No Stack... [2023-04-24T06:31:49.673Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T06:31:49.731Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-24T06:31:49.731Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T06:31:49.731Z] Dload Upload Total Spent Left Speed [2023-04-24T06:31:49.731Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 89795 [2023-04-24T06:31:49.932Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] sh [2023-04-24T06:31:50.230Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2023-04-24T06:31:50.231Z] + cut -d, -f6 [Pipeline] lock [2023-04-24T06:31:50.243Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-125-stack-cost] [2023-04-24T06:31:50.248Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-125-stack-cost] did not exist. Created. [2023-04-24T06:31:50.248Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-125-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T06:31:50.319Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-24T06:31:50.549Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-24T06:31:50.580Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T06:31:50.589Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-125-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T06:31:50.608Z] $ docker stop --time=1 a760f8d8c1c7ea0e6eb3f83c5a0a16f69aebd82f93b45787a36bee4354d7c785 [2023-04-24T06:31:50.643Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-24T06:31:50.643Z] + sudo tee /etc/docker/daemon.new [2023-04-24T06:31:50.643Z] { [2023-04-24T06:31:50.643Z] "registry-mirrors": [ [2023-04-24T06:31:50.643Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-24T06:31:50.643Z] ], [2023-04-24T06:31:50.643Z] "bip": "10.250.0.254/24", [2023-04-24T06:31:50.643Z] "hosts": [ [2023-04-24T06:31:50.643Z] "tcp://0.0.0.0:5555", [2023-04-24T06:31:50.643Z] "unix:///var/run/docker.sock" [2023-04-24T06:31:50.643Z] ], [2023-04-24T06:31:50.643Z] "mtu": 1458, [2023-04-24T06:31:50.643Z] "selinux-enabled": true, [2023-04-24T06:31:50.643Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-24T06:31:50.643Z] } [2023-04-24T06:31:51.768Z] $ docker rm -f --volumes a760f8d8c1c7ea0e6eb3f83c5a0a16f69aebd82f93b45787a36bee4354d7c785 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-24T06:31:52.146Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-24T06:31:52.476Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T06:32:10.778Z] provisioning config files... [2023-04-24T06:32:10.811Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/125@tmp/config17837506296311942687tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:32:11.172Z] ---> docker-login.sh [2023-04-24T06:32:11.172Z] nexus3.edgexfoundry.org:10001 [2023-04-24T06:32:11.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:11.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:11.720Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:11.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:11.720Z] [2023-04-24T06:32:11.720Z] Login Succeeded [2023-04-24T06:32:11.720Z] nexus3.edgexfoundry.org:10002 [2023-04-24T06:32:11.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:12.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:12.264Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:12.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:12.264Z] [2023-04-24T06:32:12.264Z] Login Succeeded [2023-04-24T06:32:12.264Z] nexus3.edgexfoundry.org:10003 [2023-04-24T06:32:12.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:12.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:12.538Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:12.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:12.538Z] [2023-04-24T06:32:12.538Z] Login Succeeded [2023-04-24T06:32:12.538Z] nexus3.edgexfoundry.org:10004 [2023-04-24T06:32:12.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:12.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:12.810Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:12.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:12.810Z] [2023-04-24T06:32:12.810Z] Login Succeeded [2023-04-24T06:32:12.810Z] docker.io [2023-04-24T06:32:13.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:13.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:13.353Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:13.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:13.353Z] [2023-04-24T06:32:13.353Z] Login Succeeded [2023-04-24T06:32:13.353Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T06:32:13.368Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T06:32:13.664Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T06:32:13.677Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T06:32:13.687Z] ========================================================= [2023-04-24T06:32:13.687Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-24T06:32:13.687Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:32:14.050Z] + 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 . [2023-04-24T06:32:14.642Z] Sending build context to Docker daemon 19.67MB [2023-04-24T06:32:14.642Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T06:32:14.642Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-24T06:32:14.642Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-24T06:32:14.642Z] af6eaf76a39c: Pulling fs layer [2023-04-24T06:32:14.642Z] 55522c791124: Pulling fs layer [2023-04-24T06:32:14.642Z] ce5c4a1c91eb: Pulling fs layer [2023-04-24T06:32:14.642Z] 169dfbe0d373: Pulling fs layer [2023-04-24T06:32:14.642Z] e1ff8fa3b103: Pulling fs layer [2023-04-24T06:32:14.642Z] 52ebb69f0ebf: Pulling fs layer [2023-04-24T06:32:14.642Z] 5abe8eddf0d5: Pulling fs layer [2023-04-24T06:32:14.642Z] 169dfbe0d373: Waiting [2023-04-24T06:32:14.642Z] e1ff8fa3b103: Waiting [2023-04-24T06:32:14.642Z] 52ebb69f0ebf: Waiting [2023-04-24T06:32:14.642Z] 5abe8eddf0d5: Waiting [2023-04-24T06:32:14.920Z] 55522c791124: Verifying Checksum [2023-04-24T06:32:14.920Z] 55522c791124: Download complete [2023-04-24T06:32:14.920Z] 169dfbe0d373: Verifying Checksum [2023-04-24T06:32:14.920Z] 169dfbe0d373: Download complete [2023-04-24T06:32:14.920Z] e1ff8fa3b103: Verifying Checksum [2023-04-24T06:32:14.920Z] e1ff8fa3b103: Download complete [2023-04-24T06:32:14.920Z] af6eaf76a39c: Verifying Checksum [2023-04-24T06:32:14.920Z] af6eaf76a39c: Download complete [2023-04-24T06:32:16.384Z] 5abe8eddf0d5: Verifying Checksum [2023-04-24T06:32:16.384Z] 5abe8eddf0d5: Download complete [2023-04-24T06:32:17.807Z] ce5c4a1c91eb: Verifying Checksum [2023-04-24T06:32:17.807Z] ce5c4a1c91eb: Download complete [2023-04-24T06:32:17.807Z] 52ebb69f0ebf: Verifying Checksum [2023-04-24T06:32:17.807Z] 52ebb69f0ebf: Download complete [2023-04-24T06:32:17.807Z] af6eaf76a39c: Pull complete [2023-04-24T06:32:18.399Z] 55522c791124: Pull complete [2023-04-24T06:32:30.744Z] ce5c4a1c91eb: Pull complete [2023-04-24T06:32:31.013Z] 169dfbe0d373: Pull complete [2023-04-24T06:32:31.285Z] e1ff8fa3b103: Pull complete [2023-04-24T06:32:39.653Z] 52ebb69f0ebf: Pull complete [2023-04-24T06:32:40.634Z] 5abe8eddf0d5: Pull complete [2023-04-24T06:32:40.634Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-24T06:32:40.634Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-24T06:32:40.634Z] ---> 6cb57ee374ae [2023-04-24T06:32:40.634Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-24T06:32:42.593Z] ---> Running in 53009d16f589 [2023-04-24T06:32:42.875Z] Removing intermediate container 53009d16f589 [2023-04-24T06:32:42.875Z] ---> b987808e4d88 [2023-04-24T06:32:42.875Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T06:32:42.875Z] ---> Running in 6a505b20c4d4 [2023-04-24T06:32:43.145Z] Removing intermediate container 6a505b20c4d4 [2023-04-24T06:32:43.145Z] ---> e47ac902ffde [2023-04-24T06:32:43.145Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-24T06:32:43.145Z] ---> Running in cf8d16ea437d [2023-04-24T06:32:43.730Z] Removing intermediate container cf8d16ea437d [2023-04-24T06:32:43.730Z] ---> 30c2a975dd2c [2023-04-24T06:32:43.730Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T06:32:43.730Z] ---> Running in db36af118979 [2023-04-24T06:32:43.999Z] Removing intermediate container db36af118979 [2023-04-24T06:32:43.999Z] ---> 911b973ef484 [2023-04-24T06:32:43.999Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-24T06:32:43.999Z] ---> Running in f3a283ae6513 [2023-04-24T06:32:44.278Z] Removing intermediate container f3a283ae6513 [2023-04-24T06:32:44.278Z] ---> f866472394cb [2023-04-24T06:32:44.278Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T06:32:44.548Z] ---> Running in 878e3d44b72d [2023-04-24T06:32:45.512Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T06:32:46.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T06:32:47.500Z] OK: 263 MiB in 53 packages [2023-04-24T06:32:48.092Z] Removing intermediate container 878e3d44b72d [2023-04-24T06:32:48.092Z] ---> cfe8b3ba02e9 [2023-04-24T06:32:48.092Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-24T06:32:48.092Z] ---> Running in e8015881e3d3 [2023-04-24T06:32:48.358Z] Removing intermediate container e8015881e3d3 [2023-04-24T06:32:48.358Z] ---> ca0e184e4747 [2023-04-24T06:32:48.358Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-24T06:32:48.961Z] ---> 42e4f0981b79 [2023-04-24T06:32:48.961Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T06:32:48.961Z] ---> Running in b412ba206f9c [2023-04-24T06:33:56.869Z] Removing intermediate container b412ba206f9c [2023-04-24T06:33:56.869Z] ---> 5ea1977cfcb6 [2023-04-24T06:33:56.869Z] Step 12/13 : COPY . . [2023-04-24T06:33:56.869Z] ---> 7f8f2f7c38ff [2023-04-24T06:33:56.869Z] Step 13/13 : RUN ${MAKE} [2023-04-24T06:33:56.869Z] ---> Running in 2d15691f58dc [2023-04-24T06:33:56.869Z] noop [2023-04-24T06:33:56.869Z] Removing intermediate container 2d15691f58dc [2023-04-24T06:33:56.869Z] ---> 6a58933e0fd4 [2023-04-24T06:33:56.869Z] Successfully built 6a58933e0fd4 [2023-04-24T06:33:56.869Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:33:57.223Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T06:33:57.223Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:33:57.441Z] prd-ubuntu20.04-docker-arm64-4c-16g-9500 does not seem to be running inside a container [2023-04-24T06:33:57.509Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/125 -v /w/workspace/device-onvif-camera/125:/w/workspace/device-onvif-camera/125:rw,z -v /w/workspace/device-onvif-camera/125@tmp:/w/workspace/device-onvif-camera/125@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 [2023-04-24T06:33:59.018Z] $ docker top f8df1b4445432bb524e3b380afe3fe39405e53b9bf40dfd0ef16020893bf4743 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:33:59.866Z] + go version [2023-04-24T06:33:59.866Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-24T06:33:59.892Z] $ docker stop --time=1 f8df1b4445432bb524e3b380afe3fe39405e53b9bf40dfd0ef16020893bf4743 [2023-04-24T06:34:01.630Z] $ docker rm -f --volumes f8df1b4445432bb524e3b380afe3fe39405e53b9bf40dfd0ef16020893bf4743 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:34:02.204Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T06:34:02.204Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:34:02.406Z] prd-ubuntu20.04-docker-arm64-4c-16g-9500 does not seem to be running inside a container [2023-04-24T06:34:02.485Z] $ 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/125 -v /w/workspace/device-onvif-camera/125:/w/workspace/device-onvif-camera/125:rw,z -v /w/workspace/device-onvif-camera/125@tmp:/w/workspace/device-onvif-camera/125@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 [2023-04-24T06:34:03.850Z] $ docker top 974933e59f0ed0c4d0a15e5eba33478bfd7af016a20a517895f839e6040e6886 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:34:04.734Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/125 [Pipeline] fileExists [Pipeline] sh [2023-04-24T06:34:05.410Z] + make test [2023-04-24T06:34:05.410Z] go test ./... -coverprofile=coverage.out ./... [2023-04-24T06:34:44.383Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-24T06:37:51.506Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-24T06:37:51.506Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-24T06:37:51.506Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.215s coverage: 31.6% of statements [2023-04-24T06:38:18.241Z] --- FAIL: TestIpGenerator (0.00s) [2023-04-24T06:38:18.241Z] --- FAIL: TestIpGenerator/basic_/8_subnet (30.10s) [2023-04-24T06:38:18.241Z] util_test.go:180: [2023-04-24T06:38:18.241Z] Error Trace: /w/workspace/device-onvif-camera/125/internal/netscan/util_test.go:180 [2023-04-24T06:38:18.241Z] Error: Not equal: [2023-04-24T06:38:18.241Z] expected: 0xfffffe [2023-04-24T06:38:18.241Z] actual : 0xf9e921 [2023-04-24T06:38:18.241Z] Test: TestIpGenerator/basic_/8_subnet [2023-04-24T06:38:18.241Z] util_test.go:183: [2023-04-24T06:38:18.241Z] Error Trace: /w/workspace/device-onvif-camera/125/internal/netscan/util_test.go:183 [2023-04-24T06:38:18.241Z] Error: Not equal: [2023-04-24T06:38:18.241Z] expected: "10.255.255.254" [2023-04-24T06:38:18.241Z] actual : "10.249.233.33" [2023-04-24T06:38:18.241Z] [2023-04-24T06:38:18.241Z] Diff: [2023-04-24T06:38:18.241Z] --- Expected [2023-04-24T06:38:18.241Z] +++ Actual [2023-04-24T06:38:18.241Z] @@ -1 +1 @@ [2023-04-24T06:38:18.241Z] -10.255.255.254 [2023-04-24T06:38:18.242Z] +10.249.233.33 [2023-04-24T06:38:18.242Z] Test: TestIpGenerator/basic_/8_subnet [2023-04-24T06:38:18.242Z] FAIL [2023-04-24T06:38:18.242Z] github.com/edgexfoundry/device-onvif-camera/internal/netscan coverage: 86.5% of statements [2023-04-24T06:38:18.242Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.335s [2023-04-24T06:38:18.242Z] FAIL [2023-04-24T06:38:18.242Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-04-24T06:38:18.264Z] $ docker stop --time=1 974933e59f0ed0c4d0a15e5eba33478bfd7af016a20a517895f839e6040e6886 [2023-04-24T06:38:21.467Z] $ docker rm -f --volumes 974933e59f0ed0c4d0a15e5eba33478bfd7af016a20a517895f839e6040e6886 [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 [2023-04-24T06:38:22.877Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T06:38:22.877Z] [2023-04-24T06:38:22.877Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:38:23.222Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T06:38:23.494Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-24T06:38:23.494Z] 8998bd30e6a1: Pulling fs layer [2023-04-24T06:38:23.494Z] 04944245beec: Pulling fs layer [2023-04-24T06:38:23.494Z] 699f458cf7ca: Pulling fs layer [2023-04-24T06:38:23.494Z] 765212b225bb: Pulling fs layer [2023-04-24T06:38:23.494Z] f23df028b6ca: Pulling fs layer [2023-04-24T06:38:23.494Z] d65c8cfc05b1: Pulling fs layer [2023-04-24T06:38:23.494Z] 2437ff75d9bd: Pulling fs layer [2023-04-24T06:38:23.494Z] f23df028b6ca: Waiting [2023-04-24T06:38:23.494Z] 765212b225bb: Waiting [2023-04-24T06:38:23.494Z] d65c8cfc05b1: Waiting [2023-04-24T06:38:23.494Z] 2437ff75d9bd: Waiting [2023-04-24T06:38:23.494Z] 04944245beec: Verifying Checksum [2023-04-24T06:38:23.494Z] 04944245beec: Download complete [2023-04-24T06:38:23.494Z] 765212b225bb: Download complete [2023-04-24T06:38:23.494Z] f23df028b6ca: Verifying Checksum [2023-04-24T06:38:23.494Z] f23df028b6ca: Download complete [2023-04-24T06:38:23.766Z] d65c8cfc05b1: Verifying Checksum [2023-04-24T06:38:23.766Z] d65c8cfc05b1: Download complete [2023-04-24T06:38:23.767Z] 699f458cf7ca: Verifying Checksum [2023-04-24T06:38:23.767Z] 699f458cf7ca: Download complete [2023-04-24T06:38:24.036Z] 8998bd30e6a1: Verifying Checksum [2023-04-24T06:38:24.036Z] 8998bd30e6a1: Download complete [2023-04-24T06:38:26.638Z] 2437ff75d9bd: Verifying Checksum [2023-04-24T06:38:26.638Z] 2437ff75d9bd: Download complete [2023-04-24T06:38:28.052Z] 8998bd30e6a1: Pull complete [2023-04-24T06:38:28.639Z] 04944245beec: Pull complete [2023-04-24T06:38:30.052Z] 699f458cf7ca: Pull complete [2023-04-24T06:38:30.052Z] 765212b225bb: Pull complete [2023-04-24T06:38:31.016Z] f23df028b6ca: Pull complete [2023-04-24T06:38:31.016Z] d65c8cfc05b1: Pull complete [2023-04-24T06:38:46.063Z] 2437ff75d9bd: Pull complete [2023-04-24T06:38:46.063Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-24T06:38:46.063Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T06:38:46.063Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:38:46.303Z] prd-ubuntu20.04-docker-arm64-4c-16g-9500 does not seem to be running inside a container [2023-04-24T06:38:46.389Z] $ 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/125 -v /w/workspace/device-onvif-camera/125:/w/workspace/device-onvif-camera/125:rw,z -v /w/workspace/device-onvif-camera/125@tmp:/w/workspace/device-onvif-camera/125@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 [2023-04-24T06:38:49.290Z] $ docker top b33777738a18655692de3500d8391093dfb7b76d570eff0bb27b38a0dd5a15cd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:38:50.157Z] ---> job-cost.sh [2023-04-24T06:38:50.157Z] lf-activate-venv: SKIPPING [2023-04-24T06:38:50.157Z] INFO: No Stack... [2023-04-24T06:38:50.426Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-24T06:38:51.391Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T06:38:52.043Z] + cut -d, -f6 [2023-04-24T06:38:52.043Z] + cat /w/workspace/device-onvif-camera/125/archives/cost.csv [Pipeline] lock [2023-04-24T06:38:52.126Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-125-stack-cost] [2023-04-24T06:38:52.132Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-125-stack-cost] did not exist. Created. [2023-04-24T06:38:52.132Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-125-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T06:38:52.808Z] /w/workspace/device-onvif-camera/125@tmp/durable-92b2651b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-24T06:38:53.478Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-24T06:38:53.511Z] Warning: overwriting stash ‘stack-cost’ [2023-04-24T06:38:54.118Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T06:38:54.124Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-125-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T06:38:54.144Z] $ docker stop --time=1 b33777738a18655692de3500d8391093dfb7b76d570eff0bb27b38a0dd5a15cd [2023-04-24T06:38:55.706Z] $ docker rm -f --volumes b33777738a18655692de3500d8391093dfb7b76d570eff0bb27b38a0dd5a15cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-24T06:38:55.989Z] 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 [2023-04-24T06:38:56.673Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2023-04-24T06:38:56.673Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2023-04-24T06:38:56.673Z] total 16 [2023-04-24T06:38:56.673Z] drwxr-xr-x 3 root root 4096 Apr 24 06:31 . [2023-04-24T06:38:56.673Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 06:31 .. [2023-04-24T06:38:56.673Z] drwxr-xr-x 2 root root 4096 Apr 24 06:31 cost [2023-04-24T06:38:56.673Z] -rw-r--r-- 1 root root 91 Apr 24 06:31 cost.csv [2023-04-24T06:38:56.673Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2023-04-24T06:38:56.673Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2023-04-24T06:38:56.673Z] total 16 [2023-04-24T06:38:56.673Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 06:31 . [2023-04-24T06:38:56.673Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 06:31 .. [2023-04-24T06:38:56.673Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 06:31 cost [2023-04-24T06:38:56.673Z] -rw-r--r-- 1 jenkins jenkins 91 Apr 24 06:31 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:38:56.966Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:38:57.825Z] ---> package-listing.sh [2023-04-24T06:38:57.825Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-24T06:38:57.825Z] ++ facter osfamily [2023-04-24T06:38:57.825Z] + OS_FAMILY=debian [2023-04-24T06:38:57.825Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2023-04-24T06:38:57.825Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-24T06:38:57.825Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-24T06:38:57.825Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-24T06:38:57.825Z] + PACKAGES=/tmp/packages_start.txt [2023-04-24T06:38:57.825Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2023-04-24T06:38:57.825Z] + PACKAGES=/tmp/packages_end.txt [2023-04-24T06:38:57.825Z] + case "${OS_FAMILY}" in [2023-04-24T06:38:57.825Z] + dpkg -l [2023-04-24T06:38:57.825Z] + grep '^ii' [2023-04-24T06:38:58.084Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-24T06:38:58.084Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-24T06:38:58.084Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-24T06:38:58.084Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2023-04-24T06:38:58.084Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2023-04-24T06:38:58.084Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo [2023-04-24T06:38:58.094Z] 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 [2023-04-24T06:38:58.371Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:38:58.668Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T06:38:58.668Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:38:58.736Z] prd-ubuntu20.04-docker-8c-8g-9497 does not seem to be running inside a container [2023-04-24T06:38:58.769Z] $ 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 [2023-04-24T06:38:58.972Z] $ docker top 23b706e8aa2a3c7aa374b73545381d61bf5def6469489a239393f972897241b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:38:59.311Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-24T06:38:59.596Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-24T06:38:59.882Z] + ls /var/log/sa-host [2023-04-24T06:38:59.882Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T06:38:59.947Z] provisioning config files... [2023-04-24T06:38:59.954Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2295173011656106329tmp [Pipeline] { [Pipeline] echo [2023-04-24T06:38:59.973Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:39:00.255Z] ---> create-netrc.sh [Pipeline] } [2023-04-24T06:39:00.262Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:39:00.576Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-24T06:39:00.585Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:39:00.874Z] ---> sudo-logs.sh [2023-04-24T06:39:00.874Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-24T06:39:00.907Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:39:01.191Z] ---> job-cost.sh [2023-04-24T06:39:01.191Z] lf-activate-venv: SKIPPING [2023-04-24T06:39:01.191Z] DEBUG: total: 0.2199999988079071 [2023-04-24T06:39:01.191Z] INFO: Retrieving Stack Cost... [2023-04-24T06:39:01.761Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T06:39:02.019Z] INFO: Archiving Costs [Pipeline] echo [2023-04-24T06:39:02.029Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:39:02.309Z] ---> logs-deploy.sh [2023-04-24T06:39:02.309Z] lf-activate-venv: SKIPPING [2023-04-24T06:39:02.309Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/125 [2023-04-24T06:39:02.309Z] INFO: archiving workspace using pattern(s): [2023-04-24T06:39:03.261Z] Archives upload complete. [2023-04-24T06:39:03.261Z] INFO: archiving logs to Nexus