Skip to content

Conversation

@srid
Copy link
Member

@srid srid commented Oct 21, 2025

  • chore(ci): Add vira configuration
  • fix

@srid
Copy link
Member Author

srid commented Oct 21, 2025

error: builder for '/nix/store/mmqncdxjs9jg0bab0dx51nig7fhbjnql-grafana-test.drv' failed with exit code 1;
       last 25 log lines:
       > [gf1        ] logger=settings t=2025-10-21T14:19:28.495307492Z level=info msg="Config overridden from command line" arg="paths.data=/build/data/gf1"
       > [gf1   ] logger=settings t=2025-10-21T14:19:28.495310929Z level=info msg="Config overridden from command line" arg="paths.plugins=/nix/store/8c937sn3zczyjjfbm3xnii9bzzc233pp-grafana-plugins"
       > [gf1    ] logger=settings t=2025-10-21T14:19:28.495313984Z level=info msg="Config overridden from command line" arg="paths.provisioning=/nix/store/bgmbqv91y6vxny8xhmk963px7aqn2j8j-grafana-provisioning"
       > [gf1  ] logger=settings t=2025-10-21T14:19:28.495317Z level=info msg=Target target=[all]
       > [gf1 ] logger=settings t=2025-10-21T14:19:28.495323051Z level=info msg="Path Home" path=/nix/store/3frwg60zwlr2idcjl85kj7sc6iw6s241-grafana-12.0.2+security-01/share/grafana
       > [gf1    ] logger=settings t=2025-10-21T14:19:28.495326848Z level=info msg="Path Data" path=/build/data/gf1
       > [gf1 ] logger=settings t=2025-10-21T14:19:28.495330565Z level=info msg="Path Logs" path=/nix/store/3frwg60zwlr2idcjl85kj7sc6iw6s241-grafana-12.0.2+security-01/share/grafana/data/log
       > [gf1   ] logger=settings t=2025-10-21T14:19:28.495334602Z level=info msg="Path Plugins" path=/nix/store/8c937sn3zczyjjfbm3xnii9bzzc233pp-grafana-plugins
       > [gf1  ] logger=settings t=2025-10-21T14:19:28.49533849Z level=info msg="Path Provisioning" path=/nix/store/bgmbqv91y6vxny8xhmk963px7aqn2j8j-grafana-provisioning
       > [gf1 ] logger=settings t=2025-10-21T14:19:28.495342257Z level=info msg="App mode production"
       > [gf1    ] logger=featuremgmt t=2025-10-21T14:19:28.504156686Z level=info msg=FeatureToggles newPDFRendering=true cloudWatchNewLabelParsing=true azureMonitorPrometheusExemplars=true reportingUseRawTimeRange=true alertingRuleRecoverDeleted=true prometheusUsesCombobox=true influxdbBackendMigration=true alertingRulePermanentlyDelete=true panelMonitoring=true formatString=true unifiedStorageSearchPermissionFiltering=true logsInfiniteScrolling=true correlations=true dashgpt=true awsAsyncQueryCaching=true alertingRuleVersionHistoryRestore=true ssoSettingsSAML=true failWrongDSUID=true logsContextDatasourceUi=true logsPanelControls=true logRowsPopoverMenu=true newDashboardSharingComponent=true promQLScope=true alertingApiServer=true alertingInsights=true dashboardScene=true alertingQueryAndExpressionsStepMode=true recoveryThreshold=true cloudWatchCrossAccountQuerying=true dataplaneFrontendFallback=true alertingNotificationsStepMode=true externalCorePlugins=true dashboardSceneSolo=true kubernetesClientDashboardsFolders=true newFiltersUI=true useSessionStorageForRedirection=true alertingUIOptimizeReducer=true dashboardSceneForViewers=true cloudWatchRoundUpEndTime=true pluginsDetailsRightPanel=true alertRuleRestore=true lokiQuerySplitting=true transformationsRedesign=true ssoSettingsApi=true grafanaconThemes=true publicDashboardsScene=true tlsMemcached=true annotationPermissionUpdate=true addFieldFromCalculationStatFunctions=true alertingSimplifiedRouting=true lokiLabelNamesQueryApi=true azureMonitorEnableUserAuth=true lokiStructuredMetadata=true groupToNestedTableTransformation=true onPremToCloudMigrations=true kubernetesPlaylists=true lokiQueryHints=true angularDeprecationUI=true preinstallAutoUpdate=true nestedFolders=true pinNavItems=true logsExploreTableVisualisation=true recordedQueriesMulti=true prometheusAzureOverrideAudience=true unifiedRequestLog=true
       > [gf1  ] logger=sqlstore t=2025-10-21T14:19:29.393485786Z level=info msg="Connecting to DB" dbtype=sqlite3
       > [gf1        ] logger=sqlstore t=2025-10-21T14:19:29.393543793Z level=info msg="Creating SQLite database file" path=/build/data/gf1/grafana.db
       > [gf1  ] logger=migrator t=2025-10-21T14:19:29.43705475Z level=info msg="Locking database"
       > [gf1        ] logger=migrator t=2025-10-21T14:19:29.437084395Z level=info msg="Starting DB migrations"
       > [gf1 ] logger=migrator t=2025-10-21T14:19:29.43749207Z level=info msg="Executing migration" id="create migration_log table"
       > [gf1     ] logger=migrator t=2025-10-21T14:19:29.437699515Z level=info msg="Migration successfully executed" id="create migration_log table" duration=207.505µs
       > [gf1     ] logger=migrator t=2025-10-21T14:19:32.970177517Z level=info msg="Executing migration" id="create user table"
       > [gf1     ] logger=migrator t=2025-10-21T14:19:32.970441757Z level=info msg="Migration successfully executed" id="create user table" duration=265.192µs
       > [gf1      ] logger=migrator t=2025-10-21T14:19:40.211668217Z level=info msg="Executing migration" id="add unique index user.login"
       > [gf1   ] logger=migrator t=2025-10-21T14:19:40.211856115Z level=info msg="Migration successfully executed" id="add unique index user.login" duration=189.661µs
       > [gf1    ] logger=migrator t=2025-10-21T14:19:47.4110623Z level=info msg="Executing migration" id="add unique index user.email"
       > [gf1     ] logger=migrator t=2025-10-21T14:19:47.411345856Z level=info msg="Migration successfully executed" id="add unique index user.email" duration=285.198µs
       > [gf1    ] logger=migrator t=2025-10-21T14:20:08.513150799Z level=info msg="Executing migration" id="drop index UQE_user_login - v1"
       > [gf1        ] logger=migrator t=2025-10-21T14:20:08.51342685Z level=info msg="Migration successfully executed" id="drop index UQE_user_login - v1" duration=277.495µs
       For full logs, run:
         nix log /nix/store/mmqncdxjs9jg0bab0dx51nig7fhbjnql-grafana-test.drv

@srid
Copy link
Member Author

srid commented Oct 21, 2025

Note: I will not merge this (along with removal of GitHub workflow) until juspay/vira#111 is implemented. Then, my hosted Vira can auto build PRs (made using branchces on this repo only) and we can auto-merge after Vira signs off CI status.

Regarding the grafana error, @shivaraj-bh, we should address that separately.

@srid
Copy link
Member Author

srid commented Oct 21, 2025

On rebuild, the log has errors:

      > [gf1  ] logger=provisioning.dashboard t=2025-10-21T14:49:02.176055915Z level=info msg="finished to provision dashboards"
       > [gf1 ] logger=grafana-apiserver t=2025-10-21T14:49:02.176257068Z level=error msg="Unhandled Error" err="apiserver was unable to write a JSON response: http: Handler timeout" logger=UnhandledError
       > [gf1     ] logger=grafana-apiserver t=2025-10-21T14:49:02.177349132Z level=error msg="Unhandled Error" err="apiserver received an error that is not an metav1.Status: &errors.errorString{s:\"http: Handler timeout\"}: http: Handler timeout" logger=UnhandledError
       > [gf1        ] logger=plugin.grafana-clickhouse-datasource t=2025-10-21T14:49:02.177747581Z level=error msg="plugin process exited" plugin=/nix/store/wzfrl2s6a1jdxmi0jb84r54r0843a5cs-grafana-clickhouse-datasource-4.8.2/gpx_clickhouse_linux_amd64 id=41 error="signal: terminated"
       > [gf1  ] logger=grafana-apiserver t=2025-10-21T14:49:02.1787939Z level=error msg="Unhandled Error" err="apiserver was unable to write a fallback JSON response: http: Handler timeout" logger=UnhandledError
       > [gf1      ] logger=grafana-apiserver t=2025-10-21T14:49:02.17997507Z level=error msg="Post-timeout activity" logger=UnhandledError timeElapsed=3.836351ms method=PUT path=/apis/dashboard.grafana.app/v0alpha1/namespaces/default/dashboards/adnyzrfa5cqv4c result=<nil>
       > [gf1     ] logger=grafana-apiserver t=2025-10-21T14:49:02.212465293Z level=error msg="Unhandled Error" err="FinishRequest: post-timeout activity - time-elapsed: 36.231749ms, panicked: false, err: SQL query for existing dashboard by UID failed: context canceled, panic-reason: <nil>" logger=UnhandledError

@srid
Copy link
Member Author

srid commented Dec 8, 2025

Currently stuck with building python3.13-chromadb on macOS.

image

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

Successfully merging this pull request may close these issues.

2 participants