Skip to content

update: containerd config yaml #342

update: containerd config yaml

update: containerd config yaml #342

GitHub Actions / Unit Test Results failed Nov 20, 2024 in 0s

47 fail, 213 pass in 1m 47s

260 tests   213 ✔️  1m 47s ⏱️
101 suites      0 💤
    1 files      47

Results for commit cc08bfd.

Annotations

Check warning on line 0 in github.com/xiaods/k8e/pkg/agent/containerd

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

Test_UnitGetHostConfigs (github.com/xiaods/k8e/pkg/agent/containerd) failed

./report.xml

Check warning on line 0 in github.com/xiaods/k8e/pkg/agent/containerd

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

Test_UnitGetHostConfigs/no_registries (github.com/xiaods/k8e/pkg/agent/containerd) failed

./report.xml
Raw output
    config_test.go:1467: /tmp/Test_UnitGetHostConfigsno_registries762134955/001/registries.yaml:
time="2024-11-20T02:47:09Z" level=info msg="Using private registry config file at /tmp/Test_UnitGetHostConfigsno_registries762134955/001/registries.yaml"
    config_test.go:1513: 
        	Error Trace:	/home/runner/work/k8e/k8e/pkg/agent/containerd/config_test.go:1513
        	Error:      	Received unexpected error:
        	            	template: compiled_template:58:22: executing "compiled_template" at <.NodeConfig.NoFlannel>: can't evaluate field NoFlannel in type *config.Node
        	Test:       	Test_UnitGetHostConfigs/no_registries
        	Messages:   	ParseTemplateFromConfig
    config_test.go:1514: /tmp/Test_UnitGetHostConfigsno_registries762134955/001/config.toml

Check warning on line 0 in github.com/xiaods/k8e/pkg/agent/containerd

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

Test_UnitGetHostConfigs/registry_with_default_endpoint (github.com/xiaods/k8e/pkg/agent/containerd) failed

./report.xml
Raw output
    config_test.go:1467: /tmp/Test_UnitGetHostConfigsregistry_with_default_endpoint339457931/001/registries.yaml:
        
                  mirrors:
                    docker.io:
                
time="2024-11-20T02:47:09Z" level=info msg="Using private registry config file at /tmp/Test_UnitGetHostConfigsregistry_with_default_endpoint339457931/001/registries.yaml"
    config_test.go:1513: 
        	Error Trace:	/home/runner/work/k8e/k8e/pkg/agent/containerd/config_test.go:1513
        	Error:      	Received unexpected error:
        	            	template: compiled_template:58:22: executing "compiled_template" at <.NodeConfig.NoFlannel>: can't evaluate field NoFlannel in type *config.Node
        	Test:       	Test_UnitGetHostConfigs/registry_with_default_endpoint
        	Messages:   	ParseTemplateFromConfig
    config_test.go:1514: /tmp/Test_UnitGetHostConfigsregistry_with_default_endpoint339457931/001/config.toml

Check warning on line 0 in github.com/xiaods/k8e/pkg/agent/containerd

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

Test_UnitGetHostConfigs/registry_with_default_endpoint_explicitly_listed (github.com/xiaods/k8e/pkg/agent/containerd) failed

./report.xml
Raw output
    config_test.go:1467: /tmp/Test_UnitGetHostConfigsregistry_with_default_endpoint_explicitly_listed1835449966/001/registries.yaml:
        
                  mirrors:
                    docker.io:
                      endpoint:
                        - docker.io
                
time="2024-11-20T02:47:09Z" level=info msg="Using private registry config file at /tmp/Test_UnitGetHostConfigsregistry_with_default_endpoint_explicitly_listed1835449966/001/registries.yaml"
    config_test.go:1513: 
        	Error Trace:	/home/runner/work/k8e/k8e/pkg/agent/containerd/config_test.go:1513
        	Error:      	Received unexpected error:
        	            	template: compiled_template:58:22: executing "compiled_template" at <.NodeConfig.NoFlannel>: can't evaluate field NoFlannel in type *config.Node
        	Test:       	Test_UnitGetHostConfigs/registry_with_default_endpoint_explicitly_listed
        	Messages:   	ParseTemplateFromConfig
    config_test.go:1514: /tmp/Test_UnitGetHostConfigsregistry_with_default_endpoint_explicitly_listed1835449966/001/config.toml

Check warning on line 0 in github.com/xiaods/k8e/pkg/agent/containerd

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

Test_UnitGetHostConfigs/registry_with_default_endpoint_-_embedded_registry (github.com/xiaods/k8e/pkg/agent/containerd) failed

./report.xml
Raw output
    config_test.go:1467: /tmp/Test_UnitGetHostConfigsregistry_with_default_endpoint_-_embedded_registry1979746130/001/registries.yaml:
        
                  mirrors:
                    docker.io:
                
time="2024-11-20T02:47:09Z" level=info msg="Using private registry config file at /tmp/Test_UnitGetHostConfigsregistry_with_default_endpoint_-_embedded_registry1979746130/001/registries.yaml"
    config_test.go:1503: /tmp/Test_UnitGetHostConfigsregistry_with_default_endpoint_-_embedded_registry1979746130/001/hosts.d/docker.io/hosts.toml
        # File generated by k8e. DO NOT EDIT.
        
        server = "https://registry-1.docker.io/v2"
        capabilities = ["pull", "resolve", "push"]
        
        
        [host]
        [host."https://127.0.0.1:6443/v2"]
          capabilities = ["pull", "resolve"]
          ca = ["server-ca"]
          client = [["client-cert", "client-key"]]
        
    config_test.go:1503: /tmp/Test_UnitGetHostConfigsregistry_with_default_endpoint_-_embedded_registry1979746130/001/hosts.d/127.0.0.1:6443/hosts.toml
        # File generated by k8e. DO NOT EDIT.
        
        server = "https://127.0.0.1:6443/v2"
        capabilities = ["pull", "resolve", "push"]
        
        ca = ["server-ca"]
        client = [["client-cert", "client-key"]]
        
        
        [host]
    config_test.go:1513: 
        	Error Trace:	/home/runner/work/k8e/k8e/pkg/agent/containerd/config_test.go:1513
        	Error:      	Received unexpected error:
        	            	template: compiled_template:58:22: executing "compiled_template" at <.NodeConfig.NoFlannel>: can't evaluate field NoFlannel in type *config.Node
        	Test:       	Test_UnitGetHostConfigs/registry_with_default_endpoint_-_embedded_registry
        	Messages:   	ParseTemplateFromConfig
    config_test.go:1514: /tmp/Test_UnitGetHostConfigsregistry_with_default_endpoint_-_embedded_registry1979746130/001/config.toml

Check warning on line 0 in github.com/xiaods/k8e/pkg/agent/containerd

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

Test_UnitGetHostConfigs/registry_with_default_endpoint_and_creds (github.com/xiaods/k8e/pkg/agent/containerd) failed

./report.xml
Raw output
    config_test.go:1467: /tmp/Test_UnitGetHostConfigsregistry_with_default_endpoint_and_creds4241209238/001/registries.yaml:
        
                  mirrors:
                    docker.io:
                  configs:
                    docker.io:
                      auth:
                        username: user
                        password: pass
                
time="2024-11-20T02:47:09Z" level=info msg="Using private registry config file at /tmp/Test_UnitGetHostConfigsregistry_with_default_endpoint_and_creds4241209238/001/registries.yaml"
    config_test.go:1503: /tmp/Test_UnitGetHostConfigsregistry_with_default_endpoint_and_creds4241209238/001/hosts.d/docker.io/hosts.toml
        # File generated by k8e. DO NOT EDIT.
        
        server = "https://registry-1.docker.io/v2"
        capabilities = ["pull", "resolve", "push"]
        
        
        [host]
    config_test.go:1513: 
        	Error Trace:	/home/runner/work/k8e/k8e/pkg/agent/containerd/config_test.go:1513
        	Error:      	Received unexpected error:
        	            	template: compiled_template:58:22: executing "compiled_template" at <.NodeConfig.NoFlannel>: can't evaluate field NoFlannel in type *config.Node
        	Test:       	Test_UnitGetHostConfigs/registry_with_default_endpoint_and_creds
        	Messages:   	ParseTemplateFromConfig
    config_test.go:1514: /tmp/Test_UnitGetHostConfigsregistry_with_default_endpoint_and_creds4241209238/001/config.toml

Check warning on line 0 in github.com/xiaods/k8e/pkg/agent/containerd

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

Test_UnitGetHostConfigs/registry_with_default_endpoint_explicitly_listed_and_creds (github.com/xiaods/k8e/pkg/agent/containerd) failed

./report.xml
Raw output
    config_test.go:1467: /tmp/Test_UnitGetHostConfigsregistry_with_default_endpoint_explicitly_listed_and_creds3101349179/001/registries.yaml:
        
                  mirrors:
                    docker.io:
                      endpoint:
                        - docker.io
                  configs:
                    docker.io:
                      auth:
                        username: user
                        password: pass
                
time="2024-11-20T02:47:09Z" level=info msg="Using private registry config file at /tmp/Test_UnitGetHostConfigsregistry_with_default_endpoint_explicitly_listed_and_creds3101349179/001/registries.yaml"
    config_test.go:1503: /tmp/Test_UnitGetHostConfigsregistry_with_default_endpoint_explicitly_listed_and_creds3101349179/001/hosts.d/docker.io/hosts.toml
        # File generated by k8e. DO NOT EDIT.
        
        server = "https://registry-1.docker.io/v2"
        capabilities = ["pull", "resolve", "push"]
        
        
        [host]
    config_test.go:1513: 
        	Error Trace:	/home/runner/work/k8e/k8e/pkg/agent/containerd/config_test.go:1513
        	Error:      	Received unexpected error:
        	            	template: compiled_template:58:22: executing "compiled_template" at <.NodeConfig.NoFlannel>: can't evaluate field NoFlannel in type *config.Node
        	Test:       	Test_UnitGetHostConfigs/registry_with_default_endpoint_explicitly_listed_and_creds
        	Messages:   	ParseTemplateFromConfig
    config_test.go:1514: /tmp/Test_UnitGetHostConfigsregistry_with_default_endpoint_explicitly_listed_and_creds3101349179/001/config.toml

Check warning on line 0 in github.com/xiaods/k8e/pkg/agent/containerd

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

Test_UnitGetHostConfigs/registry_with_only_creds (github.com/xiaods/k8e/pkg/agent/containerd) failed

./report.xml
Raw output
    config_test.go:1467: /tmp/Test_UnitGetHostConfigsregistry_with_only_creds2255691130/001/registries.yaml:
        
                  configs:
                    docker.io:
                      auth:
                        username: user
                        password: pass
                
time="2024-11-20T02:47:09Z" level=info msg="Using private registry config file at /tmp/Test_UnitGetHostConfigsregistry_with_only_creds2255691130/001/registries.yaml"
    config_test.go:1503: /tmp/Test_UnitGetHostConfigsregistry_with_only_creds2255691130/001/hosts.d/docker.io/hosts.toml
        # File generated by k8e. DO NOT EDIT.
        
        server = "https://registry-1.docker.io/v2"
        capabilities = ["pull", "resolve", "push"]
        
        
        [host]
    config_test.go:1513: 
        	Error Trace:	/home/runner/work/k8e/k8e/pkg/agent/containerd/config_test.go:1513
        	Error:      	Received unexpected error:
        	            	template: compiled_template:58:22: executing "compiled_template" at <.NodeConfig.NoFlannel>: can't evaluate field NoFlannel in type *config.Node
        	Test:       	Test_UnitGetHostConfigs/registry_with_only_creds
        	Messages:   	ParseTemplateFromConfig
    config_test.go:1514: /tmp/Test_UnitGetHostConfigsregistry_with_only_creds2255691130/001/config.toml

Check warning on line 0 in github.com/xiaods/k8e/pkg/agent/containerd

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

Test_UnitGetHostConfigs/private_registry_with_default_endpoint (github.com/xiaods/k8e/pkg/agent/containerd) failed

./report.xml
Raw output
    config_test.go:1467: /tmp/Test_UnitGetHostConfigsprivate_registry_with_default_endpoint395821199/001/registries.yaml:
        
                  mirrors:
                    registry.example.com:
                
time="2024-11-20T02:47:09Z" level=info msg="Using private registry config file at /tmp/Test_UnitGetHostConfigsprivate_registry_with_default_endpoint395821199/001/registries.yaml"
    config_test.go:1513: 
        	Error Trace:	/home/runner/work/k8e/k8e/pkg/agent/containerd/config_test.go:1513
        	Error:      	Received unexpected error:
        	            	template: compiled_template:58:22: executing "compiled_template" at <.NodeConfig.NoFlannel>: can't evaluate field NoFlannel in type *config.Node
        	Test:       	Test_UnitGetHostConfigs/private_registry_with_default_endpoint
        	Messages:   	ParseTemplateFromConfig
    config_test.go:1514: /tmp/Test_UnitGetHostConfigsprivate_registry_with_default_endpoint395821199/001/config.toml

Check warning on line 0 in github.com/xiaods/k8e/pkg/agent/containerd

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

Test_UnitGetHostConfigs/private_registry_with_default_endpoint_and_creds (github.com/xiaods/k8e/pkg/agent/containerd) failed

./report.xml
Raw output
    config_test.go:1467: /tmp/Test_UnitGetHostConfigsprivate_registry_with_default_endpoint_and_creds2003899615/001/registries.yaml:
        
                  mirrors:
                    registry.example.com:
                  configs:
                    registry.example.com:
                      auth:
                        username: user
                        password: pass
                
time="2024-11-20T02:47:09Z" level=info msg="Using private registry config file at /tmp/Test_UnitGetHostConfigsprivate_registry_with_default_endpoint_and_creds2003899615/001/registries.yaml"
    config_test.go:1503: /tmp/Test_UnitGetHostConfigsprivate_registry_with_default_endpoint_and_creds2003899615/001/hosts.d/registry.example.com/hosts.toml
        # File generated by k8e. DO NOT EDIT.
        
        server = "https://registry.example.com/v2"
        capabilities = ["pull", "resolve", "push"]
        
        
        [host]
    config_test.go:1513: 
        	Error Trace:	/home/runner/work/k8e/k8e/pkg/agent/containerd/config_test.go:1513
        	Error:      	Received unexpected error:
        	            	template: compiled_template:58:22: executing "compiled_template" at <.NodeConfig.NoFlannel>: can't evaluate field NoFlannel in type *config.Node
        	Test:       	Test_UnitGetHostConfigs/private_registry_with_default_endpoint_and_creds
        	Messages:   	ParseTemplateFromConfig
    config_test.go:1514: /tmp/Test_UnitGetHostConfigsprivate_registry_with_default_endpoint_and_creds2003899615/001/config.toml

Check warning on line 0 in github.com/xiaods/k8e/pkg/agent/containerd

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

Test_UnitGetHostConfigs/private_registry_with_only_creds (github.com/xiaods/k8e/pkg/agent/containerd) failed

./report.xml
Raw output
    config_test.go:1467: /tmp/Test_UnitGetHostConfigsprivate_registry_with_only_creds2447485150/001/registries.yaml:
        
                  configs:
                    registry.example.com:
                      auth:
                        username: user
                        password: pass
                
time="2024-11-20T02:47:09Z" level=info msg="Using private registry config file at /tmp/Test_UnitGetHostConfigsprivate_registry_with_only_creds2447485150/001/registries.yaml"
    config_test.go:1503: /tmp/Test_UnitGetHostConfigsprivate_registry_with_only_creds2447485150/001/hosts.d/registry.example.com/hosts.toml
        # File generated by k8e. DO NOT EDIT.
        
        server = "https://registry.example.com/v2"
        capabilities = ["pull", "resolve", "push"]
        
        
        [host]
    config_test.go:1513: 
        	Error Trace:	/home/runner/work/k8e/k8e/pkg/agent/containerd/config_test.go:1513
        	Error:      	Received unexpected error:
        	            	template: compiled_template:58:22: executing "compiled_template" at <.NodeConfig.NoFlannel>: can't evaluate field NoFlannel in type *config.Node
        	Test:       	Test_UnitGetHostConfigs/private_registry_with_only_creds
        	Messages:   	ParseTemplateFromConfig
    config_test.go:1514: /tmp/Test_UnitGetHostConfigsprivate_registry_with_only_creds2447485150/001/config.toml

Check warning on line 0 in github.com/xiaods/k8e/pkg/agent/containerd

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

Test_UnitGetHostConfigs/registry_with_mirror_endpoint_-_full_URL_with_override_path (github.com/xiaods/k8e/pkg/agent/containerd) failed

./report.xml
Raw output
    config_test.go:1467: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_full_URL_with_override_path1327239373/001/registries.yaml:
        
                  mirrors:
                    docker.io:
                      endpoint:
                        - https://registry.example.com/prefix/v2
                
time="2024-11-20T02:47:09Z" level=info msg="Using private registry config file at /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_full_URL_with_override_path1327239373/001/registries.yaml"
    config_test.go:1503: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_full_URL_with_override_path1327239373/001/hosts.d/docker.io/hosts.toml
        # File generated by k8e. DO NOT EDIT.
        
        server = "https://registry-1.docker.io/v2"
        capabilities = ["pull", "resolve", "push"]
        
        
        [host]
        [host."https://registry.example.com/prefix/v2"]
          capabilities = ["pull", "resolve"]
          override_path = true
    config_test.go:1513: 
        	Error Trace:	/home/runner/work/k8e/k8e/pkg/agent/containerd/config_test.go:1513
        	Error:      	Received unexpected error:
        	            	template: compiled_template:58:22: executing "compiled_template" at <.NodeConfig.NoFlannel>: can't evaluate field NoFlannel in type *config.Node
        	Test:       	Test_UnitGetHostConfigs/registry_with_mirror_endpoint_-_full_URL_with_override_path
        	Messages:   	ParseTemplateFromConfig
    config_test.go:1514: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_full_URL_with_override_path1327239373/001/config.toml

Check warning on line 0 in github.com/xiaods/k8e/pkg/agent/containerd

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

Test_UnitGetHostConfigs/registry_with_mirror_endpoint_-_hostname_only_with_override_path (github.com/xiaods/k8e/pkg/agent/containerd) failed

./report.xml
Raw output
    config_test.go:1467: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_hostname_only_with_override_path2934630773/001/registries.yaml:
        
                  mirrors:
                    docker.io:
                      endpoint:
                        - registry.example.com/prefix/v2
                
time="2024-11-20T02:47:09Z" level=info msg="Using private registry config file at /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_hostname_only_with_override_path2934630773/001/registries.yaml"
    config_test.go:1503: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_hostname_only_with_override_path2934630773/001/hosts.d/docker.io/hosts.toml
        # File generated by k8e. DO NOT EDIT.
        
        server = "https://registry-1.docker.io/v2"
        capabilities = ["pull", "resolve", "push"]
        
        
        [host]
        [host."https://registry.example.com/prefix/v2"]
          capabilities = ["pull", "resolve"]
          override_path = true
    config_test.go:1513: 
        	Error Trace:	/home/runner/work/k8e/k8e/pkg/agent/containerd/config_test.go:1513
        	Error:      	Received unexpected error:
        	            	template: compiled_template:58:22: executing "compiled_template" at <.NodeConfig.NoFlannel>: can't evaluate field NoFlannel in type *config.Node
        	Test:       	Test_UnitGetHostConfigs/registry_with_mirror_endpoint_-_hostname_only_with_override_path
        	Messages:   	ParseTemplateFromConfig
    config_test.go:1514: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_hostname_only_with_override_path2934630773/001/config.toml

Check warning on line 0 in github.com/xiaods/k8e/pkg/agent/containerd

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

Test_UnitGetHostConfigs/registry_with_mirror_endpoint_-_hostname_only_with_default_path (github.com/xiaods/k8e/pkg/agent/containerd) failed

./report.xml
Raw output
    config_test.go:1467: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_hostname_only_with_default_path218712528/001/registries.yaml:
        
                  mirrors:
                    docker.io:
                      endpoint:
                        - registry.example.com/v2
                
time="2024-11-20T02:47:09Z" level=info msg="Using private registry config file at /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_hostname_only_with_default_path218712528/001/registries.yaml"
    config_test.go:1503: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_hostname_only_with_default_path218712528/001/hosts.d/docker.io/hosts.toml
        # File generated by k8e. DO NOT EDIT.
        
        server = "https://registry-1.docker.io/v2"
        capabilities = ["pull", "resolve", "push"]
        
        
        [host]
        [host."https://registry.example.com/v2"]
          capabilities = ["pull", "resolve"]
    config_test.go:1513: 
        	Error Trace:	/home/runner/work/k8e/k8e/pkg/agent/containerd/config_test.go:1513
        	Error:      	Received unexpected error:
        	            	template: compiled_template:58:22: executing "compiled_template" at <.NodeConfig.NoFlannel>: can't evaluate field NoFlannel in type *config.Node
        	Test:       	Test_UnitGetHostConfigs/registry_with_mirror_endpoint_-_hostname_only_with_default_path
        	Messages:   	ParseTemplateFromConfig
    config_test.go:1514: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_hostname_only_with_default_path218712528/001/config.toml

Check warning on line 0 in github.com/xiaods/k8e/pkg/agent/containerd

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

Test_UnitGetHostConfigs/registry_with_mirror_endpoint_-_full_URL (github.com/xiaods/k8e/pkg/agent/containerd) failed

./report.xml
Raw output
    config_test.go:1467: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_full_URL3169035966/001/registries.yaml:
        
                  mirrors:
                    docker.io:
                      endpoint:
                        - https://registry.example.com/v2
                
time="2024-11-20T02:47:09Z" level=info msg="Using private registry config file at /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_full_URL3169035966/001/registries.yaml"
    config_test.go:1503: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_full_URL3169035966/001/hosts.d/docker.io/hosts.toml
        # File generated by k8e. DO NOT EDIT.
        
        server = "https://registry-1.docker.io/v2"
        capabilities = ["pull", "resolve", "push"]
        
        
        [host]
        [host."https://registry.example.com/v2"]
          capabilities = ["pull", "resolve"]
    config_test.go:1513: 
        	Error Trace:	/home/runner/work/k8e/k8e/pkg/agent/containerd/config_test.go:1513
        	Error:      	Received unexpected error:
        	            	template: compiled_template:58:22: executing "compiled_template" at <.NodeConfig.NoFlannel>: can't evaluate field NoFlannel in type *config.Node
        	Test:       	Test_UnitGetHostConfigs/registry_with_mirror_endpoint_-_full_URL
        	Messages:   	ParseTemplateFromConfig
    config_test.go:1514: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_full_URL3169035966/001/config.toml

Check warning on line 0 in github.com/xiaods/k8e/pkg/agent/containerd

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

Test_UnitGetHostConfigs/registry_with_mirror_endpoint_-_URL_without_path (github.com/xiaods/k8e/pkg/agent/containerd) failed

./report.xml
Raw output
    config_test.go:1467: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_URL_without_path4131186652/001/registries.yaml:
        
                  mirrors:
                    docker.io:
                      endpoint:
                        - https://registry.example.com
                
time="2024-11-20T02:47:09Z" level=info msg="Using private registry config file at /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_URL_without_path4131186652/001/registries.yaml"
    config_test.go:1503: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_URL_without_path4131186652/001/hosts.d/docker.io/hosts.toml
        # File generated by k8e. DO NOT EDIT.
        
        server = "https://registry-1.docker.io/v2"
        capabilities = ["pull", "resolve", "push"]
        
        
        [host]
        [host."https://registry.example.com/v2"]
          capabilities = ["pull", "resolve"]
    config_test.go:1513: 
        	Error Trace:	/home/runner/work/k8e/k8e/pkg/agent/containerd/config_test.go:1513
        	Error:      	Received unexpected error:
        	            	template: compiled_template:58:22: executing "compiled_template" at <.NodeConfig.NoFlannel>: can't evaluate field NoFlannel in type *config.Node
        	Test:       	Test_UnitGetHostConfigs/registry_with_mirror_endpoint_-_URL_without_path
        	Messages:   	ParseTemplateFromConfig
    config_test.go:1514: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_URL_without_path4131186652/001/config.toml

Check warning on line 0 in github.com/xiaods/k8e/pkg/agent/containerd

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

Test_UnitGetHostConfigs/registry_with_mirror_endpoint_-_hostname_only (github.com/xiaods/k8e/pkg/agent/containerd) failed

./report.xml
Raw output
    config_test.go:1467: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_hostname_only1297598899/001/registries.yaml:
        
                  mirrors:
                    docker.io:
                      endpoint:
                        - registry.example.com
                
time="2024-11-20T02:47:09Z" level=info msg="Using private registry config file at /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_hostname_only1297598899/001/registries.yaml"
    config_test.go:1503: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_hostname_only1297598899/001/hosts.d/docker.io/hosts.toml
        # File generated by k8e. DO NOT EDIT.
        
        server = "https://registry-1.docker.io/v2"
        capabilities = ["pull", "resolve", "push"]
        
        
        [host]
        [host."https://registry.example.com/v2"]
          capabilities = ["pull", "resolve"]
    config_test.go:1513: 
        	Error Trace:	/home/runner/work/k8e/k8e/pkg/agent/containerd/config_test.go:1513
        	Error:      	Received unexpected error:
        	            	template: compiled_template:58:22: executing "compiled_template" at <.NodeConfig.NoFlannel>: can't evaluate field NoFlannel in type *config.Node
        	Test:       	Test_UnitGetHostConfigs/registry_with_mirror_endpoint_-_hostname_only
        	Messages:   	ParseTemplateFromConfig
    config_test.go:1514: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_hostname_only1297598899/001/config.toml

Check warning on line 0 in github.com/xiaods/k8e/pkg/agent/containerd

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

Test_UnitGetHostConfigs/registry_with_mirror_endpoint_-_hostname_and_port_only (github.com/xiaods/k8e/pkg/agent/containerd) failed

./report.xml
Raw output
    config_test.go:1467: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_hostname_and_port_only932760295/001/registries.yaml:
        
                  mirrors:
                    docker.io:
                      endpoint:
                        - registry.example.com:443
                
time="2024-11-20T02:47:09Z" level=info msg="Using private registry config file at /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_hostname_and_port_only932760295/001/registries.yaml"
    config_test.go:1503: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_hostname_and_port_only932760295/001/hosts.d/docker.io/hosts.toml
        # File generated by k8e. DO NOT EDIT.
        
        server = "https://registry-1.docker.io/v2"
        capabilities = ["pull", "resolve", "push"]
        
        
        [host]
        [host."https://registry.example.com:443/v2"]
          capabilities = ["pull", "resolve"]
    config_test.go:1513: 
        	Error Trace:	/home/runner/work/k8e/k8e/pkg/agent/containerd/config_test.go:1513
        	Error:      	Received unexpected error:
        	            	template: compiled_template:58:22: executing "compiled_template" at <.NodeConfig.NoFlannel>: can't evaluate field NoFlannel in type *config.Node
        	Test:       	Test_UnitGetHostConfigs/registry_with_mirror_endpoint_-_hostname_and_port_only
        	Messages:   	ParseTemplateFromConfig
    config_test.go:1514: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_hostname_and_port_only932760295/001/config.toml

Check warning on line 0 in github.com/xiaods/k8e/pkg/agent/containerd

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

Test_UnitGetHostConfigs/registry_with_mirror_endpoint_-_ip_address_only (github.com/xiaods/k8e/pkg/agent/containerd) failed

./report.xml
Raw output
    config_test.go:1467: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_ip_address_only33249147/001/registries.yaml:
        
                  mirrors:
                    docker.io:
                      endpoint:
                        - 1.2.3.4
                
time="2024-11-20T02:47:09Z" level=info msg="Using private registry config file at /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_ip_address_only33249147/001/registries.yaml"
    config_test.go:1503: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_ip_address_only33249147/001/hosts.d/docker.io/hosts.toml
        # File generated by k8e. DO NOT EDIT.
        
        server = "https://registry-1.docker.io/v2"
        capabilities = ["pull", "resolve", "push"]
        
        
        [host]
        [host."https://1.2.3.4/v2"]
          capabilities = ["pull", "resolve"]
    config_test.go:1513: 
        	Error Trace:	/home/runner/work/k8e/k8e/pkg/agent/containerd/config_test.go:1513
        	Error:      	Received unexpected error:
        	            	template: compiled_template:58:22: executing "compiled_template" at <.NodeConfig.NoFlannel>: can't evaluate field NoFlannel in type *config.Node
        	Test:       	Test_UnitGetHostConfigs/registry_with_mirror_endpoint_-_ip_address_only
        	Messages:   	ParseTemplateFromConfig
    config_test.go:1514: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_ip_address_only33249147/001/config.toml

Check warning on line 0 in github.com/xiaods/k8e/pkg/agent/containerd

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

Test_UnitGetHostConfigs/registry_with_mirror_endpoint_-_ip_and_port_only (github.com/xiaods/k8e/pkg/agent/containerd) failed

./report.xml
Raw output
    config_test.go:1467: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_ip_and_port_only3609845205/001/registries.yaml:
        
                  mirrors:
                    docker.io:
                      endpoint:
                        - 1.2.3.4:443
                
time="2024-11-20T02:47:09Z" level=info msg="Using private registry config file at /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_ip_and_port_only3609845205/001/registries.yaml"
    config_test.go:1503: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_ip_and_port_only3609845205/001/hosts.d/docker.io/hosts.toml
        # File generated by k8e. DO NOT EDIT.
        
        server = "https://registry-1.docker.io/v2"
        capabilities = ["pull", "resolve", "push"]
        
        
        [host]
        [host."https://1.2.3.4:443/v2"]
          capabilities = ["pull", "resolve"]
    config_test.go:1513: 
        	Error Trace:	/home/runner/work/k8e/k8e/pkg/agent/containerd/config_test.go:1513
        	Error:      	Received unexpected error:
        	            	template: compiled_template:58:22: executing "compiled_template" at <.NodeConfig.NoFlannel>: can't evaluate field NoFlannel in type *config.Node
        	Test:       	Test_UnitGetHostConfigs/registry_with_mirror_endpoint_-_ip_and_port_only
        	Messages:   	ParseTemplateFromConfig
    config_test.go:1514: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_ip_and_port_only3609845205/001/config.toml

Check warning on line 0 in github.com/xiaods/k8e/pkg/agent/containerd

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

Test_UnitGetHostConfigs/registry_with_mirror_endpoint_-_duplicate_endpoints (github.com/xiaods/k8e/pkg/agent/containerd) failed

./report.xml
Raw output
    config_test.go:1467: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_duplicate_endpoints2758980725/001/registries.yaml:
        
                  mirrors:
                    docker.io:
                      endpoint:
                        - registry.example.com
                        - registry.example.com
                
time="2024-11-20T02:47:09Z" level=info msg="Using private registry config file at /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_duplicate_endpoints2758980725/001/registries.yaml"
time="2024-11-20T02:47:09Z" level=warning msg="Skipping duplicate endpoint URL 1=registry.example.com for docker.io"
    config_test.go:1503: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_duplicate_endpoints2758980725/001/hosts.d/docker.io/hosts.toml
        # File generated by k8e. DO NOT EDIT.
        
        server = "https://registry-1.docker.io/v2"
        capabilities = ["pull", "resolve", "push"]
        
        
        [host]
        [host."https://registry.example.com/v2"]
          capabilities = ["pull", "resolve"]
    config_test.go:1513: 
        	Error Trace:	/home/runner/work/k8e/k8e/pkg/agent/containerd/config_test.go:1513
        	Error:      	Received unexpected error:
        	            	template: compiled_template:58:22: executing "compiled_template" at <.NodeConfig.NoFlannel>: can't evaluate field NoFlannel in type *config.Node
        	Test:       	Test_UnitGetHostConfigs/registry_with_mirror_endpoint_-_duplicate_endpoints
        	Messages:   	ParseTemplateFromConfig
    config_test.go:1514: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_duplicate_endpoints2758980725/001/config.toml

Check warning on line 0 in github.com/xiaods/k8e/pkg/agent/containerd

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

Test_UnitGetHostConfigs/registry_with_mirror_endpoint_-_duplicate_endpoints_in_different_formats (github.com/xiaods/k8e/pkg/agent/containerd) failed

./report.xml
Raw output
    config_test.go:1467: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_duplicate_endpoints_in_different_formats3940979135/001/registries.yaml:
        
                  mirrors:
                    docker.io:
                      endpoint:
                        - registry.example.com
                        - https://registry.example.com
                        - https://registry.example.com/v2
                
time="2024-11-20T02:47:09Z" level=info msg="Using private registry config file at /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_duplicate_endpoints_in_different_formats3940979135/001/registries.yaml"
time="2024-11-20T02:47:09Z" level=warning msg="Skipping duplicate endpoint URL 1=https://registry.example.com for docker.io"
time="2024-11-20T02:47:09Z" level=warning msg="Skipping duplicate endpoint URL 2=https://registry.example.com/v2 for docker.io"
    config_test.go:1503: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_duplicate_endpoints_in_different_formats3940979135/001/hosts.d/docker.io/hosts.toml
        # File generated by k8e. DO NOT EDIT.
        
        server = "https://registry-1.docker.io/v2"
        capabilities = ["pull", "resolve", "push"]
        
        
        [host]
        [host."https://registry.example.com/v2"]
          capabilities = ["pull", "resolve"]
    config_test.go:1513: 
        	Error Trace:	/home/runner/work/k8e/k8e/pkg/agent/containerd/config_test.go:1513
        	Error:      	Received unexpected error:
        	            	template: compiled_template:58:22: executing "compiled_template" at <.NodeConfig.NoFlannel>: can't evaluate field NoFlannel in type *config.Node
        	Test:       	Test_UnitGetHostConfigs/registry_with_mirror_endpoint_-_duplicate_endpoints_in_different_formats
        	Messages:   	ParseTemplateFromConfig
    config_test.go:1514: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_duplicate_endpoints_in_different_formats3940979135/001/config.toml

Check warning on line 0 in github.com/xiaods/k8e/pkg/agent/containerd

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

Test_UnitGetHostConfigs/registry_with_mirror_endpoint_-_duplicate_endpoints_in_different_positions (github.com/xiaods/k8e/pkg/agent/containerd) failed

./report.xml
Raw output
    config_test.go:1467: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_duplicate_endpoints_in_different_positions129947067/001/registries.yaml:
        
                  mirrors:
                    docker.io:
                      endpoint:
                        - https://registry.example.com
                        - https://registry.example.org
                        - https://registry.example.com
                
time="2024-11-20T02:47:09Z" level=info msg="Using private registry config file at /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_duplicate_endpoints_in_different_positions129947067/001/registries.yaml"
time="2024-11-20T02:47:09Z" level=warning msg="Skipping duplicate endpoint URL 2=https://registry.example.com for docker.io"
    config_test.go:1503: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_duplicate_endpoints_in_different_positions129947067/001/hosts.d/docker.io/hosts.toml
        # File generated by k8e. DO NOT EDIT.
        
        server = "https://registry-1.docker.io/v2"
        capabilities = ["pull", "resolve", "push"]
        
        
        [host]
        [host."https://registry.example.com/v2"]
          capabilities = ["pull", "resolve"]
        [host."https://registry.example.org/v2"]
          capabilities = ["pull", "resolve"]
    config_test.go:1513: 
        	Error Trace:	/home/runner/work/k8e/k8e/pkg/agent/containerd/config_test.go:1513
        	Error:      	Received unexpected error:
        	            	template: compiled_template:58:22: executing "compiled_template" at <.NodeConfig.NoFlannel>: can't evaluate field NoFlannel in type *config.Node
        	Test:       	Test_UnitGetHostConfigs/registry_with_mirror_endpoint_-_duplicate_endpoints_in_different_positions
        	Messages:   	ParseTemplateFromConfig
    config_test.go:1514: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_duplicate_endpoints_in_different_positions129947067/001/config.toml

Check warning on line 0 in github.com/xiaods/k8e/pkg/agent/containerd

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

Test_UnitGetHostConfigs/registry_with_mirror_endpoint_-_localhost_and_port_only (github.com/xiaods/k8e/pkg/agent/containerd) failed

./report.xml
Raw output
    config_test.go:1467: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_localhost_and_port_only194599752/001/registries.yaml:
        
                  mirrors:
                    docker.io:
                      endpoint:
                        - localhost:5000
                
time="2024-11-20T02:47:09Z" level=info msg="Using private registry config file at /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_localhost_and_port_only194599752/001/registries.yaml"
    config_test.go:1503: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_localhost_and_port_only194599752/001/hosts.d/docker.io/hosts.toml
        # File generated by k8e. DO NOT EDIT.
        
        server = "https://registry-1.docker.io/v2"
        capabilities = ["pull", "resolve", "push"]
        
        
        [host]
        [host."http://localhost:5000/v2"]
          capabilities = ["pull", "resolve"]
    config_test.go:1513: 
        	Error Trace:	/home/runner/work/k8e/k8e/pkg/agent/containerd/config_test.go:1513
        	Error:      	Received unexpected error:
        	            	template: compiled_template:58:22: executing "compiled_template" at <.NodeConfig.NoFlannel>: can't evaluate field NoFlannel in type *config.Node
        	Test:       	Test_UnitGetHostConfigs/registry_with_mirror_endpoint_-_localhost_and_port_only
        	Messages:   	ParseTemplateFromConfig
    config_test.go:1514: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_localhost_and_port_only194599752/001/config.toml

Check warning on line 0 in github.com/xiaods/k8e/pkg/agent/containerd

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

Test_UnitGetHostConfigs/registry_with_mirror_endpoint_-_localhost_and_port_with_scheme (github.com/xiaods/k8e/pkg/agent/containerd) failed

./report.xml
Raw output
    config_test.go:1467: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_localhost_and_port_with_scheme791646568/001/registries.yaml:
        
                  mirrors:
                    docker.io:
                      endpoint:
                        - https://localhost:5000
                
time="2024-11-20T02:47:09Z" level=info msg="Using private registry config file at /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_localhost_and_port_with_scheme791646568/001/registries.yaml"
    config_test.go:1503: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_localhost_and_port_with_scheme791646568/001/hosts.d/docker.io/hosts.toml
        # File generated by k8e. DO NOT EDIT.
        
        server = "https://registry-1.docker.io/v2"
        capabilities = ["pull", "resolve", "push"]
        
        
        [host]
        [host."https://localhost:5000/v2"]
          capabilities = ["pull", "resolve"]
    config_test.go:1513: 
        	Error Trace:	/home/runner/work/k8e/k8e/pkg/agent/containerd/config_test.go:1513
        	Error:      	Received unexpected error:
        	            	template: compiled_template:58:22: executing "compiled_template" at <.NodeConfig.NoFlannel>: can't evaluate field NoFlannel in type *config.Node
        	Test:       	Test_UnitGetHostConfigs/registry_with_mirror_endpoint_-_localhost_and_port_with_scheme
        	Messages:   	ParseTemplateFromConfig
    config_test.go:1514: /tmp/Test_UnitGetHostConfigsregistry_with_mirror_endpoint_-_localhost_and_port_with_scheme791646568/001/config.toml