2019-05-19T10:25:05.6808214Z ##[section]Starting: Run test 2019-05-19T10:25:05.6811252Z ============================================================================== 2019-05-19T10:25:05.6811626Z Task : Command Line 2019-05-19T10:25:05.6811818Z Description : Run a command line script using cmd.exe on Windows and bash on macOS and Linux. 2019-05-19T10:25:05.6812050Z Version : 2.148.0 2019-05-19T10:25:05.6812213Z Author : Microsoft Corporation 2019-05-19T10:25:05.6812435Z Help : [More Information](https://go.microsoft.com/fwlink/?LinkID=613735) 2019-05-19T10:25:05.6813012Z ============================================================================== 2019-05-19T10:25:05.9825717Z Generating script. 2019-05-19T10:25:05.9851586Z ========================== Starting Command Output =========================== 2019-05-19T10:25:05.9950811Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/be45e0a9-ddb8-4b4c-9e8e-7c722521dc57.sh 2019-05-19T10:25:06.2026138Z + server_realm=EXAMPLE.TEST 2019-05-19T10:25:06.2026993Z + server_domain=example.test 2019-05-19T10:25:06.2027303Z + server_password=Secret123 2019-05-19T10:25:06.2214560Z +++ sed -e 's/[ \t]+*/,/g' 2019-05-19T10:25:06.2238375Z +++ echo test_cmdline test_install test_ipaclient test_ipalib test_ipaplatform test_ipapython 2019-05-19T10:25:06.2254370Z ++ eval 'echo {test_cmdline,test_install,test_ipaclient,test_ipalib,test_ipaplatform,test_ipapython}' 2019-05-19T10:25:06.2256075Z +++ echo test_cmdline test_install test_ipaclient test_ipalib test_ipaplatform test_ipapython 2019-05-19T10:25:06.2290885Z ++ tr -d '{}' 2019-05-19T10:25:06.2311996Z + tests_to_run='test_cmdline test_install test_ipaclient test_ipalib test_ipaplatform test_ipapython' 2019-05-19T10:25:06.2353205Z ++ tr -d '{}' 2019-05-19T10:25:06.2373074Z +++ sed -e 's/[ \t]+*/,/g' 2019-05-19T10:25:06.2373410Z +++ echo test_integration test_webui test_ipapython/test_keyring.py 2019-05-19T10:25:06.2380410Z ++ eval 'echo --ignore\ {test_integration,test_webui,test_ipapython/test_keyring.py}' 2019-05-19T10:25:06.2389696Z +++ echo '--ignore test_integration' '--ignore test_webui' '--ignore test_ipapython/test_keyring.py' 2019-05-19T10:25:06.2395269Z + tests_to_ignore='--ignore test_integration --ignore test_webui --ignore test_ipapython/test_keyring.py' 2019-05-19T10:25:06.2399906Z + systemctl --now enable firewalld 2019-05-19T10:25:07.7365109Z + echo 'Installing FreeIPA master for the domain example.test and realm EXAMPLE.TEST' 2019-05-19T10:25:07.7366381Z Installing FreeIPA master for the domain example.test and realm EXAMPLE.TEST 2019-05-19T10:25:07.7374221Z + ipa-server-install -U --domain example.test --realm EXAMPLE.TEST -p Secret123 -a Secret123 --setup-dns --setup-kra --setup-adtrust --auto-forwarders 2019-05-19T10:25:08.6237924Z Checking DNS domain example.test, please wait ... 2019-05-19T10:25:08.6240747Z Checking DNS domain example.test, please wait ... 2019-05-19T10:25:08.7661951Z 2019-05-19T10:25:08.7672001Z The log file for this installation can be found in /var/log/ipaserver-install.log 2019-05-19T10:25:08.7696508Z ============================================================================== 2019-05-19T10:25:08.7697092Z This program will set up the FreeIPA Server. 2019-05-19T10:25:08.7699492Z Version 4.7.90.dev201905191013+git721d5fb74 2019-05-19T10:25:08.7701520Z 2019-05-19T10:25:08.7702719Z This includes: 2019-05-19T10:25:08.7704138Z * Configure a stand-alone CA (dogtag) for certificate management 2019-05-19T10:25:08.7704959Z * Configure the NTP client (chronyd) 2019-05-19T10:25:08.7705945Z * Create and configure an instance of Directory Server 2019-05-19T10:25:08.7706722Z * Create and configure a Kerberos Key Distribution Center (KDC) 2019-05-19T10:25:08.7707535Z * Configure Apache (httpd) 2019-05-19T10:25:08.7708163Z * Configure KRA (dogtag) for secret management 2019-05-19T10:25:08.7708861Z * Configure DNS (bind) 2019-05-19T10:25:08.7709623Z * Configure Samba (smb) and winbind for managing AD trusts 2019-05-19T10:25:08.7710257Z * Configure the KDC to enable PKINIT 2019-05-19T10:25:08.7711231Z 2019-05-19T10:25:08.7931447Z Warning: skipping DNS resolution of host ipa.example.test 2019-05-19T10:25:10.0411257Z Checking DNS domain example.test., please wait ... 2019-05-19T10:25:10.0477741Z Checking DNS forwarders, please wait ... 2019-05-19T10:25:10.0673618Z WARNING: The smb.conf already exists. Running ipa-adtrust-install will break your existing samba configuration. 2019-05-19T10:25:10.0674006Z 2019-05-19T10:25:10.0674168Z 2019-05-19T10:25:10.0674293Z Trust is configured but no NetBIOS domain name found, setting it now. 2019-05-19T10:25:10.0674441Z 2019-05-19T10:25:10.0674552Z The IPA Master Server will be configured with: 2019-05-19T10:25:10.0674731Z Hostname: ipa.example.test 2019-05-19T10:25:10.0674851Z IP address(es): 172.17.0.2 2019-05-19T10:25:10.0675004Z Domain name: example.test 2019-05-19T10:25:10.0675120Z Realm name: EXAMPLE.TEST 2019-05-19T10:25:10.0675256Z 2019-05-19T10:25:10.0675360Z The CA will be configured with: 2019-05-19T10:25:10.0675524Z Subject DN: CN=Certificate Authority,O=EXAMPLE.TEST 2019-05-19T10:25:10.0675661Z Subject base: O=EXAMPLE.TEST 2019-05-19T10:25:10.0676071Z Chaining: self-signed 2019-05-19T10:25:10.0676186Z 2019-05-19T10:25:10.0676352Z BIND DNS server will be configured to serve IPA domain with: 2019-05-19T10:25:10.0676524Z Forwarders: 168.63.129.16 2019-05-19T10:25:10.0676643Z Forward policy: only 2019-05-19T10:25:10.0676796Z Reverse zone(s): No reverse zone 2019-05-19T10:25:10.0676889Z 2019-05-19T10:25:10.0686390Z Disabled p11-kit-proxy 2019-05-19T10:25:10.1021777Z Synchronizing time 2019-05-19T10:25:10.1027750Z No SRV records of NTP servers found and no NTP server or pool address was provided. 2019-05-19T10:25:10.1028292Z Using default chrony configuration. 2019-05-19T10:25:10.3332313Z Attempting to sync time with chronyc. 2019-05-19T10:25:20.3464732Z Time synchronization was successful. 2019-05-19T10:25:20.3479339Z Configuring directory server (dirsrv). Estimated time: 30 seconds 2019-05-19T10:25:20.3483252Z [1/43]: creating directory server instance 2019-05-19T10:25:20.3500988Z 2019-05-19T10:25:20.3501422Z Starting installation... 2019-05-19T10:25:20.4202381Z /usr/bin/pwdhash: invalid option -- 'N' 2019-05-19T10:25:20.4203198Z usage: /usr/bin/pwdhash -D config-dir [-H] [-s scheme | -c comparepwd ] password... 2019-05-19T10:25:20.4231931Z [error] CalledProcessError: Command '['/usr/bin/pwdhash', '-Nn3hQCxVDMqhorEE22.482Z5tfIDHbElUJR-x5XCxjioK8.WimpAMix8UoJ8.pN1']' returned non-zero exit status 1. 2019-05-19T10:25:20.4269679Z Command '['/usr/bin/pwdhash', '-Nn3hQCxVDMqhorEE22.482Z5tfIDHbElUJR-x5XCxjioK8.WimpAMix8UoJ8.pN1']' returned non-zero exit status 1. 2019-05-19T10:25:20.4271127Z The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information 2019-05-19T10:25:20.5693073Z + install_result=1 2019-05-19T10:25:20.5693901Z + tests_result=1 2019-05-19T10:25:20.5694822Z + '[' 1 -eq 0 ']' 2019-05-19T10:25:20.5695378Z + echo 'ipa-server-install failed with code , skip IPA tests' 2019-05-19T10:25:20.5696012Z ipa-server-install failed with code , skip IPA tests 2019-05-19T10:25:20.5697005Z + echo 'Potential Python 3 incompatibilities in the IPA framework:' 2019-05-19T10:25:20.5697414Z Potential Python 3 incompatibilities in the IPA framework: 2019-05-19T10:25:20.5697944Z + grep -n -C5 BytesWarning /var/log/httpd/error_log 2019-05-19T10:25:20.5705816Z grep: /var/log/httpd/error_log: No such file or directory 2019-05-19T10:25:20.5714922Z + echo 'Good, none detected' 2019-05-19T10:25:20.5715430Z Good, none detected 2019-05-19T10:25:20.5715989Z + echo 'State of the directory server instance, httpd databases, PKI CA database:' 2019-05-19T10:25:20.5716712Z State of the directory server instance, httpd databases, PKI CA database: 2019-05-19T10:25:20.5717322Z + ls -laZ '/etc/dirsrv/slapd-*/' /etc/httpd/alias/ /var/lib/ /etc/pki/pki-tomcat/alias/ 2019-05-19T10:25:20.5736828Z ls: cannot access '/etc/dirsrv/slapd-*/': No such file or directory 2019-05-19T10:25:20.5737643Z ls: cannot access '/etc/httpd/alias/': No such file or directory 2019-05-19T10:25:20.5738543Z ls: cannot access '/etc/pki/pki-tomcat/alias/': No such file or directory 2019-05-19T10:25:20.5739005Z /var/lib/: 2019-05-19T10:25:20.5787008Z total 156 2019-05-19T10:25:20.5787789Z drwxr-xr-x 1 root root ? 4096 May 19 10:19 . 2019-05-19T10:25:20.5788440Z drwxr-xr-x 1 root root ? 4096 May 19 10:25 .. 2019-05-19T10:25:20.5788894Z drwxr-xr-x 1 root root ? 4096 May 19 10:19 alternatives 2019-05-19T10:25:20.5789355Z drwxr-xr-x 2 root root ? 4096 May 19 10:19 authselect 2019-05-19T10:25:20.5789905Z drwxr-xr-x 5 root root ? 4096 May 19 10:18 certmonger 2019-05-19T10:25:20.5790381Z drwxr-xr-x 1 chrony chrony ? 4096 May 19 10:25 chrony 2019-05-19T10:25:20.5790878Z drwx------ 2 custodia custodia ? 4096 Jan 31 16:41 custodia 2019-05-19T10:25:20.5791324Z drwx------ 2 apache apache ? 4096 May 2 14:51 dav 2019-05-19T10:25:20.5791822Z drwxr-xr-x 2 root root ? 4096 Mar 30 00:32 dirsrv 2019-05-19T10:25:20.5792317Z drwxr-xr-x 1 root root ? 4096 May 19 10:19 dnf 2019-05-19T10:25:20.5792763Z drwxr-xr-x 2 root root ? 4096 Feb 11 13:47 games 2019-05-19T10:25:20.5793244Z drwxr-xr-x 1 root root ? 4096 May 19 10:25 gssproxy 2019-05-19T10:25:20.5793685Z drwx------ 2 apache apache ? 4096 May 2 14:51 httpd 2019-05-19T10:25:20.5794169Z drwxr-xr-x 2 root root ? 4096 Feb 14 20:03 initramfs 2019-05-19T10:25:20.5794646Z drwxr-xr-x 1 root root ? 4096 May 19 10:19 ipa 2019-05-19T10:25:20.5795096Z drwxr-xr-x 4 root root ? 4096 May 19 10:18 ipa-client 2019-05-19T10:25:20.5795587Z drwxr-xr-x 2 root root ? 4096 Feb 1 19:20 logrotate 2019-05-19T10:25:20.5796336Z drwxr-xr-x 2 root root ? 4096 Feb 11 13:47 misc 2019-05-19T10:25:20.5796854Z drwxr-xr-x 5 root root ? 4096 May 19 10:18 nfs 2019-05-19T10:25:20.5797356Z drwxrwx--- 3 root pkcs11 ? 4096 Feb 19 13:24 opencryptoki 2019-05-19T10:25:20.5797796Z drwxr-xr-x 2 root root ? 4096 May 7 16:58 pki 2019-05-19T10:25:20.5798297Z drwxr-x--- 3 root polkitd ? 4096 May 19 10:19 polkit-1 2019-05-19T10:25:20.5798786Z drwx------ 2 root root ? 4096 Apr 22 19:49 portables 2019-05-19T10:25:20.5799233Z drwx------ 2 root root ? 4096 Apr 22 19:49 private 2019-05-19T10:25:20.5799705Z drwxr-xr-x 1 root root ? 4096 May 19 10:25 rpm 2019-05-19T10:25:20.5800148Z drwxr-xr-x 2 root root ? 4096 Feb 11 13:47 rpm-state 2019-05-19T10:25:20.5800635Z drwxr-xr-x 6 root root ? 4096 May 19 10:18 samba 2019-05-19T10:25:20.5801112Z drwxr-xr-x 1 root root ? 4096 May 19 10:18 selinux 2019-05-19T10:25:20.5801558Z drwxr-x--- 3 ods ods ? 4096 May 19 10:18 softhsm 2019-05-19T10:25:20.5802271Z drwxr-xr-x 1 root root ? 4096 May 19 10:18 sss 2019-05-19T10:25:20.5802721Z drwxr-xr-x 1 root root ? 4096 May 19 10:25 systemd 2019-05-19T10:25:20.5803211Z drwxr-xr-x 3 root tomcat ? 4096 May 19 10:18 tomcat 2019-05-19T10:25:20.5803724Z drwxr-xr-x 2 root root ? 4096 Feb 3 10:06 tomcats 2019-05-19T10:25:20.5804186Z drwxr-xr-x 2 unbound unbound ? 4096 Apr 22 19:49 unbound 2019-05-19T10:25:20.5804446Z + true 2019-05-19T10:25:20.5804865Z + ls -laZ /var/lib/ipa/certs/ /var/lib/ipa/passwds/ /var/lib/ipa/private/ 2019-05-19T10:25:20.5833488Z /var/lib/ipa/certs/: 2019-05-19T10:25:20.5835356Z total 12 2019-05-19T10:25:20.5836074Z drwxr-xr-x 2 root root ? 4096 May 19 10:15 . 2019-05-19T10:25:20.5836914Z drwxr-xr-x 1 root root ? 4096 May 19 10:19 .. 2019-05-19T10:25:20.5837082Z 2019-05-19T10:25:20.5837242Z /var/lib/ipa/passwds/: 2019-05-19T10:25:20.5837357Z total 12 2019-05-19T10:25:20.5837730Z drwx------ 2 root root ? 4096 May 19 10:15 . 2019-05-19T10:25:20.5838238Z drwxr-xr-x 1 root root ? 4096 May 19 10:19 .. 2019-05-19T10:25:20.5838436Z 2019-05-19T10:25:20.5838551Z /var/lib/ipa/private/: 2019-05-19T10:25:20.5838768Z total 12 2019-05-19T10:25:20.5839195Z drwx------ 2 root root ? 4096 May 19 10:15 . 2019-05-19T10:25:20.5839629Z drwxr-xr-x 1 root root ? 4096 May 19 10:19 .. 2019-05-19T10:25:20.5840298Z + echo 'Uninstall the server' 2019-05-19T10:25:20.5840524Z Uninstall the server 2019-05-19T10:25:20.5840973Z + ipa-server-install --uninstall -U 2019-05-19T10:25:22.6556967Z 2019-05-19T10:25:22.6557730Z WARNING: Failed to connect to Directory Server to find information about 2019-05-19T10:25:22.6558114Z replication agreements. Uninstallation will continue despite the possible 2019-05-19T10:25:22.6558362Z existing replication agreements. 2019-05-19T10:25:22.6558522Z 2019-05-19T10:25:22.6558731Z If this server is the last instance of CA, 2019-05-19T10:25:22.6558920Z KRA, or DNSSEC master, uninstallation may result in data loss. 2019-05-19T10:25:22.6559159Z Shutting down all IPA services 2019-05-19T10:25:24.1076058Z Unconfiguring directory server 2019-05-19T10:25:24.1117382Z [Errno 2] No such file or directory: '/etc/dirsrv/slapd-EXAMPLE-TEST/dse.ldif' 2019-05-19T10:25:24.1118787Z The ipa-server-install command failed. See /var/log/ipaserver-uninstall.log for more information 2019-05-19T10:25:24.2493988Z + ipa-server-install --uninstall -U 2019-05-19T10:25:26.3326917Z 2019-05-19T10:25:26.3327674Z WARNING: Failed to connect to Directory Server to find information about 2019-05-19T10:25:26.3328049Z replication agreements. Uninstallation will continue despite the possible 2019-05-19T10:25:26.3328291Z existing replication agreements. 2019-05-19T10:25:26.3328444Z 2019-05-19T10:25:26.3328644Z If this server is the last instance of CA, 2019-05-19T10:25:26.3328831Z KRA, or DNSSEC master, uninstallation may result in data loss. 2019-05-19T10:25:26.3329004Z Shutting down all IPA services 2019-05-19T10:25:27.5837709Z Failed to remove DS instance. No serverid present in sysrestore file. 2019-05-19T10:25:29.2957616Z Removing IPA client configuration 2019-05-19T10:25:31.2146097Z Removing Kerberos service principals from /etc/krb5.keytab 2019-05-19T10:25:31.2218944Z Failed to remove Kerberos service principals: CalledProcessError(Command ['/usr/sbin/ipa-rmkeytab', '-k', '/etc/krb5.keytab', '-r', 'EXAMPLE.TEST'] returned non-zero exit status 3: "Failed to open keytab '/etc/krb5.keytab': No such file or directory\n") 2019-05-19T10:25:31.3707502Z Disabling client Kerberos and LDAP configurations 2019-05-19T10:25:31.9304656Z nscd daemon is not installed, skip configuration 2019-05-19T10:25:32.3597563Z nslcd daemon is not installed, skip configuration 2019-05-19T10:25:32.3598178Z Client uninstall complete. 2019-05-19T10:25:32.3599300Z The ipa-client-install command was successful 2019-05-19T10:25:32.3999802Z The ipa-server-install command was successful 2019-05-19T10:25:32.5449673Z + '[' 1 -eq 0 ']' 2019-05-19T10:25:32.5450924Z + echo 'Collect the logs' 2019-05-19T10:25:32.5451599Z Collect the logs 2019-05-19T10:25:32.5452112Z + mkdir -p /freeipa/logs 2019-05-19T10:25:32.5469530Z + cd /freeipa/logs 2019-05-19T10:25:32.5470554Z + journalctl -b --no-pager 2019-05-19T10:25:32.5589963Z + tar --ignore-failed-read -cvf var_log.tar /var/log/dirsrv /var/log/httpd /var/log/ipaclient-uninstall.log /var/log/ipaserver-install.log /var/log/ipaserver-uninstall.log /var/log/krb5kdc.log /var/log/pki /var/log/samba systemd_journal.log 2019-05-19T10:25:32.5607261Z tar: Removing leading `/' from member names 2019-05-19T10:25:32.5618748Z /var/log/dirsrv/ 2019-05-19T10:25:32.5619132Z /var/log/httpd/ 2019-05-19T10:25:32.5619671Z /var/log/ipaclient-uninstall.log 2019-05-19T10:25:32.5620189Z tar: Removing leading `/' from hard link targets 2019-05-19T10:25:32.5620638Z /var/log/ipaserver-install.log 2019-05-19T10:25:32.5621041Z /var/log/ipaserver-uninstall.log 2019-05-19T10:25:32.5629572Z tar: /var/log/krb5kdc.log: Warning: Cannot stat: No such file or directory 2019-05-19T10:25:32.5629892Z /var/log/pki/ 2019-05-19T10:25:32.5630456Z /var/log/pki/pki-server-upgrade-10.7.0.log 2019-05-19T10:25:32.5630723Z /var/log/pki/server/ 2019-05-19T10:25:32.5630851Z /var/log/pki/server/upgrade/ 2019-05-19T10:25:32.5631055Z /var/log/pki/server/upgrade/10.7.0/ 2019-05-19T10:25:32.5631237Z /var/log/pki/server/upgrade/10.7.0/2/ 2019-05-19T10:25:32.5631655Z /var/log/pki/server/upgrade/10.7.0/4/ 2019-05-19T10:25:32.5631871Z /var/log/pki/server/upgrade/10.7.0/1/ 2019-05-19T10:25:32.5632045Z /var/log/pki/server/upgrade/10.7.0/3/ 2019-05-19T10:25:32.5632257Z /var/log/samba/ 2019-05-19T10:25:32.5632427Z /var/log/samba/old/ 2019-05-19T10:25:32.5632634Z systemd_journal.log 2019-05-19T10:25:32.5636509Z + test 1 -eq 0 -a 1 -eq 0 2019-05-19T10:25:32.6246554Z ##[error]Bash exited with code '1'. 2019-05-19T10:25:32.6261118Z ##[section]Finishing: Run test