Created
July 4, 2018 12:24
-
-
Save cgroschupp/adba95f4aa8ddc559d22dc519b0acf65 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> Checking that code complies with gofmt requirements... | |
TF_ACC=1 go test $(go list ./... |grep -v 'vendor') -v -timeout 120m | |
? github.com/terraform-providers/terraform-provider-profitbricks [no test files] | |
=== RUN TestAccDataSourceDatacenter_matching | |
--- PASS: TestAccDataSourceDatacenter_matching (22.20s) | |
=== RUN TestAccDataSourceImage_basic | |
--- PASS: TestAccDataSourceImage_basic (10.48s) | |
=== RUN TestAccDataSourceLocation_basic | |
--- PASS: TestAccDataSourceLocation_basic (0.85s) | |
=== RUN TestAccResource_basic | |
--- PASS: TestAccResource_basic (21.86s) | |
=== RUN TestProvider | |
--- PASS: TestProvider (0.00s) | |
=== RUN TestProvider_impl | |
--- PASS: TestProvider_impl (0.00s) | |
=== RUN TestAccProfitBricksDataCenter_Basic | |
--- PASS: TestAccProfitBricksDataCenter_Basic (33.11s) | |
=== RUN TestAccProfitBricksFirewall_Basic | |
--- PASS: TestAccProfitBricksFirewall_Basic (340.27s) | |
=== RUN TestAccProfitBricksGroup_Basic | |
--- FAIL: TestAccProfitBricksGroup_Basic (0.08s) | |
testing.go:434: Step 0 error: Error applying: 1 error(s) occurred: | |
* profitbricks_group.group: 1 error(s) occurred: | |
* profitbricks_group.group: An error occured while creating a group: HTTP Status: 403 | |
Error Messages:Error Code: 312 Message: Access Denied as you need CREATE_GROUP privilege for this operation | |
=== RUN TestAccProfitBricksIPBlock_Basic | |
--- PASS: TestAccProfitBricksIPBlock_Basic (21.92s) | |
=== RUN TestAccProfitBricksLanIPFailover_Basic | |
--- PASS: TestAccProfitBricksLanIPFailover_Basic (334.11s) | |
=== RUN TestAccProfitBricksLan_Basic | |
--- PASS: TestAccProfitBricksLan_Basic (55.08s) | |
=== RUN TestAccProfitBricksLoadbalancer_Basic | |
--- FAIL: TestAccProfitBricksLoadbalancer_Basic (281.99s) | |
testing.go:434: Step 0 error: After applying this step, the plan was not empty: | |
DIFF: | |
UPDATE: profitbricks_loadbalancer.example | |
ip: "10.9.214.226" => "" | |
STATE: | |
profitbricks_datacenter.foobar: | |
ID = 1a760b9f-8b08-473e-9c16-0b1502ab28b5 | |
description = | |
location = us/las | |
name = loadbalancer-test | |
profitbricks_loadbalancer.example: | |
ID = c2961315-a1ea-4eeb-88c6-833a363e9bcc | |
datacenter_id = 1a760b9f-8b08-473e-9c16-0b1502ab28b5 | |
dhcp = true | |
ip = 10.9.214.226 | |
name = loadbalancer | |
nic_ids.# = 1 | |
nic_ids.0 = 6f6d21dc-f1b5-4acd-83fe-a7b41ebcedd8 | |
Dependencies: | |
profitbricks_datacenter.foobar | |
profitbricks_nic.database_nic | |
profitbricks_nic.database_nic: | |
ID = 6f6d21dc-f1b5-4acd-83fe-a7b41ebcedd8 | |
datacenter_id = 1a760b9f-8b08-473e-9c16-0b1502ab28b5 | |
dhcp = true | |
firewall_active = true | |
ips.# = 1 | |
ips.0 = 10.9.172.11 | |
lan = 2 | |
name = updated | |
server_id = b79b4d12-848e-42de-9634-e7c03f072468 | |
Dependencies: | |
profitbricks_datacenter.foobar | |
profitbricks_server.webserver | |
profitbricks_server.webserver: | |
ID = b79b4d12-848e-42de-9634-e7c03f072468 | |
availability_zone = ZONE_1 | |
boot_volume = e2efadae-393c-44a1-b27c-8a0e82bdd331 | |
cores = 1 | |
cpu_family = AMD_OPTERON | |
datacenter_id = 1a760b9f-8b08-473e-9c16-0b1502ab28b5 | |
name = webserver | |
nic.# = 1 | |
nic.4050551175.dhcp = true | |
nic.4050551175.firewall.# = 1 | |
nic.4050551175.firewall.4236383148.icmp_code = | |
nic.4050551175.firewall.4236383148.icmp_type = | |
nic.4050551175.firewall.4236383148.ip = | |
nic.4050551175.firewall.4236383148.ips.# = 0 | |
nic.4050551175.firewall.4236383148.name = SSH | |
nic.4050551175.firewall.4236383148.port_range_end = 22 | |
nic.4050551175.firewall.4236383148.port_range_start = 22 | |
nic.4050551175.firewall.4236383148.protocol = TCP | |
nic.4050551175.firewall.4236383148.source_ip = | |
nic.4050551175.firewall.4236383148.source_mac = | |
nic.4050551175.firewall.4236383148.target_ip = | |
nic.4050551175.firewall_active = true | |
nic.4050551175.ip = | |
nic.4050551175.ips.# = 0 | |
nic.4050551175.lan = 1 | |
nic.4050551175.name = | |
nic.4050551175.nat = false | |
primary_ip = 10.12.32.11 | |
primary_nic = 29c0004c-6e05-42f4-b194-3bb046790dfc | |
ram = 1024 | |
volume.# = 1 | |
volume.1751962873.availability_zone = | |
volume.1751962873.bus = | |
volume.1751962873.disk_type = SSD | |
volume.1751962873.image_name = ubuntu-16.04 | |
volume.1751962873.image_password = K3tTj8G14a3EgKyNeeiY | |
volume.1751962873.licence_type = | |
volume.1751962873.name = system | |
volume.1751962873.size = 5 | |
volume.1751962873.ssh_key_path.# = 0 | |
Dependencies: | |
profitbricks_datacenter.foobar | |
=== RUN TestAccProfitBricksNic_Basic | |
--- PASS: TestAccProfitBricksNic_Basic (283.29s) | |
=== RUN TestAccProfitBricksServer_Basic | |
--- PASS: TestAccProfitBricksServer_Basic (235.10s) | |
=== RUN TestAccProfitBricksShare_Basic | |
--- FAIL: TestAccProfitBricksShare_Basic (21.17s) | |
testing.go:434: Step 0 error: Error applying: 1 error(s) occurred: | |
* profitbricks_group.group: 1 error(s) occurred: | |
* profitbricks_group.group: An error occured while creating a group: HTTP Status: 403 | |
Error Messages:Error Code: 312 Message: Access Denied as you need CREATE_GROUP privilege for this operation | |
testing.go:494: Error destroying resource! WARNING: Dangling resources | |
may exist. The full state and error is shown below. | |
Error: Check failed: share for resource still exists in group | |
State: <no state> | |
=== RUN TestAccProfitBricksSnapshot_Basic | |
--- PASS: TestAccProfitBricksSnapshot_Basic (292.74s) | |
PASS | |
ok github.com/terraform-providers/terraform-provider-profitbricks/profitbricks 292.748s | |
=== RUN TestAccProfitBricksUser_Basic | |
--- FAIL: TestAccProfitBricksUser_Basic (0.15s) | |
testing.go:434: Step 0 error: Error applying: 2 error(s) occurred: | |
* profitbricks_user.user: 1 error(s) occurred: | |
* profitbricks_user.user: An error occured while creating a user: HTTP Status: 403 | |
Error Messages:Error Code: 312 Message: Access Denied as you need ADMIN privilege for this operation | |
* profitbricks_group.group: 1 error(s) occurred: | |
* profitbricks_group.group: An error occured while creating a group: HTTP Status: 403 | |
Error Messages:Error Code: 312 Message: Access Denied as you need CREATE_GROUP privilege for this operation | |
=== RUN TestAccProfitBricksVolume_Basic | |
--- PASS: TestAccProfitBricksVolume_Basic (284.85s) | |
FAIL | |
FAIL github.com/terraform-providers/terraform-provider-profitbricks/profitbricks 2251.579s | |
make: *** [GNUmakefile:17: testacc] Fehler 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment