Console Output
Started by upstream project "GG_Test_Install_All_OS" build number 164
originally caused by:
Started by timer
Building on master in workspace /home/tomcat/.jenkins/jobs/GG_Test_Deploy/workspace
[ssh-agent] Looking for ssh-agent implementation...
[ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine)
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-bWRI0AKUkMwe/agent.4538
SSH_AGENT_PID=4546
[ssh-agent] Started.
$ ssh-add /home/tomcat/.jenkins/jobs/GG_Test_Deploy/workspace@tmp/private_key_3852631778626575316.key
Identity added: /home/tomcat/.jenkins/jobs/GG_Test_Deploy/workspace@tmp/private_key_3852631778626575316.key (/home/tomcat/.jenkins/jobs/GG_Test_Deploy/workspace@tmp/private_key_3852631778626575316.key)
[ssh-agent] Using credentials michal (GG test droplet restart)
$ ssh-add /home/tomcat/.jenkins/jobs/GG_Test_Deploy/workspace@tmp/private_key_1005531220821547004.key
Identity added: /home/tomcat/.jenkins/jobs/GG_Test_Deploy/workspace@tmp/private_key_1005531220821547004.key (/home/tomcat/.jenkins/jobs/GG_Test_Deploy/workspace@tmp/private_key_1005531220821547004.key)
[ssh-agent] Using credentials root (Jenkins test node)
[workspace] $ /bin/sh -xe /opt/tomcat/temp/jenkins7329533033449583574.sh
+ ssh -o StrictHostKeyChecking=no -p 22222 michal@build.gluu.org
Pseudo-terminal will not be allocated because stdin is not a terminal.
Enter the name of distro:Selecting snapshot for centos6
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0{"action":{"id":534142056,"status":"in-progress","type":"restore","started_at":"2018-10-04T23:20:03Z","completed_at":null,"resource_id":89419874,"resource_type":"droplet","region":{"name":"New York 3","slug":"nyc3","sizes":["512mb","1gb","2gb","4gb","8gb","16gb","c-16","32gb","48gb","64gb","s-1vcpu-3gb","c-2","c-4","c-8","m-1vcpu-8gb","m-16gb","m-32gb","m-64gb","m-128gb","m-224gb","s-3vcpu-1gb","s-1vcpu-2gb","s-2vcpu-2gb","s-2vcpu-4gb","s-4vcpu-8gb","s-6vcpu-16gb","s-8vcpu-32gb","s-12vcpu-48gb","s-16vcpu-64gb","s-20vcpu-96gb","s-1vcpu-1gb","s-24vcpu-128gb","s-32vcpu-192gb","c-32"],"features":["private_networking","backups","ipv6","metadata","install_agent","storage","image_transfer"],"available":true},"region_slug":"nyc3"}}
100 771 100 733 100 38 1192 61 --:--:-- --:--:-- --:--:-- 1193
+ sleep 100
+ ssh -o StrictHostKeyChecking=no -p 22 root@104.131.18.41
Pseudo-terminal will not be allocated because stdin is not a terminal.
Loaded plugins: fastestmirror
Setting up Install Process
Determining fastest mirrors
* base: centos.mirror.constant.com
* extras: mirror.cc.columbia.edu
* updates: centos.mirror.constant.com
Package wget-1.12-10.el6.x86_64 already installed and latest version
Nothing to do
--2018-10-04 23:21:45-- https://raw.githubusercontent.com/GluuFederation/gluu-gateway/master/tests/scripts/install.sh
Resolving raw.githubusercontent.com... 151.101.20.133
Connecting to raw.githubusercontent.com|151.101.20.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8172 (8.0K) [text/plain]
Saving to: “install.sh”
0K ....... 100% 18.7M=0s
2018-10-04 23:21:45 (18.7 MB/s) - “install.sh” saved [8172/8172]
mkswap: /swapfile: warning: don't erase bootbits sectors
on whole disk. Use -f to force.
Setting up swapspace version 1, size = 4194300 KiB
no label, UUID=057981e4-505a-4a57-9780-3e19dc7860f0
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: centos.mirror.constant.com
* extras: mirror.cc.columbia.edu
* updates: centos.mirror.constant.com
Package curl-7.19.7-53.el6_9.x86_64 already installed and latest version
No package xvfb available.
Resolving Dependencies
--> Running transaction check
---> Package lsof.x86_64 0:4.82-5.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
lsof x86_64 4.82-5.el6 base 324 k
Transaction Summary
================================================================================
Install 1 Package(s)
Total download size: 324 k
Installed size: 900 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : lsof-4.82-5.el6.x86_64 1/1
Verifying : lsof-4.82-5.el6.x86_64 1/1
Installed:
lsof.x86_64 0:4.82-5.el6
Complete!
--2018-10-04 23:21:47-- https://repo.gluu.org/centos/Gluu-centos-testing.repo
Resolving repo.gluu.org... 165.227.82.89
Connecting to repo.gluu.org|165.227.82.89|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 179
Saving to: “/etc/yum.repos.d/Gluu.repo”
0K 100% 9.65M=0s
2018-10-04 23:21:47 (9.65 MB/s) - “/etc/yum.repos.d/Gluu.repo” saved [179/179]
--2018-10-04 23:21:47-- https://repo.gluu.org/centos/RPM-GPG-KEY-GLUU
Resolving repo.gluu.org... 165.227.82.89
Connecting to repo.gluu.org|165.227.82.89|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3112 (3.0K)
Saving to: “/etc/pki/rpm-gpg/RPM-GPG-KEY-GLUU”
0K ... 100% 109M=0s
2018-10-04 23:21:47 (109 MB/s) - “/etc/pki/rpm-gpg/RPM-GPG-KEY-GLUU” saved [3112/3112]
warning: /var/tmp/rpm-tmp.Zqfzbf: Header V4 DSA/SHA1 Signature, key ID 442df0f8: NOKEY
Retrieving https://yum.postgresql.org/10/redhat/rhel-6-x86_64/pgdg-redhat10-10-2.noarch.rpm
Preparing... ##################################################
pgdg-redhat10 ##################################################
## Installing the NodeSource Node.js 8.x LTS Carbon repo...
## Inspecting system...
+ rpm -q --whatprovides redhat-release || rpm -q --whatprovides centos-release || rpm -q --whatprovides cloudlinux-release || rpm -q --whatprovides sl-release
+ uname -m
## Confirming "el6-x86_64" is supported...
+ curl -sLf -o /dev/null 'https://rpm.nodesource.com/pub_8.x/el/6/x86_64/nodesource-release-el6-1.noarch.rpm'
## Downloading release setup RPM...
+ mktemp
+ curl -sL -o '/tmp/tmp.3uRFFhn5Sc' 'https://rpm.nodesource.com/pub_8.x/el/6/x86_64/nodesource-release-el6-1.noarch.rpm'
## Installing release setup RPM...
+ rpm -i --nosignature --force '/tmp/tmp.3uRFFhn5Sc'
## Cleaning up...
+ rm -f '/tmp/tmp.3uRFFhn5Sc'
## Checking for existing installations...
+ rpm -qa 'node|npm' | grep -v nodesource
## Run `sudo yum install -y nodejs` to install Node.js 8.x LTS Carbon and npm.
## You may also need development tools to build native addons:
sudo yum install gcc-c++ make
## To install the Yarn package manager, run:
curl -sL https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo
sudo yum install yarn
Loaded plugins: fastestmirror
Cleaning repos: Gluu-rpm-centos-testing-repo base extras nodesource pgdg10
: updates
Cleaning up Everything
Cleaning up list of fastest mirrors
Loaded plugins: fastestmirror
Setting up Install Process
Determining fastest mirrors
* base: mirror.trouble-free.net
* extras: mirror.trouble-free.net
* updates: mirror.trouble-free.net
Resolving Dependencies
--> Running transaction check
---> Package gluu-gateway.noarch 0:3.1.4-64.centos6 will be installed
--> Processing Dependency: oxd-server = 3.1.4 for package: gluu-gateway-3.1.4-64.centos6.noarch
--> Processing Dependency: kong-community-edition = 0.11.0 for package: gluu-gateway-3.1.4-64.centos6.noarch
--> Processing Dependency: postgresql >= 10 for package: gluu-gateway-3.1.4-64.centos6.noarch
--> Processing Dependency: postgresql-server >= 10 for package: gluu-gateway-3.1.4-64.centos6.noarch
--> Processing Dependency: git for package: gluu-gateway-3.1.4-64.centos6.noarch
--> Processing Dependency: unzip for package: gluu-gateway-3.1.4-64.centos6.noarch
--> Processing Dependency: nodejs for package: gluu-gateway-3.1.4-64.centos6.noarch
--> Processing Dependency: lua-cjson for package: gluu-gateway-3.1.4-64.centos6.noarch
--> Running transaction check
---> Package git.x86_64 0:1.7.1-9.el6_9 will be installed
--> Processing Dependency: perl-Git = 1.7.1-9.el6_9 for package: git-1.7.1-9.el6_9.x86_64
--> Processing Dependency: rsync for package: git-1.7.1-9.el6_9.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-9.el6_9.x86_64
--> Processing Dependency: perl(Error) for package: git-1.7.1-9.el6_9.x86_64
---> Package kong-community-edition.noarch 0:0.11.0-1 will be installed
--> Processing Dependency: perl-Time-HiRes for package: kong-community-edition-0.11.0-1.noarch
---> Package lua-cjson.x86_64 0:2.1.0-1.el6 will be installed
---> Package nodejs.x86_64 2:8.12.0-1nodesource will be installed
---> Package oxd-server.noarch 0:3.1.4-27.centos6 will be installed
---> Package postgresql10.x86_64 0:10.5-1PGDG.rhel6 will be installed
--> Processing Dependency: postgresql10-libs(x86-64) = 10.5-1PGDG.rhel6 for package: postgresql10-10.5-1PGDG.rhel6.x86_64
--> Processing Dependency: libicu for package: postgresql10-10.5-1PGDG.rhel6.x86_64
--> Processing Dependency: libpq.so.5()(64bit) for package: postgresql10-10.5-1PGDG.rhel6.x86_64
---> Package postgresql10-server.x86_64 0:10.5-1PGDG.rhel6 will be installed
---> Package unzip.x86_64 0:6.0-5.el6 will be installed
--> Running transaction check
---> Package libicu.x86_64 0:4.2.1-14.el6 will be installed
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-9.el6_9 will be installed
---> Package perl-Time-HiRes.x86_64 4:1.9721-144.el6 will be installed
---> Package postgresql10-libs.x86_64 0:10.5-1PGDG.rhel6 will be installed
---> Package rsync.x86_64 0:3.0.6-12.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
gluu-gateway noarch 3.1.4-64.centos6 Gluu-rpm-centos-testing-repo 108 M
Installing for dependencies:
git x86_64 1.7.1-9.el6_9 base 4.6 M
kong-community-edition
noarch 0.11.0-1 Gluu-rpm-centos-testing-repo 15 M
libicu x86_64 4.2.1-14.el6 base 4.9 M
lua-cjson x86_64 2.1.0-1.el6 Gluu-rpm-centos-testing-repo 47 k
nodejs x86_64 2:8.12.0-1nodesource
nodesource 16 M
oxd-server noarch 3.1.4-27.centos6 Gluu-rpm-centos-testing-repo 87 M
perl-Error noarch 1:0.17015-4.el6 base 29 k
perl-Git noarch 1.7.1-9.el6_9 base 29 k
perl-Time-HiRes x86_64 4:1.9721-144.el6 base 49 k
postgresql10 x86_64 10.5-1PGDG.rhel6 pgdg10 1.6 M
postgresql10-libs x86_64 10.5-1PGDG.rhel6 pgdg10 325 k
postgresql10-server x86_64 10.5-1PGDG.rhel6 pgdg10 5.0 M
rsync x86_64 3.0.6-12.el6 base 335 k
unzip x86_64 6.0-5.el6 base 152 k
Transaction Summary
================================================================================
Install 15 Package(s)
Total download size: 243 M
Installed size: 359 M
Downloading Packages:
--------------------------------------------------------------------------------
Total 35 MB/s | 243 MB 00:06
Retrieving key from file:///etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL
warning: rpmts_HdrFromFdno: Header V4 RSA/SHA256 Signature, key ID 34fa74dd: NOKEY
Importing GPG key 0x34FA74DD:
Userid : NodeSource <gpg-rpm@nodesource.com>
Package: nodesource-release-el6-1.noarch (installed)
From : /etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : postgresql10-libs-10.5-1PGDG.rhel6.x86_64 1/15
Installing : libicu-4.2.1-14.el6.x86_64 2/15
Installing : postgresql10-10.5-1PGDG.rhel6.x86_64 3/15
Installing : 1:perl-Error-0.17015-4.el6.noarch 4/15
Installing : postgresql10-server-10.5-1PGDG.rhel6.x86_64 5/15
Installing : unzip-6.0-5.el6.x86_64 6/15
Installing : 4:perl-Time-HiRes-1.9721-144.el6.x86_64 7/15
Installing : kong-community-edition-0.11.0-1.noarch 8/15
Installing : 2:nodejs-8.12.0-1nodesource.x86_64 9/15
Installing : oxd-server-3.1.4-27.centos6.noarch 10/15
Installing : rsync-3.0.6-12.el6.x86_64 11/15
Installing : perl-Git-1.7.1-9.el6_9.noarch 12/15
Installing : git-1.7.1-9.el6_9.x86_64 13/15
Installing : lua-cjson-2.1.0-1.el6.x86_64 14/15
Installing : gluu-gateway-3.1.4-64.centos6.noarch 15/15
/var/tmp/rpm-tmp.h558SE: line 3: syntax error near unexpected token `missingok,'
/var/tmp/rpm-tmp.h558SE: line 3: `%config(missingok, noreplace) /opt/gluu-gateway/konga/config/application.js'
warning: %post(gluu-gateway-3.1.4-64.centos6.noarch) scriptlet failed, exit status 2
Non-fatal POSTIN scriptlet failure in rpm package gluu-gateway-3.1.4-64.centos6.noarch
Verifying : 1:perl-Error-0.17015-4.el6.noarch 1/15
Verifying : libicu-4.2.1-14.el6.x86_64 2/15
Verifying : postgresql10-server-10.5-1PGDG.rhel6.x86_64 3/15
Verifying : postgresql10-10.5-1PGDG.rhel6.x86_64 4/15
Verifying : perl-Git-1.7.1-9.el6_9.noarch 5/15
Verifying : lua-cjson-2.1.0-1.el6.x86_64 6/15
Verifying : rsync-3.0.6-12.el6.x86_64 7/15
Verifying : oxd-server-3.1.4-27.centos6.noarch 8/15
Verifying : 2:nodejs-8.12.0-1nodesource.x86_64 9/15
Verifying : kong-community-edition-0.11.0-1.noarch 10/15
Verifying : 4:perl-Time-HiRes-1.9721-144.el6.x86_64 11/15
Verifying : postgresql10-libs-10.5-1PGDG.rhel6.x86_64 12/15
Verifying : gluu-gateway-3.1.4-64.centos6.noarch 13/15
Verifying : git-1.7.1-9.el6_9.x86_64 14/15
Verifying : unzip-6.0-5.el6.x86_64 15/15
Installed:
gluu-gateway.noarch 0:3.1.4-64.centos6
Dependency Installed:
git.x86_64 0:1.7.1-9.el6_9
kong-community-edition.noarch 0:0.11.0-1
libicu.x86_64 0:4.2.1-14.el6
lua-cjson.x86_64 0:2.1.0-1.el6
nodejs.x86_64 2:8.12.0-1nodesource
oxd-server.noarch 0:3.1.4-27.centos6
perl-Error.noarch 1:0.17015-4.el6
perl-Git.noarch 0:1.7.1-9.el6_9
perl-Time-HiRes.x86_64 4:1.9721-144.el6
postgresql10.x86_64 0:10.5-1PGDG.rhel6
postgresql10-libs.x86_64 0:10.5-1PGDG.rhel6
postgresql10-server.x86_64 0:10.5-1PGDG.rhel6
rsync.x86_64 0:3.0.6-12.el6
unzip.x86_64 0:6.0-5.el6
Complete!
ALTER ROLE
CREATE DATABASE
CREATE DATABASE
SET
SET
SET
SET
SET
set_config
------------
(1 row)
SET
SET
SET
CREATE EXTENSION
COMMENT
SET
SET
CREATE TABLE
ALTER TABLE
CREATE SEQUENCE
ALTER TABLE
ALTER SEQUENCE
CREATE TABLE
ALTER TABLE
CREATE SEQUENCE
ALTER TABLE
ALTER SEQUENCE
CREATE TABLE
ALTER TABLE
CREATE SEQUENCE
ALTER TABLE
ALTER SEQUENCE
CREATE TABLE
ALTER TABLE
CREATE SEQUENCE
ALTER TABLE
ALTER SEQUENCE
CREATE TABLE
ALTER TABLE
CREATE SEQUENCE
ALTER TABLE
ALTER SEQUENCE
CREATE TABLE
ALTER TABLE
CREATE SEQUENCE
ALTER TABLE
ALTER SEQUENCE
CREATE TABLE
ALTER TABLE
CREATE SEQUENCE
ALTER TABLE
ALTER SEQUENCE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
COPY 0
DELETE 0
COPY 3
DELETE 0
COPY 1
COPY 0
COPY 0
DELETE 0
COPY 1
COPY 0
setval
--------
1
(1 row)
setval
--------
3
(1 row)
setval
--------
1
(1 row)
setval
--------
1
(1 row)
setval
--------
1
(1 row)
setval
--------
1
(1 row)
setval
--------
1
(1 row)
DO
DO
DO
DO
DO
DO
DO
DO
DO
DO
DO
DO
----------------------- -----------------------
hostname dev1.gluu.org
orgName Test
city Test
state Test
country TS
Configure oxd-server True
oxd https url https://localhost:8443
OP hostname https://ce-dev6.gluu.org
License Id b9d9140e-0732-4a96-b4be-215597377a10
Public key 47SbaB5bmXBXpKWgtMGNot9CIN++xJITnqlOsCRsQA4swMFwPeSIBIyPqSPB0qBGBCvI9ER0FTYqH9z6XnRJ1txNdzc0voY/SDGw+OQe0emC3HgXax0+lR4JsYkuQ3C+cnfqyunHQgnwDVcx4fS0MvxWewu03q9ppc1UlImNe7nesm3tzP0dsvVkEMeAWyEbrsu58JzUmFDGDzl0sVKjtBs+czf1ETWd48q5a3IDq5DNSbT4E4Hr3dmLz72nEPBr9Bsoqik4wWiGl8YMa9w4BZiKZQjoIfvboxSwhJRy1kKCEzi/kJqLX6EZ/cCUw8fgn/Xu2Kaov8CI7dtOSi3DqKWQbcDdRpoZJTas+6uyux4tMzZPnblfYnlPaDJRBt9WOgL4SWBdoukw9/QXubXSEA==
Public password 3Rczv1eJ0sDnFOGLLEkX
License password a7rkv7VCFOum40eFtfbL
Generate client creds True
Configuring postgres...
Installing konga node packages...
Creating konga oxd client used to call oxd-https endpoints...
Gluu Gateway configuration successful!!! https://localhost:1338
--------------------------------/var/log/konga.log-----------------------------------------
No DB Adapter defined. Using localDB...
Hook:api_health_checks:process() called
Hook:health_checks:process() called
Hook:user_events_hook:process() called
Kongnode had models, so no seed needed
Emailtransport had models, so no seed needed
.-..-.
Sails <| .-..-.
v0.12.14 |\
/|.\
/ || \
,' |' \
.-'.-==|/_--'
`--'-------'
__---___--___---___--___---___--___
____---___--___---___--___---___--___-__
Server lifted in `/opt/gluu-gateway/konga`
To see your app, visit https://0.0.0.0:1338
To shut down Sails, press <CTRL> + C at any time.
-------------------------------------------------------
:: Thu Oct 04 2018 23:23:25 GMT+0000 (UTC)
Environment : production
Host : 0.0.0.0
Port : 1338
-------------------------------------------------------
--------------------------------/var/log/oxd-server/oxd-server.log----------------------------------------
2018-10-04 23:22:31,185 INFO [org.xdi.oxd.server.ServerLauncher] Starting...
2018-10-04 23:22:31,220 INFO [org.xdi.oxd.server.ServerLauncher] commit: 14d25f9eaca91a31198e2fab149be2c50e84e1ea, branch: origin/version_3.1.4, build time:02.10.2018 @ 12:11:31 EDT
2018-10-04 23:22:32,965 TRACE [org.xdi.oxd.server.service.ConfigurationService] Try to load configuration from system property: oxd.server.config, value: /etc/oxd/oxd-server/oxd-conf.json
2018-10-04 23:22:34,137 TRACE [org.xdi.oxd.server.service.ConfigurationService] Configuration loaded successfully from system property: oxd.server.config.
2018-10-04 23:22:34,137 TRACE [org.xdi.oxd.server.service.ConfigurationService] Configuration: Configuration{port=8099, timeOutInSeconds=0, registerClientAppType='web', registerClientResponesType='code', serverName='dev1.gluu.org', localhostOnly=true, useClientAuthenticationForPat=true, trustAllCerts=true, keyStorePath='', keyStorePassword='', cryptProviderKeyStorePath='', cryptProviderKeyStorePassword='', cryptProviderDnName='', licenseId='b9d9140e-0732-4a96-b4be-215597377a10', publicKey='47SbaB5bmXBXpKWgtMGNot9CIN++xJITnqlOsCRsQA4swMFwPeSIBIyPqSPB0qBGBCvI9ER0FTYqH9z6XnRJ1txNdzc0voY/SDGw+OQe0emC3HgXax0+lR4JsYkuQ3C+cnfqyunHQgnwDVcx4fS0MvxWewu03q9ppc1UlImNe7nesm3tzP0dsvVkEMeAWyEbrsu58JzUmFDGDzl0sVKjtBs+czf1ETWd48q5a3IDq5DNSbT4E4Hr3dmLz72nEPBr9Bsoqik4wWiGl8YMa9w4BZiKZQjoIfvboxSwhJRy1kKCEzi/kJqLX6EZ/cCUw8fgn/Xu2Kaov8CI7dtOSi3DqKWQbcDdRpoZJTas+6uyux4tMzZPnblfYnlPaDJRBt9WOgL4SWBdoukw9/QXubXSEA==', publicPassword='3Rczv1eJ0sDnFOGLLEkX', licensePassword='a7rkv7VCFOum40eFtfbL', supportGoogleLogout=true, stateExpirationInMinutes=5, nonceExpirationInMinutes=5, publicOpKeyCacheExpirationInMinutes=60, protectCommandsWithAccessToken=false, uma2AuthRegisterClaimsGatheringEndpointAsRedirectUriOfClient=true, migrationSourceFolderPath='', storage='h2', storageConfiguration={"dbFileLocation":"/opt/oxd-server/data/oxd_db"}}
2018-10-04 23:22:34,138 TRACE [org.xdi.oxd.server.service.ConfigurationService] Trying to read oxd-default-site-config.json, path: /etc/oxd/oxd-server/oxd-default-site-config.json
2018-10-04 23:22:34,631 INFO [org.xdi.oxd.server.service.ConfigurationService] Default RP configuration loaded successfully: Rp{oxdId='null', opHost='https://ce-dev6.gluu.org', opDiscoveryPath='oxauth/.well-known/openid-configuration', idToken='null', accessToken='null', authorizationRedirectUri='null', postLogoutRedirectUri='null', applicationType='null', redirectUris=null, frontChannelLogoutUri=null, claimsRedirectUri=null, responseTypes=[code], clientId='null', clientRegistrationAccessToken='null', clientRegistrationClientUri='null', clientIdIssuedAt=null, clientSecretExpiresAt=null, clientName='null', sectorIdentifierUri='null', clientJwksUri='null', setupClient='null', setupOxdId='null', setupClientId='null', scope=[openid, profile, email], uiLocales=[en], claimsLocales=[en], acrValues=[], grantType=null, contacts=[], userId='null', userSecret='null', pat='null', patExpiresIn=0, patCreatedAt=null, patRefreshToken='null', umaProtectedResources=[], rpt='null', rptTokenType='null', rptPct='null', rptExpiresAt=null, rptCreatedAt=null, rptUpgraded=null, tokenEndpointAuthSigningAlg=null, tokenEndpointAuthMethod=null, oxdRpProgrammingLanguage=null}
2018-10-04 23:22:36,105 DEBUG [org.xdi.oxd.server.persistence.SqlPersistenceServiceImpl] Schema created successfully.
2018-10-04 23:22:36,237 INFO [org.xdi.oxd.server.persistence.SqlPersistenceServiceImpl] Loaded 0 RPs.
2018-10-04 23:22:36,248 DEBUG [org.xdi.oxd.server.service.MigrationService] Migration source folder is not specified.
2018-10-04 23:22:36,248 DEBUG [org.xdi.oxd.server.service.MigrationService] Skip migration because migration source folder is not specified or otherwise invalid.
2018-10-04 23:22:36,264 INFO [org.xdi.oxd.server.service.SocketService] Server socket is bound to port: 8099, with timeout: 0 seconds. Start listening for notifications.
2018-10-04 23:22:41,692 TRACE [org.xdi.oxd.server.SocketProcessor] Socket processor handling...
2018-10-04 23:22:41,786 TRACE [org.xdi.oxd.server.Processor] Command: {"command":"setup_client","params":{"scope":["openid","uma_protection"],"contacts":null,"op_host":"https://ce-dev6.gluu.org","op_discovery_path":null,"authorization_redirect_uri":"https://dev1.gluu.org:1338","post_logout_redirect_uri":"https://dev1.gluu.org:1338","protection_access_token":null,"redirect_uris":null,"response_types":null,"claims_redirect_uri":null,"client_id":null,"":null,"client_registration_access_token":null,"client_registration_client_uri":null,"client_name":"konga_client","client_jwks_uri":null,"client_token_endpoint_auth_method":null,"client_token_endpoint_auth_signing_alg":null,"client_request_uris":null,"client_frontchannel_logout_uris":null,"client_sector_identifier_uri":null,"ui_locales":null,"claims_locales":null,"acr_values":null,"grant_types":["authorization_code"],"trusted_client":false,"oxd_rp_programming_language":null,"setup_client_name":"konga_setup_client"}}
2018-10-04 23:22:42,014 TRACE [org.xdi.oxd.server.op.RegisterSiteOperation] Skip auto registration of claims interaction endpoint as redirect_uri because OP host for different uri's is different which will not pass AS redirect_uri's validation (same host must be present).
2018-10-04 23:22:42,047 INFO [org.xdi.oxd.server.op.RegisterSiteOperation] Creating RP ...
2018-10-04 23:22:42,088 TRACE [org.xdi.oxd.server.service.HttpService] Created TRUST_ALL client.
2018-10-04 23:22:43,511 TRACE [org.xdi.oxd.server.service.DiscoveryService] Discovery response: {
"issuer": "https://ce-dev6.gluu.org",
"authorization_endpoint": "https://ce-dev6.gluu.org/oxauth/restv1/authorize",
"token_endpoint": "https://ce-dev6.gluu.org/oxauth/restv1/token",
"userinfo_endpoint": "https://ce-dev6.gluu.org/oxauth/restv1/userinfo",
"clientinfo_endpoint": "https://ce-dev6.gluu.org/oxauth/restv1/clientinfo",
"check_session_iframe": "https://ce-dev6.gluu.org/oxauth/opiframe",
"end_session_endpoint": "https://ce-dev6.gluu.org/oxauth/restv1/end_session",
"jwks_uri": "https://ce-dev6.gluu.org/oxauth/restv1/jwks",
"registration_endpoint": "https://ce-dev6.gluu.org/oxauth/restv1/register",
"id_generation_endpoint": "https://ce-dev6.gluu.org/oxauth/restv1/id",
"introspection_endpoint": "https://ce-dev6.gluu.org/oxauth/restv1/introspection",
"scopes_supported": [
"address",
"owner",
"manage",
"profile",
"mobile_phone",
"phone",
"clientinfo",
"permission",
"email",
"casa",
"user_name",
"name",
"openid",
"admin"
],
"response_types_supported": [
"code id_token",
"code",
"code token id_token",
"token",
"code token",
"token id_token",
"id_token"
],
"grant_types_supported": [
"urn:ietf:params:oauth:grant-type:uma-ticket",
"client_credentials",
"authorization_code",
"password",
"refresh_token",
"implicit"
],
"acr_values_supported": [
"super_gluu",
"auth_ldap_server"
],
"auth_level_mapping": {
"-1": ["auth_ldap_server"],
"15": ["super_gluu"]
},
"subject_types_supported": [
"public",
"pairwise"
],
"userinfo_signing_alg_values_supported": [
"HS256",
"HS384",
"HS512",
"RS256",
"RS384",
"RS512",
"ES256",
"ES384",
"ES512"
],
"userinfo_encryption_alg_values_supported": [
"RSA1_5",
"RSA-OAEP",
"A128KW",
"A256KW"
],
"userinfo_encryption_enc_values_supported": [
"RSA1_5",
"RSA-OAEP",
"A128KW",
"A256KW"
],
"id_token_signing_alg_values_supported": [
"none",
"HS256",
"HS384",
"HS512",
"RS256",
"RS384",
"RS512",
"ES256",
"ES384",
"ES512"
],
"id_token_encryption_alg_values_supported": [
"RSA1_5",
"RSA-OAEP",
"A128KW",
"A256KW"
],
"id_token_encryption_enc_values_supported": [
"A128CBC+HS256",
"A256CBC+HS512",
"A128GCM",
"A256GCM"
],
"request_object_signing_alg_values_supported": [
"none",
"HS256",
"HS384",
"HS512",
"RS256",
"RS384",
"RS512",
"ES256",
"ES384",
"ES512"
],
"request_object_encryption_alg_values_supported": [
"RSA1_5",
"RSA-OAEP",
"A128KW",
"A256KW"
],
"request_object_encryption_enc_values_supported": [
"A128CBC+HS256",
"A256CBC+HS512",
"A128GCM",
"A256GCM"
],
"token_endpoint_auth_methods_supported": [
"client_secret_basic",
"client_secret_post",
"client_secret_jwt",
"private_key_jwt"
],
"token_endpoint_auth_signing_alg_values_supported": [
"HS256",
"HS384",
"HS512",
"RS256",
"RS384",
"RS512",
"ES256",
"ES384",
"ES512"
],
"display_values_supported": [
"page",
"popup"
],
"claim_types_supported": ["normal"],
"claims_supported": [
"birthdate",
"country",
"name",
"email",
"email_verified",
"given_name",
"gender",
"inum",
"family_name",
"updated_at",
"locale",
"middle_name",
"nickname",
"phone_number_verified",
"picture",
"preferred_username",
"profile",
"zoneinfo",
"website"
],
"service_documentation": "http://gluu.org/docs",
"claims_locales_supported": ["en"],
"ui_locales_supported": [
"en",
"es"
],
"scope_to_claims_mapping": [
{"address": [
"formatted",
"postal_code",
"street_address",
"locality",
"country",
"region"
]},
{"owner": []},
{"manage": []},
{"profile": [
"name",
"family_name",
"given_name",
"middle_name",
"nickname",
"preferred_username",
"profile",
"picture",
"website",
"gender",
"birthdate",
"zoneinfo",
"locale",
"updated_at"
]},
{"mobile_phone": ["phone_mobile_number"]},
{"phone": [
"phone_number_verified",
"phone_number"
]},
{"clientinfo": [
"name",
"inum"
]},
{"permission": ["role"]},
{"email": [
"email_verified",
"email"
]},
{"casa": ["email"]},
{"user_name": ["user_name"]},
{"name": []},
{"openid": []},
{"uma_protection": []},
{"admin": []}
],
"claims_parameter_supported": true,
"request_parameter_supported": true,
"request_uri_parameter_supported": true,
"require_request_uri_registration": false,
"op_policy_uri": "http://ox.gluu.org/doku.php?id=oxauth:policy",
"op_tos_uri": "http://ox.gluu.org/doku.php?id=oxauth:tos",
"frontchannel_logout_supported": true,
"frontchannel_logout_session_supported": true
}
2018-10-04 23:22:43,522 TRACE [org.xdi.oxd.server.service.HttpService] Created TRUST_ALL client.
2018-10-04 23:22:43,874 TRACE [org.xdi.oxd.server.op.RegisterSiteOperation] Registered client for site - client_id: @!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!D0F5.AB70.6484.CA9C, claims: {post_logout_redirect_uris=["https:\/\/dev1.gluu.org:1338"], grant_types=["client_credentials","authorization_code","refresh_token"], subject_type=pairwise, application_type=web, default_acr_values=[""], redirect_uris=["https:\/\/dev1.gluu.org:1338"], token_endpoint_auth_method=client_secret_basic, frontchannel_logout_session_required=false, scope=profile clientinfo permission casa user_name openid uma_protection, require_auth_time=false, client_name=konga_setup_client, response_types=["code"], id_token_signed_response_alg=RS256}, registration_client_uri:https://ce-dev6.gluu.org/oxauth/restv1/register?client_id=@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!D0F5.AB70.6484.CA9C
2018-10-04 23:22:43,959 DEBUG [org.xdi.oxd.server.persistence.SqlPersistenceServiceImpl] RP created successfully. RP : Rp{oxdId='c240d159-4eab-427a-9ade-e2642fd679ca', opHost='https://ce-dev6.gluu.org', opDiscoveryPath='null', idToken='null', accessToken='null', authorizationRedirectUri='https://dev1.gluu.org:1338', postLogoutRedirectUri='https://dev1.gluu.org:1338', applicationType='web', redirectUris=[https://dev1.gluu.org:1338], frontChannelLogoutUri=null, claimsRedirectUri=[], responseTypes=[code], clientId='@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!D0F5.AB70.6484.CA9C', clientRegistrationAccessToken='103c74dd-ea40-4da2-9561-77618e236b19', clientRegistrationClientUri='https://ce-dev6.gluu.org/oxauth/restv1/register?client_id=@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!D0F5.AB70.6484.CA9C', clientIdIssuedAt=Thu Oct 04 23:21:42 UTC 2018, clientSecretExpiresAt=Fri Oct 05 23:21:42 UTC 2018, clientName='konga_setup_client', sectorIdentifierUri='null', clientJwksUri='null', setupClient='null', setupOxdId='null', setupClientId='null', scope=[openid, uma_protection, oxd], uiLocales=[en], claimsLocales=[en], acrValues=[], grantType=[authorization_code, client_credentials], contacts=[], userId='null', userSecret='null', pat='null', patExpiresIn=0, patCreatedAt=null, patRefreshToken='null', umaProtectedResources=[], rpt='null', rptTokenType='null', rptPct='null', rptExpiresAt=null, rptCreatedAt=null, rptUpgraded=null, tokenEndpointAuthSigningAlg=null, tokenEndpointAuthMethod=null, oxdRpProgrammingLanguage=null}
2018-10-04 23:22:43,959 INFO [org.xdi.oxd.server.op.RegisterSiteOperation] RP created: Rp{oxdId='c240d159-4eab-427a-9ade-e2642fd679ca', opHost='https://ce-dev6.gluu.org', opDiscoveryPath='null', idToken='null', accessToken='null', authorizationRedirectUri='https://dev1.gluu.org:1338', postLogoutRedirectUri='https://dev1.gluu.org:1338', applicationType='web', redirectUris=[https://dev1.gluu.org:1338], frontChannelLogoutUri=null, claimsRedirectUri=[], responseTypes=[code], clientId='@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!D0F5.AB70.6484.CA9C', clientRegistrationAccessToken='103c74dd-ea40-4da2-9561-77618e236b19', clientRegistrationClientUri='https://ce-dev6.gluu.org/oxauth/restv1/register?client_id=@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!D0F5.AB70.6484.CA9C', clientIdIssuedAt=Thu Oct 04 23:21:42 UTC 2018, clientSecretExpiresAt=Fri Oct 05 23:21:42 UTC 2018, clientName='konga_setup_client', sectorIdentifierUri='null', clientJwksUri='null', setupClient='null', setupOxdId='null', setupClientId='null', scope=[openid, uma_protection, oxd], uiLocales=[en], claimsLocales=[en], acrValues=[], grantType=[authorization_code, client_credentials], contacts=[], userId='null', userSecret='null', pat='null', patExpiresIn=0, patCreatedAt=null, patRefreshToken='null', umaProtectedResources=[], rpt='null', rptTokenType='null', rptPct='null', rptExpiresAt=null, rptCreatedAt=null, rptUpgraded=null, tokenEndpointAuthSigningAlg=null, tokenEndpointAuthMethod=null, oxdRpProgrammingLanguage=null}
2018-10-04 23:22:43,960 TRACE [org.xdi.oxd.server.op.RegisterSiteOperation] Skip auto registration of claims interaction endpoint as redirect_uri because OP host for different uri's is different which will not pass AS redirect_uri's validation (same host must be present).
2018-10-04 23:22:43,960 INFO [org.xdi.oxd.server.op.RegisterSiteOperation] Creating RP ...
2018-10-04 23:22:43,960 TRACE [org.xdi.oxd.server.service.HttpService] Created TRUST_ALL client.
2018-10-04 23:22:44,310 TRACE [org.xdi.oxd.server.op.RegisterSiteOperation] Registered client for site - client_id: @!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!A195.5AEA.F094.320F, claims: {post_logout_redirect_uris=["https:\/\/dev1.gluu.org:1338"], grant_types=["client_credentials","authorization_code","refresh_token"], subject_type=pairwise, application_type=web, default_acr_values=[""], redirect_uris=["https:\/\/dev1.gluu.org:1338"], token_endpoint_auth_method=client_secret_basic, frontchannel_logout_session_required=false, scope=profile clientinfo permission casa user_name openid uma_protection, require_auth_time=false, client_name=konga_client, response_types=["code"], id_token_signed_response_alg=RS256}, registration_client_uri:https://ce-dev6.gluu.org/oxauth/restv1/register?client_id=@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!A195.5AEA.F094.320F
2018-10-04 23:22:44,318 DEBUG [org.xdi.oxd.server.persistence.SqlPersistenceServiceImpl] RP created successfully. RP : Rp{oxdId='6a6ce8e0-cbee-4ac4-92ad-513409fad7bb', opHost='https://ce-dev6.gluu.org', opDiscoveryPath='null', idToken='null', accessToken='null', authorizationRedirectUri='https://dev1.gluu.org:1338', postLogoutRedirectUri='https://dev1.gluu.org:1338', applicationType='web', redirectUris=[https://dev1.gluu.org:1338], frontChannelLogoutUri=null, claimsRedirectUri=[], responseTypes=[code], clientId='@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!A195.5AEA.F094.320F', clientRegistrationAccessToken='c3e5d214-e3c2-4778-b0e0-657991c8a602', clientRegistrationClientUri='https://ce-dev6.gluu.org/oxauth/restv1/register?client_id=@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!A195.5AEA.F094.320F', clientIdIssuedAt=Thu Oct 04 23:21:42 UTC 2018, clientSecretExpiresAt=Fri Oct 05 23:21:42 UTC 2018, clientName='konga_client', sectorIdentifierUri='null', clientJwksUri='null', setupClient='null', setupOxdId='null', setupClientId='null', scope=[openid, uma_protection, oxd], uiLocales=[en], claimsLocales=[en], acrValues=[], grantType=[authorization_code, client_credentials], contacts=[], userId='null', userSecret='null', pat='null', patExpiresIn=0, patCreatedAt=null, patRefreshToken='null', umaProtectedResources=[], rpt='null', rptTokenType='null', rptPct='null', rptExpiresAt=null, rptCreatedAt=null, rptUpgraded=null, tokenEndpointAuthSigningAlg=null, tokenEndpointAuthMethod=null, oxdRpProgrammingLanguage=null}
2018-10-04 23:22:44,318 INFO [org.xdi.oxd.server.op.RegisterSiteOperation] RP created: Rp{oxdId='6a6ce8e0-cbee-4ac4-92ad-513409fad7bb', opHost='https://ce-dev6.gluu.org', opDiscoveryPath='null', idToken='null', accessToken='null', authorizationRedirectUri='https://dev1.gluu.org:1338', postLogoutRedirectUri='https://dev1.gluu.org:1338', applicationType='web', redirectUris=[https://dev1.gluu.org:1338], frontChannelLogoutUri=null, claimsRedirectUri=[], responseTypes=[code], clientId='@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!A195.5AEA.F094.320F', clientRegistrationAccessToken='c3e5d214-e3c2-4778-b0e0-657991c8a602', clientRegistrationClientUri='https://ce-dev6.gluu.org/oxauth/restv1/register?client_id=@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!A195.5AEA.F094.320F', clientIdIssuedAt=Thu Oct 04 23:21:42 UTC 2018, clientSecretExpiresAt=Fri Oct 05 23:21:42 UTC 2018, clientName='konga_client', sectorIdentifierUri='null', clientJwksUri='null', setupClient='null', setupOxdId='null', setupClientId='null', scope=[openid, uma_protection, oxd], uiLocales=[en], claimsLocales=[en], acrValues=[], grantType=[authorization_code, client_credentials], contacts=[], userId='null', userSecret='null', pat='null', patExpiresIn=0, patCreatedAt=null, patRefreshToken='null', umaProtectedResources=[], rpt='null', rptTokenType='null', rptPct='null', rptExpiresAt=null, rptCreatedAt=null, rptUpgraded=null, tokenEndpointAuthSigningAlg=null, tokenEndpointAuthMethod=null, oxdRpProgrammingLanguage=null}
2018-10-04 23:22:44,326 DEBUG [org.xdi.oxd.server.persistence.SqlPersistenceServiceImpl] RP updated successfully. RP : Rp{oxdId='c240d159-4eab-427a-9ade-e2642fd679ca', opHost='https://ce-dev6.gluu.org', opDiscoveryPath='null', idToken='null', accessToken='null', authorizationRedirectUri='https://dev1.gluu.org:1338', postLogoutRedirectUri='https://dev1.gluu.org:1338', applicationType='web', redirectUris=[https://dev1.gluu.org:1338], frontChannelLogoutUri=null, claimsRedirectUri=[], responseTypes=[code], clientId='@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!D0F5.AB70.6484.CA9C', clientRegistrationAccessToken='103c74dd-ea40-4da2-9561-77618e236b19', clientRegistrationClientUri='https://ce-dev6.gluu.org/oxauth/restv1/register?client_id=@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!D0F5.AB70.6484.CA9C', clientIdIssuedAt=Thu Oct 04 23:21:42 UTC 2018, clientSecretExpiresAt=Fri Oct 05 23:21:42 UTC 2018, clientName='konga_setup_client', sectorIdentifierUri='null', clientJwksUri='null', setupClient='true', setupOxdId='null', setupClientId='null', scope=[openid, uma_protection, oxd], uiLocales=[en], claimsLocales=[en], acrValues=[], grantType=[authorization_code, client_credentials], contacts=[], userId='null', userSecret='null', pat='null', patExpiresIn=0, patCreatedAt=null, patRefreshToken='null', umaProtectedResources=[], rpt='null', rptTokenType='null', rptPct='null', rptExpiresAt=null, rptCreatedAt=null, rptUpgraded=null, tokenEndpointAuthSigningAlg=null, tokenEndpointAuthMethod=null, oxdRpProgrammingLanguage=null}
2018-10-04 23:22:44,328 DEBUG [org.xdi.oxd.server.persistence.SqlPersistenceServiceImpl] RP updated successfully. RP : Rp{oxdId='6a6ce8e0-cbee-4ac4-92ad-513409fad7bb', opHost='https://ce-dev6.gluu.org', opDiscoveryPath='null', idToken='null', accessToken='null', authorizationRedirectUri='https://dev1.gluu.org:1338', postLogoutRedirectUri='https://dev1.gluu.org:1338', applicationType='web', redirectUris=[https://dev1.gluu.org:1338], frontChannelLogoutUri=null, claimsRedirectUri=[], responseTypes=[code], clientId='@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!A195.5AEA.F094.320F', clientRegistrationAccessToken='c3e5d214-e3c2-4778-b0e0-657991c8a602', clientRegistrationClientUri='https://ce-dev6.gluu.org/oxauth/restv1/register?client_id=@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!A195.5AEA.F094.320F', clientIdIssuedAt=Thu Oct 04 23:21:42 UTC 2018, clientSecretExpiresAt=Fri Oct 05 23:21:42 UTC 2018, clientName='konga_client', sectorIdentifierUri='null', clientJwksUri='null', setupClient='null', setupOxdId='c240d159-4eab-427a-9ade-e2642fd679ca', setupClientId='@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!D0F5.AB70.6484.CA9C', scope=[openid, uma_protection, oxd], uiLocales=[en], claimsLocales=[en], acrValues=[], grantType=[authorization_code, client_credentials], contacts=[], userId='null', userSecret='null', pat='null', patExpiresIn=0, patCreatedAt=null, patRefreshToken='null', umaProtectedResources=[], rpt='null', rptTokenType='null', rptPct='null', rptExpiresAt=null, rptCreatedAt=null, rptUpgraded=null, tokenEndpointAuthSigningAlg=null, tokenEndpointAuthMethod=null, oxdRpProgrammingLanguage=null}
2018-10-04 23:22:44,360 TRACE [org.xdi.oxd.server.Processor] Send back response: {"status":"ok","data":{"oxd_id":"6a6ce8e0-cbee-4ac4-92ad-513409fad7bb","client_id_of_oxd_id":"@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!A195.5AEA.F094.320F","op_host":"https://ce-dev6.gluu.org","setup_client_oxd_id":"c240d159-4eab-427a-9ade-e2642fd679ca","client_id":"@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!D0F5.AB70.6484.CA9C","client_secret":"2171d494-dcd8-456f-a9eb-92a2492b61a5","client_registration_access_token":"103c74dd-ea40-4da2-9561-77618e236b19","client_registration_client_uri":"https://ce-dev6.gluu.org/oxauth/restv1/register?client_id=@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!D0F5.AB70.6484.CA9C","client_id_issued_at":1538695302,"client_secret_expires_at":1538781702}}
2018-10-04 23:22:44,364 TRACE [org.xdi.oxd.server.SocketProcessor] Socket processor handling...
2018-10-04 23:22:53,403 INFO [org.xdi.oxd.server.ServerLauncher] Starting...
2018-10-04 23:22:53,421 INFO [org.xdi.oxd.server.ServerLauncher] commit: 14d25f9eaca91a31198e2fab149be2c50e84e1ea, branch: origin/version_3.1.4, build time:02.10.2018 @ 12:11:31 EDT
2018-10-04 23:22:54,910 TRACE [org.xdi.oxd.server.service.ConfigurationService] Try to load configuration from system property: oxd.server.config, value: /etc/oxd/oxd-server/oxd-conf.json
2018-10-04 23:22:55,990 TRACE [org.xdi.oxd.server.service.ConfigurationService] Configuration loaded successfully from system property: oxd.server.config.
2018-10-04 23:22:55,996 TRACE [org.xdi.oxd.server.service.ConfigurationService] Configuration: Configuration{port=8099, timeOutInSeconds=0, registerClientAppType='web', registerClientResponesType='code', serverName='dev1.gluu.org', localhostOnly=true, useClientAuthenticationForPat=true, trustAllCerts=true, keyStorePath='', keyStorePassword='', cryptProviderKeyStorePath='', cryptProviderKeyStorePassword='', cryptProviderDnName='', licenseId='b9d9140e-0732-4a96-b4be-215597377a10', publicKey='47SbaB5bmXBXpKWgtMGNot9CIN++xJITnqlOsCRsQA4swMFwPeSIBIyPqSPB0qBGBCvI9ER0FTYqH9z6XnRJ1txNdzc0voY/SDGw+OQe0emC3HgXax0+lR4JsYkuQ3C+cnfqyunHQgnwDVcx4fS0MvxWewu03q9ppc1UlImNe7nesm3tzP0dsvVkEMeAWyEbrsu58JzUmFDGDzl0sVKjtBs+czf1ETWd48q5a3IDq5DNSbT4E4Hr3dmLz72nEPBr9Bsoqik4wWiGl8YMa9w4BZiKZQjoIfvboxSwhJRy1kKCEzi/kJqLX6EZ/cCUw8fgn/Xu2Kaov8CI7dtOSi3DqKWQbcDdRpoZJTas+6uyux4tMzZPnblfYnlPaDJRBt9WOgL4SWBdoukw9/QXubXSEA==', publicPassword='3Rczv1eJ0sDnFOGLLEkX', licensePassword='a7rkv7VCFOum40eFtfbL', supportGoogleLogout=true, stateExpirationInMinutes=5, nonceExpirationInMinutes=5, publicOpKeyCacheExpirationInMinutes=60, protectCommandsWithAccessToken=false, uma2AuthRegisterClaimsGatheringEndpointAsRedirectUriOfClient=true, migrationSourceFolderPath='', storage='h2', storageConfiguration={"dbFileLocation":"/opt/oxd-server/data/oxd_db"}}
2018-10-04 23:22:55,996 TRACE [org.xdi.oxd.server.service.ConfigurationService] Trying to read oxd-default-site-config.json, path: /etc/oxd/oxd-server/oxd-default-site-config.json
2018-10-04 23:22:56,450 INFO [org.xdi.oxd.server.service.ConfigurationService] Default RP configuration loaded successfully: Rp{oxdId='null', opHost='https://ce-dev6.gluu.org', opDiscoveryPath='oxauth/.well-known/openid-configuration', idToken='null', accessToken='null', authorizationRedirectUri='null', postLogoutRedirectUri='null', applicationType='null', redirectUris=null, frontChannelLogoutUri=null, claimsRedirectUri=null, responseTypes=[code], clientId='null', clientRegistrationAccessToken='null', clientRegistrationClientUri='null', clientIdIssuedAt=null, clientSecretExpiresAt=null, clientName='null', sectorIdentifierUri='null', clientJwksUri='null', setupClient='null', setupOxdId='null', setupClientId='null', scope=[openid, profile, email], uiLocales=[en], claimsLocales=[en], acrValues=[], grantType=null, contacts=[], userId='null', userSecret='null', pat='null', patExpiresIn=0, patCreatedAt=null, patRefreshToken='null', umaProtectedResources=[], rpt='null', rptTokenType='null', rptPct='null', rptExpiresAt=null, rptCreatedAt=null, rptUpgraded=null, tokenEndpointAuthSigningAlg=null, tokenEndpointAuthMethod=null, oxdRpProgrammingLanguage=null}
2018-10-04 23:22:57,548 DEBUG [org.xdi.oxd.server.persistence.SqlPersistenceServiceImpl] Schema created successfully.
2018-10-04 23:22:57,671 INFO [org.xdi.oxd.server.persistence.SqlPersistenceServiceImpl] Loaded 2 RPs.
2018-10-04 23:22:57,671 DEBUG [org.xdi.oxd.server.service.MigrationService] Migration source folder is not specified.
2018-10-04 23:22:57,671 DEBUG [org.xdi.oxd.server.service.MigrationService] Skip migration because migration source folder is not specified or otherwise invalid.
2018-10-04 23:22:57,680 INFO [org.xdi.oxd.server.service.SocketService] Server socket is bound to port: 8099, with timeout: 0 seconds. Start listening for notifications.
----------------------/opt/gluu-gateway/setup/gluu-gateway-setup_error.log-----------------------------------
23:22:20 10/04/18 Generating RSA private key, 2048 bit long modulus
.......................................................+++
..............................+++
e is 65537 (0x10001)
23:22:20 10/04/18 writing RSA key
23:22:20 10/04/18 Signature ok
subject=/C=TS/ST=Test/L=Test/O=Test/CN=dev1.gluu.org/emailAddress=admin@test.com
Getting Private key
23:22:38 10/04/18 tar: osenv/LICENSE: implausibly old time stamp 1970-01-01 00:00:00
tar: osenv/README.md: implausibly old time stamp 1970-01-01 00:00:00
tar: osenv/osenv.js: implausibly old time stamp 1970-01-01 00:00:00
23:22:45 10/04/18 Error: no such prefix: /usr/local/kong
Run with --v (verbose) or --vv (debug) for more details
23:22:45 10/04/18 2018/10/04 23:22:45 [warn] ulimit is currently set to "1024". For better performance set it to at least "4096" using "ulimit -n"
23:22:55 10/04/18 2018/10/04 23:22:49 [warn] ulimit is currently set to "1024". For better performance set it to at least "4096" using "ulimit -n"
----------------------/opt/gluu-gateway/setup/gluu-gateway-setup.log-----------------------------------
23:22:19 10/04/18 Running: /bin/mkdir -p ./certs
23:22:19 10/04/18 Running: /bin/mkdir -p ./output
23:22:19 10/04/18 OS Type: centos OS Version: 6
23:22:19 10/04/18 Generating Certificate for gluu-gateway
23:22:19 10/04/18 Running: /usr/bin/openssl genrsa -des3 -out ./certs/gluu-gateway.key.orig -passout pass:UrEF916JLFwh 2048
23:22:20 10/04/18 Generating RSA private key, 2048 bit long modulus
.......................................................+++
..............................+++
e is 65537 (0x10001)
23:22:20 10/04/18 Running: /usr/bin/openssl rsa -in ./certs/gluu-gateway.key.orig -passin pass:UrEF916JLFwh -out ./certs/gluu-gateway.key
23:22:20 10/04/18 writing RSA key
23:22:20 10/04/18 Running: /usr/bin/openssl req -new -key ./certs/gluu-gateway.key -out ./certs/gluu-gateway.csr -subj /C=TS/ST=Test/L=Test/O=Test/CN=dev1.gluu.org/emailAddress=admin@test.com
23:22:20 10/04/18 Running: /usr/bin/openssl x509 -req -days 365 -in ./certs/gluu-gateway.csr -signkey ./certs/gluu-gateway.key -out ./certs/gluu-gateway.crt
23:22:20 10/04/18 Signature ok
subject=/C=TS/ST=Test/L=Test/O=Test/CN=dev1.gluu.org/emailAddress=admin@test.com
Getting Private key
23:22:20 10/04/18 Running: /bin/chown root:root ./certs/gluu-gateway.key.orig
23:22:20 10/04/18 Running: /bin/chmod 700 ./certs/gluu-gateway.key.orig
23:22:20 10/04/18 Running: /bin/chown root:root ./certs/gluu-gateway.key
23:22:20 10/04/18 Running: /bin/chmod 700 ./certs/gluu-gateway.key
23:22:20 10/04/18 Installing server JRE 1.8 162...
23:22:20 10/04/18 Extracting server-jre-8u162-linux-x64.tar.gz into /opt/
23:22:20 10/04/18 Running: tar -xzf /opt/gluu-gateway/dist/app/server-jre-8u162-linux-x64.tar.gz -C /opt/ --no-xattrs --no-same-owner --no-same-permissions
23:22:21 10/04/18 Running: /bin/ln -sf /opt/jdk1.8.0_162 /opt/jre
23:22:21 10/04/18 Running: /bin/chmod -R 755 /opt/jdk1.8.0_162/bin/
23:22:21 10/04/18 Running: alternatives --install /usr/bin/java java /opt/jre/bin/java 1
23:22:21 10/04/18 Configuring postgres...
23:22:21 10/04/18 Running: /bin/ln /etc/init.d/postgresql-10 /etc/init.d/postgresql
23:22:21 10/04/18 Running: service postgresql-10 initdb
23:22:24 10/04/18 Initializing database: [ OK ]
23:22:24 10/04/18 Rendering template /var/lib/pgsql/10/data/pg_hba.conf
23:22:24 10/04/18 Running: service postgresql start
23:22:26 10/04/18 Starting postgresql service: [ OK ]
23:22:26 10/04/18 Rendering template /etc/oxd/oxd-server/oxd-conf.json
23:22:26 10/04/18 Rendering template /etc/oxd/oxd-server/oxd-default-site-config.json
23:22:26 10/04/18 Running: service oxd-server start
23:22:27 10/04/18 Starting oxd-server:
PID: [1870]
OK Thu Oct 4 23:22:27 UTC 2018
23:22:27 10/04/18 Running: service oxd-https-extension start
23:22:27 10/04/18 Starting oxd-https-extension ...
PID: [1885]
23:22:27 10/04/18 Installing konga node packages...
23:22:27 10/04/18 Running: /bin/mkdir -p /opt/gluu-gateway/konga/node_modules
23:22:27 10/04/18 Extracting gg_node_modules.tar.gz into /opt/gluu-gateway/konga/node_modules
23:22:27 10/04/18 Running: tar --strip 1 -xzf /opt/gluu-gateway/dist/gg_node_modules.tar.gz -C /opt/gluu-gateway/konga/node_modules --no-xattrs --no-same-owner --no-same-permissions
23:22:38 10/04/18 tar: osenv/LICENSE: implausibly old time stamp 1970-01-01 00:00:00
tar: osenv/README.md: implausibly old time stamp 1970-01-01 00:00:00
tar: osenv/osenv.js: implausibly old time stamp 1970-01-01 00:00:00
23:22:38 10/04/18 Running: /bin/mkdir -p /opt/gluu-gateway/konga/assets/bower_components
23:22:38 10/04/18 Extracting gg_bower_components.tar.gz into /opt/gluu-gateway/konga/assets/bower_components
23:22:38 10/04/18 Running: tar --strip 1 -xzf /opt/gluu-gateway/dist/gg_bower_components.tar.gz -C /opt/gluu-gateway/konga/assets/bower_components --no-xattrs --no-same-owner --no-same-permissions
23:22:39 10/04/18 Creating konga oxd client used to call oxd-https endpoints...
23:22:44 10/04/18 Running: /bin/touch local.js
23:22:44 10/04/18 Run: /bin/touch local.js with result code: 0
23:22:44 10/04/18 Rendering template /opt/gluu-gateway/konga/config/local.js
23:22:44 10/04/18 Rendering template /etc/kong/kong.conf
23:22:44 10/04/18 Installing luarocks packages...
23:22:44 10/04/18 Running: /bin/cp /opt/gluu-gateway/third-party/json-lua/JSON.lua /usr/local/share/lua/5.1
23:22:44 10/04/18 Running: /bin/cp /opt/gluu-gateway/third-party/oxd-web-lua/oxdweb.lua /usr/local/share/lua/5.1
23:22:44 10/04/18 Running: /bin/mkdir -p /usr/local/share/lua/5.1/rucciva
23:22:44 10/04/18 Running: /bin/cp /opt/gluu-gateway/third-party/json-logic-lua/logic.lua /usr/local/share/lua/5.1/rucciva/json_logic.lua
23:22:44 10/04/18 Running: /bin/mv /opt/gluu-gateway/plugins/gluu-oauth2-client-auth /usr/local/share/lua/5.1/kong/plugins
23:22:44 10/04/18 Running: /bin/mv /opt/gluu-gateway/plugins/gluu-oauth2-rs /usr/local/share/lua/5.1/kong/plugins
23:22:44 10/04/18 Running: kong migrations up
23:22:45 10/04/18 migrating core for database kong
core migrated up to: 2015-01-12-175310_skeleton
core migrated up to: 2015-01-12-175310_init_schema
core migrated up to: 2015-11-23-817313_nodes
core migrated up to: 2016-02-29-142793_ttls
core migrated up to: 2016-09-05-212515_retries
core migrated up to: 2016-09-16-141423_upstreams
core migrated up to: 2016-12-14-172100_move_ssl_certs_to_core
core migrated up to: 2016-11-11-151900_new_apis_router_1
core migrated up to: 2016-11-11-151900_new_apis_router_2
core migrated up to: 2016-11-11-151900_new_apis_router_3
core migrated up to: 2016-01-25-103600_unique_custom_id
core migrated up to: 2017-01-24-132600_upstream_timeouts
core migrated up to: 2017-01-24-132600_upstream_timeouts_2
core migrated up to: 2017-03-27-132300_anonymous
core migrated up to: 2017-04-18-153000_unique_plugins_id
core migrated up to: 2017-04-18-153000_unique_plugins_id_2
core migrated up to: 2017-05-19-180200_cluster_events
core migrated up to: 2017-05-19-173100_remove_nodes_table
core migrated up to: 2017-06-16-283123_ttl_indexes
migrating response-transformer for database kong
response-transformer migrated up to: 2016-05-04-160000_resp_trans_schema_changes
migrating ip-restriction for database kong
ip-restriction migrated up to: 2016-05-24-remove-cache
migrating statsd for database kong
statsd migrated up to: 2017-06-09-160000_statsd_schema_changes
migrating jwt for database kong
jwt migrated up to: 2015-06-09-jwt-auth
jwt migrated up to: 2016-03-07-jwt-alg
jwt migrated up to: 2017-05-22-jwt_secret_not_unique
migrating cors for database kong
cors migrated up to: 2017-03-14_multiple_orgins
migrating basic-auth for database kong
basic-auth migrated up to: 2015-08-03-132400_init_basicauth
basic-auth migrated up to: 2017-01-25-180400_unique_username
migrating key-auth for database kong
key-auth migrated up to: 2015-07-31-172400_init_keyauth
migrating rate-limiting for database kong
rate-limiting migrated up to: 2015-08-03-132400_init_ratelimiting
rate-limiting migrated up to: 2016-07-25-471385_ratelimiting_policies
migrating hmac-auth for database kong
hmac-auth migrated up to: 2015-09-16-132400_init_hmacauth
hmac-auth migrated up to: 2017-06-21-132400_init_hmacauth
migrating gluu-oauth2-client-auth for database kong
gluu-oauth2-client-auth migrated up to: 2017-01-22558_init_gluu_oauth2_client_auth_credentials
migrating datadog for database kong
datadog migrated up to: 2017-06-09-160000_datadog_schema_changes
migrating acl for database kong
acl migrated up to: 2015-08-25-841841_init_acl
migrating galileo for database kong
galileo migrated up to: 2016-04-15_galileo-import-mashape-analytics
migrating response-ratelimiting for database kong
response-ratelimiting migrated up to: 2015-08-03-132400_init_response_ratelimiting
response-ratelimiting migrated up to: 2016-08-04-321512_response-rate-limiting_policies
migrating request-transformer for database kong
request-transformer migrated up to: 2016-05-04-160000_req_trans_schema_changes
migrating oauth2 for database kong
oauth2 migrated up to: 2015-08-03-132400_init_oauth2
oauth2 migrated up to: 2016-07-15-oauth2_code_credential_id
oauth2 migrated up to: 2016-12-22-283949_serialize_redirect_uri
oauth2 migrated up to: 2016-09-19-oauth2_api_id
oauth2 migrated up to: 2016-12-15-set_global_credentials
oauth2 migrated up to: 2017-04-24-oauth2_client_secret_not_unique
46 migrations ran
23:22:45 10/04/18 Running: kong stop
23:22:45 10/04/18 Error: no such prefix: /usr/local/kong
Run with --v (verbose) or --vv (debug) for more details
23:22:45 10/04/18 Running: kong start
23:22:45 10/04/18 prefix directory /usr/local/kong not found, trying to create it
Kong started
23:22:45 10/04/18 2018/10/04 23:22:45 [warn] ulimit is currently set to "1024". For better performance set it to at least "4096" using "ulimit -n"
23:22:45 10/04/18 Starting gluu-gateway...
23:22:45 10/04/18 Running: service oxd-server stop
23:22:46 10/04/18 Stopping oxd-server: OK
23:22:46 10/04/18 Running: service oxd-https-extension stop
23:22:46 10/04/18 oxd-https-extension stoping ...
23:22:46 10/04/18 Running: service gluu-gateway stop
23:22:47 10/04/18 Stopping postgresql service: [ OK ]
Stopping kong ...
Kong stopped
oxd-server is not running ...
oxd-https-extension is not running ...
konga is not running ...
23:22:47 10/04/18 Running: service gluu-gateway start
23:22:55 10/04/18 Starting postgresql service: [ OK ]
Starting kong ...
Kong started
PID: []
Starting oxd-server:
PID: [2276]
OK Thu Oct 4 23:22:49 UTC 2018
Starting oxd-https-extension ...
PID: [2290]
Starting konga ...
PID: [2313]
23:22:55 10/04/18 2018/10/04 23:22:49 [warn] ulimit is currently set to "1024". For better performance set it to at least "4096" using "ulimit -n"
23:22:55 10/04/18 Running: chkconfig gluu-gateway on
----------------------netstat -tulpn----------------------------------
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 2229/nginx
tcp 0 0 0.0.0.0:8445 0.0.0.0:* LISTEN 2229/nginx
tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN 2229/nginx
tcp 0 0 0.0.0.0:8001 0.0.0.0:* LISTEN 2229/nginx
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1269/sshd
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 2182/postmaster
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1348/master
tcp 0 0 0.0.0.0:1338 0.0.0.0:* LISTEN 2313/node
tcp 0 0 :::8443 :::* LISTEN 2290/java
tcp 0 0 :::8444 :::* LISTEN 2290/java
tcp 0 0 ::ffff:127.0.0.1:8099 :::* LISTEN 2276/java
tcp 0 0 :::22 :::* LISTEN 1269/sshd
----------------------services----------------------------------
kong is running ...
PID: [2229]
konga is running ...
PID: [2313]
oxd server running pid=2276
OXD_HOME = /opt/oxd-server
OXD_BASE = /opt/oxd-server
OXD_CONF =
OXD_PID_FILE = /var/run/oxd-server.pid
OXD_START = org.xdi.oxd.server.ServerLauncher
OXD_LOGS = /var/log/oxd-server
OXD_STATE = /opt/oxd-server/oxd-server.state
CLASSPATH =
JAVA = /opt/jre/bin/java
JAVA_OPTIONS = -server -Xms256m -Xmx512m -XX:MaxMetaspaceSize=256m -XX:+DisableExplicitGC -Doxd.server.config=/etc/oxd/oxd-server/oxd-conf.json -Dlog4j.configuration=/etc/oxd/oxd-server/log4j.xml -cp /opt/oxd-server/lib/bcprov-jdk15on-1.54.jar:/opt/oxd-server/lib/oxd-server-jar-with-dependencies.jar -Doxd.logging.dir=/var/log/oxd-server -Doxd.home=/opt/oxd-server -Doxd.base=/opt/oxd-server -Djava.io.tmpdir=/tmp
OXD_ARGS = oxd-server.state=/opt/oxd-server/oxd-server.state
RUN_CMD = /opt/jre/bin/java -server -Xms256m -Xmx512m -XX:MaxMetaspaceSize=256m -XX:+DisableExplicitGC -Doxd.server.config=/etc/oxd/oxd-server/oxd-conf.json -Dlog4j.configuration=/etc/oxd/oxd-server/log4j.xml -cp /opt/oxd-server/lib/bcprov-jdk15on-1.54.jar:/opt/oxd-server/lib/oxd-server-jar-with-dependencies.jar -Doxd.logging.dir=/var/log/oxd-server -Doxd.home=/opt/oxd-server -Doxd.base=/opt/oxd-server -Djava.io.tmpdir=/tmp org.xdi.oxd.server.ServerLauncher oxd-server.state=/opt/oxd-server/oxd-server.state
oxd-https-extension is running ...
PID: [2290]
Konga is running
Kong is running
Oxd-server is running
Oxd-https-extension is running
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 4546 killed;
[ssh-agent] Stopped.
Finished: SUCCESS