Skip to content

TestServiceSoftware/TestAndroidSoftwareIngestion is flaky #35847

@jahzielv

Description

@jahzielv

Fleet version: main as of 11-17-2025

Web browser and operating system: N/A


💥  Actual behavior

TestServiceSoftware/TestAndroidSoftwareIngestion fails during the daily CI runs.

Specific error:

level=error user= method=POST uri="/api/v1/fleet/android_enterprise/pubsub?token=YBdRqdsOdDpydOlC-Oh4Bnbbs4wlaojutapQr5BKB5UXGtlhpDz_ylfZZIyS1ly-d7R3S7Gf6MC3iy4_ty3slA%3D%3D" took=2.510352151s err="enrolling Android host: enrolling Android host: new Android host MDM info: upsert mdm solution: Error 1146 (42S02): Table 'server_mdm_android_tests_CreateNamedMySQLDS.mobile_device_management_solutions' doesn't exist"
    http.go:52: 
        	Error Trace:	/home/runner/work/fleet/fleet/server/test/httptest/http.go:52
        	            				/home/runner/work/fleet/fleet/server/mdm/android/tests/http.go:50
        	            				/home/runner/work/fleet/fleet/server/mdm/android/tests/http.go:37
        	            				/home/runner/work/fleet/fleet/server/mdm/android/tests/http.go:28
        	            				/home/runner/work/fleet/fleet/server/mdm/android/tests/integration_software_test.go:103
        	            				/opt/hostedtoolcache/go/1.25.3/x64/src/reflect/value.go:365
        	            				/home/runner/go/pkg/mod/github.com/stretchr/testify@v1.11.1/suite/suite.go:196
        	Error:      	Not equal: 
        	            	expected: 200
        	            	actual  : 422
        	Test:       	TestServiceSoftware/TestAndroidSoftwareIngestion
        	Messages:   	Fleet jsonError: {Message:Validation Failed Code:0 Errors:[map[name:base reason:Error 1146 (42S02): Table 'server_mdm_android_tests_CreateNamedMySQLDS.mobile_device_management_solutions' doesn't exist]] UUID:}

🛠️ To fix

Feels like a race condition during test setup? Hard to tell because local and randokiller tests couldn't reproduce.

🧑‍💻  Steps to reproduce

🕯️ More info (optional)

First step is being able to reproduce this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    #g-softwareSoftware product group:productProduct Design department (shows up on 🦢 Drafting board)bugSomething isn't working as documentedflaky-ci-testsLabel to flag issues related to Flaky tests in CI

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions