molgenis / molgenis-service-armadillo

Armadillo; a DataSHIELD implementation, part of the MOLGENIS suite
https://molgenis.github.io/molgenis-service-armadillo/
GNU Lesser General Public License v3.0
7 stars 10 forks source link

Profiles don't get automatically added in release test script #611

Open marikaris opened 9 months ago

marikaris commented 9 months ago

The "xenon" profile should be added in the release test script if it doesn't exist yet. That doesn't seem to happen anymore

clemens-tolboom commented 8 months ago
cat application.yml
# or
# cat application.properties

rm -r data/system/

./gradlew run

# wait till Armadillo is up
tree data/system

cat data/system/access.json| json_pp
cat data/system/profiles.json| json_pp

cat armadillo/src/main/resources/application.yml

picks up odic user from application.yml and default profile from.

Running ./release-test.R I see added xenon profile in UI and log

11:00:17.838 [http-nio-8080-exec-10|77DABEAE] INFO  o.m.armadillo.profile.ProfileScope - Creating profile bean with name xenon.scopedTarget.armadilloConnectionFactoryImpl
11:00:17.839 [http-nio-8080-exec-10|77DABEAE] INFO  o.m.armadillo.profile.ProfileScope - Creating profile bean with name xenon.scopedTarget.rConnectionFactory
11:00:17.840 [http-nio-8080-exec-10|77DABEAE] INFO  o.m.armadillo.profile.ProfileScope - Creating profile bean with name xenon.scopedTarget.profileConfig
11:00:17.857 [http-nio-8080-exec-10|77DABEAE] WARN  o.m.r.RServerConnectionFactory - Container for 'http://localhost:6312'  is down
11:00:18.870 [http-nio-8080-exec-10|77DABEAE] WARN  o.m.r.RServerConnectionFactory - Container for 'http://localhost:6312'  is down
11:00:20.881 [http-nio-8080-exec-10|77DABEAE] WARN  o.m.r.RServerConnectionFactory - Container for 'http://localhost:6312'  is down
11:00:24.894 [http-nio-8080-exec-10|77DABEAE] WARN  o.m.r.RServerConnectionFactory - Container for 'http://localhost:6312'  is down
11:00:32.901 [http-nio-8080-exec-10|77DABEAE] WARN  o.m.r.RServerConnectionFactory - Container for 'http://localhost:6312'  is down
11:00:42.916 [http-nio-8080-exec-10|77DABEAE] WARN  o.m.r.RServerConnectionFactory - Container for 'http://localhost:6312'  is down
11:00:52.932 [http-nio-8080-exec-10|77DABEAE] WARN  o.m.r.RServerConnectionFactory - Container for 'http://localhost:6312'  is down

but the docker image [datashield/rock-dolomite-xenon](https://github.com/molgenis/molgenis-service-armadillo/issues/611#) is not started.

Manually starting the profile start and eventually stopped again ... out of VM space (increased from 64GB -> 80GB).

So guess I (only) ran into Docker related MacOS problems (again)