make watch ne fonctionne pas. #27

Closed
opened 2024-06-13 16:55:31 +02:00 by pcaseiro · 2 comments
Owner

La documentation de prise en main du code indique qu'il faut exécuter la commande

"make watch"

Cette commande retourne une erreur, car les tests ne passent pas.

=== RUN   TestAdapter/Test_queue_ranking
    adapter.go:94: i/o timeout
        forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/redis.withTx
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/redis/adapter.go:163
        forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/redis.(*Adapter).Touch
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/redis/adapter.go:77
        forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/testsuite.init.func1
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/testsuite/adapter.go:30
        forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/testsuite.TestAdapter.TestAdapter.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/testsuite/adapter.go:93
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
        forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/redis.(*Adapter).Touch
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/redis/adapter.go:106
        forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/testsuite.init.func1
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/testsuite/adapter.go:30
        forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/testsuite.TestAdapter.TestAdapter.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/testsuite/adapter.go:93
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
        could not touch session 'session-0' (index: 0, rank: 0)
        forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/testsuite.init.func1
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/testsuite/adapter.go:32
        forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/testsuite.TestAdapter.TestAdapter.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/testsuite/adapter.go:93
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
        forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/testsuite.TestAdapter.TestAdapter.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/testsuite/adapter.go:94
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
=== RUN   TestAdapter/Test_session_expiration
    adapter.go:94: i/o timeout
        forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/redis.withTx
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/redis/adapter.go:163
        forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/redis.(*Adapter).Touch
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/redis/adapter.go:77
        forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/testsuite.init.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/testsuite/adapter.go:60
        forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/testsuite.TestAdapter.TestAdapter.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/testsuite/adapter.go:93
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
        forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/redis.(*Adapter).Touch
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/redis/adapter.go:106
        forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/testsuite.init.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/testsuite/adapter.go:60
        forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/testsuite.TestAdapter.TestAdapter.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/testsuite/adapter.go:93
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
        could not touch session 'session-1'
        forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/testsuite.init.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/testsuite/adapter.go:62
        forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/testsuite.TestAdapter.TestAdapter.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/testsuite/adapter.go:93
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
        forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/testsuite.TestAdapter.TestAdapter.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/testsuite/adapter.go:94
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
--- FAIL: TestAdapter (6.03s)
    --- FAIL: TestAdapter/Test_queue_ranking (3.02s)
    --- FAIL: TestAdapter/Test_session_expiration (3.01s)
FAIL
FAIL	forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/redis	10.050s
=== RUN   TestLayerRepository
=== RUN   TestLayerRepository/Create_layer
    layer_repository.go:243: i/o timeout
        forge.cadoles.com/cadoles/bouncer/internal/store/redis.(*LayerRepository).CreateLayer
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/redis/layer_repository.go:65
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func1
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:27
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestLayerRepository.TestLayerRepository.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:242
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func1
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:29
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestLayerRepository.TestLayerRepository.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:242
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestLayerRepository.TestLayerRepository.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:243
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
=== RUN   TestLayerRepository/Create_then_get_layer
    layer_repository.go:243: i/o timeout
        forge.cadoles.com/cadoles/bouncer/internal/store/redis.(*LayerRepository).CreateLayer
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/redis/layer_repository.go:65
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:72
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestLayerRepository.TestLayerRepository.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:242
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:74
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestLayerRepository.TestLayerRepository.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:242
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestLayerRepository.TestLayerRepository.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:243
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
=== RUN   TestLayerRepository/Create_then_delete_layer
    layer_repository.go:243: i/o timeout
        forge.cadoles.com/cadoles/bouncer/internal/store/redis.(*LayerRepository).CreateLayer
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/redis/layer_repository.go:65
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func3
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:130
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestLayerRepository.TestLayerRepository.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:242
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func3
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:132
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestLayerRepository.TestLayerRepository.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:242
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestLayerRepository.TestLayerRepository.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:243
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
=== RUN   TestLayerRepository/Create_already_existing_layer
    layer_repository.go:243: i/o timeout
        forge.cadoles.com/cadoles/bouncer/internal/store/redis.(*LayerRepository).CreateLayer
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/redis/layer_repository.go:65
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func4
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:172
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestLayerRepository.TestLayerRepository.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:242
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func4
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:174
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestLayerRepository.TestLayerRepository.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:242
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestLayerRepository.TestLayerRepository.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:243
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
=== RUN   TestLayerRepository/Create_then_query_layer
    layer_repository.go:243: i/o timeout
        forge.cadoles.com/cadoles/bouncer/internal/store/redis.(*LayerRepository).CreateLayer
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/redis/layer_repository.go:65
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func5
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:206
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestLayerRepository.TestLayerRepository.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:242
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func5
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:208
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestLayerRepository.TestLayerRepository.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:242
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestLayerRepository.TestLayerRepository.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:243
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
--- FAIL: TestLayerRepository (15.10s)
    --- FAIL: TestLayerRepository/Create_layer (3.02s)
    --- FAIL: TestLayerRepository/Create_then_get_layer (3.01s)
    --- FAIL: TestLayerRepository/Create_then_delete_layer (3.02s)
    --- FAIL: TestLayerRepository/Create_already_existing_layer (3.03s)
    --- FAIL: TestLayerRepository/Create_then_query_layer (3.02s)
=== RUN   TestProxyRepository
=== RUN   TestProxyRepository/Create_proxy
    proxy_repository.go:207: i/o timeout
        forge.cadoles.com/cadoles/bouncer/internal/store/redis.(*ProxyRepository).CreateProxy
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/redis/proxy_repository.go:114
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func6
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:25
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestProxyRepository.TestProxyRepository.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:206
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func6
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:27
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestProxyRepository.TestProxyRepository.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:206
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestProxyRepository.TestProxyRepository.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:207
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
=== RUN   TestProxyRepository/Create_then_get_proxy
    proxy_repository.go:207: i/o timeout
        forge.cadoles.com/cadoles/bouncer/internal/store/redis.(*ProxyRepository).CreateProxy
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/redis/proxy_repository.go:114
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func7
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:64
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestProxyRepository.TestProxyRepository.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:206
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func7
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:66
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestProxyRepository.TestProxyRepository.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:206
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestProxyRepository.TestProxyRepository.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:207
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
=== RUN   TestProxyRepository/Create_then_delete_proxy
    proxy_repository.go:207: i/o timeout
        forge.cadoles.com/cadoles/bouncer/internal/store/redis.(*ProxyRepository).CreateProxy
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/redis/proxy_repository.go:114
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func8
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:112
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestProxyRepository.TestProxyRepository.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:206
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func8
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:114
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestProxyRepository.TestProxyRepository.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:206
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestProxyRepository.TestProxyRepository.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:207
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
=== RUN   TestProxyRepository/Create_then_query_layer
    proxy_repository.go:207: i/o timeout
        forge.cadoles.com/cadoles/bouncer/internal/store/redis.(*ProxyRepository).CreateProxy
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/redis/proxy_repository.go:114
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func9
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:144
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestProxyRepository.TestProxyRepository.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:206
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func9
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:146
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestProxyRepository.TestProxyRepository.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:206
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestProxyRepository.TestProxyRepository.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:207
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
=== RUN   TestProxyRepository/Create_already_existing_proxy
    proxy_repository.go:207: i/o timeout
        forge.cadoles.com/cadoles/bouncer/internal/store/redis.(*ProxyRepository).CreateProxy
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/redis/proxy_repository.go:114
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func10
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:183
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestProxyRepository.TestProxyRepository.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:206
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func10
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:185
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestProxyRepository.TestProxyRepository.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:206
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
        forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestProxyRepository.TestProxyRepository.func1.func2
        	/home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:207
        testing.tRunner
        	/usr/lib/go/src/testing/testing.go:1689
        runtime.goexit
        	/usr/lib/go/src/runtime/asm_amd64.s:1695
--- FAIL: TestProxyRepository (15.09s)
    --- FAIL: TestProxyRepository/Create_proxy (3.01s)
    --- FAIL: TestProxyRepository/Create_then_get_proxy (3.01s)
    --- FAIL: TestProxyRepository/Create_then_delete_proxy (3.03s)
    --- FAIL: TestProxyRepository/Create_then_query_layer (3.01s)
    --- FAIL: TestProxyRepository/Create_already_existing_proxy (3.02s)
FAIL
FAIL	forge.cadoles.com/cadoles/bouncer/internal/store/redis	34.155s
FAIL
make[1] : on quitte le répertoire « /home/pcaseiro/code/cadoles/cadoleskube/bouncer »
make[1]: *** [Makefile:33: test-go] Error 1
exit status 1
La documentation de prise en main du code indique qu'il faut exécuter la commande "make watch" Cette commande retourne une erreur, car les tests ne passent pas. ``` === RUN TestAdapter/Test_queue_ranking adapter.go:94: i/o timeout forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/redis.withTx /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/redis/adapter.go:163 forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/redis.(*Adapter).Touch /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/redis/adapter.go:77 forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/testsuite.init.func1 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/testsuite/adapter.go:30 forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/testsuite.TestAdapter.TestAdapter.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/testsuite/adapter.go:93 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/redis.(*Adapter).Touch /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/redis/adapter.go:106 forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/testsuite.init.func1 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/testsuite/adapter.go:30 forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/testsuite.TestAdapter.TestAdapter.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/testsuite/adapter.go:93 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 could not touch session 'session-0' (index: 0, rank: 0) forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/testsuite.init.func1 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/testsuite/adapter.go:32 forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/testsuite.TestAdapter.TestAdapter.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/testsuite/adapter.go:93 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/testsuite.TestAdapter.TestAdapter.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/testsuite/adapter.go:94 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 === RUN TestAdapter/Test_session_expiration adapter.go:94: i/o timeout forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/redis.withTx /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/redis/adapter.go:163 forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/redis.(*Adapter).Touch /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/redis/adapter.go:77 forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/testsuite.init.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/testsuite/adapter.go:60 forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/testsuite.TestAdapter.TestAdapter.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/testsuite/adapter.go:93 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/redis.(*Adapter).Touch /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/redis/adapter.go:106 forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/testsuite.init.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/testsuite/adapter.go:60 forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/testsuite.TestAdapter.TestAdapter.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/testsuite/adapter.go:93 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 could not touch session 'session-1' forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/testsuite.init.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/testsuite/adapter.go:62 forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/testsuite.TestAdapter.TestAdapter.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/testsuite/adapter.go:93 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/testsuite.TestAdapter.TestAdapter.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/proxy/director/layer/queue/testsuite/adapter.go:94 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 --- FAIL: TestAdapter (6.03s) --- FAIL: TestAdapter/Test_queue_ranking (3.02s) --- FAIL: TestAdapter/Test_session_expiration (3.01s) FAIL FAIL forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/redis 10.050s === RUN TestLayerRepository === RUN TestLayerRepository/Create_layer layer_repository.go:243: i/o timeout forge.cadoles.com/cadoles/bouncer/internal/store/redis.(*LayerRepository).CreateLayer /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/redis/layer_repository.go:65 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func1 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:27 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestLayerRepository.TestLayerRepository.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:242 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func1 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:29 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestLayerRepository.TestLayerRepository.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:242 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestLayerRepository.TestLayerRepository.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:243 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 === RUN TestLayerRepository/Create_then_get_layer layer_repository.go:243: i/o timeout forge.cadoles.com/cadoles/bouncer/internal/store/redis.(*LayerRepository).CreateLayer /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/redis/layer_repository.go:65 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:72 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestLayerRepository.TestLayerRepository.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:242 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:74 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestLayerRepository.TestLayerRepository.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:242 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestLayerRepository.TestLayerRepository.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:243 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 === RUN TestLayerRepository/Create_then_delete_layer layer_repository.go:243: i/o timeout forge.cadoles.com/cadoles/bouncer/internal/store/redis.(*LayerRepository).CreateLayer /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/redis/layer_repository.go:65 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func3 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:130 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestLayerRepository.TestLayerRepository.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:242 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func3 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:132 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestLayerRepository.TestLayerRepository.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:242 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestLayerRepository.TestLayerRepository.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:243 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 === RUN TestLayerRepository/Create_already_existing_layer layer_repository.go:243: i/o timeout forge.cadoles.com/cadoles/bouncer/internal/store/redis.(*LayerRepository).CreateLayer /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/redis/layer_repository.go:65 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func4 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:172 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestLayerRepository.TestLayerRepository.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:242 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func4 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:174 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestLayerRepository.TestLayerRepository.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:242 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestLayerRepository.TestLayerRepository.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:243 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 === RUN TestLayerRepository/Create_then_query_layer layer_repository.go:243: i/o timeout forge.cadoles.com/cadoles/bouncer/internal/store/redis.(*LayerRepository).CreateLayer /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/redis/layer_repository.go:65 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func5 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:206 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestLayerRepository.TestLayerRepository.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:242 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func5 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:208 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestLayerRepository.TestLayerRepository.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:242 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestLayerRepository.TestLayerRepository.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/layer_repository.go:243 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 --- FAIL: TestLayerRepository (15.10s) --- FAIL: TestLayerRepository/Create_layer (3.02s) --- FAIL: TestLayerRepository/Create_then_get_layer (3.01s) --- FAIL: TestLayerRepository/Create_then_delete_layer (3.02s) --- FAIL: TestLayerRepository/Create_already_existing_layer (3.03s) --- FAIL: TestLayerRepository/Create_then_query_layer (3.02s) === RUN TestProxyRepository === RUN TestProxyRepository/Create_proxy proxy_repository.go:207: i/o timeout forge.cadoles.com/cadoles/bouncer/internal/store/redis.(*ProxyRepository).CreateProxy /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/redis/proxy_repository.go:114 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func6 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:25 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestProxyRepository.TestProxyRepository.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:206 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func6 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:27 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestProxyRepository.TestProxyRepository.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:206 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestProxyRepository.TestProxyRepository.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:207 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 === RUN TestProxyRepository/Create_then_get_proxy proxy_repository.go:207: i/o timeout forge.cadoles.com/cadoles/bouncer/internal/store/redis.(*ProxyRepository).CreateProxy /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/redis/proxy_repository.go:114 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func7 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:64 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestProxyRepository.TestProxyRepository.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:206 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func7 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:66 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestProxyRepository.TestProxyRepository.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:206 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestProxyRepository.TestProxyRepository.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:207 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 === RUN TestProxyRepository/Create_then_delete_proxy proxy_repository.go:207: i/o timeout forge.cadoles.com/cadoles/bouncer/internal/store/redis.(*ProxyRepository).CreateProxy /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/redis/proxy_repository.go:114 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func8 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:112 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestProxyRepository.TestProxyRepository.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:206 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func8 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:114 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestProxyRepository.TestProxyRepository.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:206 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestProxyRepository.TestProxyRepository.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:207 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 === RUN TestProxyRepository/Create_then_query_layer proxy_repository.go:207: i/o timeout forge.cadoles.com/cadoles/bouncer/internal/store/redis.(*ProxyRepository).CreateProxy /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/redis/proxy_repository.go:114 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func9 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:144 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestProxyRepository.TestProxyRepository.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:206 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func9 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:146 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestProxyRepository.TestProxyRepository.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:206 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestProxyRepository.TestProxyRepository.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:207 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 === RUN TestProxyRepository/Create_already_existing_proxy proxy_repository.go:207: i/o timeout forge.cadoles.com/cadoles/bouncer/internal/store/redis.(*ProxyRepository).CreateProxy /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/redis/proxy_repository.go:114 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func10 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:183 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestProxyRepository.TestProxyRepository.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:206 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.init.func10 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:185 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestProxyRepository.TestProxyRepository.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:206 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 forge.cadoles.com/cadoles/bouncer/internal/store/testsuite.TestProxyRepository.TestProxyRepository.func1.func2 /home/pcaseiro/code/cadoles/cadoleskube/bouncer/internal/store/testsuite/proxy_repository.go:207 testing.tRunner /usr/lib/go/src/testing/testing.go:1689 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1695 --- FAIL: TestProxyRepository (15.09s) --- FAIL: TestProxyRepository/Create_proxy (3.01s) --- FAIL: TestProxyRepository/Create_then_get_proxy (3.01s) --- FAIL: TestProxyRepository/Create_then_delete_proxy (3.03s) --- FAIL: TestProxyRepository/Create_then_query_layer (3.01s) --- FAIL: TestProxyRepository/Create_already_existing_proxy (3.02s) FAIL FAIL forge.cadoles.com/cadoles/bouncer/internal/store/redis 34.155s FAIL make[1] : on quitte le répertoire « /home/pcaseiro/code/cadoles/cadoleskube/bouncer » make[1]: *** [Makefile:33: test-go] Error 1 exit status 1 ```
pcaseiro added the
Kind/Documentation
label 2024-06-13 16:55:31 +02:00
Owner

@pcaseiro Toutes les erreurs remontées semblent liées à l'absence de réponse du serveur Redis:

 adapter.go:94: i/o timeout
        forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/redis.withTx

Normalement les tests unitaires utilisent dockertest pour l'exécution des tests d'intégration qui nécessitent un serveur Redis éphémère.

Tu as bien le daemon Docker sur ta machine ? Pas de configuration spécifique ?

Est ce que la commande make run-redis fonctionne bien (i.e. le service Redis démarre bien) ?

@pcaseiro Toutes les erreurs remontées semblent liées à l'absence de réponse du serveur Redis: ``` adapter.go:94: i/o timeout forge.cadoles.com/cadoles/bouncer/internal/proxy/director/layer/queue/redis.withTx ``` Normalement les tests unitaires utilisent [`dockertest`](https://github.com/ory/dockertest) pour l'exécution des tests d'intégration qui nécessitent un serveur Redis éphémère. Tu as bien le daemon Docker sur ta machine ? Pas de configuration spécifique ? Est ce que la commande `make run-redis` fonctionne bien (i.e. le service Redis démarre bien) ?
Owner

Fermé pour inactivité.

Fermé pour inactivité.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Cadoles/bouncer#27
No description provided.