Skip to content

Instantly share code, notes, and snippets.

deployAlpha:
extends: .deploy_base
variables:
TELEGRAM_MESSAGE: "Новая *alpha* сборка доступна по ссылке%3A%0A"
script:
- |
chmod +x ./createReleaseNotes.sh
./createReleaseNotes.sh
RELEASE_NOTES=$(find . -type f -name "release_notes.txt" -exec cat {} \; | awk 'BEGIN {RS=""}{gsub(/\n/,"%0A",$0); print $0}')
- base64 -d $KEYSTORE_FILE > keystore.jks
13:37:57
D 10:37:57.546 [main @coroutine#162347] <AndroidDeviceTestRunner> tests = [com.peterservice.mcca.ui.kakaotest.addsubscorporate.AddSubsCorporateTest#addSubsRegisterFailOrderStatusRolledBackCancel]
13:38:07
D 10:38:07.150 [kotlinx.coroutines.DefaultExecutor @cio-from-nio-reader#89] <com.bugsnag.Bugsnag> Reporting error to Bugsnag
13:38:07
Exception in thread "kotlinx.coroutines.DefaultExecutor @cio-from-nio-reader#89" java.net.SocketTimeoutException
13:38:07
at io.ktor.network.util.UtilsKt$withSocketTimeout$2.invokeSuspend(Utils.kt:23)
13:38:07
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
yevgeny.khramov@srv8-footonto:~/HowTo$ kubectl logs default-9c656f70-0a30-4138-9b17-11da8d4846ae-765bf9fd6d-qvlxp
+ ./adb_redirect.sh
+ ./run_emulator.sh
+ [[ -z 29 ]]
+ emulator_name=emulator_29
+ sd_card_name=/sdcard.img
+ emulator_arguments=(-avd ${emulator_name} -sdcard ${sd_card_name} -verbose)
+ [[ '' == \t\r\u\e ]]
+ binary_name=qemu-system-x86_64-headless
+ echo 'Rendering: Headless swiftshader (software) rendering mode is enabled'
yevgeny.khramov@srv8-footonto:~/HowTo$ kubectl get events
LAST SEEN TYPE REASON OBJECT MESSAGE
118m Warning FailedScheduling pod/default-062c502e-59a6-45c5-97d6-cec3f8c6d3ab-d9f8d89-2886g 0/3 nodes are available: 3 Insufficient memory.
118m Warning FailedScheduling pod/default-062c502e-59a6-45c5-97d6-cec3f8c6d3ab-d9f8d89-2fz62 0/3 nodes are available: 3 Insufficient memory.
118m Warning FailedScheduling pod/default-062c502e-59a6-45c5-97d6-cec3f8c6d3ab-d9f8d89-5x8vt 0/3 nodes are available: 3 Insufficient memory.
54m Warning FailedScheduling pod/default-062c502e-59a6-45c5-97d6-cec3f8c6d3ab-d9f8d89-5x8vt skip schedule deleting pod: default/default-062c502e-59a6-45c5-97d6-cec3f8c6d3ab-d9f8d89-5x8vt
118m Warning FailedScheduling pod/default-062c502e-59a6-45c5-97d6-cec3f8c6d3ab-d9f8d89-7m92l 0/3 nodes are available: 3 Insufficient memory.
118m
LAST SEEN TYPE REASON OBJECT MESSAGE
59m Warning FailedScheduling pod/default-062c502e-59a6-45c5-97d6-cec3f8c6d3ab-d9f8d89-2886g 0/3 nodes are available: 3 Insufficient memory.
59m Warning FailedScheduling pod/default-062c502e-59a6-45c5-97d6-cec3f8c6d3ab-d9f8d89-2886g 0/3 nodes are available: 3 Insufficient memory.
59m Warning FailedScheduling pod/default-062c502e-59a6-45c5-97d6-cec3f8c6d3ab-d9f8d89-2fz62 0/3 nodes are available: 3 Insufficient memory.
59m Warning FailedScheduling pod/default-062c502e-59a6-45c5-97d6-cec3f8c6d3ab-d9f8d89-2fz62 0/3 nodes are available: 3 Insufficient memory.
59m Warning FailedScheduling pod/default-062c502e-59a6-45c5-97d6-cec3f8c6d3ab-d9f8d89-5x8vt 0/3 nodes are available: 3 Insufficient memory.
59m Warning FailedScheduling pod/default-062c502e-59a6-45c5-97d6-cec3f8c6d3ab-d9f8d89-5x8vt
[KubernetesApi@:android-test:ui-testing-core-app:instrumentationUi] Getting pods for deployment: default-30f85dff-f003-47ff-bd0a-61c679702c0b
[KubernetesApi@:android-test:ui-testing-core-app:instrumentationUi] Getting pods for deployment: default-30f85dff-f003-47ff-bd0a-61c679702c0b completed. Received 36 pods (running: 0).
[KubernetesApi@:android-test:ui-testing-core-app:instrumentationUi] Getting pods for deployment: default-9be73453-d524-44c6-bdf8-46e2b82739c8
[KubernetesApi@:android-test:ui-testing-core-app:instrumentationUi] Getting pods for deployment: default-9be73453-d524-44c6-bdf8-46e2b82739c8 completed. Received 35 pods (running: 0).
[KubernetesApi@:android-test:ui-testing-core-app:instrumentationUi] Getting pods for deployment: default-30f85dff-f003-47ff-bd0a-61c679702c0b
[KubernetesApi@:android-test:ui-testing-core-app:instrumentationUi] Getting pods for deployment: default-30f85dff-f003-47ff-bd0a-61c679702c0b completed. Received 36 pods (running: 0).
[KubernetesApi@:android-test:ui-testing-core-a
This file has been truncated, but you can view the full file.
C:\Hram\Projects\avito-android>gradlew :subprojects:android-test:ui-testing-core-app:instrumentationUi -PkubernetesContext=default -PkubernetesCaCertFile=c:\Users\Yevgeny.Khramov\.kube\config -DinfraVersion=local -Pavito.logging.verbosity=DEBUG
> Task :subprojects:android-test:ui-testing-core-app:instrumentationUi
[StatsDSender@:android-test:ui-testing-core-app:instrumentationUi] Skip sending event: time:<namespace>:service.reports.Run_Create.unknown:8273
[Report@:android-test:ui-testing-core-app:instrumentationUi] Can't tryCreate report
[StatsDSender@:android-test:ui-testing-core-app:instrumentationUi] Skip sending event: time:<namespace>:service.reports.Run_GetByParams.unknown:6001
[Report@:android-test:ui-testing-core-app:instrumentationUi] Can't find report for runId=25d7592300e3e7c8c0614084cf303cf2fefe719d.local-Yevgeny.Khramov
[InstrumentationTestsAction@:android-test:ui-testing-core-app:instrumentationUi] Starting instrumentation tests action for configuration: ui, targets: [api22 with device name: AP
name: Run tests
description: Triggers automated tests
author: Evgeny Hramov
version: 1.0
includes: ^ runs / view
excludes:
js:
$(document).ready(
function() {
C:\Hram\Projects\avito-android>gradlew :subprojects:android-test:ui-testing-core-app:instrumentationUi -PkubernetesContext=default -PkubernetesCaCertFile=c:\cloud\config
> Configure project :subprojects:android-test:ui-testing-core-app
KubernetesCredentials.Config
> Task :subprojects:android-test:ui-testing-core-app:instrumentationUi
[Report@:android-test:ui-testing-core-app:instrumentationUi] Can't tryCreate report
java.net.UnknownHostException: No such host is known (stub)
at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.base/java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:929)
ERR/auth-ldap 7455 [::ffff:127.0.0.1] Unexpected error AssertionError: options.attribute (string) is required
at EqualityFilter (/home/autotest/.nvm/versions/node/v6.11.2/lib/node_modules/stf/node_modules/ldap-filter/lib/equality_filter.js:15:12)
at new EqualityFilter (/home/autotest/.nvm/versions/node/v6.11.2/lib/node_modules/stf/node_modules/ldapjs/lib/filters/equality_filter.js:16:26)
at tryFind (/home/autotest/.nvm/versions/node/v6.11.2/lib/node_modules/stf/lib/util/ldaputil.js:55:15)
at /home/autotest/.nvm/versions/node/v6.11.2/lib/node_modules/stf/lib/util/ldaputil.js:108:12
From previous event:
at Object.module.exports.login (/home/autotest/.nvm/versions/node/v6.11.2/lib/node_modules/stf/lib/util/ldaputil.js:107:23)
at /home/autotest/.nvm/versions/node/v6.11.2/lib/node_modules/stf/lib/units/auth/ldap.js:71:29
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)