Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration tests against kong master fail #124

Open
pmalek opened this issue Aug 6, 2024 · 0 comments
Open

Integration tests against kong master fail #124

pmalek opened this issue Aug 6, 2024 · 0 comments

Comments

@pmalek
Copy link
Member

pmalek commented Aug 6, 2024

Problem statement

Integration tests against kong master fail: https://github.com/Kong/go-database-reconciler/actions/runs/10260166294/job/28385919632#step:5:108

    dump_test.go:77: 
        	Error Trace:	/home/runner/work/go-database-reconciler/go-database-reconciler/tests/integration/dump_test.go:77
        	Error:      	Not equal: 
        	            	expected: "_format_version: \"3.0\"\n_info:\n  defaults: {}\n  select_tags:\n  - managed-by-deck\n  - org-unit-42\ncertificates:\n- cert: |\n    -----BEGIN CERTIFICATE-----\n    MIIC1jCCAb4CCQCt23nwvxSCvjANBgkqhkiG9w0BAQsFADAtMRYwFAYDVQQDDA0q\n    LmV4YW1wbGUuY29tMRMwEQYDVQQKDAprb25naHEub3JnMB4XDTE4MTIzMTIwMTkw\n    MVoXDTE5MTIzMTIwMTkwMVowLTEWMBQGA1UEAwwNKi5leGFtcGxlLmNvbTETMBEG\n    A1UECgwKa29uZ2hxLm9yZzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB\n    AKj/2r1AXo9x+2Csrd0SHbpnzuW+xYqgsd+YA9ZrZNV7SZGSbaZymsRMz8wg5OIU\n    iUik2GM1749/lYvojLFStBPy9UY/gd++5f3wLp4xHiI+IU2XQ97otXKGfyh36RmN\n    dKDqPLN8BG3R346s/y1GOulFvLthYmZVYF9ufHiqimfEDSbTt79P5C3X0Rw/afK1\n    GjHEJPCB/XkZ6lkcEyL6LqZI5oBigDqa9hI/nWLxEzfm8pgosiS38p9TAijlOkpm\n    tX2p2b1pktlNIy3rxsqj6IynN9Wc7FpV1N4HoPKV7vQQ08hjwW6WfanVthaaJosj\n    Vr2TBCJ1ltAmsb+5B2VPYVkCAwEAATANBgkqhkiG9w0BAQsFAAOCAQEAnByTyQfV\n    3LkwuoWS57CWcqbNw/cHnv/ChzmIv+6mIXvDBSvCgrPZIWCpaCfYRG6R51E44fr/\n    8V1AKT0Zt15DjrXEEcIGQgsIDO91/wlL091fTAUzSbL0yt7HTlm8sX6xndPNAZrq\n    cfcIPVMxknfqPy2VqS4IrNC03pHkDKtokphBjVUlkiWsdcq+fHYbS2xL2d1Da/uN\n    hX/iwgo+v5gOF5xtaXx7D7L3Cf+MHb/MOXWPfYXNiTpSBVX8/Kx5RP+QLI16nWvw\n    lrijTlXZFR8NIZBrCo/QZ2cNbUAbN3R0n+/kMFubxBL8WEm6Qhi9jBjbJeDMspd8\n    C+/TZJQMpx5vyA==\n    -----END CERTIFICATE-----\n  id: 13c562a1-191c-4464-9b18-e5222b46035b\n  key: |\n    -----BEGIN PRIVATE KEY-----\n    MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCo/9q9QF6Pcftg\n    rK3dEh26Z87lvsWKoLHfmAPWa2TVe0mRkm2mcprETM/MIOTiFIlIpNhjNe+Pf5WL\n    6IyxUrQT8vVGP4HfvuX98C6eMR4iPiFNl0Pe6LVyhn8od+kZjXSg6jyzfARt0d+O\n    rP8tRjrpRby7YWJmVWBfbnx4qopnxA0m07e/T+Qt19EcP2nytRoxxCTwgf15GepZ\n    HBMi+i6mSOaAYoA6mvYSP51i8RM35vKYKLIkt/KfUwIo5TpKZrV9qdm9aZLZTSMt\n    68bKo+iMpzfVnOxaVdTeB6Dyle70ENPIY8Fuln2p1bYWmiaLI1a9kwQidZbQJrG/\n    uQdlT2FZAgMBAAECggEAVnyRcda2Tcy0K7ZTR9aUlie370VhDN/OB7JhDGNreAEf\n    FjuMl+kAoUL5+OpAmB6QXzfVcXhRv+s4GiCJl9nORINK2Id5rIqiYwF+qgBS/o0z\n    N+UYm8QVz6Va/9fV1/jXXd5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wzSp3o1ctP8lWvnyJpAadYdDhaDaAAoaMjCo9cm5OMwc8t8x\n    hwAPXV2cgWH8fPcT9NLAcwWk\n    -----END PRIVATE KEY-----\n  snis:\n  - name: demo1.example.com\n  - name: demo2.example.com\n  - name: demo3.example.com\n  tags:\n  - cloudops-managed\nconsumers:\n- acls:\n  - group: foo-group\n  hmacauth_credentials:\n  - secret: yeNZBeqCuk0D3H85VX77Umacf91MwqRo\n    username: hmac-user\n  jwt_secrets:\n  - algorithm: HS256\n    key: MKWeR0nu9OAUR9HrjpUG82Hbfz7ZXsIw\n    secret: 6gkrxTKAraykMSpmnLNEGiEE3Yz8XL6U\n  keyauth_credentials:\n  - key: iwb6Djkk4HhUlOCmLilDIKh6nZrn90ts\n  username: harry\nplugins:\n- config:\n    ai_metrics: false\n    bandwidth_metrics: false\n    latency_metrics: false\n    per_consumer: false\n    status_code_metrics: false\n    upstream_health_metrics: false\n  enabled: true\n  name: prometheus\n  protocols:\n  - http\n  - https\nservices:\n- connect_timeout: 60000\n  enabled: true\n  host: mockbin.org\n  name: svc1\n  port: 80\n  protocol: http\n  read_timeout: 60000\n  retries: 5\n  routes:\n  - https_redirect_status_code: 301\n    name: r1\n    path_handling: v0\n    paths:\n    - /r1\n    preserve_host: false\n    protocols:\n    - http\n    - https\n    regex_priority: 0\n    request_buffering: true\n    response_buffering: true\n    strip_path: true\n  tags:\n  - team-svc1\n  write_timeout: 60000\n- connect_timeout: 60000\n  enabled: true\n  host: mockbin.org\n  name: svc2\n  port: 80\n  protocol: http\n  read_timeout: 60000\n  retries: 5\n  routes:\n  - https_redirect_status_code: 301\n    name: r2\n    path_handling: v0\n    paths:\n    - /r2\n    preserve_host: false\n    protocols:\n    - http\n    - https\n    regex_priority: 0\n    request_buffering: true\n    response_buffering: true\n    strip_path: true\n  write_timeout: 60000\n- connect_timeout: 60000\n  enabled: true\n  host: mockbin.org\n  name: svc3\n  port: 80\n  protocol: http\n  read_timeout: 60000\n  retries: 5\n  routes:\n  - https_redirect_status_code: 301\n    methods:\n    - GET\n    name: r3\n    path_handling: v0\n    paths:\n    - /r3\n    preserve_host: false\n    protocols:\n    - http\n    - https\n    regex_priority: 0\n    request_buffering: true\n    response_buffering: true\n    strip_path: true\n  write_timeout: 60000\nupstreams:\n- algorithm: round-robin\n  hash_fallback: none\n  hash_on: none\n  hash_on_cookie_path: /\n  healthchecks:\n    active:\n      concurrency: 10\n      healthy:\n        http_statuses:\n        - 200\n        - 302\n        interval: 0\n        successes: 0\n      http_path: /\n      https_verify_certificate: true\n      timeout: 1\n      type: http\n      unhealthy:\n        http_failures: 0\n        http_statuses:\n        - 429\n        - 404\n        - 500\n        - 501\n        - 502\n        - 503\n        - 504\n        - 505\n        interval: 0\n        tcp_failures: 0\n        timeouts: 0\n    passive:\n      healthy:\n        http_statuses:\n        - 200\n        - 201\n        - 202\n        - 203\n        - 204\n        - 205\n        - 206\n        - 207\n        - 208\n        - 226\n        - 300\n        - 301\n        - 302\n        - 303\n        - 304\n        - 305\n        - 306\n        - 307\n        - 308\n        successes: 0\n      type: http\n      unhealthy:\n        http_failures: 0\n        http_statuses:\n        - 429\n        - 500\n        - 503\n        tcp_failures: 0\n        timeouts: 0\n    threshold: 0\n  name: upstream1\n  slots: 10000\n  targets:\n  - target: 198.51.100.11:80\n    weight: 100\n  - target: 198.51.100.12:80\n    weight: 100\n  - target: 198.51.100.13:80\n    weight: 100\n  use_srv_name: false\n"
        	            	actual  : "_format_version: \"3.0\"\n_info:\n  defaults: {}\n  select_tags:\n  - managed-by-deck\n  - org-unit-42\ncertificates:\n- cert: |\n    -----BEGIN CERTIFICATE-----\n    MIIC1jCCAb4CCQCt23nwvxSCvjANBgkqhkiG9w0BAQsFADAtMRYwFAYDVQQDDA0q\n    LmV4YW1wbGUuY29tMRMwEQYDVQQKDAprb25naHEub3JnMB4XDTE4MTIzMTIwMTkw\n    MVoXDTE5MTIzMTIwMTkwMVowLTEWMBQGA1UEAwwNKi5leGFtcGxlLmNvbTETMBEG\n    A1UECgwKa29uZ2hxLm9yZzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB\n    AKj/2r1AXo9x+2Csrd0SHbpnzuW+xYqgsd+YA9ZrZNV7SZGSbaZymsRMz8wg5OIU\n    iUik2GM1749/lYvojLFStBPy9UY/gd++5f3wLp4xHiI+IU2XQ97otXKGfyh36RmN\n    dKDqPLN8BG3R346s/y1GOulFvLthYmZVYF9ufHiqimfEDSbTt79P5C3X0Rw/afK1\n    GjHEJPCB/XkZ6lkcEyL6LqZI5oBigDqa9hI/nWLxEzfm8pgosiS38p9TAijlOkpm\n    tX2p2b1pktlNIy3rxsqj6IynN9Wc7FpV1N4HoPKV7vQQ08hjwW6WfanVthaaJosj\n    Vr2TBCJ1ltAmsb+5B2VPYVkCAwEAATANBgkqhkiG9w0BAQsFAAOCAQEAnByTyQfV\n    3LkwuoWS57CWcqbNw/cHnv/ChzmIv+6mIXvDBSvCgrPZIWCpaCfYRG6R51E44fr/\n    8V1AKT0Zt15DjrXEEcIGQgsIDO91/wlL091fTAUzSbL0yt7HTlm8sX6xndPNAZrq\n    cfcIPVMxknfqPy2VqS4IrNC03pHkDKtokphBjVUlkiWsdcq+fHYbS2xL2d1Da/uN\n    hX/iwgo+v5gOF5xtaXx7D7L3Cf+MHb/MOXWPfYXNiTpSBVX8/Kx5RP+QLI16nWvw\n    lrijTlXZFR8NIZBrCo/QZ2cNbUAbN3R0n+/kMFubxBL8WEm6Qhi9jBjbJeDMspd8\n    C+/TZJQMpx5vyA==\n    -----END CERTIFICATE-----\n  id: 13c562a1-191c-4464-9b18-e5222b46035b\n  key: |\n    -----BEGIN PRIVATE KEY-----\n    MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCo/9q9QF6Pcftg\n    rK3dEh26Z87lvsWKoLHfmAPWa2TVe0mRkm2mcprETM/MIOTiFIlIpNhjNe+Pf5WL\n    6IyxUrQT8vVGP4HfvuX98C6eMR4iPiFNl0Pe6LVyh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CkQnHBkAE7bs53pjbSJv1vLr+5L3GdQZ\n    laIiEoNEE/YIExEcVrne4eKlgyAj2/JpLszThcRTzD+z5UibKQs6LzJBDQKBgDVa\n    dAGzCUt57w48nwvyQdWFgydaWef+bB9Zg8c+MCtUxuxfm4/Kqwetcff1hNtYPv60\n    N68weKj1Pi1vhcAi3+YJA/mMrJbAL5dK1uhMVreUiEjuQpfpLAzQIv1Y9sJUFwhY\n    BUbIZhgqVyQguZptDmCeUj6aoL9/sOxESTEXSTG1AoGBAMQ5iJZMsdLCERv0+6Y1\n    F/t/YSW8cugB3vdV9jHZuosoprz48p92pYP8OdQc70H5hZt53hoYNgYFSd+MU6H1\n    hJCaXTsiP4IUmBjiwzSp3o1ctP8lWvnyJpAadYdDhaDaAAoaMjCo9cm5OMwc8t8x\n    hwAPXV2cgWH8fPcT9NLAcwWk\n    -----END PRIVATE KEY-----\n  snis:\n  - name: demo1.example.com\n  - name: demo2.example.com\n  - name: demo3.example.com\n  tags:\n  - cloudops-managed\nconsumers:\n- acls:\n  - group: foo-group\n  hmacauth_credentials:\n  - secret: yeNZBeqCuk0D3H85VX77Umacf91MwqRo\n    username: hmac-user\n  jwt_secrets:\n  - algorithm: HS256\n    key: MKWeR0nu9OAUR9HrjpUG82Hbfz7ZXsIw\n    secret: 6gkrxTKAraykMSpmnLNEGiEE3Yz8XL6U\n  keyauth_credentials:\n  - key: iwb6Djkk4HhUlOCmLilDIKh6nZrn90ts\n  username: harry\nplugins:\n- config:\n    bandwidth_metrics: false\n    latency_metrics: false\n    per_consumer: false\n    status_code_metrics: false\n    upstream_health_metrics: false\n  enabled: true\n  name: prometheus\n  protocols:\n  - http\n  - https\nservices:\n- connect_timeout: 60000\n  enabled: true\n  host: mockbin.org\n  name: svc1\n  port: 80\n  protocol: http\n  read_timeout: 60000\n  retries: 5\n  routes:\n  - https_redirect_status_code: 301\n    name: r1\n    path_handling: v0\n    paths:\n    - /r1\n    preserve_host: false\n    protocols:\n    - http\n    - https\n    regex_priority: 0\n    request_buffering: true\n    response_buffering: true\n    strip_path: true\n  tags:\n  - team-svc1\n  write_timeout: 60000\n- connect_timeout: 60000\n  enabled: true\n  host: mockbin.org\n  name: svc2\n  port: 80\n  protocol: http\n  read_timeout: 60000\n  retries: 5\n  routes:\n  - https_redirect_status_code: 301\n    name: r2\n    path_handling: v0\n    paths:\n    - /r2\n    preserve_host: false\n    protocols:\n    - http\n    - https\n    regex_priority: 0\n    request_buffering: true\n    response_buffering: true\n    strip_path: true\n  write_timeout: 60000\n- connect_timeout: 60000\n  enabled: true\n  host: mockbin.org\n  name: svc3\n  port: 80\n  protocol: http\n  read_timeout: 60000\n  retries: 5\n  routes:\n  - https_redirect_status_code: 301\n    methods:\n    - GET\n    name: r3\n    path_handling: v0\n    paths:\n    - /r3\n    preserve_host: false\n    protocols:\n    - http\n    - https\n    regex_priority: 0\n    request_buffering: true\n    response_buffering: true\n    strip_path: true\n  write_timeout: 60000\nupstreams:\n- algorithm: round-robin\n  hash_fallback: none\n  hash_on: none\n  hash_on_cookie_path: /\n  healthchecks:\n    active:\n      concurrency: 10\n      healthy:\n        http_statuses:\n        - 200\n        - 302\n        interval: 0\n        successes: 0\n      http_path: /\n      https_verify_certificate: true\n      timeout: 1\n      type: http\n      unhealthy:\n        http_failures: 0\n        http_statuses:\n        - 429\n        - 404\n        - 500\n        - 501\n        - 502\n        - 503\n        - 504\n        - 505\n        interval: 0\n        tcp_failures: 0\n        timeouts: 0\n    passive:\n      healthy:\n        http_statuses:\n        - 200\n        - 201\n        - 202\n        - 203\n        - 204\n        - 205\n        - 206\n        - 207\n        - 208\n        - 226\n        - 300\n        - 301\n        - 302\n        - 303\n        - 304\n        - 305\n        - 306\n        - 307\n        - 308\n        successes: 0\n      type: http\n      unhealthy:\n        http_failures: 0\n        http_statuses:\n        - 429\n        - 500\n        - 503\n        tcp_failures: 0\n        timeouts: 0\n    threshold: 0\n  name: upstream1\n  slots: 10000\n  targets:\n  - target: 198.51.100.11:80\n    weight: 100\n  - target: 198.51.100.12:80\n    weight: 100\n  - target: 198.51.100.13:80\n    weight: 100\n  use_srv_name: false\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -77,3 +77,2 @@
        	            	 - config:
        	            	-    ai_metrics: false
        	            	     bandwidth_metrics: false
        	Test:       	Test_Dump_SelectTags_3x/dump_with_select-tags
Info: 'deck reset' functionality has moved to 'deck gateway reset' and will be removed
in a future MAJOR version of deck. Migration to 'deck gateway reset' is recommended.
--- FAIL: Test_Dump_SelectTags_3x (0.42s)
    --- FAIL: Test_Dump_SelectTags_3x/dump_with_select-tags (0.42s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant