We've an app created according https://develop.sentry.dev/integrations/github/
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed All Stories
All Stories
All Stories
Mar 25 2023
Mar 25 2023
dereckson added a revision to T1806: Integrate Sentry and GitHub: D2920: Integrate Sentry and GitHub.
Upgrade Git to 2.40.0
$ arc shell $ php -v PHP 8.2.4 (cli) (built: Mar 25 2023 14:07:45) (NTS) Copyright (c) The PHP Group Zend Engine v4.2.4, Copyright (c) Zend Technologies with Zend OPcache v8.2.4, Copyright (c), by Zend Technologies
Upgrade to PHP 8.2.4
arc works like a charm on Dwellers.
An important reuser is the nasqueron/arcanist image.
dereckson closed T1805: Sentry can't send mail anymore, a subtask of T1791: Refresh Sentry installation, as Resolved.
Update EXIM containers uid/gid
Test mail received with D2918:
Works like a charm, but by the way sentry_smtp logs every mail dialog (excepted mail content), not sure we want that to stdout (and so docker logs).
Complector
$ salt docker-002 state.sls roles/paas-docker/containers/exim docker-002: ---------- ID: /srv/exim/sentry_smtp Function: file.directory Result: True Comment: Directory /srv/exim/sentry_smtp updated Started: 14:08:15.648086 Duration: 466.741 ms Changes: ---------- /srv/exim/sentry_smtp: ---------- group: 101 user: 101 group: 101 user: 101 ---------- ID: /srv/exim/sentry_smtp/spool Function: file.directory Result: True Comment: Directory /srv/exim/sentry_smtp/spool updated Started: 14:08:16.115024 Duration: 4.355 ms Changes: ---------- /srv/exim/sentry_smtp/spool: ---------- group: 101 user: 101 group: 101 user: 101 ---------- ID: /srv/exim/sentry_smtp/log Function: file.directory Result: True Comment: Directory /srv/exim/sentry_smtp/log updated Started: 14:08:16.119537 Duration: 4.736 ms Changes: ---------- /srv/exim/sentry_smtp/log: ---------- group: 101 user: 101 group: 101 user: 101 […]
dereckson added a revision to T1805: Sentry can't send mail anymore: D2918: Update EXIM containers uid/gid.
Enable sockets extension
Dwellers
$ docker build . […] => => writing image sha256:a6682dbc98cdbbd455263de28a47da8147a06d57eee249d47493a87449b97d4e
The "could not open panic log" could also mean error also occurs for /srv/exim/sentry_smtp/log
docker-002
$ docker logs sentry_smtp 10 LOG: MAIN 10 exim 4.92 daemon started: pid=10, no queue runs, listening for SMTP on port 25 (IPv6 and IPv4) 11 LOG: host_lookup_failed MAIN 11 no host name found for IP address 172.18.3.19 11 LOG: MAIN PANIC DIE 11 Failed to create directory "/var/spool/exim4/input": Permission denied 11 11 2023-03-14 23:14:08 1pcDqK-00000B-Rm Failed to create directory "/var/spool/exim4/input": Permission denied 11 11 2023-03-14 23:14:08 1pcDqK-00000B-Rm Failed to create directory "/var/spool/exim4/input": Permission denied 11 11 exim: could not open panic log - aborting: see message(s) above 12 LOG: host_lookup_failed MAIN 12 no host name found for IP address 172.18.3.19 12 LOG: MAIN PANIC DIE 12 Failed to create directory "/var/spool/exim4/input": Permission denied 12 12 2023-03-14 23:15:31 1pcDrf-00000C-5i Failed to create directory "/var/spool/exim4/input": Permission denied 12 12 2023-03-14 23:15:31 1pcDrf-00000C-5i Failed to create directory "/var/spool/exim4/input": Permission denied 12 12 exim: could not open panic log - aborting: see message(s) above 13 LOG: host_lookup_failed MAIN 13 no host name found for IP address 172.18.3.21 13 LOG: MAIN PANIC DIE 13 Failed to create directory "/var/spool/exim4/input": Permission denied 13 13 2023-03-20 12:00:02 1peEBG-00000D-9c Failed to create directory "/var/spool/exim4/input": Permission denied 13 13 2023-03-20 12:00:02 1peEBG-00000D-9c Failed to create directory "/var/spool/exim4/input": Permission denied 13 13 exim: could not open panic log - aborting: see message(s) above
In T1798#25799, @dereckson wrote:Jenkins PHP agent doesn't have this either.
CI relevant logs:
dereckson reopened T1800: Ensure PHP sockets extension is available everywhere, a subtask of T1798: Upgrade php-amqplib/php-amqplib in keruald/broker, as Open.
Rebased against D2915.
Upgrade to PHP 8.1.17
Dwellers
$ docker build . […] => writing image sha256:e7278eae680aae23a401a6548a76c5342428b01125a37f8ff81328fb4bf93c25 0.0s
Jenkins PHP agent doesn't have this either.
Drop unused dev dependencies
dereckson closed T1804: Align access levels for GateController::getServiceName() as Resolved by committing rNOTIFc3a6214efbc5: Align GateController::getServiceName visibility.
dereckson committed rNOTIFc3a6214efbc5: Align GateController::getServiceName visibility (authored by dereckson).
Align GateController::getServiceName visibility
dereckson updated the task description for T1804: Align access levels for GateController::getServiceName().
dereckson moved T1804: Align access levels for GateController::getServiceName() from Backlog to Bugs on the Notifications center board.
dereckson triaged T1804: Align access levels for GateController::getServiceName() as Unbreak Now! priority.
Two changes for the ports build workflow:
dereckson committed rOPS12f75d2e50c6: Build Apache Ant from ports on FreeBSD devserver (authored by dereckson).
Build Apache Ant from ports on FreeBSD devserver
dereckson added a reverting change for D2910: Bump OpenJDK version to 19 on devserver: rOPS9429d23a59ac: Revert "Bump OpenJDK version to 19 on devserver".
dereckson added a reverting change for rOPS451ece6b1803: Bump OpenJDK version to 19 on devserver: rOPS9429d23a59ac: Revert "Bump OpenJDK version to 19 on devserver".
dereckson committed rOPS9429d23a59ac: Revert "Bump OpenJDK version to 19 on devserver" (authored by dereckson).
Revert "Bump OpenJDK version to 19 on devserver"
dereckson added a reverting change for rOPS451ece6b1803: Bump OpenJDK version to 19 on devserver: D2911: Revert "Bump OpenJDK version to 19 on devserver".
dereckson added a reverting change for D2910: Bump OpenJDK version to 19 on devserver: D2911: Revert "Bump OpenJDK version to 19 on devserver".
dereckson committed rOPS451ece6b1803: Bump OpenJDK version to 19 on devserver (authored by dereckson).
Bump OpenJDK version to 19 on devserver
dereckson retitled D2910: Bump OpenJDK version to 19 on devserver from Bump OpenJDK version to 19 to Bump OpenJDK version to 19 on devserver.
Fix php-amqplib deprecations
DorianWinty committed rNOTIF57e8fae268ce: Declare GateController as an abstract (authored by DorianWinty).
Declare GateController as an abstract
DorianWinty committed rNOTIFe564474dc768: Add missing parameters return type of each function (authored by DorianWinty).
Add missing parameters return type of each function
restore array phpDocs
To configure Airflow, we can need a PostgreSQL DSN.
Current status
docker-002
$ docker pull nasqueron/sentry […] $ sentry nasqueron upgrade […] Running migrations for default Operations to perform: Apply all migrations: admin, auth, contenttypes, nodestore, replays, sentry, sessions, sites, social_auth Running migrations: Applying sentry.0380_backfill_monitor_env_initial... OK Applying sentry.0381_fix_org_slug_casing... OK Applying sentry.0382_add_installation_id_to_service_hook... OK Applying sentry.0383_mv_user_avatar... OK Applying sentry.0384_backfill_installation_ids... OK Applying sentry.0385_service_hook_hc_fk... OK Applying sentry.0386_backfill_monitor_env_checkins... OK Applying sentry.0387_add_until_escalating_column_to_groupsnooze... OK Applying sentry.0388_remove_unique_constraint_artifact_bundle... OK Applying sentry.0389_nullify_debug_id_artifact_bundle_field... OK Applying sentry.0390_remove_field_in_bundle_model... OK Applying sentry.0391_remove_field_in_bundle_model_from_db... OK Applying sentry.0392_add_date_uploaded_field_to_bundle... OK Applying sentry.0393_create_groupforecast_table... OK Applying sentry.0394_set_none_date_uploaded_to_date_added... OK Creating missing DSNs Correcting Group.num_comments counter $ deploy-container sentry […]
Pull nasqueron/sentry image
Alphabetic order
dereckson added a revision to T1791: Refresh Sentry installation: D2908: Pull nasqueron/sentry image.
Mar 24 2023
Mar 24 2023
docker-002
$ docker logs sentry_snuba_api 2023-03-24 20:58:44,295 Initializing Snuba... 2023-03-24 20:58:47,701 Snuba initialization took 3.4077668339014053s 2023-03-24 20:58:48,246 Initializing Snuba... 2023-03-24 20:58:51,448 Snuba initialization took 3.2032665936276317s *** Starting uWSGI 2.0.20 (64bit) on [Fri Mar 24 20:58:51 2023] *** compiled with version: 8.3.1 20190311 (Red Hat 8.3.1-3) on 11 November 2021 18:13:24 os: Linux-5.14.0-162.12.1.el9_1.0.2.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jan 30 22:14:42 UTC 2023 nodename: b225edf80078 machine: x86_64 clock source: unix pcre jit disabled detected number of CPU cores: 8 current working directory: /usr/src/snuba detected binary path: /usr/local/bin/python your memory page size is 4096 bytes detected max file descriptor number: 1073741816 lock engine: pthread robust mutexes thunder lock: enabled uwsgi socket 0 bound to TCP address 0.0.0.0:1218 fd 3 Python version: 3.8.13 (default, Aug 23 2022, 09:42:19) [GCC 10.2.1 20210110] --- Python VM already initialized --- Python main interpreter initialized at 0x564efb872870 python threads support enabled your server socket listen backlog is limited to 100 connections your mercy for graceful operations on workers is 60 seconds mapped 145808 bytes (142 KB) for 1 cores *** Operational MODE: single process *** initialized 38 metrics spawned uWSGI master process (pid: 1) spawned uWSGI worker 1 (pid: 28, cores: 1) metrics collector thread started 2023-03-24 20:58:51,868 Initializing Snuba... WSGI app 0 (mountpoint='') ready in 4 seconds on interpreter 0x564efb872870 pid: 28 (default app)
ModuleNotFoundError: No module named 'snuba.settings.settings_self_hosted'
docker-002
$ docker logs sentry_zookeeper […] ===> User uid=0(root) gid=0(root) groups=0(root) ===> Configuring ... ===> Running preflight checks ... ===> Check if /var/lib/zookeeper/data is writable ... ===> Check if /var/lib/zookeeper/log is writable ... ===> Launching ... ===> Launching zookeeper ... [2023-03-24 20:43:14,853] WARN Either no config or no quorum defined in config, running in standalone mode (org.apache.zookeeper.server.quorum.QuorumPeerMain) [2023-03-24 20:43:15,007] WARN o.e.j.s.ServletContextHandler@33f88ab{/,null,STOPPED} contextPath ends with /* (org.eclipse.jetty.server.handler.ContextHandler) [2023-03-24 20:43:15,007] WARN Empty contextPath (org.eclipse.jetty.server.handler.ContextHandler) [2023-03-24 20:43:15,078] WARN ServletContext@o.e.j.s.ServletContextHandler@33f88ab{/,null,STARTING} has uncovered http methods for path: /* (org.eclipse.jetty.security.SecurityHandler)
Nasqueron DevCentral · If it had been much bigger the moon would have had a core of ice. · Powered by Phabricator