Let $X\coprod X$ be the disjoint union of $X$ with itself and let there be a commutative square
$$\require{AMScd} \begin{CD} X \coprod X @>{f,g}>> A \\ @V{(i_0, i_1)}VV @VV{p}V \\ X \times I @>>{k}> B \end{CD} $$
where $p$ is a Serre fibration and weak homotopy equivalence. Is it true that this diagram admits a lift $h: X \rightarrow A$ ? (In other words, is $X \times I$ a cylinder object for any $X$?). I know this is true for CW-complexes, but I think it holds for any topological space.