Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b8c615475b04751833d5a4ed77b1f866c80ece4c+59664bc2ea44ebca3b36727ae3a90eeb55726827 (40a1ba1f603f76576827fe71772564c1920aeaa4) 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-ssh4884892783031583467.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh10021637714509547306.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-99/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-usb-camera/branches/PR-99/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13635999596415362361.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh5902488144902343471.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-usb-camera/branches/PR-99/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-usb-camera/branches/PR-99/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10440626046966202742.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-usb-camera] ========================================================= [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-usb-camera-settings PROJECT: device-usb-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-usb-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: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-365’ Running on prd-ubuntu20.04-docker-8c-8g-369 in /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/xfoundry_device-usb-camera_PR-99 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-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-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 59664bc2ea44ebca3b36727ae3a90eeb55726827 into PR head commit b8c615475b04751833d5a4ed77b1f866c80ece4c > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/99/head:refs/remotes/origin/PR-99 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b8c615475b04751833d5a4ed77b1f866c80ece4c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 59664bc2ea44ebca3b36727ae3a90eeb55726827 # timeout=10 Merge succeeded, producing cb8997aeaf9978df5bc6e66c7e894f16b7a4231b Checking out Revision cb8997aeaf9978df5bc6e66c7e894f16b7a4231b (PR-99) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb8997aeaf9978df5bc6e66c7e894f16b7a4231b # timeout=10 Commit message: "Merge commit '59664bc2ea44ebca3b36727ae3a90eeb55726827' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 3d552bab8ab597181d598d058ef62ab1dcb57a1c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-15T06:16:52.971Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-15T06:16:53.026Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-15T06:16:53.039Z] ========================================================= [2023-03-15T06:16:53.039Z] EdgeX Global Pipelines Version Info [2023-03-15T06:16:53.039Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-15T06:16:53.747Z] ------------------- [2023-03-15T06:16:53.747Z] stable info: [2023-03-15T06:16:53.747Z] ------------------- [2023-03-15T06:16:53.747Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-15T06:16:53.747Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T06:16:53.747Z] Message: update stable to v1.0.245 [2023-03-15T06:16:54.316Z] ------------------- [2023-03-15T06:16:54.316Z] experimental info: [2023-03-15T06:16:54.316Z] ------------------- [2023-03-15T06:16:54.316Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-15T06:16:54.316Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-15T06:16:54.316Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T06:16:54.470Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-03-15T06:16:54.482Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-03-15T06:16:54.493Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-15T06:16:54.505Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-15T06:16:54.516Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-15T06:16:54.528Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-15T06:16:54.539Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-15T06:16:54.551Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-15T06:16:54.562Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-15T06:16:54.574Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-15T06:16:54.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-15T06:16:54.596Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-03-15T06:16:54.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-15T06:16:54.623Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-15T06:16:54.632Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T06:16:54.644Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T06:16:54.655Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T06:16:54.666Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T06:16:54.677Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-15T06:16:54.692Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-15T06:16:54.709Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-15T06:16:54.722Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-15T06:16:54.736Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-15T06:16:54.753Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-15T06:16:54.762Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-15T06:16:54.773Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-15T06:16:54.786Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-15T06:16:54.798Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-99 [Pipeline] echo [2023-03-15T06:16:54.813Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-99 [Pipeline] echo [2023-03-15T06:16:54.825Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-99 [Pipeline] echo [2023-03-15T06:16:54.836Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cb8997aeaf9978df5bc6e66c7e894f16b7a4231b [Pipeline] echo [2023-03-15T06:16:54.844Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cb8997a [Pipeline] echo [2023-03-15T06:16:54.852Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T06:16:54.890Z] provisioning config files... [2023-03-15T06:16:54.903Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config10020525465457429444tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T06:16:55.205Z] ---> docker-login.sh [2023-03-15T06:16:55.205Z] nexus3.edgexfoundry.org:10001 [2023-03-15T06:16:55.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T06:16:55.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T06:16:55.464Z] Configure a credential helper to remove this warning. See [2023-03-15T06:16:55.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T06:16:55.464Z] [2023-03-15T06:16:55.465Z] Login Succeeded [2023-03-15T06:16:55.465Z] nexus3.edgexfoundry.org:10002 [2023-03-15T06:16:55.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T06:16:55.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T06:16:55.465Z] Configure a credential helper to remove this warning. See [2023-03-15T06:16:55.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T06:16:55.465Z] [2023-03-15T06:16:55.465Z] Login Succeeded [2023-03-15T06:16:55.465Z] nexus3.edgexfoundry.org:10003 [2023-03-15T06:16:55.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T06:16:55.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T06:16:55.725Z] Configure a credential helper to remove this warning. See [2023-03-15T06:16:55.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T06:16:55.725Z] [2023-03-15T06:16:55.725Z] Login Succeeded [2023-03-15T06:16:55.725Z] nexus3.edgexfoundry.org:10004 [2023-03-15T06:16:55.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T06:16:55.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T06:16:55.725Z] Configure a credential helper to remove this warning. See [2023-03-15T06:16:55.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T06:16:55.725Z] [2023-03-15T06:16:55.725Z] Login Succeeded [2023-03-15T06:16:55.725Z] docker.io [2023-03-15T06:16:55.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T06:16:55.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T06:16:55.984Z] Configure a credential helper to remove this warning. See [2023-03-15T06:16:55.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T06:16:55.984Z] [2023-03-15T06:16:55.984Z] Login Succeeded [2023-03-15T06:16:55.984Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T06:16:55.989Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-15T06:16:56.335Z] + git rev-list -1 --merges cb8997aeaf9978df5bc6e66c7e894f16b7a4231b~1..cb8997aeaf9978df5bc6e66c7e894f16b7a4231b [Pipeline] echo [2023-03-15T06:16:56.376Z] -----------> git rev-list -1 --merges cb8997aeaf9978df5bc6e66c7e894f16b7a4231b~1..cb8997aeaf9978df5bc6e66c7e894f16b7a4231b cb8997aeaf9978df5bc6e66c7e894f16b7a4231b [2023-03-15T06:16:56.376Z] cb8997aeaf9978df5bc6e66c7e894f16b7a4231b [false] [Pipeline] sh [2023-03-15T06:16:56.658Z] + git log --format=format:%s -1 cb8997aeaf9978df5bc6e66c7e894f16b7a4231b [Pipeline] echo [2023-03-15T06:16:56.670Z] ========================================================= [2023-03-15T06:16:56.670Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-15T06:16:56.670Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T06:16:56.994Z] + git log --format=format:%s -1 cb8997aeaf9978df5bc6e66c7e894f16b7a4231b [Pipeline] echo [2023-03-15T06:16:57.002Z] [semverPrep] GIT_COMMIT: cb8997aeaf9978df5bc6e66c7e894f16b7a4231b, Commit Message: Merge commit '59664bc2ea44ebca3b36727ae3a90eeb55726827' into HEAD [Pipeline] echo [2023-03-15T06:16:57.009Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-15T06:16:57.342Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T06:16:57.342Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-15T06:16:57.342Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-15T06:16:57.342Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-15T06:16:57.342Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-15T06:16:57.342Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-15T06:16:57.342Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T06:16:57.686Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T06:16:57.687Z] [2023-03-15T06:16:57.687Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T06:16:57.983Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T06:16:57.983Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-15T06:16:57.983Z] b85a868b505f: Pulling fs layer [2023-03-15T06:16:57.983Z] e2be974225ed: Pulling fs layer [2023-03-15T06:16:57.983Z] 339a4e72a1f5: Pulling fs layer [2023-03-15T06:16:57.983Z] 988bab9f4d93: Pulling fs layer [2023-03-15T06:16:57.983Z] 1469e6f7b9e6: Pulling fs layer [2023-03-15T06:16:57.983Z] eaf3925da568: Pulling fs layer [2023-03-15T06:16:57.983Z] bab4dde63d76: Pulling fs layer [2023-03-15T06:16:57.983Z] bde34c3a00c8: Pulling fs layer [2023-03-15T06:16:57.983Z] b352a97aabf1: Pulling fs layer [2023-03-15T06:16:57.983Z] 4872d77fe225: Pulling fs layer [2023-03-15T06:16:57.983Z] 5851b861e8e6: Pulling fs layer [2023-03-15T06:16:57.983Z] 988bab9f4d93: Waiting [2023-03-15T06:16:57.983Z] 1469e6f7b9e6: Waiting [2023-03-15T06:16:57.983Z] eaf3925da568: Waiting [2023-03-15T06:16:57.983Z] bab4dde63d76: Waiting [2023-03-15T06:16:57.983Z] bde34c3a00c8: Waiting [2023-03-15T06:16:57.983Z] b352a97aabf1: Waiting [2023-03-15T06:16:57.983Z] 4872d77fe225: Waiting [2023-03-15T06:16:57.983Z] 5851b861e8e6: Waiting [2023-03-15T06:16:58.246Z] e2be974225ed: Verifying Checksum [2023-03-15T06:16:58.246Z] 988bab9f4d93: Download complete [2023-03-15T06:16:58.246Z] 1469e6f7b9e6: Verifying Checksum [2023-03-15T06:16:58.246Z] 1469e6f7b9e6: Download complete [2023-03-15T06:16:58.246Z] eaf3925da568: Download complete [2023-03-15T06:16:58.246Z] 339a4e72a1f5: Verifying Checksum [2023-03-15T06:16:58.246Z] 339a4e72a1f5: Download complete [2023-03-15T06:16:58.246Z] bde34c3a00c8: Verifying Checksum [2023-03-15T06:16:58.246Z] bde34c3a00c8: Download complete [2023-03-15T06:16:58.246Z] b352a97aabf1: Download complete [2023-03-15T06:16:58.246Z] 4872d77fe225: Verifying Checksum [2023-03-15T06:16:58.246Z] 4872d77fe225: Download complete [2023-03-15T06:16:58.507Z] 5851b861e8e6: Verifying Checksum [2023-03-15T06:16:58.507Z] 5851b861e8e6: Download complete [2023-03-15T06:16:58.507Z] b85a868b505f: Verifying Checksum [2023-03-15T06:16:58.508Z] b85a868b505f: Download complete [2023-03-15T06:16:58.767Z] bab4dde63d76: Verifying Checksum [2023-03-15T06:16:58.767Z] bab4dde63d76: Download complete [2023-03-15T06:16:59.702Z] b85a868b505f: Pull complete [2023-03-15T06:16:59.702Z] e2be974225ed: Pull complete [2023-03-15T06:17:00.269Z] 339a4e72a1f5: Pull complete [2023-03-15T06:17:00.269Z] 988bab9f4d93: Pull complete [2023-03-15T06:17:00.529Z] 1469e6f7b9e6: Pull complete [2023-03-15T06:17:00.529Z] eaf3925da568: Pull complete [2023-03-15T06:17:02.492Z] bab4dde63d76: Pull complete [2023-03-15T06:17:02.492Z] bde34c3a00c8: Pull complete [2023-03-15T06:17:02.492Z] b352a97aabf1: Pull complete [2023-03-15T06:17:02.492Z] 4872d77fe225: Pull complete [2023-03-15T06:17:02.492Z] 5851b861e8e6: Pull complete [2023-03-15T06:17:02.492Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-15T06:17:02.492Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T06:17:02.492Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T06:17:02.580Z] prd-ubuntu20.04-docker-8c-8g-369 does not seem to be running inside a container [2023-03-15T06:17:02.600Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-15T06:17:03.867Z] $ docker top a0b94410d0676c38295862c9b142d6624f5f987ac1df18aca70ca8bba0257386 -eo pid,comm [2023-03-15T06:17:03.933Z] 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-03-15T06:17:03.933Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T06:17:03.969Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T06:17:03.969Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T06:17:04.084Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T06:17:04.073Z] $ docker exec a0b94410d0676c38295862c9b142d6624f5f987ac1df18aca70ca8bba0257386 ssh-agent [2023-03-15T06:17:04.185Z] SSH_AUTH_SOCK=/tmp/ssh-0A4xtHTSBY7x/agent.32 [2023-03-15T06:17:04.185Z] SSH_AGENT_PID=38 [2023-03-15T06:17:04.193Z] Running ssh-add (command line suppressed) [2023-03-15T06:17:04.275Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_17506330181649546490.key (/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_17506330181649546490.key) [2023-03-15T06:17:04.302Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T06:17:04.587Z] + git tag --points-at HEAD [Pipeline] } [2023-03-15T06:17:04.587Z] $ docker exec --env ******** --env ******** a0b94410d0676c38295862c9b142d6624f5f987ac1df18aca70ca8bba0257386 ssh-agent -k [2023-03-15T06:17:04.691Z] unset SSH_AUTH_SOCK; [2023-03-15T06:17:04.691Z] unset SSH_AGENT_PID; [2023-03-15T06:17:04.692Z] echo Agent pid 38 killed; [2023-03-15T06:17:04.714Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-15T06:17:04.741Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T06:17:04.741Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T06:17:04.853Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T06:17:04.842Z] $ docker exec a0b94410d0676c38295862c9b142d6624f5f987ac1df18aca70ca8bba0257386 ssh-agent [2023-03-15T06:17:04.958Z] SSH_AUTH_SOCK=/tmp/ssh-PVZwngwlBZne/agent.70 [2023-03-15T06:17:04.958Z] SSH_AGENT_PID=77 [2023-03-15T06:17:04.962Z] Running ssh-add (command line suppressed) [2023-03-15T06:17:05.052Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_4701717929737020975.key (/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_4701717929737020975.key) [2023-03-15T06:17:05.078Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T06:17:05.365Z] + git semver init [2023-03-15T06:17:05.624Z] 2023-03-15 06:17:05,528 [run_init] DEBUG init version:0.0.0 force:False [2023-03-15T06:17:05.624Z] 2023-03-15 06:17:05,529 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver [2023-03-15T06:17:05.624Z] 2023-03-15 06:17:05,529 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-99/.semver [2023-03-15T06:17:05.624Z] 2023-03-15 06:17:05,529 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-99/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99, universal_newlines=False, shell=None, istream=None) [2023-03-15T06:17:06.560Z] 2023-03-15 06:17:06,229 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-99/.git/info/exclude [2023-03-15T06:17:06.560Z] 2023-03-15 06:17:06,230 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 with force:False [2023-03-15T06:17:06.560Z] 2023-03-15 06:17:06,230 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 [2023-03-15T06:17:06.560Z] 2023-03-15 06:17:06,234 [execute] INFO git cat-file --batch-check [2023-03-15T06:17:06.560Z] 2023-03-15 06:17:06,235 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T06:17:06.560Z] 2023-03-15 06:17:06,241 [execute] INFO git cat-file --batch [2023-03-15T06:17:06.560Z] 2023-03-15 06:17:06,241 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T06:17:06.560Z] 2023-03-15 06:17:06,246 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 [2023-03-15T06:17:06.560Z] 0.0.0 [Pipeline] } [2023-03-15T06:17:06.557Z] $ docker exec --env ******** --env ******** a0b94410d0676c38295862c9b142d6624f5f987ac1df18aca70ca8bba0257386 ssh-agent -k [2023-03-15T06:17:06.650Z] unset SSH_AUTH_SOCK; [2023-03-15T06:17:06.651Z] unset SSH_AGENT_PID; [2023-03-15T06:17:06.651Z] echo Agent pid 77 killed; [2023-03-15T06:17:06.673Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T06:17:06.971Z] + git semver [Pipeline] } [2023-03-15T06:17:07.233Z] $ docker stop --time=1 a0b94410d0676c38295862c9b142d6624f5f987ac1df18aca70ca8bba0257386 [2023-03-15T06:17:08.569Z] $ docker rm -f --volumes a0b94410d0676c38295862c9b142d6624f5f987ac1df18aca70ca8bba0257386 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T06:17:08.915Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-15T06:17:09.092Z] Stashed 1 file(s) [Pipeline] echo [2023-03-15T06:17:09.095Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T06:17:09.218Z] provisioning config files... [2023-03-15T06:17:09.228Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config8429364453433666492tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T06:17:09.520Z] ---> docker-login.sh [2023-03-15T06:17:09.520Z] nexus3.edgexfoundry.org:10001 [2023-03-15T06:17:09.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T06:17:09.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T06:17:09.520Z] Configure a credential helper to remove this warning. See [2023-03-15T06:17:09.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T06:17:09.520Z] [2023-03-15T06:17:09.520Z] Login Succeeded [2023-03-15T06:17:09.520Z] nexus3.edgexfoundry.org:10002 [2023-03-15T06:17:09.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T06:17:09.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T06:17:09.520Z] Configure a credential helper to remove this warning. See [2023-03-15T06:17:09.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T06:17:09.520Z] [2023-03-15T06:17:09.520Z] Login Succeeded [2023-03-15T06:17:09.520Z] nexus3.edgexfoundry.org:10003 [2023-03-15T06:17:09.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T06:17:09.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T06:17:09.780Z] Configure a credential helper to remove this warning. See [2023-03-15T06:17:09.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T06:17:09.780Z] [2023-03-15T06:17:09.780Z] Login Succeeded [2023-03-15T06:17:09.780Z] nexus3.edgexfoundry.org:10004 [2023-03-15T06:17:09.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T06:17:09.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T06:17:09.780Z] Configure a credential helper to remove this warning. See [2023-03-15T06:17:09.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T06:17:09.780Z] [2023-03-15T06:17:09.780Z] Login Succeeded [2023-03-15T06:17:09.780Z] docker.io [2023-03-15T06:17:09.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T06:17:10.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T06:17:10.039Z] Configure a credential helper to remove this warning. See [2023-03-15T06:17:10.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T06:17:10.039Z] [2023-03-15T06:17:10.039Z] Login Succeeded [2023-03-15T06:17:10.039Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T06:17:10.046Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T06:17:10.106Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T06:17:10.117Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T06:17:10.123Z] ========================================================= [2023-03-15T06:17:10.123Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-15T06:17:10.123Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T06:17:10.434Z] + 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-03-15T06:17:10.434Z] Sending build context to Docker daemon 1.822MB [2023-03-15T06:17:10.434Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T06:17:10.434Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-15T06:17:10.434Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-15T06:17:10.434Z] 63b65145d645: Pulling fs layer [2023-03-15T06:17:10.434Z] a2d21d5440eb: Pulling fs layer [2023-03-15T06:17:10.434Z] 935e6c44a52c: Pulling fs layer [2023-03-15T06:17:10.434Z] 94cc34f8dd06: Pulling fs layer [2023-03-15T06:17:10.434Z] 30dea6a524f1: Pulling fs layer [2023-03-15T06:17:10.434Z] a2aff8979fd8: Pulling fs layer [2023-03-15T06:17:10.434Z] 6808be2612f2: Pulling fs layer [2023-03-15T06:17:10.434Z] 94cc34f8dd06: Waiting [2023-03-15T06:17:10.434Z] 30dea6a524f1: Waiting [2023-03-15T06:17:10.434Z] a2aff8979fd8: Waiting [2023-03-15T06:17:10.434Z] f25807f1079a: Pulling fs layer [2023-03-15T06:17:10.434Z] f25807f1079a: Waiting [2023-03-15T06:17:10.434Z] a2d21d5440eb: Download complete [2023-03-15T06:17:10.434Z] 94cc34f8dd06: Verifying Checksum [2023-03-15T06:17:10.434Z] 94cc34f8dd06: Download complete [2023-03-15T06:17:10.434Z] 30dea6a524f1: Verifying Checksum [2023-03-15T06:17:10.434Z] 30dea6a524f1: Download complete [2023-03-15T06:17:10.697Z] 63b65145d645: Verifying Checksum [2023-03-15T06:17:10.697Z] 63b65145d645: Download complete [2023-03-15T06:17:10.697Z] a2aff8979fd8: Verifying Checksum [2023-03-15T06:17:10.697Z] a2aff8979fd8: Download complete [2023-03-15T06:17:10.697Z] 63b65145d645: Pull complete [2023-03-15T06:17:10.963Z] a2d21d5440eb: Pull complete [2023-03-15T06:17:11.222Z] f25807f1079a: Download complete [2023-03-15T06:17:11.222Z] 935e6c44a52c: Download complete [2023-03-15T06:17:11.481Z] 6808be2612f2: Verifying Checksum [2023-03-15T06:17:11.481Z] 6808be2612f2: Download complete [2023-03-15T06:17:14.763Z] 935e6c44a52c: Pull complete [2023-03-15T06:17:14.763Z] 94cc34f8dd06: Pull complete [2023-03-15T06:17:14.763Z] 30dea6a524f1: Pull complete [2023-03-15T06:17:14.763Z] a2aff8979fd8: Pull complete [2023-03-15T06:17:16.662Z] 6808be2612f2: Pull complete [2023-03-15T06:17:17.599Z] f25807f1079a: Pull complete [2023-03-15T06:17:17.599Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-15T06:17:17.599Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-15T06:17:17.599Z] ---> 3b553350e43f [2023-03-15T06:17:17.599Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-15T06:17:18.981Z] ---> Running in 3095c672568d [2023-03-15T06:17:18.981Z] Removing intermediate container 3095c672568d [2023-03-15T06:17:18.981Z] ---> ae52928ff5b5 [2023-03-15T06:17:18.981Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T06:17:19.240Z] ---> Running in c06165afcd29 [2023-03-15T06:17:19.240Z] Removing intermediate container c06165afcd29 [2023-03-15T06:17:19.240Z] ---> cca0d40bce37 [2023-03-15T06:17:19.240Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-15T06:17:19.240Z] ---> Running in de32522e9c34 [2023-03-15T06:17:19.240Z] Removing intermediate container de32522e9c34 [2023-03-15T06:17:19.240Z] ---> b225bc547cd0 [2023-03-15T06:17:19.240Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-15T06:17:19.499Z] ---> Running in 8fec36e4b446 [2023-03-15T06:17:19.499Z] Removing intermediate container 8fec36e4b446 [2023-03-15T06:17:19.499Z] ---> 23de4eb812fd [2023-03-15T06:17:19.499Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T06:17:19.499Z] ---> Running in c0a678487b3f [2023-03-15T06:17:19.759Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T06:17:20.018Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T06:17:20.277Z] (1/14) Installing libintl (0.21.1-r1) [2023-03-15T06:17:20.277Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-03-15T06:17:20.277Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-03-15T06:17:20.277Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-03-15T06:17:20.277Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-03-15T06:17:20.277Z] (6/14) Installing udev-init-scripts (35-r1) [2023-03-15T06:17:20.277Z] (7/14) Installing libblkid (2.38.1-r1) [2023-03-15T06:17:20.277Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-03-15T06:17:20.277Z] (9/14) Installing zstd-libs (1.5.2-r9) [2023-03-15T06:17:20.277Z] (10/14) Installing kmod-libs (30-r1) [2023-03-15T06:17:20.277Z] (11/14) Installing eudev (3.2.11-r4) [2023-03-15T06:17:20.277Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-03-15T06:17:20.277Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-03-15T06:17:20.277Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-03-15T06:17:20.277Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T06:17:20.277Z] Executing eudev-3.2.11-r4.trigger [2023-03-15T06:17:20.277Z] OK: 272 MiB in 67 packages [2023-03-15T06:17:20.847Z] Removing intermediate container c0a678487b3f [2023-03-15T06:17:20.847Z] ---> fbde31cc3cc9 [2023-03-15T06:17:20.847Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-15T06:17:20.847Z] ---> Running in dee81a870571 [2023-03-15T06:17:20.847Z] Removing intermediate container dee81a870571 [2023-03-15T06:17:20.847Z] ---> 933579a72f45 [2023-03-15T06:17:20.847Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-15T06:17:21.105Z] ---> c3228b333bb3 [2023-03-15T06:17:21.105Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T06:17:21.105Z] ---> Running in d4bfa2b7845b [2023-03-15T06:17:24.178Z] Still waiting to schedule task [2023-03-15T06:17:24.178Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-370’ is offline [2023-03-15T06:17:39.189Z] Removing intermediate container d4bfa2b7845b [2023-03-15T06:17:39.189Z] ---> aa58257997b4 [2023-03-15T06:17:39.189Z] Step 11/13 : COPY . . [2023-03-15T06:17:39.189Z] ---> 9475897d5ba9 [2023-03-15T06:17:39.189Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-15T06:17:39.189Z] ---> Running in 26e6b957277b [2023-03-15T06:17:39.189Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T06:17:39.189Z] Dload Upload Total Spent Left Speed [2023-03-15T06:17:39.189Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 20185 0 --:--:-- --:--:-- --:--:-- 20423 [2023-03-15T06:17:39.451Z] Removing intermediate container 26e6b957277b [2023-03-15T06:17:39.451Z] ---> 36c7a1285dd5 [2023-03-15T06:17:39.451Z] Step 13/13 : RUN ${MAKE} [2023-03-15T06:17:39.451Z] ---> Running in 3cb80e71f93f [2023-03-15T06:17:39.712Z] noop [2023-03-15T06:17:39.971Z] Removing intermediate container 3cb80e71f93f [2023-03-15T06:17:39.971Z] ---> aa2577d64458 [2023-03-15T06:17:39.971Z] Successfully built aa2577d64458 [2023-03-15T06:17:39.971Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T06:17:40.271Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T06:17:40.271Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T06:17:40.345Z] prd-ubuntu20.04-docker-8c-8g-369 does not seem to be running inside a container [2023-03-15T06:17:40.375Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-15T06:17:40.757Z] $ docker top 3da2e51db64400067cb16866c0a40b6520a03b43f341c6aeae137e7a3c532de1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T06:17:41.099Z] + go version [2023-03-15T06:17:41.099Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-15T06:17:41.110Z] $ docker stop --time=1 3da2e51db64400067cb16866c0a40b6520a03b43f341c6aeae137e7a3c532de1 [2023-03-15T06:17:42.411Z] $ docker rm -f --volumes 3da2e51db64400067cb16866c0a40b6520a03b43f341c6aeae137e7a3c532de1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T06:17:42.806Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T06:17:42.807Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T06:17:42.887Z] prd-ubuntu20.04-docker-8c-8g-369 does not seem to be running inside a container [2023-03-15T06:17:42.920Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-15T06:17:43.287Z] $ docker top 0da34f3dee0753d7d1df226db81ac82f76e38265234d5cc8654e39a33986f2d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T06:17:43.628Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] fileExists [Pipeline] sh [2023-03-15T06:17:43.927Z] + make test [2023-03-15T06:17:43.927Z] go test ./... -coverprofile=coverage.out ./... [2023-03-15T06:17:49.197Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-15T06:17:57.364Z] # github.com/edgexfoundry/device-usb-camera/internal/driver [2023-03-15T06:17:57.364Z] internal/driver/ffmpeg.go:168:31: undefined: v4l2.PixFmtRGB24 [2023-03-15T06:17:57.364Z] internal/driver/ffmpeg.go:170:31: undefined: v4l2.PixFmtGrey [2023-03-15T06:17:57.929Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-03-15T06:17:57.929Z] FAIL [2023-03-15T06:17:57.929Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-03-15T06:17:57.944Z] $ docker stop --time=1 0da34f3dee0753d7d1df226db81ac82f76e38265234d5cc8654e39a33986f2d7 [2023-03-15T06:17:59.773Z] $ docker rm -f --volumes 0da34f3dee0753d7d1df226db81ac82f76e38265234d5cc8654e39a33986f2d7 [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 [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T06:18:00.288Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T06:18:00.288Z] [2023-03-15T06:18:00.288Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T06:18:00.585Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T06:18:00.585Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-15T06:18:00.585Z] 5eb5b503b376: Pulling fs layer [2023-03-15T06:18:00.585Z] 5c69ac0246d0: Pulling fs layer [2023-03-15T06:18:00.585Z] ec43610c2a17: Pulling fs layer [2023-03-15T06:18:00.585Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-15T06:18:00.585Z] 33b1e0a273af: Pulling fs layer [2023-03-15T06:18:00.585Z] 5d3b04190fa2: Pulling fs layer [2023-03-15T06:18:00.585Z] 2f39f015ded8: Pulling fs layer [2023-03-15T06:18:00.585Z] 3a2ae6a8a46f: Waiting [2023-03-15T06:18:00.585Z] 5d3b04190fa2: Waiting [2023-03-15T06:18:00.585Z] 33b1e0a273af: Waiting [2023-03-15T06:18:00.585Z] 2f39f015ded8: Waiting [2023-03-15T06:18:00.585Z] 5c69ac0246d0: Download complete [2023-03-15T06:18:00.585Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-15T06:18:00.585Z] 3a2ae6a8a46f: Download complete [2023-03-15T06:18:00.843Z] 33b1e0a273af: Verifying Checksum [2023-03-15T06:18:00.843Z] 33b1e0a273af: Download complete [2023-03-15T06:18:00.843Z] 5d3b04190fa2: Verifying Checksum [2023-03-15T06:18:00.843Z] 5d3b04190fa2: Download complete [2023-03-15T06:18:00.843Z] ec43610c2a17: Verifying Checksum [2023-03-15T06:18:00.843Z] ec43610c2a17: Download complete [2023-03-15T06:18:00.843Z] 5eb5b503b376: Verifying Checksum [2023-03-15T06:18:00.843Z] 5eb5b503b376: Download complete [2023-03-15T06:18:01.410Z] 2f39f015ded8: Download complete [2023-03-15T06:18:01.975Z] 5eb5b503b376: Pull complete [2023-03-15T06:18:01.975Z] 5c69ac0246d0: Pull complete [2023-03-15T06:18:02.539Z] ec43610c2a17: Pull complete [2023-03-15T06:18:02.539Z] 3a2ae6a8a46f: Pull complete [2023-03-15T06:18:02.796Z] 33b1e0a273af: Pull complete [2023-03-15T06:18:02.796Z] 5d3b04190fa2: Pull complete [2023-03-15T06:18:06.981Z] 2f39f015ded8: Pull complete [2023-03-15T06:18:06.981Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-15T06:18:06.981Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T06:18:06.982Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T06:18:07.053Z] prd-ubuntu20.04-docker-8c-8g-369 does not seem to be running inside a container [2023-03-15T06:18:07.084Z] $ 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/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-15T06:18:08.822Z] $ docker top 978cb5745740fb5e4ae11f412e32fc39eab8be5c69223617f60a915972211a7e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T06:18:09.181Z] ---> job-cost.sh [2023-03-15T06:18:09.181Z] lf-activate-venv: SKIPPING [2023-03-15T06:18:09.181Z] INFO: No Stack... [2023-03-15T06:18:09.439Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T06:18:10.003Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T06:18:10.288Z] + cat /w/workspace/xfoundry_device-usb-camera_PR-99/archives/cost.csv [2023-03-15T06:18:10.288Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T06:18:10.301Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-99-47-stack-cost] [2023-03-15T06:18:10.307Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-99-47-stack-cost] did not exist. Created. [2023-03-15T06:18:10.307Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-99-47-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T06:18:10.605Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-15T06:18:10.641Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T06:18:10.650Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-99-47-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T06:18:10.676Z] $ docker stop --time=1 978cb5745740fb5e4ae11f412e32fc39eab8be5c69223617f60a915972211a7e [2023-03-15T06:18:11.847Z] $ docker rm -f --volumes 978cb5745740fb5e4ae11f412e32fc39eab8be5c69223617f60a915972211a7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T06:18:11.939Z] Failed in branch amd64 [2023-03-15T06:19:52.650Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-372 in /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] { [Pipeline] ws [2023-03-15T06:19:52.662Z] Running in /w/workspace/device-usb-camera/47 [Pipeline] { [Pipeline] checkout [2023-03-15T06:19:52.704Z] Selected Git installation does not exist. Using Default [2023-03-15T06:19:52.704Z] The recommended git tool is: NONE [2023-03-15T06:19:58.937Z] using credential edgex-jenkins-ssh [2023-03-15T06:19:58.960Z] Cloning the remote Git repository [2023-03-15T06:19:59.000Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-03-15T06:19:59.114Z] > git init /w/workspace/device-usb-camera/47 # timeout=10 [2023-03-15T06:19:59.323Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-15T06:19:59.325Z] > git --version # timeout=10 [2023-03-15T06:19:59.349Z] > git --version # 'git version 2.25.1' [2023-03-15T06:19:59.352Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T06:19:59.533Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T06:20:00.305Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-15T06:20:00.335Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T06:20:01.449Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-15T06:20:01.504Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-15T06:20:01.505Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T06:20:01.525Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/99/head:refs/remotes/origin/PR-99 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-15T06:20:02.208Z] Merging remotes/origin/main commit 59664bc2ea44ebca3b36727ae3a90eeb55726827 into PR head commit b8c615475b04751833d5a4ed77b1f866c80ece4c [2023-03-15T06:20:02.590Z] Merge succeeded, producing 0901e0908b75efc6fbb019e8009519e1fa6af3e2 [2023-03-15T06:20:02.590Z] Checking out Revision 0901e0908b75efc6fbb019e8009519e1fa6af3e2 (PR-99) [2023-03-15T06:20:02.216Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T06:20:02.304Z] > git checkout -f b8c615475b04751833d5a4ed77b1f866c80ece4c # timeout=10 [2023-03-15T06:20:02.405Z] > git remote # timeout=10 [2023-03-15T06:20:02.426Z] > git config --get remote.origin.url # timeout=10 [2023-03-15T06:20:02.445Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T06:20:02.461Z] > git merge 59664bc2ea44ebca3b36727ae3a90eeb55726827 # timeout=10 [2023-03-15T06:20:02.546Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-15T06:20:02.584Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T06:20:02.601Z] > git checkout -f 0901e0908b75efc6fbb019e8009519e1fa6af3e2 # timeout=10 [2023-03-15T06:20:06.189Z] Commit message: "Merge commit '59664bc2ea44ebca3b36727ae3a90eeb55726827' into HEAD" [2023-03-15T06:20:06.222Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T06:20:07.169Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-15T06:20:07.169Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T06:20:07.169Z] Dload Upload Total Spent Left Speed [2023-03-15T06:20:07.170Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh [2023-03-15T06:20:06.189Z] > git rev-list --no-walk 3d552bab8ab597181d598d058ef62ab1dcb57a1c # timeout=10 [2023-03-15T06:20:07.897Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-15T06:20:08.233Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-15T06:20:08.233Z] + sudo tee /etc/docker/daemon.new [2023-03-15T06:20:08.233Z] { [2023-03-15T06:20:08.233Z] "registry-mirrors": [ [2023-03-15T06:20:08.233Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-15T06:20:08.233Z] ], [2023-03-15T06:20:08.233Z] "bip": "10.250.0.254/24", [2023-03-15T06:20:08.233Z] "hosts": [ [2023-03-15T06:20:08.233Z] "tcp://0.0.0.0:5555", [2023-03-15T06:20:08.233Z] "unix:///var/run/docker.sock" [2023-03-15T06:20:08.233Z] ], [2023-03-15T06:20:08.233Z] "mtu": 1458, [2023-03-15T06:20:08.233Z] "selinux-enabled": true, [2023-03-15T06:20:08.233Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-15T06:20:08.233Z] } [Pipeline] sh [2023-03-15T06:20:08.565Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-15T06:20:08.909Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T06:20:27.279Z] provisioning config files... [2023-03-15T06:20:27.306Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/47@tmp/config12950362660255182148tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T06:20:27.659Z] ---> docker-login.sh [2023-03-15T06:20:27.659Z] nexus3.edgexfoundry.org:10001 [2023-03-15T06:20:28.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T06:20:28.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T06:20:28.249Z] Configure a credential helper to remove this warning. See [2023-03-15T06:20:28.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T06:20:28.249Z] [2023-03-15T06:20:28.249Z] Login Succeeded [2023-03-15T06:20:28.249Z] nexus3.edgexfoundry.org:10002 [2023-03-15T06:20:28.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T06:20:28.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T06:20:28.518Z] Configure a credential helper to remove this warning. See [2023-03-15T06:20:28.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T06:20:28.518Z] [2023-03-15T06:20:28.518Z] Login Succeeded [2023-03-15T06:20:28.518Z] nexus3.edgexfoundry.org:10003 [2023-03-15T06:20:28.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T06:20:29.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T06:20:29.058Z] Configure a credential helper to remove this warning. See [2023-03-15T06:20:29.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T06:20:29.058Z] [2023-03-15T06:20:29.058Z] Login Succeeded [2023-03-15T06:20:29.058Z] nexus3.edgexfoundry.org:10004 [2023-03-15T06:20:29.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T06:20:29.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T06:20:29.326Z] Configure a credential helper to remove this warning. See [2023-03-15T06:20:29.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T06:20:29.326Z] [2023-03-15T06:20:29.326Z] Login Succeeded [2023-03-15T06:20:29.326Z] docker.io [2023-03-15T06:20:29.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T06:20:29.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T06:20:29.867Z] Configure a credential helper to remove this warning. See [2023-03-15T06:20:29.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T06:20:29.867Z] [2023-03-15T06:20:29.867Z] Login Succeeded [2023-03-15T06:20:29.867Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T06:20:29.883Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T06:20:30.167Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T06:20:30.183Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T06:20:30.192Z] ========================================================= [2023-03-15T06:20:30.192Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-15T06:20:30.192Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T06:20:30.539Z] + 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-03-15T06:20:30.811Z] Sending build context to Docker daemon 1.174MB [2023-03-15T06:20:30.811Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T06:20:30.811Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-15T06:20:31.082Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-15T06:20:31.082Z] af6eaf76a39c: Pulling fs layer [2023-03-15T06:20:31.082Z] 55522c791124: Pulling fs layer [2023-03-15T06:20:31.082Z] ce5c4a1c91eb: Pulling fs layer [2023-03-15T06:20:31.082Z] 169dfbe0d373: Pulling fs layer [2023-03-15T06:20:31.082Z] e1ff8fa3b103: Pulling fs layer [2023-03-15T06:20:31.082Z] 52ebb69f0ebf: Pulling fs layer [2023-03-15T06:20:31.082Z] 5abe8eddf0d5: Pulling fs layer [2023-03-15T06:20:31.082Z] 169dfbe0d373: Waiting [2023-03-15T06:20:31.082Z] e1ff8fa3b103: Waiting [2023-03-15T06:20:31.082Z] 52ebb69f0ebf: Waiting [2023-03-15T06:20:31.082Z] 5abe8eddf0d5: Waiting [2023-03-15T06:20:31.082Z] 55522c791124: Download complete [2023-03-15T06:20:31.082Z] 169dfbe0d373: Verifying Checksum [2023-03-15T06:20:31.082Z] 169dfbe0d373: Download complete [2023-03-15T06:20:31.082Z] e1ff8fa3b103: Verifying Checksum [2023-03-15T06:20:31.082Z] e1ff8fa3b103: Download complete [2023-03-15T06:20:31.082Z] af6eaf76a39c: Verifying Checksum [2023-03-15T06:20:31.082Z] af6eaf76a39c: Download complete [2023-03-15T06:20:32.049Z] af6eaf76a39c: Pull complete [2023-03-15T06:20:32.319Z] 5abe8eddf0d5: Verifying Checksum [2023-03-15T06:20:32.319Z] 5abe8eddf0d5: Download complete [2023-03-15T06:20:32.593Z] 55522c791124: Pull complete [2023-03-15T06:20:33.559Z] ce5c4a1c91eb: Verifying Checksum [2023-03-15T06:20:33.559Z] ce5c4a1c91eb: Download complete [2023-03-15T06:20:33.559Z] 52ebb69f0ebf: Verifying Checksum [2023-03-15T06:20:33.559Z] 52ebb69f0ebf: Download complete [2023-03-15T06:20:43.645Z] ce5c4a1c91eb: Pull complete [2023-03-15T06:20:43.645Z] 169dfbe0d373: Pull complete [2023-03-15T06:20:43.912Z] e1ff8fa3b103: Pull complete [2023-03-15T06:20:50.578Z] 52ebb69f0ebf: Pull complete [2023-03-15T06:20:52.548Z] 5abe8eddf0d5: Pull complete [2023-03-15T06:20:52.548Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-15T06:20:52.548Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-15T06:20:52.548Z] ---> 6cb57ee374ae [2023-03-15T06:20:52.548Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-15T06:20:54.511Z] ---> Running in 324e10ec578d [2023-03-15T06:20:54.511Z] Removing intermediate container 324e10ec578d [2023-03-15T06:20:54.511Z] ---> 9704ec3bea7d [2023-03-15T06:20:54.511Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T06:20:54.511Z] ---> Running in e44eb2fc0615 [2023-03-15T06:20:54.781Z] Removing intermediate container e44eb2fc0615 [2023-03-15T06:20:54.781Z] ---> c8bfa65d1fda [2023-03-15T06:20:54.781Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-15T06:20:55.056Z] ---> Running in cfbf80d91963 [2023-03-15T06:20:55.326Z] Removing intermediate container cfbf80d91963 [2023-03-15T06:20:55.326Z] ---> 73130110d258 [2023-03-15T06:20:55.326Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-15T06:20:55.326Z] ---> Running in bb3ca7499ee9 [2023-03-15T06:20:55.597Z] Removing intermediate container bb3ca7499ee9 [2023-03-15T06:20:55.597Z] ---> 735081754dd9 [2023-03-15T06:20:55.597Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T06:20:55.865Z] ---> Running in 6ffe3681b16b [2023-03-15T06:20:57.286Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T06:20:57.556Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T06:20:58.982Z] (1/14) Installing libintl (0.21.1-r1) [2023-03-15T06:20:58.982Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-03-15T06:20:58.982Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-03-15T06:20:58.982Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-03-15T06:20:58.982Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-03-15T06:20:58.982Z] (6/14) Installing udev-init-scripts (35-r1) [2023-03-15T06:20:58.982Z] (7/14) Installing libblkid (2.38.1-r1) [2023-03-15T06:20:58.982Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-03-15T06:20:58.982Z] (9/14) Installing zstd-libs (1.5.2-r9) [2023-03-15T06:20:58.982Z] (10/14) Installing kmod-libs (30-r1) [2023-03-15T06:20:58.982Z] (11/14) Installing eudev (3.2.11-r4) [2023-03-15T06:20:58.982Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-03-15T06:20:58.982Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-03-15T06:20:58.982Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-03-15T06:20:58.982Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T06:20:58.982Z] Executing eudev-3.2.11-r4.trigger [2023-03-15T06:20:58.982Z] OK: 271 MiB in 67 packages [2023-03-15T06:21:00.408Z] Removing intermediate container 6ffe3681b16b [2023-03-15T06:21:00.408Z] ---> f790060dc01f [2023-03-15T06:21:00.408Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-15T06:21:00.408Z] ---> Running in 4012346c34d0 [2023-03-15T06:21:00.996Z] Removing intermediate container 4012346c34d0 [2023-03-15T06:21:00.996Z] ---> 2eee4cff1db5 [2023-03-15T06:21:00.996Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-15T06:21:01.265Z] ---> 2e243ff9fc2e [2023-03-15T06:21:01.265Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T06:21:01.535Z] ---> Running in 2fb0b161b333 [2023-03-15T06:22:09.436Z] Removing intermediate container 2fb0b161b333 [2023-03-15T06:22:09.436Z] ---> 8fca648b2be7 [2023-03-15T06:22:09.436Z] Step 11/13 : COPY . . [2023-03-15T06:22:09.436Z] ---> 527606a5013d [2023-03-15T06:22:09.436Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-15T06:22:09.436Z] ---> Running in c094e797cacb [2023-03-15T06:22:09.436Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T06:22:09.436Z]  Dload Upload Total Spent Left Speed [2023-03-15T06:22:09.436Z] 0  0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2847 0 --:--:-- --:--:-- --:--:-- 2854 [2023-03-15T06:22:09.436Z] Removing intermediate container c094e797cacb [2023-03-15T06:22:09.436Z] ---> d04ec21528b0 [2023-03-15T06:22:09.436Z] Step 13/13 : RUN ${MAKE} [2023-03-15T06:22:09.436Z] ---> Running in af9385f1eab8 [2023-03-15T06:22:09.436Z] noop [2023-03-15T06:22:09.436Z] Removing intermediate container af9385f1eab8 [2023-03-15T06:22:09.436Z] ---> a8fb6547d085 [2023-03-15T06:22:09.436Z] Successfully built a8fb6547d085 [2023-03-15T06:22:09.436Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T06:22:09.792Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T06:22:09.792Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T06:22:10.024Z] prd-ubuntu20.04-docker-arm64-4c-16g-372 does not seem to be running inside a container [2023-03-15T06:22:10.097Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/47 -v /w/workspace/device-usb-camera/47:/w/workspace/device-usb-camera/47:rw,z -v /w/workspace/device-usb-camera/47@tmp:/w/workspace/device-usb-camera/47@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-15T06:22:11.404Z] $ docker top 540415cd4bd102afd428c9326d003d6c2289d1d7ea0e80b6e50811859e6f1f48 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T06:22:12.261Z] + go version [2023-03-15T06:22:12.261Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-15T06:22:12.285Z] $ docker stop --time=1 540415cd4bd102afd428c9326d003d6c2289d1d7ea0e80b6e50811859e6f1f48 [2023-03-15T06:22:13.945Z] $ docker rm -f --volumes 540415cd4bd102afd428c9326d003d6c2289d1d7ea0e80b6e50811859e6f1f48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T06:22:14.502Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T06:22:14.502Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T06:22:14.688Z] prd-ubuntu20.04-docker-arm64-4c-16g-372 does not seem to be running inside a container [2023-03-15T06:22:14.760Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/47 -v /w/workspace/device-usb-camera/47:/w/workspace/device-usb-camera/47:rw,z -v /w/workspace/device-usb-camera/47@tmp:/w/workspace/device-usb-camera/47@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-15T06:22:15.946Z] $ docker top bb5ce655ed39269490d2f70b1f3ee58414f3a9452d8fef079661615158ff7071 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T06:22:16.792Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/47 [Pipeline] fileExists [Pipeline] sh [2023-03-15T06:22:17.459Z] + make test [2023-03-15T06:22:17.459Z] go test ./... -coverprofile=coverage.out ./... [2023-03-15T06:22:56.394Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-15T06:25:18.175Z] # github.com/edgexfoundry/device-usb-camera/internal/driver [2023-03-15T06:25:18.175Z] internal/driver/ffmpeg.go:168:31: undefined: v4l2.PixFmtRGB24 [2023-03-15T06:25:18.175Z] internal/driver/ffmpeg.go:170:31: undefined: v4l2.PixFmtGrey [2023-03-15T06:25:18.441Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-03-15T06:25:18.441Z] FAIL [2023-03-15T06:25:19.025Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-03-15T06:25:19.057Z] $ docker stop --time=1 bb5ce655ed39269490d2f70b1f3ee58414f3a9452d8fef079661615158ff7071 [2023-03-15T06:25:21.037Z] $ docker rm -f --volumes bb5ce655ed39269490d2f70b1f3ee58414f3a9452d8fef079661615158ff7071 [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-03-15T06:25:22.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T06:25:22.334Z] [2023-03-15T06:25:22.334Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T06:25:22.687Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T06:25:22.961Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-15T06:25:22.961Z] 8998bd30e6a1: Pulling fs layer [2023-03-15T06:25:22.961Z] 04944245beec: Pulling fs layer [2023-03-15T06:25:22.961Z] 699f458cf7ca: Pulling fs layer [2023-03-15T06:25:22.961Z] 765212b225bb: Pulling fs layer [2023-03-15T06:25:22.961Z] f23df028b6ca: Pulling fs layer [2023-03-15T06:25:22.961Z] d65c8cfc05b1: Pulling fs layer [2023-03-15T06:25:22.961Z] 2437ff75d9bd: Pulling fs layer [2023-03-15T06:25:22.961Z] f23df028b6ca: Waiting [2023-03-15T06:25:22.961Z] d65c8cfc05b1: Waiting [2023-03-15T06:25:22.961Z] 2437ff75d9bd: Waiting [2023-03-15T06:25:22.961Z] 765212b225bb: Waiting [2023-03-15T06:25:22.961Z] 04944245beec: Verifying Checksum [2023-03-15T06:25:22.961Z] 04944245beec: Download complete [2023-03-15T06:25:22.961Z] 765212b225bb: Verifying Checksum [2023-03-15T06:25:22.961Z] 765212b225bb: Download complete [2023-03-15T06:25:23.234Z] f23df028b6ca: Download complete [2023-03-15T06:25:23.235Z] d65c8cfc05b1: Verifying Checksum [2023-03-15T06:25:23.235Z] d65c8cfc05b1: Download complete [2023-03-15T06:25:23.235Z] 699f458cf7ca: Verifying Checksum [2023-03-15T06:25:23.235Z] 699f458cf7ca: Download complete [2023-03-15T06:25:23.820Z] 8998bd30e6a1: Verifying Checksum [2023-03-15T06:25:23.820Z] 8998bd30e6a1: Download complete [2023-03-15T06:25:26.426Z] 2437ff75d9bd: Verifying Checksum [2023-03-15T06:25:26.426Z] 2437ff75d9bd: Download complete [2023-03-15T06:25:29.784Z] 8998bd30e6a1: Pull complete [2023-03-15T06:25:29.784Z] 04944245beec: Pull complete [2023-03-15T06:25:31.198Z] 699f458cf7ca: Pull complete [2023-03-15T06:25:31.198Z] 765212b225bb: Pull complete [2023-03-15T06:25:32.158Z] f23df028b6ca: Pull complete [2023-03-15T06:25:32.158Z] d65c8cfc05b1: Pull complete [2023-03-15T06:25:47.154Z] 2437ff75d9bd: Pull complete [2023-03-15T06:25:47.154Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-15T06:25:47.154Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T06:25:47.154Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T06:25:47.352Z] prd-ubuntu20.04-docker-arm64-4c-16g-372 does not seem to be running inside a container [2023-03-15T06:25:47.418Z] $ 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-usb-camera/47 -v /w/workspace/device-usb-camera/47:/w/workspace/device-usb-camera/47:rw,z -v /w/workspace/device-usb-camera/47@tmp:/w/workspace/device-usb-camera/47@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-15T06:25:50.013Z] $ docker top 87d5cbedabd4ab1a2cef254b2f79225d153117e0cb4ce171facde97f8fc166a7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T06:25:50.843Z] ---> job-cost.sh [2023-03-15T06:25:50.843Z] lf-activate-venv: SKIPPING [2023-03-15T06:25:50.843Z] INFO: No Stack... [2023-03-15T06:25:51.425Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-15T06:25:52.008Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T06:25:52.646Z] + cut -d, -f6 [2023-03-15T06:25:52.646Z] + cat /w/workspace/device-usb-camera/47/archives/cost.csv [Pipeline] lock [2023-03-15T06:25:52.708Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-99-47-stack-cost] [2023-03-15T06:25:52.714Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-99-47-stack-cost] did not exist. Created. [2023-03-15T06:25:52.714Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-99-47-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T06:25:53.368Z] /w/workspace/device-usb-camera/47@tmp/durable-7c149261/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-15T06:25:54.020Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-15T06:25:54.035Z] Warning: overwriting stash ‘stack-cost’ [2023-03-15T06:25:54.429Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T06:25:54.438Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-99-47-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T06:25:54.463Z] $ docker stop --time=1 87d5cbedabd4ab1a2cef254b2f79225d153117e0cb4ce171facde97f8fc166a7 [2023-03-15T06:25:55.971Z] $ docker rm -f --volumes 87d5cbedabd4ab1a2cef254b2f79225d153117e0cb4ce171facde97f8fc166a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T06:25:56.225Z] 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-03-15T06:25:56.855Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-99/archives ] [2023-03-15T06:25:56.855Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-99/archives [2023-03-15T06:25:56.855Z] total 16 [2023-03-15T06:25:56.855Z] drwxr-xr-x 3 root root 4096 Mar 15 06:18 . [2023-03-15T06:25:56.855Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 06:18 .. [2023-03-15T06:25:56.855Z] drwxr-xr-x 2 root root 4096 Mar 15 06:18 cost [2023-03-15T06:25:56.855Z] -rw-r--r-- 1 root root 89 Mar 15 06:18 cost.csv [2023-03-15T06:25:56.855Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-99/archives [2023-03-15T06:25:56.855Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-99/archives [2023-03-15T06:25:56.855Z] total 16 [2023-03-15T06:25:56.855Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 06:18 . [2023-03-15T06:25:56.855Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 06:18 .. [2023-03-15T06:25:56.855Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 06:18 cost [2023-03-15T06:25:56.855Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 15 06:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-15T06:25:57.146Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T06:25:58.003Z] ---> package-listing.sh [2023-03-15T06:25:58.003Z] ++ facter osfamily [2023-03-15T06:25:58.003Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-15T06:25:58.003Z] + OS_FAMILY=debian [2023-03-15T06:25:58.003Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-99 [2023-03-15T06:25:58.003Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-15T06:25:58.262Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-15T06:25:58.262Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-15T06:25:58.262Z] + PACKAGES=/tmp/packages_start.txt [2023-03-15T06:25:58.262Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-99 ']' [2023-03-15T06:25:58.262Z] + PACKAGES=/tmp/packages_end.txt [2023-03-15T06:25:58.262Z] + case "${OS_FAMILY}" in [2023-03-15T06:25:58.262Z] + dpkg -l [2023-03-15T06:25:58.262Z] + grep '^ii' [2023-03-15T06:25:58.262Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-15T06:25:58.262Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-15T06:25:58.262Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-15T06:25:58.262Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-99 ']' [2023-03-15T06:25:58.262Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-99/archives/ [2023-03-15T06:25:58.262Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-99/archives/ [Pipeline] echo [2023-03-15T06:25:58.272Z] 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/xfoundry_device-usb-camera_PR-99/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-15T06:25:58.551Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T06:25:59.112Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T06:25:59.112Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T06:25:59.183Z] prd-ubuntu20.04-docker-8c-8g-369 does not seem to be running inside a container [2023-03-15T06:25:59.222Z] $ 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/xfoundry_device-usb-camera_PR-99/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-15T06:25:59.427Z] $ docker top 15d06938389462146efc19a770da83233396a20f7105a9da866f73e388c049b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T06:25:59.776Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-15T06:26:00.057Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-15T06:26:00.342Z] + ls /var/log/sa-host [2023-03-15T06:26:00.342Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T06:26:00.402Z] provisioning config files... [2023-03-15T06:26:00.410Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config8338994024696828748tmp [Pipeline] { [Pipeline] echo [2023-03-15T06:26:00.424Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T06:26:00.706Z] ---> create-netrc.sh [Pipeline] } [2023-03-15T06:26:00.713Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-15T06:26:01.026Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-15T06:26:01.035Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T06:26:01.322Z] ---> sudo-logs.sh [2023-03-15T06:26:01.322Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-15T06:26:01.355Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T06:26:01.638Z] ---> job-cost.sh [2023-03-15T06:26:01.638Z] lf-activate-venv: SKIPPING [2023-03-15T06:26:01.638Z] DEBUG: total: 0.2199999988079071 [2023-03-15T06:26:01.638Z] INFO: Retrieving Stack Cost... [2023-03-15T06:26:01.898Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T06:26:02.159Z] INFO: Archiving Costs [Pipeline] echo [2023-03-15T06:26:02.171Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T06:26:02.457Z] ---> logs-deploy.sh [2023-03-15T06:26:02.457Z] lf-activate-venv: SKIPPING [2023-03-15T06:26:02.457Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-99/47 [2023-03-15T06:26:02.457Z] INFO: archiving workspace using pattern(s): [2023-03-15T06:26:03.397Z] Archives upload complete. [2023-03-15T06:26:03.397Z] INFO: archiving logs to Nexus