forked from zanfranceschi/rinha-de-backend-2024-q1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.logs
173 lines (173 loc) · 15.2 KB
/
docker-compose.logs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
Network buemura-quarkus_rinhabackend Creating
Network buemura-quarkus_rinhabackend Created
Container buemura-quarkus-db-1 Creating
Container buemura-quarkus-db-1 Created
Container buemura-quarkus-api02-1 Creating
Container buemura-quarkus-api01-1 Creating
Container buemura-quarkus-api01-1 Created
Container buemura-quarkus-api02-1 Created
Container buemura-quarkus-nginx-1 Creating
Container buemura-quarkus-nginx-1 Created
Attaching to api01-1, api02-1, db-1, nginx-1
db-1 | The files belonging to this database system will be owned by user "postgres".
db-1 | This user must also own the server process.
db-1 |
db-1 | The database cluster will be initialized with locale "en_US.utf8".
db-1 | The default database encoding has accordingly been set to "UTF8".
db-1 | The default text search configuration will be set to "english".
db-1 |
db-1 | Data page checksums are disabled.
db-1 |
db-1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
db-1 | creating subdirectories ... ok
db-1 | selecting dynamic shared memory implementation ... posix
db-1 | selecting default max_connections ... 100
db-1 | selecting default shared_buffers ... 128MB
db-1 | selecting default time zone ... Etc/UTC
db-1 | creating configuration files ... ok
db-1 | running bootstrap script ... ok
api02-1 | __ ____ __ _____ ___ __ ____ ______
api02-1 | --/ __ \/ / / / _ | / _ \/ //_/ / / / __/
api02-1 | -/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \
api02-1 | --\___\_\____/_/ |_/_/|_/_/|_|\____/___/
api02-1 | 2024-02-25 21:21:53,965 WARN [io.agr.pool] (agroal-11) Datasource '<default>': Connection to db:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
api02-1 | 2024-02-25 21:21:53,967 WARN [org.hib.eng.jdb.env.int.JdbcEnvironmentInitiator] (JPA Startup Thread) HHH000342: Could not obtain connection to query metadata: java.lang.NullPointerException
api02-1 | at org.hibernate.resource.transaction.backend.jta.internal.JtaIsolationDelegate.doTheWork(JtaIsolationDelegate.java:186)
api02-1 | at org.hibernate.resource.transaction.backend.jta.internal.JtaIsolationDelegate.lambda$delegateWork$1(JtaIsolationDelegate.java:75)
api02-1 | at org.hibernate.resource.transaction.backend.jta.internal.JtaIsolationDelegate.doInSuspendedTransaction(JtaIsolationDelegate.java:107)
api02-1 | at org.hibernate.resource.transaction.backend.jta.internal.JtaIsolationDelegate.delegateWork(JtaIsolationDelegate.java:72)
api02-1 | at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.getJdbcEnvironmentUsingJdbcMetadata(JdbcEnvironmentInitiator.java:276)
api02-1 | at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:107)
api02-1 | at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:68)
api02-1 | at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:130)
api02-1 | at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:263)
api02-1 | at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:238)
api02-1 | at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:215)
api02-1 | at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:52)
api02-1 | at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:136)
api02-1 | at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:247)
api02-1 | at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:215)
api02-1 | at org.hibernate.boot.internal.SessionFactoryOptionsBuilder.<init>(SessionFactoryOptionsBuilder.java:276)
api02-1 | at io.quarkus.hibernate.orm.runtime.recording.PrevalidatedQuarkusMetadata.buildSessionFactoryOptionsBuilder(PrevalidatedQuarkusMetadata.java:70)
api02-1 | at io.quarkus.hibernate.orm.runtime.boot.FastBootEntityManagerFactoryBuilder.build(FastBootEntityManagerFactoryBuilder.java:84)
api02-1 | at io.quarkus.hibernate.orm.runtime.FastBootHibernatePersistenceProvider.createEntityManagerFactory(FastBootHibernatePersistenceProvider.java:72)
api02-1 | at jakarta.persistence.Persistence.createEntityManagerFactory(Persistence.java:80)
api02-1 | at jakarta.persistence.Persistence.createEntityManagerFactory(Persistence.java:55)
api02-1 | at io.quarkus.hibernate.orm.runtime.JPAConfig$LazyPersistenceUnit.get(JPAConfig.java:157)
api02-1 | at io.quarkus.hibernate.orm.runtime.JPAConfig$1.run(JPAConfig.java:64)
api02-1 | at [email protected]/java.lang.Thread.runWith(Thread.java:1596)
api02-1 | at [email protected]/java.lang.Thread.run(Thread.java:1583)
api02-1 | at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:833)
api02-1 | at org.graalvm.nativeimage.builder/com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:211)
api02-1 |
api02-1 | 2024-02-25 21:21:54,018 INFO [io.quarkus] (main) rinha-quarkus 1.0.0-SNAPSHOT native (powered by Quarkus 3.7.4) started in 0.086s. Listening on: http://0.0.0.0:8080
api02-1 | 2024-02-25 21:21:54,018 INFO [io.quarkus] (main) Profile prod activated.
api02-1 | 2024-02-25 21:21:54,018 INFO [io.quarkus] (main) Installed features: [agroal, cdi, hibernate-orm, hibernate-orm-panache, jdbc-postgresql, narayana-jta, resteasy-reactive, resteasy-reactive-jackson, smallrye-context-propagation, vertx]
api01-1 | __ ____ __ _____ ___ __ ____ ______
api01-1 | --/ __ \/ / / / _ | / _ \/ //_/ / / / __/
api01-1 | -/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \
api01-1 | --\___\_\____/_/ |_/_/|_/_/|_|\____/___/
api01-1 | 2024-02-25 21:21:54,016 WARN [io.agr.pool] (agroal-11) Datasource '<default>': Connection to db:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
api01-1 | 2024-02-25 21:21:54,016 WARN [org.hib.eng.jdb.env.int.JdbcEnvironmentInitiator] (JPA Startup Thread) HHH000342: Could not obtain connection to query metadata: java.lang.NullPointerException
api01-1 | at org.hibernate.resource.transaction.backend.jta.internal.JtaIsolationDelegate.doTheWork(JtaIsolationDelegate.java:186)
api01-1 | at org.hibernate.resource.transaction.backend.jta.internal.JtaIsolationDelegate.lambda$delegateWork$1(JtaIsolationDelegate.java:75)
api01-1 | at org.hibernate.resource.transaction.backend.jta.internal.JtaIsolationDelegate.doInSuspendedTransaction(JtaIsolationDelegate.java:107)
api01-1 | at org.hibernate.resource.transaction.backend.jta.internal.JtaIsolationDelegate.delegateWork(JtaIsolationDelegate.java:72)
api01-1 | at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.getJdbcEnvironmentUsingJdbcMetadata(JdbcEnvironmentInitiator.java:276)
api01-1 | at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:107)
api01-1 | at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:68)
api01-1 | at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:130)
api01-1 | at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:263)
api01-1 | at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:238)
api01-1 | at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:215)
api01-1 | at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:52)
api01-1 | at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:136)
api01-1 | at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:247)
api01-1 | at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:215)
api01-1 | at org.hibernate.boot.internal.SessionFactoryOptionsBuilder.<init>(SessionFactoryOptionsBuilder.java:276)
api01-1 | at io.quarkus.hibernate.orm.runtime.recording.PrevalidatedQuarkusMetadata.buildSessionFactoryOptionsBuilder(PrevalidatedQuarkusMetadata.java:70)
api01-1 | at io.quarkus.hibernate.orm.runtime.boot.FastBootEntityManagerFactoryBuilder.build(FastBootEntityManagerFactoryBuilder.java:84)
api01-1 | at io.quarkus.hibernate.orm.runtime.FastBootHibernatePersistenceProvider.createEntityManagerFactory(FastBootHibernatePersistenceProvider.java:72)
api01-1 | at jakarta.persistence.Persistence.createEntityManagerFactory(Persistence.java:80)
api01-1 | at jakarta.persistence.Persistence.createEntityManagerFactory(Persistence.java:55)
api01-1 | at io.quarkus.hibernate.orm.runtime.JPAConfig$LazyPersistenceUnit.get(JPAConfig.java:157)
api01-1 | at io.quarkus.hibernate.orm.runtime.JPAConfig$1.run(JPAConfig.java:64)
api01-1 | at [email protected]/java.lang.Thread.runWith(Thread.java:1596)
api01-1 | at [email protected]/java.lang.Thread.run(Thread.java:1583)
api01-1 | at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:833)
api01-1 | at org.graalvm.nativeimage.builder/com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:211)
api01-1 |
api01-1 | 2024-02-25 21:21:54,021 INFO [io.quarkus] (main) rinha-quarkus 1.0.0-SNAPSHOT native (powered by Quarkus 3.7.4) started in 0.095s. Listening on: http://0.0.0.0:8080
api01-1 | 2024-02-25 21:21:54,021 INFO [io.quarkus] (main) Profile prod activated.
api01-1 | 2024-02-25 21:21:54,021 INFO [io.quarkus] (main) Installed features: [agroal, cdi, hibernate-orm, hibernate-orm-panache, jdbc-postgresql, narayana-jta, resteasy-reactive, resteasy-reactive-jackson, smallrye-context-propagation, vertx]
db-1 | performing post-bootstrap initialization ... ok
nginx-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
nginx-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf
nginx-1 | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
nginx-1 | /docker-entrypoint.sh: Configuration complete; ready for start up
db-1 | syncing data to disk ... ok
db-1 |
db-1 |
db-1 | Success. You can now start the database server using:
db-1 |
db-1 | pg_ctl -D /var/lib/postgresql/data -l logfile start
db-1 |
db-1 | initdb: warning: enabling "trust" authentication for local connections
db-1 | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb.
db-1 | waiting for server to start....2024-02-25 21:21:55.626 UTC [49] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
db-1 | 2024-02-25 21:21:55.629 UTC [49] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db-1 | 2024-02-25 21:21:55.639 UTC [52] LOG: database system was shut down at 2024-02-25 21:21:54 UTC
db-1 | 2024-02-25 21:21:55.645 UTC [49] LOG: database system is ready to accept connections
db-1 | done
db-1 | server started
db-1 | CREATE DATABASE
db-1 |
db-1 |
db-1 | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init.sql
db-1 | CREATE TABLE
db-1 | CREATE TABLE
db-1 | CREATE INDEX
db-1 | CREATE INDEX
db-1 | CREATE INDEX
db-1 | DO
db-1 |
db-1 |
db-1 | waiting for server to shut down...2024-02-25 21:21:55.862 UTC [49] LOG: received fast shutdown request
db-1 | .2024-02-25 21:21:55.865 UTC [49] LOG: aborting any active transactions
db-1 | 2024-02-25 21:21:55.867 UTC [49] LOG: background worker "logical replication launcher" (PID 55) exited with exit code 1
db-1 | 2024-02-25 21:21:55.867 UTC [50] LOG: shutting down
db-1 | 2024-02-25 21:21:55.869 UTC [50] LOG: checkpoint starting: shutdown immediate
db-1 | 2024-02-25 21:21:56.382 UTC [50] LOG: checkpoint complete: wrote 944 buffers (5.8%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.375 s, sync=0.127 s, total=0.515 s; sync files=317, longest=0.057 s, average=0.001 s; distance=4296 kB, estimate=4296 kB; lsn=0/191CD38, redo lsn=0/191CD38
db-1 | 2024-02-25 21:21:56.387 UTC [49] LOG: database system is shut down
db-1 | done
db-1 | server stopped
db-1 |
db-1 | PostgreSQL init process complete; ready for start up.
db-1 |
db-1 | 2024-02-25 21:21:56.486 UTC [1] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
db-1 | 2024-02-25 21:21:56.486 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
db-1 | 2024-02-25 21:21:56.486 UTC [1] LOG: listening on IPv6 address "::", port 5432
db-1 | 2024-02-25 21:21:56.491 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db-1 | 2024-02-25 21:21:56.499 UTC [67] LOG: database system was shut down at 2024-02-25 21:21:56 UTC
db-1 | 2024-02-25 21:21:56.506 UTC [1] LOG: database system is ready to accept connections
nginx-1 exited with code 0
nginx-1 exited with code 0
api01-1 | 2024-02-25 21:26:10,681 INFO [io.quarkus] (Shutdown thread) rinha-quarkus stopped in 0.009s
api02-1 | 2024-02-25 21:26:10,691 INFO [io.quarkus] (Shutdown thread) rinha-quarkus stopped in 0.011s
api01-1 exited with code 0
api01-1 exited with code 143
api02-1 exited with code 0
api02-1 exited with code 143
db-1 | 2024-02-25 21:26:11.564 UTC [1] LOG: received fast shutdown request
db-1 | 2024-02-25 21:26:11.568 UTC [1] LOG: aborting any active transactions
db-1 | 2024-02-25 21:26:11.571 UTC [1] LOG: background worker "logical replication launcher" (PID 70) exited with exit code 1
db-1 | 2024-02-25 21:26:11.571 UTC [65] LOG: shutting down
db-1 | 2024-02-25 21:26:11.574 UTC [65] LOG: checkpoint starting: shutdown immediate
db-1 | 2024-02-25 21:26:11.736 UTC [65] LOG: checkpoint complete: wrote 1029 buffers (6.3%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.011 s, sync=0.138 s, total=0.165 s; sync files=32, longest=0.132 s, average=0.005 s; distance=2644 kB, estimate=2644 kB; lsn=0/1BB1E48, redo lsn=0/1BB1E48
db-1 | 2024-02-25 21:26:11.740 UTC [1] LOG: database system is shut down
db-1 exited with code 0