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-WXpVmySa0HVf/agent.6078 SSH_AGENT_PID=6081 [ssh-agent] Started. $ ssh-add /home/tomcat/.jenkins/jobs/GG_Test_Deploy/workspace@tmp/private_key_1456189904213391186.key Identity added: /home/tomcat/.jenkins/jobs/GG_Test_Deploy/workspace@tmp/private_key_1456189904213391186.key (/home/tomcat/.jenkins/jobs/GG_Test_Deploy/workspace@tmp/private_key_1456189904213391186.key) [ssh-agent] Using credentials michal (GG test droplet restart) $ ssh-add /home/tomcat/.jenkins/jobs/GG_Test_Deploy/workspace@tmp/private_key_3441955655408283915.key Identity added: /home/tomcat/.jenkins/jobs/GG_Test_Deploy/workspace@tmp/private_key_3441955655408283915.key (/home/tomcat/.jenkins/jobs/GG_Test_Deploy/workspace@tmp/private_key_3441955655408283915.key) [ssh-agent] Using credentials root (Jenkins test node) [workspace] $ /bin/sh -xe /opt/tomcat/temp/jenkins168501731727827460.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 centos7 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 771 100 733 100 38 1248 64 --:--:-- --:--:-- --:--:-- 1248 {"action":{"id":534143943,"status":"in-progress","type":"restore","started_at":"2018-10-04T23:24: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"}}+ 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 Determining fastest mirrors * base: centos.mirror.constant.com * extras: centos.mirror.constant.com * updates: centos.mirror.constant.com Package wget-1.14-15.el7_4.1.x86_64 already installed and latest version Nothing to do --2018-10-04 23:25:46-- https://raw.githubusercontent.com/GluuFederation/gluu-gateway/master/tests/scripts/install.sh Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.20.133 Connecting to raw.githubusercontent.com (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% 70.1M=0s 2018-10-04 23:25:46 (70.1 MB/s) - ‘install.sh’ saved [8172/8172] Setting up swapspace version 1, size = 4194300 KiB no label, UUID=b9e59b4d-a440-4eb5-98d4-4a843d00813f swapon: /swapfile: swapon failed: Invalid argument 4096+0 records in 4096+0 records out 4294967296 bytes (4.3 GB) copied, 11.1699 s, 385 MB/s Setting up swapspace version 1, size = 4194300 KiB no label, UUID=d8ea96b0-36f8-4d01-9a5c-e42a07cab450 Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.mirror.constant.com * extras: centos.mirror.constant.com * updates: centos.mirror.constant.com Package wget-1.14-15.el7_4.1.x86_64 already installed and latest version Package curl-7.29.0-46.el7.x86_64 already installed and latest version No package xvfb available. Resolving Dependencies --> Running transaction check ---> Package lsof.x86_64 0:4.87-5.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: lsof x86_64 4.87-5.el7 base 331 k Transaction Summary ================================================================================ Install 1 Package Total download size: 331 k Installed size: 927 k Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : lsof-4.87-5.el7.x86_64 1/1 Verifying : lsof-4.87-5.el7.x86_64 1/1 Installed: lsof.x86_64 0:4.87-5.el7 Complete! --2018-10-04 23:26:00-- https://repo.gluu.org/centos/Gluu-centos-7-testing.repo Resolving repo.gluu.org (repo.gluu.org)... 165.227.82.89 Connecting to repo.gluu.org (repo.gluu.org)|165.227.82.89|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 185 Saving to: ‘/etc/yum.repos.d/Gluu.repo’ 0K 100% 7.42M=0s 2018-10-04 23:26:00 (7.42 MB/s) - ‘/etc/yum.repos.d/Gluu.repo’ saved [185/185] --2018-10-04 23:26:00-- https://repo.gluu.org/centos/RPM-GPG-KEY-GLUU Resolving repo.gluu.org (repo.gluu.org)... 165.227.82.89 Connecting to repo.gluu.org (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% 108M=0s 2018-10-04 23:26:00 (108 MB/s) - ‘/etc/pki/rpm-gpg/RPM-GPG-KEY-GLUU’ saved [3112/3112] warning: /var/tmp/rpm-tmp.pSSHQ2: Header V4 DSA/SHA1 Signature, key ID 442df0f8: NOKEY Retrieving https://yum.postgresql.org/10/redhat/rhel-7-x86_64/pgdg-centos10-10-2.noarch.rpm Preparing... ######################################## Updating / installing... pgdg-centos10-10-2 ######################################## ## 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 "el7-x86_64" is supported... + curl -sLf -o /dev/null 'https://rpm.nodesource.com/pub_8.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm' ## Downloading release setup RPM... + mktemp + curl -sL -o '/tmp/tmp.mFR58fTg9v' 'https://rpm.nodesource.com/pub_8.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm' ## Installing release setup RPM... + rpm -i --nosignature --force '/tmp/tmp.mFR58fTg9v' ## Cleaning up... + rm -f '/tmp/tmp.mFR58fTg9v' ## 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-7-testing-repo base extras nodesource pgdg10 : updates Cleaning up everything Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos Cleaning up list of fastest mirrors Loaded plugins: fastestmirror Determining fastest mirrors * base: centos.mirror.constant.com * extras: centos.mirror.constant.com * updates: centos.mirror.constant.com Resolving Dependencies --> Running transaction check ---> Package gluu-gateway.noarch 0:3.1.4-27.centos7 will be installed --> Processing Dependency: oxd-server = 3.1.4 for package: gluu-gateway-3.1.4-27.centos7.noarch --> Processing Dependency: kong-community-edition = 0.11.0 for package: gluu-gateway-3.1.4-27.centos7.noarch --> Processing Dependency: postgresql >= 10 for package: gluu-gateway-3.1.4-27.centos7.noarch --> Processing Dependency: postgresql-server >= 10 for package: gluu-gateway-3.1.4-27.centos7.noarch --> Processing Dependency: git for package: gluu-gateway-3.1.4-27.centos7.noarch --> Processing Dependency: unzip for package: gluu-gateway-3.1.4-27.centos7.noarch --> Processing Dependency: nodejs for package: gluu-gateway-3.1.4-27.centos7.noarch --> Processing Dependency: lua-cjson for package: gluu-gateway-3.1.4-27.centos7.noarch --> Running transaction check ---> Package git.x86_64 0:1.8.3.1-14.el7_5 will be installed --> Processing Dependency: perl-Git = 1.8.3.1-14.el7_5 for package: git-1.8.3.1-14.el7_5.x86_64 --> Processing Dependency: perl >= 5.008 for package: git-1.8.3.1-14.el7_5.x86_64 --> Processing Dependency: perl(warnings) for package: git-1.8.3.1-14.el7_5.x86_64 --> Processing Dependency: perl(vars) for package: git-1.8.3.1-14.el7_5.x86_64 --> Processing Dependency: perl(strict) for package: git-1.8.3.1-14.el7_5.x86_64 --> Processing Dependency: perl(lib) for package: git-1.8.3.1-14.el7_5.x86_64 --> Processing Dependency: perl(Term::ReadKey) for package: git-1.8.3.1-14.el7_5.x86_64 --> Processing Dependency: perl(Git) for package: git-1.8.3.1-14.el7_5.x86_64 --> Processing Dependency: perl(Getopt::Long) for package: git-1.8.3.1-14.el7_5.x86_64 --> Processing Dependency: perl(File::stat) for package: git-1.8.3.1-14.el7_5.x86_64 --> Processing Dependency: perl(File::Temp) for package: git-1.8.3.1-14.el7_5.x86_64 --> Processing Dependency: perl(File::Spec) for package: git-1.8.3.1-14.el7_5.x86_64 --> Processing Dependency: perl(File::Path) for package: git-1.8.3.1-14.el7_5.x86_64 --> Processing Dependency: perl(File::Find) for package: git-1.8.3.1-14.el7_5.x86_64 --> Processing Dependency: perl(File::Copy) for package: git-1.8.3.1-14.el7_5.x86_64 --> Processing Dependency: perl(File::Basename) for package: git-1.8.3.1-14.el7_5.x86_64 --> Processing Dependency: perl(Exporter) for package: git-1.8.3.1-14.el7_5.x86_64 --> Processing Dependency: perl(Error) for package: git-1.8.3.1-14.el7_5.x86_64 --> Processing Dependency: /usr/bin/perl for package: git-1.8.3.1-14.el7_5.x86_64 --> Processing Dependency: libgnome-keyring.so.0()(64bit) for package: git-1.8.3.1-14.el7_5.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-14.centos7 will be installed ---> Package postgresql10.x86_64 0:10.5-1PGDG.rhel7 will be installed --> Processing Dependency: postgresql10-libs(x86-64) = 10.5-1PGDG.rhel7 for package: postgresql10-10.5-1PGDG.rhel7.x86_64 --> Processing Dependency: libicu for package: postgresql10-10.5-1PGDG.rhel7.x86_64 --> Processing Dependency: libpq.so.5()(64bit) for package: postgresql10-10.5-1PGDG.rhel7.x86_64 ---> Package postgresql10-server.x86_64 0:10.5-1PGDG.rhel7 will be installed ---> Package unzip.x86_64 0:6.0-19.el7 will be installed --> Running transaction check ---> Package libgnome-keyring.x86_64 0:3.12.0-1.el7 will be installed ---> Package libicu.x86_64 0:50.1.2-15.el7 will be installed ---> Package perl.x86_64 4:5.16.3-292.el7 will be installed --> Processing Dependency: perl-libs = 4:5.16.3-292.el7 for package: 4:perl-5.16.3-292.el7.x86_64 --> Processing Dependency: perl(Socket) >= 1.3 for package: 4:perl-5.16.3-292.el7.x86_64 --> Processing Dependency: perl(Scalar::Util) >= 1.10 for package: 4:perl-5.16.3-292.el7.x86_64 --> Processing Dependency: perl-macros for package: 4:perl-5.16.3-292.el7.x86_64 --> Processing Dependency: perl-libs for package: 4:perl-5.16.3-292.el7.x86_64 --> Processing Dependency: perl(threads::shared) for package: 4:perl-5.16.3-292.el7.x86_64 --> Processing Dependency: perl(threads) for package: 4:perl-5.16.3-292.el7.x86_64 --> Processing Dependency: perl(constant) for package: 4:perl-5.16.3-292.el7.x86_64 --> Processing Dependency: perl(Time::Local) for package: 4:perl-5.16.3-292.el7.x86_64 --> Processing Dependency: perl(Storable) for package: 4:perl-5.16.3-292.el7.x86_64 --> Processing Dependency: perl(Socket) for package: 4:perl-5.16.3-292.el7.x86_64 --> Processing Dependency: perl(Scalar::Util) for package: 4:perl-5.16.3-292.el7.x86_64 --> Processing Dependency: perl(Pod::Simple::XHTML) for package: 4:perl-5.16.3-292.el7.x86_64 --> Processing Dependency: perl(Pod::Simple::Search) for package: 4:perl-5.16.3-292.el7.x86_64 --> Processing Dependency: perl(Filter::Util::Call) for package: 4:perl-5.16.3-292.el7.x86_64 --> Processing Dependency: perl(Carp) for package: 4:perl-5.16.3-292.el7.x86_64 --> Processing Dependency: libperl.so()(64bit) for package: 4:perl-5.16.3-292.el7.x86_64 ---> Package perl-Error.noarch 1:0.17020-2.el7 will be installed ---> Package perl-Exporter.noarch 0:5.68-3.el7 will be installed ---> Package perl-File-Path.noarch 0:2.09-2.el7 will be installed ---> Package perl-File-Temp.noarch 0:0.23.01-3.el7 will be installed ---> Package perl-Getopt-Long.noarch 0:2.40-3.el7 will be installed --> Processing Dependency: perl(Pod::Usage) >= 1.14 for package: perl-Getopt-Long-2.40-3.el7.noarch --> Processing Dependency: perl(Text::ParseWords) for package: perl-Getopt-Long-2.40-3.el7.noarch ---> Package perl-Git.noarch 0:1.8.3.1-14.el7_5 will be installed ---> Package perl-PathTools.x86_64 0:3.40-5.el7 will be installed ---> Package perl-TermReadKey.x86_64 0:2.30-20.el7 will be installed ---> Package perl-Time-HiRes.x86_64 4:1.9725-3.el7 will be installed ---> Package postgresql10-libs.x86_64 0:10.5-1PGDG.rhel7 will be installed --> Running transaction check ---> Package perl-Carp.noarch 0:1.26-244.el7 will be installed ---> Package perl-Filter.x86_64 0:1.49-3.el7 will be installed ---> Package perl-Pod-Simple.noarch 1:3.28-4.el7 will be installed --> Processing Dependency: perl(Pod::Escapes) >= 1.04 for package: 1:perl-Pod-Simple-3.28-4.el7.noarch --> Processing Dependency: perl(Encode) for package: 1:perl-Pod-Simple-3.28-4.el7.noarch ---> Package perl-Pod-Usage.noarch 0:1.63-3.el7 will be installed --> Processing Dependency: perl(Pod::Text) >= 3.15 for package: perl-Pod-Usage-1.63-3.el7.noarch --> Processing Dependency: perl-Pod-Perldoc for package: perl-Pod-Usage-1.63-3.el7.noarch ---> Package perl-Scalar-List-Utils.x86_64 0:1.27-248.el7 will be installed ---> Package perl-Socket.x86_64 0:2.010-4.el7 will be installed ---> Package perl-Storable.x86_64 0:2.45-3.el7 will be installed ---> Package perl-Text-ParseWords.noarch 0:3.29-4.el7 will be installed ---> Package perl-Time-Local.noarch 0:1.2300-2.el7 will be installed ---> Package perl-constant.noarch 0:1.27-2.el7 will be installed ---> Package perl-libs.x86_64 4:5.16.3-292.el7 will be installed ---> Package perl-macros.x86_64 4:5.16.3-292.el7 will be installed ---> Package perl-threads.x86_64 0:1.87-4.el7 will be installed ---> Package perl-threads-shared.x86_64 0:1.43-6.el7 will be installed --> Running transaction check ---> Package perl-Encode.x86_64 0:2.51-7.el7 will be installed ---> Package perl-Pod-Escapes.noarch 1:1.04-292.el7 will be installed ---> Package perl-Pod-Perldoc.noarch 0:3.20-4.el7 will be installed --> Processing Dependency: perl(parent) for package: perl-Pod-Perldoc-3.20-4.el7.noarch --> Processing Dependency: perl(HTTP::Tiny) for package: perl-Pod-Perldoc-3.20-4.el7.noarch ---> Package perl-podlators.noarch 0:2.5.1-3.el7 will be installed --> Running transaction check ---> Package perl-HTTP-Tiny.noarch 0:0.033-3.el7 will be installed ---> Package perl-parent.noarch 1:0.225-244.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: gluu-gateway noarch 3.1.4-27.centos7 Gluu-rpm-centos-7-testing-repo 108 M Installing for dependencies: git x86_64 1.8.3.1-14.el7_5 updates 4.4 M kong-community-edition noarch 0.11.0-1 Gluu-rpm-centos-7-testing-repo 15 M libgnome-keyring x86_64 3.12.0-1.el7 base 109 k libicu x86_64 50.1.2-15.el7 base 6.9 M lua-cjson x86_64 2.1.0-1.el6 Gluu-rpm-centos-7-testing-repo 47 k nodejs x86_64 2:8.12.0-1nodesource nodesource 16 M oxd-server noarch 3.1.4-14.centos7 Gluu-rpm-centos-7-testing-repo 86 M perl x86_64 4:5.16.3-292.el7 base 8.0 M perl-Carp noarch 1.26-244.el7 base 19 k perl-Encode x86_64 2.51-7.el7 base 1.5 M perl-Error noarch 1:0.17020-2.el7 base 32 k perl-Exporter noarch 5.68-3.el7 base 28 k perl-File-Path noarch 2.09-2.el7 base 26 k perl-File-Temp noarch 0.23.01-3.el7 base 56 k perl-Filter x86_64 1.49-3.el7 base 76 k perl-Getopt-Long noarch 2.40-3.el7 base 56 k perl-Git noarch 1.8.3.1-14.el7_5 updates 54 k perl-HTTP-Tiny noarch 0.033-3.el7 base 38 k perl-PathTools x86_64 3.40-5.el7 base 82 k perl-Pod-Escapes noarch 1:1.04-292.el7 base 51 k perl-Pod-Perldoc noarch 3.20-4.el7 base 87 k perl-Pod-Simple noarch 1:3.28-4.el7 base 216 k perl-Pod-Usage noarch 1.63-3.el7 base 27 k perl-Scalar-List-Utils x86_64 1.27-248.el7 base 36 k perl-Socket x86_64 2.010-4.el7 base 49 k perl-Storable x86_64 2.45-3.el7 base 77 k perl-TermReadKey x86_64 2.30-20.el7 base 31 k perl-Text-ParseWords noarch 3.29-4.el7 base 14 k perl-Time-HiRes x86_64 4:1.9725-3.el7 base 45 k perl-Time-Local noarch 1.2300-2.el7 base 24 k perl-constant noarch 1.27-2.el7 base 19 k perl-libs x86_64 4:5.16.3-292.el7 base 688 k perl-macros x86_64 4:5.16.3-292.el7 base 43 k perl-parent noarch 1:0.225-244.el7 base 12 k perl-podlators noarch 2.5.1-3.el7 base 112 k perl-threads x86_64 1.87-4.el7 base 49 k perl-threads-shared x86_64 1.43-6.el7 base 39 k postgresql10 x86_64 10.5-1PGDG.rhel7 pgdg10 1.6 M postgresql10-libs x86_64 10.5-1PGDG.rhel7 pgdg10 354 k postgresql10-server x86_64 10.5-1PGDG.rhel7 pgdg10 4.5 M unzip x86_64 6.0-19.el7 base 170 k Transaction Summary ================================================================================ Install 1 Package (+41 Dependent packages) Total download size: 256 M Installed size: 410 M Downloading packages: Public key for nodejs-8.12.0-1nodesource.x86_64.rpm is not installed warning: /var/cache/yum/x86_64/7/nodesource/packages/nodejs-8.12.0-1nodesource.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 34fa74dd: NOKEY -------------------------------------------------------------------------------- Total 52 MB/s | 256 MB 00:04 Retrieving key from file:///etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL Importing GPG key 0x34FA74DD: Userid : "NodeSource <gpg-rpm@nodesource.com>" Fingerprint: 2e55 207a 95d9 944b 0cc9 3261 5ddb e8d4 34fa 74dd Package : nodesource-release-el7-1.noarch (installed) From : /etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL Running transaction check Running transaction test Transaction test succeeded Running transaction Warning: RPMDB altered outside of yum. Installing : libicu-50.1.2-15.el7.x86_64 1/42 Installing : postgresql10-libs-10.5-1PGDG.rhel7.x86_64 2/42 Installing : postgresql10-10.5-1PGDG.rhel7.x86_64 3/42 Installing : postgresql10-server-10.5-1PGDG.rhel7.x86_64 4/42 Installing : 1:perl-parent-0.225-244.el7.noarch 5/42 Installing : perl-HTTP-Tiny-0.033-3.el7.noarch 6/42 Installing : perl-podlators-2.5.1-3.el7.noarch 7/42 Installing : perl-Pod-Perldoc-3.20-4.el7.noarch 8/42 Installing : 1:perl-Pod-Escapes-1.04-292.el7.noarch 9/42 Installing : perl-Text-ParseWords-3.29-4.el7.noarch 10/42 Installing : perl-Encode-2.51-7.el7.x86_64 11/42 Installing : perl-Pod-Usage-1.63-3.el7.noarch 12/42 Installing : 4:perl-macros-5.16.3-292.el7.x86_64 13/42 Installing : 4:perl-libs-5.16.3-292.el7.x86_64 14/42 Installing : 4:perl-Time-HiRes-1.9725-3.el7.x86_64 15/42 Installing : perl-Exporter-5.68-3.el7.noarch 16/42 Installing : perl-constant-1.27-2.el7.noarch 17/42 Installing : perl-Time-Local-1.2300-2.el7.noarch 18/42 Installing : perl-Socket-2.010-4.el7.x86_64 19/42 Installing : perl-Carp-1.26-244.el7.noarch 20/42 Installing : perl-Storable-2.45-3.el7.x86_64 21/42 Installing : perl-threads-1.87-4.el7.x86_64 22/42 Installing : perl-threads-shared-1.43-6.el7.x86_64 23/42 Installing : perl-File-Path-2.09-2.el7.noarch 24/42 Installing : perl-PathTools-3.40-5.el7.x86_64 25/42 Installing : perl-File-Temp-0.23.01-3.el7.noarch 26/42 Installing : perl-Scalar-List-Utils-1.27-248.el7.x86_64 27/42 Installing : perl-Filter-1.49-3.el7.x86_64 28/42 Installing : 1:perl-Pod-Simple-3.28-4.el7.noarch 29/42 Installing : perl-Getopt-Long-2.40-3.el7.noarch 30/42 Installing : 4:perl-5.16.3-292.el7.x86_64 31/42 Installing : 1:perl-Error-0.17020-2.el7.noarch 32/42 Installing : perl-TermReadKey-2.30-20.el7.x86_64 33/42 Installing : kong-community-edition-0.11.0-1.noarch 34/42 Installing : lua-cjson-2.1.0-1.el6.x86_64 35/42 Installing : unzip-6.0-19.el7.x86_64 36/42 Installing : oxd-server-3.1.4-14.centos7.noarch 37/42 Installing : 2:nodejs-8.12.0-1nodesource.x86_64 38/42 Installing : libgnome-keyring-3.12.0-1.el7.x86_64 39/42 Installing : perl-Git-1.8.3.1-14.el7_5.noarch 40/42 Installing : git-1.8.3.1-14.el7_5.x86_64 41/42 Installing : gluu-gateway-3.1.4-27.centos7.noarch 42/42 /var/tmp/rpm-tmp.TePaZf: line 3: syntax error near unexpected token `missingok,' /var/tmp/rpm-tmp.TePaZf: line 3: `%config(missingok, noreplace) /opt/gluu-gateway/konga/config/application.js' warning: %post(gluu-gateway-3.1.4-27.centos7.noarch) scriptlet failed, exit status 2 Non-fatal POSTIN scriptlet failure in rpm package gluu-gateway-3.1.4-27.centos7.noarch Verifying : perl-HTTP-Tiny-0.033-3.el7.noarch 1/42 Verifying : libgnome-keyring-3.12.0-1.el7.x86_64 2/42 Verifying : perl-threads-shared-1.43-6.el7.x86_64 3/42 Verifying : 4:perl-Time-HiRes-1.9725-3.el7.x86_64 4/42 Verifying : perl-Exporter-5.68-3.el7.noarch 5/42 Verifying : perl-constant-1.27-2.el7.noarch 6/42 Verifying : perl-PathTools-3.40-5.el7.x86_64 7/42 Verifying : 4:perl-macros-5.16.3-292.el7.x86_64 8/42 Verifying : perl-File-Temp-0.23.01-3.el7.noarch 9/42 Verifying : postgresql10-10.5-1PGDG.rhel7.x86_64 10/42 Verifying : 1:perl-parent-0.225-244.el7.noarch 11/42 Verifying : 4:perl-5.16.3-292.el7.x86_64 12/42 Verifying : perl-TermReadKey-2.30-20.el7.x86_64 13/42 Verifying : postgresql10-server-10.5-1PGDG.rhel7.x86_64 14/42 Verifying : kong-community-edition-0.11.0-1.noarch 15/42 Verifying : 1:perl-Pod-Simple-3.28-4.el7.noarch 16/42 Verifying : perl-Time-Local-1.2300-2.el7.noarch 17/42 Verifying : 4:perl-libs-5.16.3-292.el7.x86_64 18/42 Verifying : perl-Pod-Perldoc-3.20-4.el7.noarch 19/42 Verifying : perl-Socket-2.010-4.el7.x86_64 20/42 Verifying : perl-Encode-2.51-7.el7.x86_64 21/42 Verifying : git-1.8.3.1-14.el7_5.x86_64 22/42 Verifying : perl-Carp-1.26-244.el7.noarch 23/42 Verifying : lua-cjson-2.1.0-1.el6.x86_64 24/42 Verifying : 1:perl-Error-0.17020-2.el7.noarch 25/42 Verifying : 2:nodejs-8.12.0-1nodesource.x86_64 26/42 Verifying : perl-Storable-2.45-3.el7.x86_64 27/42 Verifying : oxd-server-3.1.4-14.centos7.noarch 28/42 Verifying : 1:perl-Pod-Escapes-1.04-292.el7.noarch 29/42 Verifying : perl-Pod-Usage-1.63-3.el7.noarch 30/42 Verifying : perl-Git-1.8.3.1-14.el7_5.noarch 31/42 Verifying : gluu-gateway-3.1.4-27.centos7.noarch 32/42 Verifying : perl-podlators-2.5.1-3.el7.noarch 33/42 Verifying : postgresql10-libs-10.5-1PGDG.rhel7.x86_64 34/42 Verifying : perl-File-Path-2.09-2.el7.noarch 35/42 Verifying : libicu-50.1.2-15.el7.x86_64 36/42 Verifying : perl-threads-1.87-4.el7.x86_64 37/42 Verifying : perl-Scalar-List-Utils-1.27-248.el7.x86_64 38/42 Verifying : perl-Filter-1.49-3.el7.x86_64 39/42 Verifying : perl-Getopt-Long-2.40-3.el7.noarch 40/42 Verifying : perl-Text-ParseWords-3.29-4.el7.noarch 41/42 Verifying : unzip-6.0-19.el7.x86_64 42/42 Installed: gluu-gateway.noarch 0:3.1.4-27.centos7 Dependency Installed: git.x86_64 0:1.8.3.1-14.el7_5 kong-community-edition.noarch 0:0.11.0-1 libgnome-keyring.x86_64 0:3.12.0-1.el7 libicu.x86_64 0:50.1.2-15.el7 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-14.centos7 perl.x86_64 4:5.16.3-292.el7 perl-Carp.noarch 0:1.26-244.el7 perl-Encode.x86_64 0:2.51-7.el7 perl-Error.noarch 1:0.17020-2.el7 perl-Exporter.noarch 0:5.68-3.el7 perl-File-Path.noarch 0:2.09-2.el7 perl-File-Temp.noarch 0:0.23.01-3.el7 perl-Filter.x86_64 0:1.49-3.el7 perl-Getopt-Long.noarch 0:2.40-3.el7 perl-Git.noarch 0:1.8.3.1-14.el7_5 perl-HTTP-Tiny.noarch 0:0.033-3.el7 perl-PathTools.x86_64 0:3.40-5.el7 perl-Pod-Escapes.noarch 1:1.04-292.el7 perl-Pod-Perldoc.noarch 0:3.20-4.el7 perl-Pod-Simple.noarch 1:3.28-4.el7 perl-Pod-Usage.noarch 0:1.63-3.el7 perl-Scalar-List-Utils.x86_64 0:1.27-248.el7 perl-Socket.x86_64 0:2.010-4.el7 perl-Storable.x86_64 0:2.45-3.el7 perl-TermReadKey.x86_64 0:2.30-20.el7 perl-Text-ParseWords.noarch 0:3.29-4.el7 perl-Time-HiRes.x86_64 4:1.9725-3.el7 perl-Time-Local.noarch 0:1.2300-2.el7 perl-constant.noarch 0:1.27-2.el7 perl-libs.x86_64 4:5.16.3-292.el7 perl-macros.x86_64 4:5.16.3-292.el7 perl-parent.noarch 1:0.225-244.el7 perl-podlators.noarch 0:2.5.1-3.el7 perl-threads.x86_64 0:1.87-4.el7 perl-threads-shared.x86_64 0:1.43-6.el7 postgresql10.x86_64 0:10.5-1PGDG.rhel7 postgresql10-libs.x86_64 0:10.5-1PGDG.rhel7 postgresql10-server.x86_64 0:10.5-1PGDG.rhel7 unzip.x86_64 0:6.0-19.el7 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:27:42 GMT+0000 (UTC) Environment : production Host : 0.0.0.0 Port : 1338 ------------------------------------------------------- --------------------------------/var/log/oxd-server/oxd-server.log---------------------------------------- 2018-10-04 23:26:47,256 INFO [org.xdi.oxd.server.ServerLauncher] Starting... 2018-10-04 23:26:47,334 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:26:48,819 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:26:49,803 TRACE [org.xdi.oxd.server.service.ConfigurationService] Configuration loaded successfully from system property: oxd.server.config. 2018-10-04 23:26:49,803 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:26:49,803 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:26:50,285 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:26:51,480 DEBUG [org.xdi.oxd.server.persistence.SqlPersistenceServiceImpl] Schema created successfully. 2018-10-04 23:26:51,608 INFO [org.xdi.oxd.server.persistence.SqlPersistenceServiceImpl] Loaded 0 RPs. 2018-10-04 23:26:51,608 DEBUG [org.xdi.oxd.server.service.MigrationService] Migration source folder is not specified. 2018-10-04 23:26:51,608 DEBUG [org.xdi.oxd.server.service.MigrationService] Skip migration because migration source folder is not specified or otherwise invalid. 2018-10-04 23:26:51,660 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:27:01,135 TRACE [org.xdi.oxd.server.SocketProcessor] Socket processor handling... 2018-10-04 23:27:01,206 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:27:01,368 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:27:01,369 INFO [org.xdi.oxd.server.op.RegisterSiteOperation] Creating RP ... 2018-10-04 23:27:01,389 TRACE [org.xdi.oxd.server.service.HttpService] Created TRUST_ALL client. 2018-10-04 23:27:02,796 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:27:02,805 TRACE [org.xdi.oxd.server.service.HttpService] Created TRUST_ALL client. 2018-10-04 23:27:03,146 TRACE [org.xdi.oxd.server.op.RegisterSiteOperation] Registered client for site - client_id: @!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!59DF.A29D.F3B4.8DC5, 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!59DF.A29D.F3B4.8DC5 2018-10-04 23:27:03,241 DEBUG [org.xdi.oxd.server.persistence.SqlPersistenceServiceImpl] RP created successfully. RP : Rp{oxdId='59e74450-232b-42ed-9569-5496559fbccf', 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!59DF.A29D.F3B4.8DC5', clientRegistrationAccessToken='30e2a409-ef7a-459c-b686-da1865f3ebd7', clientRegistrationClientUri='https://ce-dev6.gluu.org/oxauth/restv1/register?client_id=@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!59DF.A29D.F3B4.8DC5', clientIdIssuedAt=Thu Oct 04 23:26:00 UTC 2018, clientSecretExpiresAt=Fri Oct 05 23:26:00 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:27:03,241 INFO [org.xdi.oxd.server.op.RegisterSiteOperation] RP created: Rp{oxdId='59e74450-232b-42ed-9569-5496559fbccf', 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!59DF.A29D.F3B4.8DC5', clientRegistrationAccessToken='30e2a409-ef7a-459c-b686-da1865f3ebd7', clientRegistrationClientUri='https://ce-dev6.gluu.org/oxauth/restv1/register?client_id=@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!59DF.A29D.F3B4.8DC5', clientIdIssuedAt=Thu Oct 04 23:26:00 UTC 2018, clientSecretExpiresAt=Fri Oct 05 23:26:00 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:27:03,242 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:27:03,242 INFO [org.xdi.oxd.server.op.RegisterSiteOperation] Creating RP ... 2018-10-04 23:27:03,242 TRACE [org.xdi.oxd.server.service.HttpService] Created TRUST_ALL client. 2018-10-04 23:27:03,544 TRACE [org.xdi.oxd.server.op.RegisterSiteOperation] Registered client for site - client_id: @!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!D2BD.4A29.9AB3.0B5A, 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!D2BD.4A29.9AB3.0B5A 2018-10-04 23:27:03,554 DEBUG [org.xdi.oxd.server.persistence.SqlPersistenceServiceImpl] RP created successfully. RP : Rp{oxdId='4b70efa0-f0b7-40e8-ba7c-b16d32916569', 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!D2BD.4A29.9AB3.0B5A', clientRegistrationAccessToken='8e6a4525-5967-4928-9a23-8fe85b92ff93', clientRegistrationClientUri='https://ce-dev6.gluu.org/oxauth/restv1/register?client_id=@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!D2BD.4A29.9AB3.0B5A', clientIdIssuedAt=Thu Oct 04 23:26:01 UTC 2018, clientSecretExpiresAt=Fri Oct 05 23:26:01 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:27:03,555 INFO [org.xdi.oxd.server.op.RegisterSiteOperation] RP created: Rp{oxdId='4b70efa0-f0b7-40e8-ba7c-b16d32916569', 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!D2BD.4A29.9AB3.0B5A', clientRegistrationAccessToken='8e6a4525-5967-4928-9a23-8fe85b92ff93', clientRegistrationClientUri='https://ce-dev6.gluu.org/oxauth/restv1/register?client_id=@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!D2BD.4A29.9AB3.0B5A', clientIdIssuedAt=Thu Oct 04 23:26:01 UTC 2018, clientSecretExpiresAt=Fri Oct 05 23:26:01 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:27:03,559 DEBUG [org.xdi.oxd.server.persistence.SqlPersistenceServiceImpl] RP updated successfully. RP : Rp{oxdId='59e74450-232b-42ed-9569-5496559fbccf', 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!59DF.A29D.F3B4.8DC5', clientRegistrationAccessToken='30e2a409-ef7a-459c-b686-da1865f3ebd7', clientRegistrationClientUri='https://ce-dev6.gluu.org/oxauth/restv1/register?client_id=@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!59DF.A29D.F3B4.8DC5', clientIdIssuedAt=Thu Oct 04 23:26:00 UTC 2018, clientSecretExpiresAt=Fri Oct 05 23:26:00 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:27:03,561 DEBUG [org.xdi.oxd.server.persistence.SqlPersistenceServiceImpl] RP updated successfully. RP : Rp{oxdId='4b70efa0-f0b7-40e8-ba7c-b16d32916569', 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!D2BD.4A29.9AB3.0B5A', clientRegistrationAccessToken='8e6a4525-5967-4928-9a23-8fe85b92ff93', clientRegistrationClientUri='https://ce-dev6.gluu.org/oxauth/restv1/register?client_id=@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!D2BD.4A29.9AB3.0B5A', clientIdIssuedAt=Thu Oct 04 23:26:01 UTC 2018, clientSecretExpiresAt=Fri Oct 05 23:26:01 UTC 2018, clientName='konga_client', sectorIdentifierUri='null', clientJwksUri='null', setupClient='null', setupOxdId='59e74450-232b-42ed-9569-5496559fbccf', setupClientId='@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!59DF.A29D.F3B4.8DC5', 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:27:03,587 TRACE [org.xdi.oxd.server.Processor] Send back response: {"status":"ok","data":{"oxd_id":"4b70efa0-f0b7-40e8-ba7c-b16d32916569","client_id_of_oxd_id":"@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!D2BD.4A29.9AB3.0B5A","op_host":"https://ce-dev6.gluu.org","setup_client_oxd_id":"59e74450-232b-42ed-9569-5496559fbccf","client_id":"@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!59DF.A29D.F3B4.8DC5","client_secret":"4f51e47b-6a32-481f-949e-7edf944ee1b4","client_registration_access_token":"30e2a409-ef7a-459c-b686-da1865f3ebd7","client_registration_client_uri":"https://ce-dev6.gluu.org/oxauth/restv1/register?client_id=@!19CF.B296.532F.83E2!0001!25C1.E1E4!0008!59DF.A29D.F3B4.8DC5","client_id_issued_at":1538695560,"client_secret_expires_at":1538781960}} 2018-10-04 23:27:03,587 TRACE [org.xdi.oxd.server.SocketProcessor] Socket processor handling... 2018-10-04 23:27:09,582 INFO [org.xdi.oxd.server.ServerLauncher] Starting... 2018-10-04 23:27:09,595 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:27:10,934 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:27:11,619 TRACE [org.xdi.oxd.server.service.ConfigurationService] Configuration loaded successfully from system property: oxd.server.config. 2018-10-04 23:27:11,620 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:27:11,620 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:27:12,059 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:27:13,101 DEBUG [org.xdi.oxd.server.persistence.SqlPersistenceServiceImpl] Schema created successfully. 2018-10-04 23:27:13,212 INFO [org.xdi.oxd.server.persistence.SqlPersistenceServiceImpl] Loaded 2 RPs. 2018-10-04 23:27:13,212 DEBUG [org.xdi.oxd.server.service.MigrationService] Migration source folder is not specified. 2018-10-04 23:27:13,212 DEBUG [org.xdi.oxd.server.service.MigrationService] Skip migration because migration source folder is not specified or otherwise invalid. 2018-10-04 23:27:13,243 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:26:39 10/04/18 Generating RSA private key, 2048 bit long modulus .........+++ ...............................+++ e is 65537 (0x10001) 23:26:39 10/04/18 writing RSA key 23:26:39 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:26:42 10/04/18 Redirecting to /bin/systemctl start postgresql.service 23:26:59 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:27:03 10/04/18 /bin/mv: cannot stat ‘/opt/gluu-gateway/plugins/gluu-oauth2-client-auth’: No such file or directory 23:27:03 10/04/18 /bin/mv: cannot stat ‘/opt/gluu-gateway/plugins/gluu-oauth2-rs’: No such file or directory 23:27:04 10/04/18 Error: no such prefix: /usr/local/kong Run with --v (verbose) or --vv (debug) for more details 23:27:04 10/04/18 2018/10/04 23:27:04 [warn] ulimit is currently set to "1024". For better performance set it to at least "4096" using "ulimit -n" Error: /usr/local/share/lua/5.1/kong/cmd/start.lua:51: nginx: [error] init_by_lua error: /usr/local/share/lua/5.1/kong.lua:154: gluu-oauth2-rs plugin is enabled but not installed; module 'kong.plugins.gluu-oauth2-rs.handler' not found:No LuaRocks module found for kong.plugins.gluu-oauth2-rs.handler no field package.preload['kong.plugins.gluu-oauth2-rs.handler'] no file 'kong/plugins/gluu-oauth2-rs/handler/init.lua' no file './kong/kong/plugins/gluu-oauth2-rs/handler.lua' no file '/usr/local/openresty/site/lualib/kong/plugins/gluu-oauth2-rs/handler.lua' no file '/usr/local/openresty/site/lualib/kong/plugins/gluu-oauth2-rs/handler/init.lua' no file '/usr/local/openresty/lualib/kong/plugins/gluu-oauth2-rs/handler.lua' no file '/usr/local/openresty/lualib/kong/plugins/gluu-oauth2-rs/handler/init.lua' no file './kong/plugins/gluu-oauth2-rs/handler.lua' no file '/usr/local/openresty/luajit/share/luajit-2.1.0-beta2/kong/plugins/gluu-oauth2-rs/handler.lua' no file '/usr/local/share/lua/5.1/kong/plugins/gluu-oauth2-rs/handler.lua' no file '/usr/local/share/lua/5.1/kong/plugins/gluu-oauth2-rs/handler/init.lua' no file '/usr/local/openresty/luajit/share/lua/5.1/kong/plugins/gluu-oauth2-rs/handler.lua' no file '/usr/local/openresty/luajit/share/lua/5.1/kong/plugins/gluu-oauth2-rs/handler/init.lua' no file '/root/.luarocks/share/lua/5.1/kong/plugins/gluu-oauth2-rs/handler.lua' no file '/root/.luarocks/share/lua/5.1/kong/plugins/gluu-oauth2-rs/handler/init.lua' no file '/usr/local/openresty/site/lualib/kong/plugins/gluu-oauth2-rs/handler.so' no file '/usr/local/openresty/lualib/kong/plugins/gluu-oauth2-rs/handler.so' no file './kong/plugins/gluu-oauth2-rs/handler.so' no file '/usr/local/lib/lua/5.1/kong/plugins/gluu-oauth2-rs/handler.so' no file '/usr/local/openresty/luajit/lib/lua/5.1/kong/plugins/gluu-oauth2-rs/handler.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file '/root/.luarocks/lib/lua/5.1/kong/plugins/gluu-oauth2-rs/handler.so' no file '/usr/local/openresty/site/lualib/kong.so' no file '/usr/local/openresty/lualib/kong.so' no file './kong.so' no file '/usr/local/lib/lua/5.1/kong.so' no file '/usr/local/openresty/luajit/lib/lua/5.1/kong.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file '/root/.luarocks/lib/lua/5.1/kong.so' stack traceback: [C]: in function 'assert' /usr/local/share/lua/5.1/kong.lua:154: in function 'init' init_by_lua:3: in main chunk Run with --v (verbose) or --vv (debug) for more details 23:27:06 10/04/18 Redirecting to /bin/systemctl stop postgresql.service 23:27:12 10/04/18 Redirecting to /bin/systemctl start postgresql.service 2018/10/04 23:27:06 [warn] ulimit is currently set to "1024". For better performance set it to at least "4096" using "ulimit -n" Error: /usr/local/share/lua/5.1/kong/cmd/start.lua:51: nginx: [error] init_by_lua error: /usr/local/share/lua/5.1/kong.lua:154: gluu-oauth2-rs plugin is enabled but not installed; module 'kong.plugins.gluu-oauth2-rs.handler' not found:No LuaRocks module found for kong.plugins.gluu-oauth2-rs.handler no field package.preload['kong.plugins.gluu-oauth2-rs.handler'] no file 'kong/plugins/gluu-oauth2-rs/handler/init.lua' no file './kong/kong/plugins/gluu-oauth2-rs/handler.lua' no file '/usr/local/openresty/site/lualib/kong/plugins/gluu-oauth2-rs/handler.lua' no file '/usr/local/openresty/site/lualib/kong/plugins/gluu-oauth2-rs/handler/init.lua' no file '/usr/local/openresty/lualib/kong/plugins/gluu-oauth2-rs/handler.lua' no file '/usr/local/openresty/lualib/kong/plugins/gluu-oauth2-rs/handler/init.lua' no file './kong/plugins/gluu-oauth2-rs/handler.lua' no file '/usr/local/openresty/luajit/share/luajit-2.1.0-beta2/kong/plugins/gluu-oauth2-rs/handler.lua' no file '/usr/local/share/lua/5.1/kong/plugins/gluu-oauth2-rs/handler.lua' no file '/usr/local/share/lua/5.1/kong/plugins/gluu-oauth2-rs/handler/init.lua' no file '/usr/local/openresty/luajit/share/lua/5.1/kong/plugins/gluu-oauth2-rs/handler.lua' no file '/usr/local/openresty/luajit/share/lua/5.1/kong/plugins/gluu-oauth2-rs/handler/init.lua' no file '/.luarocks/share/lua/5.1/kong/plugins/gluu-oauth2-rs/handler.lua' no file '/.luarocks/share/lua/5.1/kong/plugins/gluu-oauth2-rs/handler/init.lua' no file '/usr/local/openresty/site/lualib/kong/plugins/gluu-oauth2-rs/handler.so' no file '/usr/local/openresty/lualib/kong/plugins/gluu-oauth2-rs/handler.so' no file './kong/plugins/gluu-oauth2-rs/handler.so' no file '/usr/local/lib/lua/5.1/kong/plugins/gluu-oauth2-rs/handler.so' no file '/usr/local/openresty/luajit/lib/lua/5.1/kong/plugins/gluu-oauth2-rs/handler.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file '/.luarocks/lib/lua/5.1/kong/plugins/gluu-oauth2-rs/handler.so' no file '/usr/local/openresty/site/lualib/kong.so' no file '/usr/local/openresty/lualib/kong.so' no file './kong.so' no file '/usr/local/lib/lua/5.1/kong.so' no file '/usr/local/openresty/luajit/lib/lua/5.1/kong.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file '/.luarocks/lib/lua/5.1/kong.so' stack traceback: [C]: in function 'assert' /usr/local/share/lua/5.1/kong.lua:154: in function 'init' init_by_lua:3: in main chunk Run with --v (verbose) or --vv (debug) for more details ----------------------/opt/gluu-gateway/setup/gluu-gateway-setup.log----------------------------------- 23:26:39 10/04/18 Running: /bin/mkdir -p ./certs 23:26:39 10/04/18 Running: /bin/mkdir -p ./output 23:26:39 10/04/18 OS Type: centos OS Version: 7 23:26:39 10/04/18 Generating Certificate for gluu-gateway 23:26:39 10/04/18 Running: /usr/bin/openssl genrsa -des3 -out ./certs/gluu-gateway.key.orig -passout pass:Dbel83IP9Ji6 2048 23:26:39 10/04/18 Generating RSA private key, 2048 bit long modulus .........+++ ...............................+++ e is 65537 (0x10001) 23:26:39 10/04/18 Running: /usr/bin/openssl rsa -in ./certs/gluu-gateway.key.orig -passin pass:Dbel83IP9Ji6 -out ./certs/gluu-gateway.key 23:26:39 10/04/18 writing RSA key 23:26:39 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:26:39 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:26:39 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:26:39 10/04/18 Running: /bin/chown root:root ./certs/gluu-gateway.key.orig 23:26:39 10/04/18 Running: /bin/chmod 700 ./certs/gluu-gateway.key.orig 23:26:39 10/04/18 Running: /bin/chown root:root ./certs/gluu-gateway.key 23:26:39 10/04/18 Running: /bin/chmod 700 ./certs/gluu-gateway.key 23:26:39 10/04/18 Installing server JRE 1.8 162... 23:26:39 10/04/18 Extracting server-jre-8u162-linux-x64.tar.gz into /opt/ 23:26:39 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:26:40 10/04/18 Running: /bin/ln -sf /opt/jdk1.8.0_162 /opt/jre 23:26:40 10/04/18 Running: /bin/chmod -R 755 /opt/jdk1.8.0_162/bin/ 23:26:40 10/04/18 Running: alternatives --install /usr/bin/java java /opt/jre/bin/java 1 23:26:40 10/04/18 Configuring postgres... 23:26:40 10/04/18 Running: /bin/ln /usr/lib/systemd/system/postgresql-10.service /usr/lib/systemd/system/postgresql.service 23:26:40 10/04/18 Running: /usr/pgsql-10/bin/postgresql-10-setup initdb 23:26:42 10/04/18 Initializing database ... OK 23:26:42 10/04/18 Rendering template /var/lib/pgsql/10/data/pg_hba.conf 23:26:42 10/04/18 Running: service postgresql start 23:26:42 10/04/18 Redirecting to /bin/systemctl start postgresql.service 23:26:43 10/04/18 Rendering template /etc/oxd/oxd-server/oxd-conf.json 23:26:43 10/04/18 Rendering template /etc/oxd/oxd-server/oxd-default-site-config.json 23:26:43 10/04/18 Running: service oxd-server start 23:26:43 10/04/18 Starting oxd-server: PID: [1567] OK Thu Oct 4 23:26:43 UTC 2018 23:26:43 10/04/18 Running: service oxd-https-extension start 23:26:44 10/04/18 Starting oxd-https-extension ... PID: [1588] 23:26:44 10/04/18 Installing konga node packages... 23:26:44 10/04/18 Running: /bin/mkdir -p /opt/gluu-gateway/konga/node_modules 23:26:44 10/04/18 Extracting gg_node_modules.tar.gz into /opt/gluu-gateway/konga/node_modules 23:26:44 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:26:59 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:26:59 10/04/18 Running: /bin/mkdir -p /opt/gluu-gateway/konga/assets/bower_components 23:26:59 10/04/18 Extracting gg_bower_components.tar.gz into /opt/gluu-gateway/konga/assets/bower_components 23:26:59 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:27:00 10/04/18 Creating konga oxd client used to call oxd-https endpoints... 23:27:03 10/04/18 Running: /bin/touch local.js 23:27:03 10/04/18 Run: /bin/touch local.js with result code: 0 23:27:03 10/04/18 Rendering template /opt/gluu-gateway/konga/config/local.js 23:27:03 10/04/18 Rendering template /etc/kong/kong.conf 23:27:03 10/04/18 Installing luarocks packages... 23:27:03 10/04/18 Running: /bin/cp /opt/gluu-gateway/third-party/json-lua/JSON.lua /usr/local/share/lua/5.1 23:27:03 10/04/18 Running: /bin/cp /opt/gluu-gateway/third-party/oxd-web-lua/oxdweb.lua /usr/local/share/lua/5.1 23:27:03 10/04/18 Running: /bin/mkdir -p /usr/local/share/lua/5.1/rucciva 23:27:03 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:27:03 10/04/18 Running: /bin/mv /opt/gluu-gateway/plugins/gluu-oauth2-client-auth /usr/local/share/lua/5.1/kong/plugins 23:27:03 10/04/18 /bin/mv: cannot stat ‘/opt/gluu-gateway/plugins/gluu-oauth2-client-auth’: No such file or directory 23:27:03 10/04/18 Running: /bin/mv /opt/gluu-gateway/plugins/gluu-oauth2-rs /usr/local/share/lua/5.1/kong/plugins 23:27:03 10/04/18 /bin/mv: cannot stat ‘/opt/gluu-gateway/plugins/gluu-oauth2-rs’: No such file or directory 23:27:03 10/04/18 Running: kong migrations up 23:27:04 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 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 acl for database kong acl migrated up to: 2015-08-25-841841_init_acl 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 galileo for database kong galileo migrated up to: 2016-04-15_galileo-import-mashape-analytics 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 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 datadog for database kong datadog migrated up to: 2017-06-09-160000_datadog_schema_changes 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 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 45 migrations ran 23:27:04 10/04/18 Running: kong stop 23:27:04 10/04/18 Error: no such prefix: /usr/local/kong Run with --v (verbose) or --vv (debug) for more details 23:27:04 10/04/18 Running: kong start 23:27:04 10/04/18 prefix directory /usr/local/kong not found, trying to create it 23:27:04 10/04/18 2018/10/04 23:27:04 [warn] ulimit is currently set to "1024". For better performance set it to at least "4096" using "ulimit -n" Error: /usr/local/share/lua/5.1/kong/cmd/start.lua:51: nginx: [error] init_by_lua error: /usr/local/share/lua/5.1/kong.lua:154: gluu-oauth2-rs plugin is enabled but not installed; module 'kong.plugins.gluu-oauth2-rs.handler' not found:No LuaRocks module found for kong.plugins.gluu-oauth2-rs.handler no field package.preload['kong.plugins.gluu-oauth2-rs.handler'] no file 'kong/plugins/gluu-oauth2-rs/handler/init.lua' no file './kong/kong/plugins/gluu-oauth2-rs/handler.lua' no file '/usr/local/openresty/site/lualib/kong/plugins/gluu-oauth2-rs/handler.lua' no file '/usr/local/openresty/site/lualib/kong/plugins/gluu-oauth2-rs/handler/init.lua' no file '/usr/local/openresty/lualib/kong/plugins/gluu-oauth2-rs/handler.lua' no file '/usr/local/openresty/lualib/kong/plugins/gluu-oauth2-rs/handler/init.lua' no file './kong/plugins/gluu-oauth2-rs/handler.lua' no file '/usr/local/openresty/luajit/share/luajit-2.1.0-beta2/kong/plugins/gluu-oauth2-rs/handler.lua' no file '/usr/local/share/lua/5.1/kong/plugins/gluu-oauth2-rs/handler.lua' no file '/usr/local/share/lua/5.1/kong/plugins/gluu-oauth2-rs/handler/init.lua' no file '/usr/local/openresty/luajit/share/lua/5.1/kong/plugins/gluu-oauth2-rs/handler.lua' no file '/usr/local/openresty/luajit/share/lua/5.1/kong/plugins/gluu-oauth2-rs/handler/init.lua' no file '/root/.luarocks/share/lua/5.1/kong/plugins/gluu-oauth2-rs/handler.lua' no file '/root/.luarocks/share/lua/5.1/kong/plugins/gluu-oauth2-rs/handler/init.lua' no file '/usr/local/openresty/site/lualib/kong/plugins/gluu-oauth2-rs/handler.so' no file '/usr/local/openresty/lualib/kong/plugins/gluu-oauth2-rs/handler.so' no file './kong/plugins/gluu-oauth2-rs/handler.so' no file '/usr/local/lib/lua/5.1/kong/plugins/gluu-oauth2-rs/handler.so' no file '/usr/local/openresty/luajit/lib/lua/5.1/kong/plugins/gluu-oauth2-rs/handler.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file '/root/.luarocks/lib/lua/5.1/kong/plugins/gluu-oauth2-rs/handler.so' no file '/usr/local/openresty/site/lualib/kong.so' no file '/usr/local/openresty/lualib/kong.so' no file './kong.so' no file '/usr/local/lib/lua/5.1/kong.so' no file '/usr/local/openresty/luajit/lib/lua/5.1/kong.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file '/root/.luarocks/lib/lua/5.1/kong.so' stack traceback: [C]: in function 'assert' /usr/local/share/lua/5.1/kong.lua:154: in function 'init' init_by_lua:3: in main chunk Run with --v (verbose) or --vv (debug) for more details 23:27:04 10/04/18 Starting gluu-gateway... 23:27:04 10/04/18 Running: service oxd-server stop 23:27:05 10/04/18 Stopping oxd-server: OK 23:27:05 10/04/18 Running: service oxd-https-extension stop 23:27:05 10/04/18 oxd-https-extension stoping ... 23:27:05 10/04/18 Running: service gluu-gateway stop 23:27:06 10/04/18 kong is not running ... oxd-server is not running ... oxd-https-extension is not running ... konga is not running ... 23:27:06 10/04/18 Redirecting to /bin/systemctl stop postgresql.service 23:27:06 10/04/18 Running: service gluu-gateway start 23:27:12 10/04/18 Starting kong ... PID: [] Starting oxd-server: PID: [1884] OK Thu Oct 4 23:27:06 UTC 2018 Starting oxd-https-extension ... PID: [1903] Starting konga ... PID: [1927] 23:27:12 10/04/18 Redirecting to /bin/systemctl start postgresql.service 2018/10/04 23:27:06 [warn] ulimit is currently set to "1024". For better performance set it to at least "4096" using "ulimit -n" Error: /usr/local/share/lua/5.1/kong/cmd/start.lua:51: nginx: [error] init_by_lua error: /usr/local/share/lua/5.1/kong.lua:154: gluu-oauth2-rs plugin is enabled but not installed; module 'kong.plugins.gluu-oauth2-rs.handler' not found:No LuaRocks module found for kong.plugins.gluu-oauth2-rs.handler no field package.preload['kong.plugins.gluu-oauth2-rs.handler'] no file 'kong/plugins/gluu-oauth2-rs/handler/init.lua' no file './kong/kong/plugins/gluu-oauth2-rs/handler.lua' no file '/usr/local/openresty/site/lualib/kong/plugins/gluu-oauth2-rs/handler.lua' no file '/usr/local/openresty/site/lualib/kong/plugins/gluu-oauth2-rs/handler/init.lua' no file '/usr/local/openresty/lualib/kong/plugins/gluu-oauth2-rs/handler.lua' no file '/usr/local/openresty/lualib/kong/plugins/gluu-oauth2-rs/handler/init.lua' no file './kong/plugins/gluu-oauth2-rs/handler.lua' no file '/usr/local/openresty/luajit/share/luajit-2.1.0-beta2/kong/plugins/gluu-oauth2-rs/handler.lua' no file '/usr/local/share/lua/5.1/kong/plugins/gluu-oauth2-rs/handler.lua' no file '/usr/local/share/lua/5.1/kong/plugins/gluu-oauth2-rs/handler/init.lua' no file '/usr/local/openresty/luajit/share/lua/5.1/kong/plugins/gluu-oauth2-rs/handler.lua' no file '/usr/local/openresty/luajit/share/lua/5.1/kong/plugins/gluu-oauth2-rs/handler/init.lua' no file '/.luarocks/share/lua/5.1/kong/plugins/gluu-oauth2-rs/handler.lua' no file '/.luarocks/share/lua/5.1/kong/plugins/gluu-oauth2-rs/handler/init.lua' no file '/usr/local/openresty/site/lualib/kong/plugins/gluu-oauth2-rs/handler.so' no file '/usr/local/openresty/lualib/kong/plugins/gluu-oauth2-rs/handler.so' no file './kong/plugins/gluu-oauth2-rs/handler.so' no file '/usr/local/lib/lua/5.1/kong/plugins/gluu-oauth2-rs/handler.so' no file '/usr/local/openresty/luajit/lib/lua/5.1/kong/plugins/gluu-oauth2-rs/handler.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file '/.luarocks/lib/lua/5.1/kong/plugins/gluu-oauth2-rs/handler.so' no file '/usr/local/openresty/site/lualib/kong.so' no file '/usr/local/openresty/lualib/kong.so' no file './kong.so' no file '/usr/local/lib/lua/5.1/kong.so' no file '/usr/local/openresty/luajit/lib/lua/5.1/kong.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file '/.luarocks/lib/lua/5.1/kong.so' stack traceback: [C]: in function 'assert' /usr/local/share/lua/5.1/kong.lua:154: in function 'init' init_by_lua:3: in main chunk Run with --v (verbose) or --vv (debug) for more details 23:27:12 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:111 0.0.0.0:* LISTEN 495/rpcbind tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 963/sshd tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 1799/postmaster tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 929/master tcp 0 0 0.0.0.0:1338 0.0.0.0:* LISTEN 1927/node tcp6 0 0 :::8444 :::* LISTEN 1903/java tcp6 0 0 127.0.0.1:8099 :::* LISTEN 1884/java tcp6 0 0 :::111 :::* LISTEN 495/rpcbind tcp6 0 0 :::22 :::* LISTEN 963/sshd tcp6 0 0 :::8443 :::* LISTEN 1903/java udp 0 0 127.0.0.1:323 0.0.0.0:* 516/chronyd udp 0 0 0.0.0.0:111 0.0.0.0:* 495/rpcbind udp 0 0 0.0.0.0:669 0.0.0.0:* 495/rpcbind udp6 0 0 ::1:323 :::* 516/chronyd udp6 0 0 :::111 :::* 495/rpcbind udp6 0 0 :::669 :::* 495/rpcbind ----------------------services---------------------------------- kong is not running ... konga is running ... PID: [1927] oxd server running pid=1884 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: [1903] Konga is running ERROR: Kong is not running Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 6081 killed; [ssh-agent] Stopped. Finished: FAILURE