https://bugs.openldap.org/show_bug.cgi?id=10056

          Issue ID: 10056
           Summary: test069-delta-multiprovider-starttls failures on
                    static builds
           Product: OpenLDAP
           Version: 2.6.4
          Hardware: x86_64
                OS: Linux
            Status: UNCONFIRMED
          Keywords: needs_review
          Severity: normal
          Priority: ---
         Component: build
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Hello.

I am getting following test error when trying to build `openldap` statically:

```
[nix-shell:/tmp/openldap-static/openldap-2.6.4/tests]$ ./run
test069-delta-multiprovider-starttls
Cleaning up test run directory leftover from previous run.
Running ./scripts/test069-delta-multiprovider-starttls for mdb...
running defines.sh
Initializing server configurations...
Starting server 1 on TCP/IP port 9011...
Using ldapsearch to check that server 1 is running...
Waiting 5 seconds for slapd to start...
Using ldapadd for context on server 1...
Starting server 2 on TCP/IP port 9012...
Using ldapsearch to check that server 2 is running...
Waiting 5 seconds for slapd to start...
Using ldapadd to populate server 1...
Waiting 7 seconds for syncrepl to receive changes...
Using ldapsearch to read all the entries from server 1...
Using ldapsearch to read all the entries from server 2...
Comparing retrieved entries from server 1 and server 2...
Using ldapadd to populate server 2...
Using ldapsearch to read all the entries from server 1...
Using ldapsearch to read all the entries from server 2...
Comparing retrieved entries from server 1 and server 2...
Breaking replication between server 1 and 2...
Using ldapmodify to force conflicts between server 1 and 2...
Restoring replication between server 1 and 2...
Waiting 7 seconds for syncrepl to receive changes...
Using ldapsearch to read all the entries from server 1...
Using ldapsearch to read all the entries from server 2...
Comparing retrieved entries from server 1 and server 2...
test failed - server 1 and server 2 databases differ (561)
```

I added line number (561) into error message to pinpoint it more precisely.
And here is difference between databases:

```
--- /tmp/openldap-static/openldap-2.6.4/tests/testrun/server1.flt      
2023-05-23 22:53:51.000965129 -0400
+++ /tmp/openldap-static/openldap-2.6.4/tests/testrun/server2.flt      
2023-05-23 22:53:51.005965136 -0400
@@ -289,13 +289,10 @@
 userPassword:: amFq

 dn: cn=James A Jones 2,ou=Alumni Association,ou=People,dc=example,dc=com
-carLicense: 123-XYZ
 cn: James A Jones 2
 cn: James Jones
 cn: Jim Jones
-description: Amazing
 description: Bizarre
-description: Mindboggling
 description: Stupendous
 employeeNumber: 64
 employeeType: deadwood
@@ -307,7 +304,7 @@
 pager: +1 313 555 3923
 postalAddress: Alumni Association $ 111 Maple St $ Anytown, MI 48109
 seeAlso: cn=All Staff,ou=Groups,dc=example,dc=com
-sn: Surname
+sn: Jones
 telephoneNumber: +1 313 555 0895
 title: Mad Cow Researcher, UM Alumni Association
 uid: jaj
```

Suggestions on what more information I can provide are welcome. You can also
try to build `pkgsStatic.openldap` in this nixpkgs
[commit](f9e32f61282275eb5fa9064e08bbd0a92d1187de)

-- 
You are receiving this mail because:
You are on the CC list for the issue.

Reply via email to