forked from zanfranceschi/rinha-de-backend-2024-q1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.logs
140 lines (140 loc) · 12.5 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
Network rinha-nginx-2024q1 Creating
Network rinha-nginx-2024q1 Created
Container fernandomedeiros-db-1 Creating
Container fernandomedeiros-db-1 Created
Container fernandomedeiros-api01-1 Creating
Container fernandomedeiros-api02-1 Creating
Container fernandomedeiros-api01-1 Created
Container fernandomedeiros-api02-1 Created
Container fernandomedeiros-nginx-1 Creating
Container fernandomedeiros-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 ... UTC
db-1 | creating configuration files ... ok
db-1 | running bootstrap script ... ok
db-1 | sh: locale: not found
db-1 | 2024-03-04 18:39:03.753 UTC [30] WARNING: no usable system locales were found
db-1 | performing post-bootstrap initialization ... ok
db-1 | initdb: warning: enabling "trust" authentication for local connections
db-1 | You can change this by editing pg_hba.conf or using the option -A, or
db-1 | --auth-local and --auth-host, the next time you run initdb.
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 | waiting for server to start....2024-03-04 18:39:05.303 UTC [36] LOG: starting PostgreSQL 14.2 on x86_64-pc-linux-musl, compiled by gcc (Alpine 10.3.1_git20211027) 10.3.1 20211027, 64-bit
db-1 | 2024-03-04 18:39:05.306 UTC [36] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db-1 | 2024-03-04 18:39:05.316 UTC [37] LOG: database system was shut down at 2024-03-04 18:39:05 UTC
db-1 | 2024-03-04 18:39:05.320 UTC [36] LOG: database system is ready to accept connections
db-1 | done
db-1 | server started
db-1 | 2024-03-04 18:39:05.739 UTC [55] FATAL: database "rinha" does not exist
db-1 | CREATE DATABASE
db-1 |
db-1 |
db-1 | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/script.sql
db-1 | SET
db-1 | SET
db-1 | SET
db-1 | SET
db-1 | SET
db-1 | SET
db-1 | SET
db-1 | SET
db-1 | SET
db-1 | SET
db-1 | SET
db-1 | CREATE TABLE
db-1 | CREATE TABLE
db-1 | CREATE INDEX
db-1 | CREATE INDEX
db-1 | CREATE INDEX
db-1 | INSERT 0 1
db-1 | INSERT 0 1
db-1 | INSERT 0 1
db-1 | INSERT 0 1
db-1 | INSERT 0 1
db-1 |
db-1 |
db-1 | waiting for server to shut down...2024-03-04 18:39:05.915 UTC [36] LOG: received fast shutdown request
db-1 | .2024-03-04 18:39:05.919 UTC [36] LOG: aborting any active transactions
db-1 | 2024-03-04 18:39:05.920 UTC [36] LOG: background worker "logical replication launcher" (PID 43) exited with exit code 1
db-1 | 2024-03-04 18:39:05.920 UTC [38] LOG: shutting down
db-1 | 2024-03-04 18:39:06.032 UTC [36] 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-03-04 18:39:06.143 UTC [1] LOG: starting PostgreSQL 14.2 on x86_64-pc-linux-musl, compiled by gcc (Alpine 10.3.1_git20211027) 10.3.1 20211027, 64-bit
db-1 | 2024-03-04 18:39:06.143 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
db-1 | 2024-03-04 18:39:06.143 UTC [1] LOG: listening on IPv6 address "::", port 5432
db-1 | 2024-03-04 18:39:06.169 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db-1 | 2024-03-04 18:39:06.180 UTC [59] LOG: database system was shut down at 2024-03-04 18:39:06 UTC
db-1 | 2024-03-04 18:39:06.188 UTC [1] LOG: database system is ready to accept connections
api02-1 | 2024-03-04T18:39:11.943Z INFO 1 --- [ main] b.c.f.r.RinhaSpringDemoApplication : Starting RinhaSpringDemoApplication v0.0.1-SNAPSHOT using Java 21.0.1 with PID 1 (/app/app.jar started by root in /)
api02-1 | 2024-03-04T18:39:11.947Z INFO 1 --- [ main] b.c.f.r.RinhaSpringDemoApplication : No active profile set, falling back to 1 default profile: "default"
api01-1 | 2024-03-04T18:39:12.137Z INFO 1 --- [ main] b.c.f.r.RinhaSpringDemoApplication : Starting RinhaSpringDemoApplication v0.0.1-SNAPSHOT using Java 21.0.1 with PID 1 (/app/app.jar started by root in /)
api01-1 | 2024-03-04T18:39:12.141Z INFO 1 --- [ main] b.c.f.r.RinhaSpringDemoApplication : No active profile set, falling back to 1 default profile: "default"
api02-1 | 2024-03-04T18:39:15.519Z INFO 1 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
api01-1 | 2024-03-04T18:39:15.738Z INFO 1 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
api02-1 | 2024-03-04T18:39:15.819Z INFO 1 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 291 ms. Found 2 JPA repository interfaces.
api01-1 | 2024-03-04T18:39:16.024Z INFO 1 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 202 ms. Found 2 JPA repository interfaces.
api01-1 | 2024-03-04T18:39:19.323Z INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8080 (http)
api02-1 | 2024-03-04T18:39:19.332Z INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8080 (http)
api01-1 | 2024-03-04T18:39:19.420Z INFO 1 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
api01-1 | 2024-03-04T18:39:19.421Z INFO 1 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.18]
api02-1 | 2024-03-04T18:39:19.427Z INFO 1 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
api02-1 | 2024-03-04T18:39:19.427Z INFO 1 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.18]
api01-1 | 2024-03-04T18:39:19.934Z INFO 1 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
api01-1 | 2024-03-04T18:39:19.936Z INFO 1 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 7513 ms
api02-1 | 2024-03-04T18:39:19.937Z INFO 1 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
api02-1 | 2024-03-04T18:39:20.018Z INFO 1 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 7721 ms
api02-1 | 2024-03-04T18:39:21.317Z INFO 1 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
api01-1 | 2024-03-04T18:39:21.322Z INFO 1 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
api02-1 | 2024-03-04T18:39:21.524Z INFO 1 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.4.1.Final
api01-1 | 2024-03-04T18:39:21.531Z INFO 1 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.4.1.Final
api02-1 | 2024-03-04T18:39:21.628Z INFO 1 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
api01-1 | 2024-03-04T18:39:21.637Z INFO 1 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
api01-1 | 2024-03-04T18:39:22.419Z INFO 1 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
api01-1 | 2024-03-04T18:39:22.441Z INFO 1 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
api02-1 | 2024-03-04T18:39:22.735Z INFO 1 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
api02-1 | 2024-03-04T18:39:22.832Z INFO 1 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
api01-1 | 2024-03-04T18:39:23.242Z INFO 1 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@a2df0d5
api01-1 | 2024-03-04T18:39:23.243Z INFO 1 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
api02-1 | 2024-03-04T18:39:23.630Z INFO 1 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@782cc5fa
api02-1 | 2024-03-04T18:39:23.633Z INFO 1 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
api01-1 | 2024-03-04T18:39:28.237Z INFO 1 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
api01-1 | 2024-03-04T18:39:28.240Z INFO 1 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
api02-1 | 2024-03-04T18:39:28.949Z INFO 1 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
api02-1 | 2024-03-04T18:39:29.017Z INFO 1 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
api01-1 | 2024-03-04T18:39:29.536Z INFO 1 --- [ main] o.s.d.j.r.query.QueryEnhancerFactory : Hibernate is in classpath; If applicable, HQL parser will be used.
api02-1 | 2024-03-04T18:39:30.324Z INFO 1 --- [ main] o.s.d.j.r.query.QueryEnhancerFactory : Hibernate is in classpath; If applicable, HQL parser will be used.
api01-1 | 2024-03-04T18:39:32.736Z WARN 1 --- [ main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
api02-1 | 2024-03-04T18:39:33.415Z WARN 1 --- [ main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
api01-1 | 2024-03-04T18:39:36.235Z INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8080 (http) with context path ''
api01-1 | 2024-03-04T18:39:36.320Z INFO 1 --- [ main] b.c.f.r.RinhaSpringDemoApplication : Started RinhaSpringDemoApplication in 26.78 seconds (process running for 29.702)
api02-1 | 2024-03-04T18:39:36.825Z INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8080 (http) with context path ''
api02-1 | 2024-03-04T18:39:36.831Z INFO 1 --- [ main] b.c.f.r.RinhaSpringDemoApplication : Started RinhaSpringDemoApplication in 27.492 seconds (process running for 30.216)
api01-1 | 2024-03-04T18:39:37.434Z INFO 1 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
api01-1 | 2024-03-04T18:39:37.435Z INFO 1 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
api01-1 | 2024-03-04T18:39:37.436Z INFO 1 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms
api02-1 exited with code 137
dependency failed to start: container fernandomedeiros-api02-1 exited (137)