Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Robin (Maestro Cloud) fails Bitbucket Pipeline CI #2286

Open
1 task done
AlexGuiraoLopez opened this issue Feb 4, 2025 · 1 comment
Open
1 task done

Robin (Maestro Cloud) fails Bitbucket Pipeline CI #2286

AlexGuiraoLopez opened this issue Feb 4, 2025 · 1 comment

Comments

@AlexGuiraoLopez
Copy link

Is there an existing issue for this?

  • I have searched the existing issues and didn't find mine.

Steps to reproduce

  1. Execute a Bitbucket Pipeline CI following Robin documentation.

yaml file.pdf

Actual results

  1. Te execution fails because the command generated by maestro in the pipeline is missing some fields (project-id and test yaml file)

pipelineLog-{f80ed97c-7636-4a4b-afab-bf66e9bc8206}.txt

Expected results

  1. The pipeline execute maestro cloud without errors.

About app

  • Android native app

About environment

  • Bitbucket pipeline with Android image cimg/android:2023.09

Logs

Logs
+ umask 000

+ GIT_LFS_SKIP_SMUDGE=1 retry 6 git clone --branch="discovery/maestro" --depth 50 https://x-token-auth:[email protected]/$BITBUCKET_REPO_FULL_NAME.git $BUILD_DIR
Cloning into '/opt/atlassian/pipelines/agent/build'...

+ git reset --hard f7b4f73b95500558dab560aa6612a49afc2906fc
HEAD is now at f7b4f73 feat: updated dependencies

+ git config user.name bitbucket-pipelines

+ git config user.email [email protected]

+ git config push.default current

+ git config http.${BITBUCKET_GIT_HTTP_ORIGIN}.proxy http://localhost:29418/

+ git remote set-url origin http://bitbucket.org/$BITBUCKET_REPO_FULL_NAME

+ git reflog expire --expire=all --all

+ echo ".bitbucket/pipelines/generated" >> .git/info/exclude

+ chmod 777 $BUILD_DIR


Cache "gradle: ~/.gradle/caches": Downloading
Cache "gradle: ~/.gradle/caches": Not found

Default variables:
    BITBUCKET_BRANCH
    BITBUCKET_BUILD_NUMBER
    BITBUCKET_CLONE_DIR
    BITBUCKET_COMMIT
    BITBUCKET_GIT_HTTP_ORIGIN
    BITBUCKET_GIT_SSH_ORIGIN
    BITBUCKET_PIPELINE_UUID
    BITBUCKET_PROJECT_KEY
    BITBUCKET_PROJECT_UUID
    BITBUCKET_REPO_FULL_NAME
    BITBUCKET_REPO_IS_PRIVATE
    BITBUCKET_REPO_OWNER
    BITBUCKET_REPO_OWNER_UUID
    BITBUCKET_REPO_SLUG
    BITBUCKET_REPO_UUID
    BITBUCKET_SSH_KEY_FILE
    BITBUCKET_STEP_RUN_NUMBER
    BITBUCKET_STEP_TRIGGERER_UUID
    BITBUCKET_STEP_UUID
    BITBUCKET_WORKSPACE
    CI
    DOCKER_HOST
    PIPELINES_JWT_TOKEN

Workspace variables:
    BITBUCKET_APP_PASSWORD
    BITBUCKET_USERNAME

Repository variables:
    FIREBASE_REFRESH_TOKEN
    MDEV_API_KEY
    MDEV_PROJECT_ID

Images used:
    build : docker.io/cimg/android@sha256:90132d02e607419e2ed56e4e17b27f4d96467fa328f3c1ea80698e91bbf40263

Runtime:
    cloud:
        version: 2
        arch: x86
+ ./gradlew clean
Downloading https://services.gradle.org/distributions/gradle-8.7-bin.zip
............10%.............20%.............30%.............40%............50%.............60%.............70%.............80%.............90%............100%

Welcome to Gradle 8.7!

Here are the highlights of this release:
 - Compiling and testing with Java 22
 - Cacheable Groovy script compilation
 - New methods in lazy collection properties

For more details see https://docs.gradle.org/8.7/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)
Calculating task graph as no cached configuration is available for tasks: clean
> Task :commons:clean UP-TO-DATE
> Task :app:clean
> Task :components:clean UP-TO-DATE
> Task :data:clean UP-TO-DATE
> Task :data_source_api:clean UP-TO-DATE
> Task :data_source_app_preferences:clean UP-TO-DATE
> Task :data_source_memory:clean UP-TO-DATE
> Task :domain:clean UP-TO-DATE
> Task :presentation:clean UP-TO-DATE

BUILD SUCCESSFUL in 1m 26s
9 actionable tasks: 1 executed, 8 up-to-date
Configuration cache entry stored.

+ ./gradlew assembleDevDebug --no-daemon
To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.7/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
Daemon will be stopped at the end of the build 
Calculating task graph as no cached configuration is available for tasks: assembleDevDebug
Errors during XML parse:
Additionally, the fallback loader failed to parse the XML.
Errors during XML parse:
Additionally, the fallback loader failed to parse the XML.
Checking the license for package Android SDK Build-Tools 34 in /home/circleci/android-sdk/licenses
License for package Android SDK Build-Tools 34 accepted.
Preparing "Install Android SDK Build-Tools 34 v.34.0.0".
"Install Android SDK Build-Tools 34 v.34.0.0" ready.
Installing Android SDK Build-Tools 34 in /home/circleci/android-sdk/build-tools/34.0.0
"Install Android SDK Build-Tools 34 v.34.0.0" complete.
"Install Android SDK Build-Tools 34 v.34.0.0" finished.
Checking the license for package Android SDK Platform 35 in /home/circleci/android-sdk/licenses
License for package Android SDK Platform 35 accepted.
Preparing "Install Android SDK Platform 35 (revision 2)".
"Install Android SDK Platform 35 (revision 2)" ready.
Installing Android SDK Platform 35 in /home/circleci/android-sdk/platforms/android-35
"Install Android SDK Platform 35 (revision 2)" complete.
"Install Android SDK Platform 35 (revision 2)" finished.
Path for java installation '/usr/lib/jvm/openjdk-17' (Common Linux Locations) does not contain a java executable
> Task :app:preBuild UP-TO-DATE
> Task :data_source_memory:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :app:preDevDebugBuild UP-TO-DATE
> Task :app:mergeDevDebugNativeDebugMetadata NO-SOURCE
> Task :data_source_memory:processResources NO-SOURCE
> Task :app:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :app:generateDevDebugBuildConfig
> Task :commons:preBuild UP-TO-DATE
> Task :commons:preDebugBuild UP-TO-DATE
> Task :commons:writeDebugAarMetadata
> Task :components:preBuild UP-TO-DATE
> Task :components:preDebugBuild UP-TO-DATE
> Task :components:writeDebugAarMetadata
> Task :data:preBuild UP-TO-DATE
> Task :data:preDevDebugBuild UP-TO-DATE
> Task :data:writeDevDebugAarMetadata
> Task :data_source_api:preBuild UP-TO-DATE
> Task :data_source_api:preDevDebugBuild UP-TO-DATE
> Task :data_source_api:writeDevDebugAarMetadata
> Task :data_source_app_preferences:preBuild UP-TO-DATE
> Task :data_source_app_preferences:preDebugBuild UP-TO-DATE
> Task :data_source_app_preferences:writeDebugAarMetadata
> Task :domain:preBuild UP-TO-DATE
> Task :domain:preDebugBuild UP-TO-DATE
> Task :domain:writeDebugAarMetadata
> Task :presentation:preBuild UP-TO-DATE
> Task :presentation:preDebugBuild UP-TO-DATE
> Task :presentation:writeDebugAarMetadata
> Task :app:checkDevDebugAarMetadata
> Task :app:generateDevDebugResValues
> Task :app:processDevDebugGoogleServices
> Task :commons:generateDebugResValues
> Task :commons:generateDebugResources
> Task :commons:packageDebugResources
> Task :components:generateDebugResValues
> Task :components:generateDebugResources
> Task :components:packageDebugResources
> Task :data:generateDevDebugResValues
> Task :data:generateDevDebugResources
> Task :data:packageDevDebugResources
> Task :data_source_api:generateDevDebugResValues
> Task :data_source_api:generateDevDebugResources
> Task :data_source_api:packageDevDebugResources
> Task :data_source_app_preferences:generateDebugResValues
> Task :data_source_app_preferences:generateDebugResources
> Task :data_source_app_preferences:packageDebugResources
> Task :domain:generateDebugResValues
> Task :domain:generateDebugResources
> Task :domain:packageDebugResources
> Task :presentation:generateDebugResValues
> Task :presentation:generateDebugResources
> Task :presentation:packageDebugResources
> Task :app:mapDevDebugSourceSetPaths
> Task :app:generateDevDebugResources
> Task :app:mergeDevDebugResources
> Task :app:packageDevDebugResources
> Task :app:parseDevDebugLocalResources
> Task :app:createDevDebugCompatibleScreenManifests
> Task :app:extractDeepLinksDevDebug
> Task :commons:extractDeepLinksDebug
> Task :commons:processDebugManifest
> Task :components:extractDeepLinksDebug
> Task :components:processDebugManifest
> Task :data:extractDeepLinksDevDebug
> Task :data:processDevDebugManifest
> Task :data_source_api:extractDeepLinksDevDebug
> Task :data_source_api:processDevDebugManifest
> Task :data_source_app_preferences:extractDeepLinksDebug
> Task :data_source_app_preferences:processDebugManifest
> Task :domain:extractDeepLinksDebug
> Task :data_source_memory:compileKotlin
> Task :data_source_memory:compileJava NO-SOURCE
> Task :data_source_memory:classes UP-TO-DATE
> Task :domain:processDebugManifest
> Task :presentation:extractDeepLinksDebug
> Task :presentation:processDebugManifest
> Task :data_source_memory:jar
> Task :commons:compileDebugLibraryResources
> Task :commons:parseDebugLocalResources
> Task :commons:generateDebugRFile
> Task :components:compileDebugLibraryResources
> Task :components:parseDebugLocalResources
> Task :components:generateDebugRFile
> Task :data:compileDevDebugLibraryResources
> Task :data:parseDevDebugLocalResources
> Task :data:generateDevDebugRFile
> Task :data_source_api:compileDevDebugLibraryResources
> Task :data_source_api:parseDevDebugLocalResources
> Task :data_source_api:generateDevDebugRFile
> Task :data_source_app_preferences:compileDebugLibraryResources
> Task :data_source_app_preferences:parseDebugLocalResources
> Task :data_source_app_preferences:generateDebugRFile
> Task :domain:compileDebugLibraryResources
> Task :app:processDevDebugMainManifest
> Task :domain:parseDebugLocalResources
> Task :domain:generateDebugRFile
> Task :presentation:compileDebugLibraryResources
> Task :presentation:parseDebugLocalResources
> Task :presentation:generateDebugRFile
> Task :commons:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :app:devDebugSentryGenerateIntegrationListTask
> Task :app:processDevDebugManifest
> Task :app:processDevDebugManifestForPackage
warn: removing resource com.iatiseguros.iati.dev:string/name without required default value.

> Task :app:processDevDebugResources
> Task :commons:javaPreCompileDebug
> Task :components:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :components:javaPreCompileDebug
> Task :data:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :data_source_api:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :data_source_api:generateDevDebugBuildConfig
> Task :commons:compileDebugKotlin
> Task :commons:compileDebugJavaWithJavac NO-SOURCE
> Task :commons:bundleLibCompileToJarDebug

> Task :data_source_api:kaptGenerateStubsDevDebugKotlin
w: Support for language version 2.0+ in kapt is in Alpha and must be enabled explicitly. Falling back to 1.9.

> Task :components:compileDebugKotlin
w: file:///opt/atlassian/pipelines/agent/build/components/src/main/java/com/iatiseguros/components/custom_views/CheckBoxCustomComposable.kt:51:38 'val LocalMinimumInteractiveComponentEnforcement: ProvidableCompositionLocal<Boolean>' is deprecated. Use LocalMinimumInteractiveComponentSize with Dp.Unspecified to turn off enforcement instead.
w: file:///opt/atlassian/pipelines/agent/build/components/src/main/java/com/iatiseguros/components/custom_views/CheckBoxTriggeredCustomComposable.kt:47:38 'val LocalMinimumInteractiveComponentEnforcement: ProvidableCompositionLocal<Boolean>' is deprecated. Use LocalMinimumInteractiveComponentSize with Dp.Unspecified to turn off enforcement instead.
w: file:///opt/atlassian/pipelines/agent/build/components/src/main/java/com/iatiseguros/components/custom_views/DropdownMenuCustomComposable.kt:52:18 'fun Modifier.menuAnchor(): Modifier' is deprecated. Use overload that takes MenuAnchorType and enabled parameters.

> Task :components:compileDebugJavaWithJavac NO-SOURCE
> Task :components:bundleLibCompileToJarDebug
> Task :data_source_api:javaPreCompileDevDebug
> Task :data_source_app_preferences:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :data_source_api:kaptDevDebugKotlin

> Task :data_source_app_preferences:kaptGenerateStubsDebugKotlin
w: Support for language version 2.0+ in kapt is in Alpha and must be enabled explicitly. Falling back to 1.9.

> Task :data_source_app_preferences:kaptDebugKotlin
warning: The following options were not recognized by any processor: '[dagger.hilt.android.internal.disableAndroidSuperclassValidation, dagger.hilt.android.internal.projectType, dagger.hilt.internal.useAggregatingRootProcessor, kapt.kotlin.generated]'

> Task :data_source_app_preferences:compileDebugKotlin
> Task :data_source_app_preferences:javaPreCompileDebug
> Task :data_source_api:compileDevDebugKotlin
> Task :data_source_app_preferences:compileDebugJavaWithJavac
> Task :data_source_api:compileDevDebugJavaWithJavac
> Task :data_source_api:transformDevDebugClassesWithAsm
> Task :data_source_api:bundleLibCompileToJarDevDebug
> Task :domain:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :data_source_app_preferences:transformDebugClassesWithAsm
> Task :data_source_app_preferences:bundleLibCompileToJarDebug
> Task :domain:javaPreCompileDebug
> Task :data:javaPreCompileDevDebug
> Task :data_source_api:bundleLibRuntimeToJarDevDebug
> Task :data_source_app_preferences:bundleLibRuntimeToJarDebug
> Task :commons:bundleLibRuntimeToJarDebug
> Task :presentation:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :presentation:generateDebugBuildConfig
> Task :presentation:javaPreCompileDebug
> Task :app:javaPreCompileDevDebug
> Task :app:collectExternalDevDebugDependenciesForSentry
> Task :app:mergeDevDebugShaders
> Task :app:compileDevDebugShaders NO-SOURCE
> Task :app:generateDevDebugAssets UP-TO-DATE
> Task :commons:mergeDebugShaders
> Task :commons:compileDebugShaders NO-SOURCE
> Task :commons:generateDebugAssets UP-TO-DATE
> Task :commons:packageDebugAssets
> Task :components:mergeDebugShaders
> Task :components:compileDebugShaders NO-SOURCE
> Task :components:generateDebugAssets UP-TO-DATE
> Task :components:packageDebugAssets
> Task :data:mergeDevDebugShaders
> Task :data:compileDevDebugShaders NO-SOURCE
> Task :data:generateDevDebugAssets UP-TO-DATE
> Task :data:packageDevDebugAssets
> Task :data_source_api:mergeDevDebugShaders
> Task :data_source_api:compileDevDebugShaders NO-SOURCE
> Task :data_source_api:generateDevDebugAssets UP-TO-DATE
> Task :data_source_api:packageDevDebugAssets
> Task :data_source_app_preferences:mergeDebugShaders
> Task :data_source_app_preferences:compileDebugShaders NO-SOURCE
> Task :data_source_app_preferences:generateDebugAssets UP-TO-DATE
> Task :data_source_app_preferences:packageDebugAssets
> Task :domain:mergeDebugShaders
> Task :domain:compileDebugShaders NO-SOURCE
> Task :domain:generateDebugAssets UP-TO-DATE
> Task :domain:packageDebugAssets
> Task :presentation:mergeDebugShaders
> Task :presentation:compileDebugShaders NO-SOURCE
> Task :presentation:generateDebugAssets UP-TO-DATE
> Task :presentation:packageDebugAssets
> Task :app:mergeDevDebugAssets
> Task :app:injectSentryDebugMetaPropertiesIntoAssetsDevDebug
> Task :app:compressDevDebugAssets
> Task :components:bundleLibRuntimeToJarDebug
> Task :domain:compileDebugKotlin
> Task :domain:compileDebugJavaWithJavac NO-SOURCE
> Task :domain:bundleLibCompileToJarDebug

> Task :data:kaptGenerateStubsDevDebugKotlin
w: Support for language version 2.0+ in kapt is in Alpha and must be enabled explicitly. Falling back to 1.9.

> Task :data:kaptDevDebugKotlin
> Task :domain:bundleLibRuntimeToJarDebug
> Task :data:compileDevDebugKotlin
> Task :data:compileDevDebugJavaWithJavac
> Task :data:transformDevDebugClassesWithAsm
> Task :data:bundleLibCompileToJarDevDebug
> Task :data:bundleLibRuntimeToJarDevDebug
> Task :app:desugarDevDebugFileDependencies
> Task :commons:processDebugJavaRes
> Task :components:processDebugJavaRes
> Task :data:processDevDebugJavaRes
> Task :data_source_api:processDevDebugJavaRes
> Task :data_source_app_preferences:processDebugJavaRes
> Task :domain:processDebugJavaRes

> Task :presentation:kaptGenerateStubsDebugKotlin
w: Support for language version 2.0+ in kapt is in Alpha and must be enabled explicitly. Falling back to 1.9.

> Task :app:checkDevDebugDuplicateClasses
> Task :presentation:kaptDebugKotlin
> Task :app:mergeExtDexDevDebug
> Task :presentation:compileDebugKotlin
> Task :presentation:compileDebugJavaWithJavac
> Task :presentation:transformDebugClassesWithAsm
> Task :presentation:bundleLibCompileToJarDebug
> Task :presentation:bundleLibRuntimeToJarDebug
> Task :presentation:processDebugJavaRes
> Task :app:mergeLibDexDevDebug
> Task :app:mergeDevDebugJniLibFolders
> Task :commons:mergeDebugJniLibFolders
> Task :commons:mergeDebugNativeLibs NO-SOURCE
> Task :commons:copyDebugJniLibsProjectOnly
> Task :components:mergeDebugJniLibFolders
> Task :components:mergeDebugNativeLibs NO-SOURCE
> Task :components:copyDebugJniLibsProjectOnly
> Task :data:mergeDevDebugJniLibFolders
> Task :data:mergeDevDebugNativeLibs NO-SOURCE
> Task :data:copyDevDebugJniLibsProjectOnly
> Task :data_source_api:mergeDevDebugJniLibFolders
> Task :data_source_api:mergeDevDebugNativeLibs NO-SOURCE
> Task :data_source_api:copyDevDebugJniLibsProjectOnly
> Task :data_source_app_preferences:mergeDebugJniLibFolders
> Task :data_source_app_preferences:mergeDebugNativeLibs NO-SOURCE
> Task :data_source_app_preferences:copyDebugJniLibsProjectOnly
> Task :domain:mergeDebugJniLibFolders
> Task :domain:mergeDebugNativeLibs NO-SOURCE
> Task :domain:copyDebugJniLibsProjectOnly
> Task :presentation:mergeDebugJniLibFolders
> Task :presentation:mergeDebugNativeLibs NO-SOURCE
> Task :presentation:copyDebugJniLibsProjectOnly
> Task :app:mergeDevDebugNativeLibs

> Task :app:stripDevDebugDebugSymbols
Unable to strip the following libraries, packaging them as they are: libandroidx.graphics.path.so, libdatastore_shared_counter.so, libopentok.so, libsentry-android.so, libsentry.so, libtwilio_voice_android_so.so.

> Task :app:validateSigningDevDebug
> Task :app:writeDevDebugAppMetadata
> Task :app:writeDevDebugSigningConfigVersions
> Task :data:stripDevDebugDebugSymbols NO-SOURCE
> Task :data:copyDevDebugJniLibsProjectAndLocalJars
> Task :data:extractDeepLinksForAarDevDebug

> Task :app:kaptGenerateStubsDevDebugKotlin
w: Support for language version 2.0+ in kapt is in Alpha and must be enabled explicitly. Falling back to 1.9.

> Task :data:extractDevDebugAnnotations
> Task :data:mergeDevDebugGeneratedProguardFiles
> Task :data:mergeDevDebugConsumerProguardFiles
> Task :data:prepareDevDebugArtProfile
> Task :data:prepareLintJarForPublish
> Task :data:mergeDevDebugJavaResource
> Task :data:syncDevDebugLibJars
> Task :data:bundleDevDebugAar
> Task :data:assembleDevDebug
> Task :data_source_api:stripDevDebugDebugSymbols NO-SOURCE
> Task :data_source_api:copyDevDebugJniLibsProjectAndLocalJars
> Task :data_source_api:extractDeepLinksForAarDevDebug
> Task :data_source_api:extractDevDebugAnnotations
> Task :data_source_api:mergeDevDebugGeneratedProguardFiles
> Task :data_source_api:mergeDevDebugConsumerProguardFiles
> Task :data_source_api:prepareDevDebugArtProfile
> Task :data_source_api:prepareLintJarForPublish
> Task :data_source_api:mergeDevDebugJavaResource
> Task :data_source_api:syncDevDebugLibJars
> Task :data_source_api:bundleDevDebugAar
> Task :data_source_api:assembleDevDebug

> Task :app:kaptDevDebugKotlin
warning: The following options were not recognized by any processor: '[dagger.fastInit, kapt.kotlin.generated]'

> Task :app:compileDevDebugKotlin
w: file:///opt/atlassian/pipelines/agent/build/app/src/main/java/com/iatiseguros/iati/feature/auth/start/StartScreen.kt:485:13 'fun ClickableText(text: AnnotatedString, modifier: Modifier = ..., style: TextStyle = ..., softWrap: Boolean = ..., overflow: TextOverflow = ..., maxLines: Int = ..., onTextLayout: (TextLayoutResult) -> Unit = ..., onClick: (Int) -> Unit): Unit' is deprecated. Use Text or BasicText and pass an AnnotatedString that contains a LinkAnnotation.
w: file:///opt/atlassian/pipelines/agent/build/app/src/main/java/com/iatiseguros/iati/feature/voice_call/NetworkCallActivity.kt:114:20 'fun getSerializableExtra(p0: String!): Serializable?' is deprecated. Deprecated in Java.

> Task :app:compileDevDebugJavaWithJavac
> Task :app:hiltAggregateDepsDevDebug
> Task :app:hiltJavaCompileDevDebug
> Task :app:processDevDebugJavaRes
> Task :app:transformDevDebugClassesWithAsm
> Task :app:dexBuilderDevDebug
> Task :app:mergeDevDebugGlobalSynthetics
> Task :app:mergeProjectDexDevDebug
> Task :app:mergeDevDebugJavaResource
> Task :app:packageDevDebug
> Task :app:assembleDevDebug
> Task :app:createDevDebugApkListingFileRedirect
ASM Instrumentation process wasn't able to resolve some classes, this means that
the instrumented classes might contain corrupt stack frames. Make sure the
dependencies that contain these classes are on the runtime or the provided
classpath. Otherwise, the jvm might fail to load the corrupt classes at runtime
when running in a jvm environment like unit tests.

Classes that weren't resolved:
> androidx.compose.animation.tooling.ComposeAnimatedProperty
> androidx.appcompat.view.ContextThemeWrapper
> io.sentry.instrumentation.file.SentryFileReader
> org.jetbrains.kotlin.psi.KtParameter
> org.jetbrains.kotlin.psi.KtExpression
> org.jetbrains.kotlin.ir.declarations.IrFile
> org.jetbrains.kotlin.ir.declarations.IrField
> org.jetbrains.kotlin.name.FqName
> org.jetbrains.kotlin.ir.declarations.IrDeclaration
> org.jetbrains.kotlin.ir.symbols.IrClassSymbol
-- 78 more classes --


BUILD SUCCESSFUL in 5m 34s
212 actionable tasks: 212 executed
Configuration cache entry stored.

+ ls -R app/build/outputs/apk/
app/build/outputs/apk/:
dev

app/build/outputs/apk/dev:
debug

app/build/outputs/apk/dev/debug:
app-dev-debug.apk
output-metadata.json

+ docker container run \
   --volume=/opt/atlassian/pipelines/agent/build:/opt/atlassian/pipelines/agent/build \
   --volume=/opt/atlassian/pipelines/agent/ssh:/opt/atlassian/pipelines/agent/ssh:ro \
   --volume=/opt/atlassian/pipelines/bin/docker:/usr/local/bin/docker:ro \
   --volume=/opt/atlassian/pipelines/agent/build/.bitbucket/pipelines/generated/pipeline/pipes:/opt/atlassian/pipelines/agent/build/.bitbucket/pipelines/generated/pipeline/pipes \
   --volume=/opt/atlassian/pipelines/agent/build/.bitbucket/pipelines/generated/pipeline/pipes/mobiledevinc/maestro-cloud-upload:/opt/atlassian/pipelines/agent/build/.bitbucket/pipelines/generated/pipeline/pipes/mobiledevinc/maestro-cloud-upload \
   --workdir=$(pwd) \
   --label=org.bitbucket.pipelines.system=true \
   --env=BITBUCKET_STEP_TRIGGERER_UUID="$BITBUCKET_STEP_TRIGGERER_UUID" \
   --env=BITBUCKET_REPO_FULL_NAME="$BITBUCKET_REPO_FULL_NAME" \
   --env=BITBUCKET_GIT_HTTP_ORIGIN="$BITBUCKET_GIT_HTTP_ORIGIN" \
   --env=BITBUCKET_PROJECT_UUID="$BITBUCKET_PROJECT_UUID" \
   --env=BITBUCKET_REPO_IS_PRIVATE="$BITBUCKET_REPO_IS_PRIVATE" \
   --env=BITBUCKET_WORKSPACE="$BITBUCKET_WORKSPACE" \
   --env=BITBUCKET_SSH_KEY_FILE="$BITBUCKET_SSH_KEY_FILE" \
   --env=BITBUCKET_REPO_OWNER_UUID="$BITBUCKET_REPO_OWNER_UUID" \
   --env=BITBUCKET_BRANCH="$BITBUCKET_BRANCH" \
   --env=BITBUCKET_REPO_UUID="$BITBUCKET_REPO_UUID" \
   --env=BITBUCKET_PROJECT_KEY="$BITBUCKET_PROJECT_KEY" \
   --env=BITBUCKET_REPO_SLUG="$BITBUCKET_REPO_SLUG" \
   --env=CI="$CI" \
   --env=BITBUCKET_REPO_OWNER="$BITBUCKET_REPO_OWNER" \
   --env=BITBUCKET_STEP_RUN_NUMBER="$BITBUCKET_STEP_RUN_NUMBER" \
   --env=BITBUCKET_BUILD_NUMBER="$BITBUCKET_BUILD_NUMBER" \
   --env=BITBUCKET_GIT_SSH_ORIGIN="$BITBUCKET_GIT_SSH_ORIGIN" \
   --env=BITBUCKET_PIPELINE_UUID="$BITBUCKET_PIPELINE_UUID" \
   --env=BITBUCKET_COMMIT="$BITBUCKET_COMMIT" \
   --env=BITBUCKET_CLONE_DIR="$BITBUCKET_CLONE_DIR" \
   --env=PIPELINES_JWT_TOKEN="$PIPELINES_JWT_TOKEN" \
   --env=BITBUCKET_STEP_UUID="$BITBUCKET_STEP_UUID" \
   --env=BITBUCKET_DOCKER_HOST_INTERNAL="$BITBUCKET_DOCKER_HOST_INTERNAL" \
   --env=DOCKER_HOST="tcp://host.docker.internal:2375" \
   --env=BITBUCKET_PIPE_SHARED_STORAGE_DIR="/opt/atlassian/pipelines/agent/build/.bitbucket/pipelines/generated/pipeline/pipes" \
   --env=BITBUCKET_PIPE_STORAGE_DIR="/opt/atlassian/pipelines/agent/build/.bitbucket/pipelines/generated/pipeline/pipes/mobiledevinc/maestro-cloud-upload" \
   --env=MDEV_API_KEY="$MDEV_API_KEY" \
   --env=MDEV_APP_FILE="app/build/outputs/apk/dev/debug/app-dev-debug.apk" \
   --env=MDEV_BRANCH="$BITBUCKET_BRANCH" \
   --env=MDEV_ENV="APP_ID=com.iatiseguros.iati.dev
USER_ID=53330196G
" \
   --env=MDEV_IS_ASYNC="false" \
   --env=MDEV_PROJECT_ID="$MDEV_PROJECT_ID" \
   --env=MDEV_PULL_REQUEST_ID="$BITBUCKET_PR_ID" \
   --env=MDEV_REPO_NAME="$BITBUCKET_REPO_SLUG" \
   --env=MDEV_UPLOAD_NAME="$BITBUCKET_BUILD_NUMBER" \
   --add-host="host.docker.internal:$BITBUCKET_DOCKER_HOST_INTERNAL" \
   mobiledevinc/maestro-cloud-upload:1.2.0
Unable to find image 'mobiledevinc/maestro-cloud-upload:1.2.0' locally
1.2.0: Pulling from mobiledevinc/maestro-cloud-upload
8f0fdd3eaac0: Pulling fs layer
bc95eea3d508: Pulling fs layer
affca717d1d2: Pulling fs layer
ff98ecda7cb4: Pulling fs layer
5686a72234f0: Pulling fs layer
9d8d05d9b26a: Pulling fs layer
14836d503a9d: Pulling fs layer
af83f4c47972: Pulling fs layer
bd23a0a08cde: Pulling fs layer
ff98ecda7cb4: Waiting
af83f4c47972: Waiting
5686a72234f0: Waiting
9d8d05d9b26a: Waiting
14836d503a9d: Waiting
bd23a0a08cde: Waiting
affca717d1d2: Verifying Checksum
affca717d1d2: Download complete
bc95eea3d508: Verifying Checksum
bc95eea3d508: Download complete
5686a72234f0: Verifying Checksum
5686a72234f0: Download complete
9d8d05d9b26a: Download complete
14836d503a9d: Verifying Checksum
14836d503a9d: Download complete
8f0fdd3eaac0: Verifying Checksum
8f0fdd3eaac0: Download complete
bd23a0a08cde: Verifying Checksum
bd23a0a08cde: Download complete
af83f4c47972: Download complete
ff98ecda7cb4: Verifying Checksum
ff98ecda7cb4: Download complete
8f0fdd3eaac0: Pull complete
bc95eea3d508: Pull complete
affca717d1d2: Pull complete
ff98ecda7cb4: Pull complete
5686a72234f0: Pull complete
9d8d05d9b26a: Pull complete
14836d503a9d: Pull complete
af83f4c47972: Pull complete
bd23a0a08cde: Pull complete
Digest: sha256:42c38da6da8bd7f51e144a505d6a759283823a11bf2f04697f9c28c53934b487
Status: Downloaded newer image for mobiledevinc/maestro-cloud-upload:1.2.0
+ echo APP_ID=com.iatiseguros.iati.dev USER_ID=53330196G
+ tr \n \n
+ envs=APP_ID=com.iatiseguros.iati.dev USER_ID=53330196G
+ env_list=
+ env_list= -e APP_ID=com.iatiseguros.iati.dev 
+ env_list= -e APP_ID=com.iatiseguros.iati.dev  -e USER_ID=53330196G 
+ [ false = true ]
+ curl -Ls https://get.maestro.mobile.dev
+ bash
* Create distribution directories...
* Downloading...
#=#=#                                                                         

#######                                                                   10.4%
##################                                                        25.6%
#############################                                             40.6%
############################################                              61.8%
###########################################################               82.4%
######################################################################## 100.0%
* Checking archive integrity...
* Extracting archive...
* Remove previous installation (if any)
* Copying archive contents...
* Cleaning up...

Attempt update of interactive bash profile on regular UNIX...
Adding maestro to your PATH in /root/.bashrc
Adding maestro to your PATH in /root/.zshrc

Installation was successful!
Please open a new terminal OR run the following in the existing one:

    export PATH="$PATH":"$HOME/.maestro/bin"

Then run the following command:

    maestro

Welcome to Maestro!
+ export PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.maestro/bin
+ [ ! -z  ]
+ maestro cloud --apiKey rb_5Oy4I5vCgXqmHLut7GyhDCf2acsOepo8ZWKz9Umf8AlJO9gmvUNNJGncjn1kSM9ZYUYS20ufUTWKRNPOVVmP0654uoAKNktO6ZG --branch discovery/maestro --repoName iatiapp_android --name 482 -e APP_ID=com.iatiseguros.iati.dev -e USER_ID=53330196G app/build/outputs/apk/dev/debug/app-dev-debug.apk
CI detected, analytics was automatically enabled.
To opt out, set MAESTRO_CLI_NO_ANALYTICS environment variable to any value before running Maestro.
special characters are not allowed
 at [Source: (StringReader); line: 1, column: 1]

The stack trace was:
java.lang.RuntimeException: special characters are not allowed
 at [Source: (StringReader); line: 1, column: 1]
	at com.fasterxml.jackson.databind.MappingIterator._handleIOException(MappingIterator.java:420)
	at com.fasterxml.jackson.databind.MappingIterator.hasNext(MappingIterator.java:190)
	at kotlin.sequences.SequencesKt___SequencesKt.toList(_Sequences.kt:809)
	at maestro.orchestra.yaml.YamlCommandReader.readConfigAndCommands(YamlCommandReader.kt:95)
	at maestro.orchestra.yaml.YamlCommandReader.readConfig(YamlCommandReader.kt:60)
	at maestro.cli.util.FileUtils.isWebFlow(FileUtils.kt:25)
	at maestro.cli.command.CloudCommand.validateFiles(CloudCommand.kt:265)
	at maestro.cli.command.CloudCommand.call(CloudCommand.kt:179)
	at maestro.cli.command.CloudCommand.call(CloudCommand.kt:42)
	at picocli.CommandLine.executeUserObject(CommandLine.java:1953)
	at picocli.CommandLine.access$1300(CommandLine.java:145)
	at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)
	at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)
	at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)
	at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
	at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)
	at maestro.cli.DisableAnsiMixin$Companion.executionStrategy(DisableAnsiMixin.kt:22)
	at picocli.CommandLine.execute(CommandLine.java:2078)
	at maestro.cli.AppKt.main(App.kt:143)
Caused by: com.fasterxml.jackson.dataformat.yaml.JacksonYAMLParseException: special characters are not allowed
 at [Source: (StringReader); line: 1, column: 1]
	at com.fasterxml.jackson.dataformat.yaml.YAMLParser.nextToken(YAMLParser.java:443)
	at com.fasterxml.jackson.databind.MappingIterator.hasNextValue(MappingIterator.java:246)
	at com.fasterxml.jackson.databind.MappingIterator.hasNext(MappingIterator.java:186)
	... 17 more
Caused by: unacceptable code point '�' (0x3) special characters are not allowed
in "'reader'", position 2
	at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:208)
	at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:173)
	at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:168)
	at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:123)
	at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.java:1204)
	at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:320)
	at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:238)
	at org.yaml.snakeyaml.parser.ParserImpl$ParseImplicitDocumentStart.produce(ParserImpl.java:210)
	at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
	at org.yaml.snakeyaml.parser.ParserImpl.getEvent(ParserImpl.java:170)
	at com.fasterxml.jackson.dataformat.yaml.YAMLParser.nextToken(YAMLParser.java:437)
	... 19 more

Skipping cache upload for failed step
Searching for files matching artifact pattern .bitbucket/pipelines/generated/pipeline/pipes/**
Artifact pattern .bitbucket/pipelines/generated/pipeline/pipes/** matched 0 files

Searching for test report files in directories named [test-results, failsafe-reports, test-reports, TestResults, surefire-reports] down to a depth of 4
Finished scanning for test reports. Found 0 test report files.
Merged test suites, total number tests is 0, with 0 failures and 0 errors.

pipelineLog-{f80ed97c-7636-4a4b-afab-bf66e9bc8206}.txt

Maestro version

1.39.9

How did you install Maestro?

install script (https://get.maestro.mobile.dev)

Anything else?

There is an issue with Robin's Bitbucket pipeline CI integration.

The command generated and executed by the pipeline is:
maestro cloud --apiKey $MDEV_API_KEY --branch discovery/maestro --repoName iatiapp_android --name 482 app/build/outputs/apk/dev/debug/app-dev-debug.apk

That command is quite different from the one written in the Robin docs because it doesn't include project-id and the .yaml file:
maestro cloud --api-key <ROBIN_API_KEY> --project-id <ROBIN_PROJECT_ID> sample.apk android-flow.yaml

The error shown is:

java.lang.RuntimeException: special characters are not allowed
Caused by: unacceptable code point '' (0x3) special characters are not allowed

Which I think that is generated because the first command is not specifying any maestro test and this emptiness ' ' is causing that problem.
I tried using Maestro Cloud versions 1.0.0, 1.1.0 and 1.2.0 but the same problem in both of them.

Thanks in advance!

Copy link

linear bot commented Feb 4, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant