FailedConsole Output

Started by upstream project "GG_Test_Install_All_OS" build number 171
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-n8TRTp1Hg2Cn/agent.10786
SSH_AGENT_PID=10789
[ssh-agent] Started.
$ ssh-add /home/tomcat/.jenkins/jobs/GG_Test_Deploy/workspace@tmp/private_key_3069155834415572687.key
Identity added: /home/tomcat/.jenkins/jobs/GG_Test_Deploy/workspace@tmp/private_key_3069155834415572687.key (/home/tomcat/.jenkins/jobs/GG_Test_Deploy/workspace@tmp/private_key_3069155834415572687.key)
[ssh-agent] Using credentials michal (GG test droplet restart)
$ ssh-add /home/tomcat/.jenkins/jobs/GG_Test_Deploy/workspace@tmp/private_key_6221695063725217198.key
Identity added: /home/tomcat/.jenkins/jobs/GG_Test_Deploy/workspace@tmp/private_key_6221695063725217198.key (/home/tomcat/.jenkins/jobs/GG_Test_Deploy/workspace@tmp/private_key_6221695063725217198.key)
[ssh-agent] Using credentials root (Jenkins test node)
[workspace] $ /bin/sh -xe /opt/tomcat/temp/jenkins6753273527690216096.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
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
 73   771   71   527  100    38    499     36  0:00:01  0:00:01 --:--:--   499
100   771  100   733  100    38    693     35  0:00:01  0:00:01 --:--:--   693
{"action":{"id":539825949,"status":"in-progress","type":"restore","started_at":"2018-10-11T23:21:40Z","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
Setting up Install Process
Determining fastest mirrors
 * base: centos.mirror.constant.com
 * extras: centos.mirror.constant.com
 * updates: mirror.atlanticmetro.net
Package wget-1.12-10.el6.x86_64 already installed and latest version
Nothing to do
--2018-10-11 23:23:23--  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% 15.9M=0s

2018-10-11 23:23:23 (15.9 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=6a2a3dd2-b82c-41fe-a935-1e78e05f71ee
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: centos.mirror.constant.com
 * extras: centos.mirror.constant.com
 * updates: mirror.atlanticmetro.net
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-11 23:23:25--  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.88M=0s

2018-10-11 23:23:25 (9.88 MB/s) - “/etc/yum.repos.d/Gluu.repo” saved [179/179]

--2018-10-11 23:23:25--  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%  111M=0s

2018-10-11 23:23:25 (111 MB/s) - “/etc/pki/rpm-gpg/RPM-GPG-KEY-GLUU” saved [3112/3112]

warning: /var/tmp/rpm-tmp.u5SvlX: 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.TQtpUxVaPj' '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.TQtpUxVaPj'

## Cleaning up...

+ rm -f '/tmp/tmp.TQtpUxVaPj'

## 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: centos.mirror.constant.com
 * extras: centos.mirror.constant.com
 * updates: mirror.atlanticmetro.net
Resolving Dependencies
--> Running transaction check
---> Package gluu-gateway.noarch 0:3.1.4-65.centos6 will be installed
--> Processing Dependency: kong-community-edition = 0.11.0 for package: gluu-gateway-3.1.4-65.centos6.noarch
--> Processing Dependency: postgresql >= 10 for package: gluu-gateway-3.1.4-65.centos6.noarch
--> Processing Dependency: postgresql-server >= 10 for package: gluu-gateway-3.1.4-65.centos6.noarch
--> Processing Dependency: git for package: gluu-gateway-3.1.4-65.centos6.noarch
--> Processing Dependency: unzip for package: gluu-gateway-3.1.4-65.centos6.noarch
--> Processing Dependency: oxd-server-3.1.4 for package: gluu-gateway-3.1.4-65.centos6.noarch
--> Processing Dependency: nodejs for package: gluu-gateway-3.1.4-65.centos6.noarch
--> Processing Dependency: lua-cjson for package: gluu-gateway-3.1.4-65.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-3.1.4.noarch 0:1-34.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-65.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-3.1.4    noarch 1-34.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                                            48 MB/s | 243 MB     00:05     
warning: rpmts_HdrFromFdno: Header V4 RSA/SHA256 Signature, key ID 34fa74dd: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL
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 : rsync-3.0.6-12.el6.x86_64                                   7/15 

  Installing : perl-Git-1.7.1-9.el6_9.noarch                               8/15 

  Installing : git-1.7.1-9.el6_9.x86_64                                    9/15 

  Installing : 4:perl-Time-HiRes-1.9721-144.el6.x86_64                    10/15 

  Installing : kong-community-edition-0.11.0-1.noarch                     11/15 

  Installing : 2:nodejs-8.12.0-1nodesource.x86_64                         12/15 

  Installing : lua-cjson-2.1.0-1.el6.x86_64                               13/15 

  Installing : oxd-server-3.1.4-1-34.centos6.noarch                       14/15 

  Installing : gluu-gateway-3.1.4-65.centos6.noarch                       15/15 
/var/tmp/rpm-tmp.zovMt2: line 3: syntax error near unexpected token `missingok,'
/var/tmp/rpm-tmp.zovMt2: line 3: `%config(missingok, noreplace) /opt/gluu-gateway/konga/config/application.js'
warning: %post(gluu-gateway-3.1.4-65.centos6.noarch) scriptlet failed, exit status 2
Non-fatal POSTIN scriptlet failure in rpm package gluu-gateway-3.1.4-65.centos6.noarch

  Verifying  : oxd-server-3.1.4-1-34.centos6.noarch                        1/15 

  Verifying  : 1:perl-Error-0.17015-4.el6.noarch                           2/15 

  Verifying  : libicu-4.2.1-14.el6.x86_64                                  3/15 

  Verifying  : postgresql10-server-10.5-1PGDG.rhel6.x86_64                 4/15 

  Verifying  : postgresql10-10.5-1PGDG.rhel6.x86_64                        5/15 

  Verifying  : perl-Git-1.7.1-9.el6_9.noarch                               6/15 

  Verifying  : lua-cjson-2.1.0-1.el6.x86_64                                7/15 

  Verifying  : gluu-gateway-3.1.4-65.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  : rsync-3.0.6-12.el6.x86_64                                  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-65.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-3.1.4.noarch 0:1-34.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...
Installation failed. See: 
  gluu-gateway-setup.log 
  gluu-gateway-setup_error.log 
for more details.

--------------------------------/var/log/konga.log-----------------------------------------

cat: /var/log/konga.log: No such file or directory

--------------------------------/var/log/oxd-server/oxd-server.log----------------------------------------


----------------------/opt/gluu-gateway/setup/gluu-gateway-setup_error.log-----------------------------------

23:23:56 10/11/18 Generating RSA private key, 2048 bit long modulus
.................................................................+++
.........+++
e is 65537 (0x10001)

23:23:56 10/11/18 writing RSA key

23:23:56 10/11/18 Signature ok
subject=/C=TS/ST=Test/L=Test/O=Test/CN=dev1.gluu.org/emailAddress=admin@test.com
Getting Private key

23:24:03 10/11/18 oxd-server: unrecognized service

23:24:12 10/11/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:24:15 10/11/18 ***** Error caught in main loop *****
23:24:15 10/11/18 Traceback (most recent call last):
  File "setup-gluu-gateway.py", line 720, in <module>
    kongSetup.configKonga()
  File "setup-gluu-gateway.py", line 444, in configKonga
    resJson = json.loads(res.text)
  File "/usr/lib64/python2.6/json/__init__.py", line 307, in loads
    return _default_decoder.decode(s)
  File "/usr/lib64/python2.6/json/decoder.py", line 319, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib64/python2.6/json/decoder.py", line 338, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded


----------------------/opt/gluu-gateway/setup/gluu-gateway-setup.log-----------------------------------

23:23:56 10/11/18 Running: /bin/mkdir -p ./certs
23:23:56 10/11/18 Running: /bin/mkdir -p ./output
23:23:56 10/11/18 OS Type: centos OS Version: 6
23:23:56 10/11/18 Generating Certificate for gluu-gateway
23:23:56 10/11/18 Running: /usr/bin/openssl genrsa -des3 -out ./certs/gluu-gateway.key.orig -passout pass:mEOMpysJB1TM 2048
23:23:56 10/11/18 Generating RSA private key, 2048 bit long modulus
.................................................................+++
.........+++
e is 65537 (0x10001)

23:23:56 10/11/18 Running: /usr/bin/openssl rsa -in ./certs/gluu-gateway.key.orig -passin pass:mEOMpysJB1TM -out ./certs/gluu-gateway.key
23:23:56 10/11/18 writing RSA key

23:23:56 10/11/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:23:56 10/11/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:23:56 10/11/18 Signature ok
subject=/C=TS/ST=Test/L=Test/O=Test/CN=dev1.gluu.org/emailAddress=admin@test.com
Getting Private key

23:23:56 10/11/18 Running: /bin/chown root:root ./certs/gluu-gateway.key.orig
23:23:56 10/11/18 Running: /bin/chmod 700 ./certs/gluu-gateway.key.orig
23:23:56 10/11/18 Running: /bin/chown root:root ./certs/gluu-gateway.key
23:23:56 10/11/18 Running: /bin/chmod 700 ./certs/gluu-gateway.key
23:23:56 10/11/18 Installing server JRE 1.8 162...
23:23:56 10/11/18 Extracting server-jre-8u162-linux-x64.tar.gz into /opt/
23:23:56 10/11/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:23:58 10/11/18 Running: /bin/ln -sf /opt/jdk1.8.0_162 /opt/jre
23:23:58 10/11/18 Running: /bin/chmod -R 755 /opt/jdk1.8.0_162/bin/
23:23:58 10/11/18 Running: alternatives --install /usr/bin/java java /opt/jre/bin/java 1
23:23:58 10/11/18 Configuring postgres...
23:23:58 10/11/18 Running: /bin/ln /etc/init.d/postgresql-10 /etc/init.d/postgresql
23:23:58 10/11/18 Running: service postgresql-10 initdb
23:24:01 10/11/18 Initializing database: [  OK  ]

23:24:01 10/11/18 Rendering template /var/lib/pgsql/10/data/pg_hba.conf
23:24:01 10/11/18 Running: service postgresql start
23:24:03 10/11/18 Starting postgresql service: [  OK  ]

23:24:03 10/11/18 Rendering template /etc/oxd/oxd-server/oxd-conf.json
23:24:03 10/11/18 Rendering template /etc/oxd/oxd-server/oxd-default-site-config.json
23:24:03 10/11/18 Running: service oxd-server start
23:24:03 10/11/18 oxd-server: unrecognized service

23:24:03 10/11/18 Running: service oxd-https-extension start
23:24:03 10/11/18 Starting oxd-https-extension ...
PID: [1826]

23:24:03 10/11/18 Installing konga node packages...
23:24:03 10/11/18 Running: /bin/mkdir -p /opt/gluu-gateway/konga/node_modules
23:24:03 10/11/18 Extracting gg_node_modules.tar.gz into /opt/gluu-gateway/konga/node_modules
23:24:03 10/11/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:24:12 10/11/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:24:12 10/11/18 Running: /bin/mkdir -p /opt/gluu-gateway/konga/assets/bower_components
23:24:12 10/11/18 Extracting gg_bower_components.tar.gz into /opt/gluu-gateway/konga/assets/bower_components
23:24:12 10/11/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:24:13 10/11/18 Creating konga oxd client used to call oxd-https endpoints...
23:24:15 10/11/18 ***** Error caught in main loop *****
23:24:15 10/11/18 Traceback (most recent call last):
  File "setup-gluu-gateway.py", line 720, in <module>
    kongSetup.configKonga()
  File "setup-gluu-gateway.py", line 444, in configKonga
    resJson = json.loads(res.text)
  File "/usr/lib64/python2.6/json/__init__.py", line 307, in loads
    return _default_decoder.decode(s)
  File "/usr/lib64/python2.6/json/decoder.py", line 319, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib64/python2.6/json/decoder.py", line 338, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded


----------------------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:22                  0.0.0.0:*                   LISTEN      1269/sshd           
tcp        0      0 127.0.0.1:5432              0.0.0.0:*                   LISTEN      1729/postmaster     
tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN      1348/master         
tcp        0      0 :::8443                     :::*                        LISTEN      1826/java           
tcp        0      0 :::8444                     :::*                        LISTEN      1826/java           
tcp        0      0 :::22                       :::*                        LISTEN      1269/sshd           

----------------------services----------------------------------

kong is not running ...
konga is not running ...
oxd-server: unrecognized service
oxd-https-extension is running ...
PID: [1826]
ERROR: Konga is not running. Waiting 1 min more
ERROR: Konga is not running. Waiting 1 min more
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 10789 killed;
[ssh-agent] Stopped.
Finished: FAILURE