Skip to content
This repository was archived by the owner on Feb 2, 2022. It is now read-only.
This repository was archived by the owner on Feb 2, 2022. It is now read-only.

eclipse/php php7.0 not compatible with PHPUnit version #193

@DrRSatzteil

Description

@DrRSatzteil

When trying to run a unit test in the default workspace the following log statement is shown in the console:

“PHPUnit 7.2.4 by Sebastian Bergmann and contributors.

This version of PHPUnit is supported on PHP 7.1 and PHP 7.2.
You are using PHP 7.0.30-0ubuntu0.16.04.1 (/usr/bin/php7.0).
Test suite is empty.“

Reproduction Steps:
Open a PHPUnit Testcase an run it via Run -> Test -> Run Test

Che version: 6.6.0

OS and version: Ubuntu 18.04

Docker version: Docker version 18.03.1-ce, build 9ee9f40

Che cli.log output:
Mon Jun 11 06:55:21 UTC 2018
/usr/bin/curl "-I -k https://hub.docker.com -s -o /dev/null --write-out %{http_code}"
Checking registry for version '6.6.0' images
eval BOOTSTRAP_IMAGE_ALPINE=${BOOTSTRAP_IMAGE_ALPINE:-alpine:3.4}
eval BOOTSTRAP_IMAGE_CHEIP=${BOOTSTRAP_IMAGE_CHEIP:-eclipse/che-ip:6.6.0}
eval IMAGE_INIT=${IMAGE_INIT:-eclipse/che-init:6.6.0}
eval IMAGE_CHE=${IMAGE_CHE:-eclipse/che-server:6.6.0}
eval IMAGE_COMPOSE=${IMAGE_COMPOSE:-docker/compose:1.10.1}
eval UTILITY_IMAGE_CHEACTION=${UTILITY_IMAGE_CHEACTION:-eclipse/che-action:6.6.0}
eval UTILITY_IMAGE_CHEDIR=${UTILITY_IMAGE_CHEDIR:-eclipse/che-dir:6.6.0}
eval UTILITY_IMAGE_CHETEST=${UTILITY_IMAGE_CHETEST:-eclipse/che-test:6.6.0}
eval UTILITY_IMAGE_CHEMOUNT=${UTILITY_IMAGE_CHEMOUNT:-eclipse/che-mount:6.6.0}
INFO: (che cli): 6.6.0 - using docker 18.03.1-ce / native
/usr/bin/curl "-s https://hub.docker.com/v2/repositories/eclipse/che/tags/"
docker inspect -f '{{.Id}}' che
/usr/bin/curl "-I -k 192.168.0.100:8080/api/system/state -s -o /dev/null --write-out %{http_code}"
000
INFO: (che config): Generating che configuration...
docker_run --env-file="/data/che.env" --env-file=/version/6.6.0/images -v "/home/thomas/che/instance":/opt/che:rw -e "CHE_ENV_FILE=/home/thomas/che/instance/config/che.env" -e "CHE_CONTAINER_ROOT=/data" -e "CHE_CONTAINER_NAME=che" -e "CHE_ENVIRONMENT=production" -e "CHE_CONFIG=/home/thomas/che/instance" -e "CHE_USER=root" -e "CHE_INSTANCE=/home/thomas/che/instance" -e "CHE_REPO=off" --entrypoint=/usr/bin/puppet eclipse/che-init:6.6.0 apply --modulepath /etc/puppet/modules/:/etc/puppet/addon/ /etc/puppet/manifests/ --show_diff >> "/data/cli.log"
Notice: Compiled catalog for d8f5ed2ed155.home in environment production in 0.35 seconds
Notice: Applied catalog in 0.33 seconds
INFO: (che config): Customizing docker-compose for running in a container
INFO: (che start): Preflight checks
mem (1.5 GiB): [OK]
disk (100 MB): [OK]
port 8080 (http): [AVAILABLE]
1ec495919961ef07e2527c7280c173f33995c7abff3a7d049c4ac75cb0507a62
/usr/bin/curl "-I localhost:32768/alpine-release -s -o /dev/null --connect-timeout 5 --write-out %{http_code}"
28
/usr/bin/curl "-I 192.168.0.100:32768/alpine-release -s -o /dev/null --connect-timeout 5 --write-out %{http_code}"
conn (browser => ws): [OK]
conn (server => ws): [OK]
fakeagent-8080

INFO: (che start): Starting containers...
docker_compose --file="/data/instance/docker-compose-container.yml" -p="che" up -d >> "/data/cli.log" 2>&1
Creating che
docker inspect -f '{{.Id}}' che
INFO: (che start): Services booting...
INFO: (che start): Server logs at "docker logs -f che"
DEBUG: Container with id d3e6a60732d8 is matching che service
DEBUG: Running state of container d3e6a60732d8 is true
/usr/bin/curl "-I -k 192.168.0.100:8080/api/system/state -s -o /dev/null --write-out %{http_code}"
200
DEBUG: Container with id d3e6a60732d8 is matching che service
DEBUG: Running state of container d3e6a60732d8 is true
docker inspect -f '{{.Id}}' che
/usr/bin/curl "-I -k 192.168.0.100:8080/api/system/state -s -o /dev/null --write-out %{http_code}"
200
docker inspect -f '{{.Id}}' che
/usr/bin/curl "-I -k 192.168.0.100:8080/api/system/state -s -o /dev/null --write-out %{http_code}"
200
INFO: (che start): Booted and reachable
INFO: (che start): Ver: 6.6.0
INFO: (che start): Use: http://192.168.0.100:8080
INFO: (che start): API: http://192.168.0.100:8080/swagger

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions